lightspeed/ops/tenant_harness
Deterministic tenant isolation and policy runtime harness (M29).
Types
Full M29 report.
pub type Report {
Report(
outcomes: List(ScenarioOutcome),
failed_scenarios: Int,
nondeterministic_failures: Int,
)
}
Constructors
-
Report( outcomes: List(ScenarioOutcome), failed_scenarios: Int, nondeterministic_failures: Int, )
M29 conformance scenarios.
pub type Scenario {
TenantBoundaryAuthz
DenialTelemetryObservable
PerTenantBudgetQuotas
NoisyNeighborContainment
OperatorAuditability
}
Constructors
-
TenantBoundaryAuthz -
DenialTelemetryObservable -
PerTenantBudgetQuotas -
NoisyNeighborContainment -
OperatorAuditability
Values
pub fn nondeterministic_failures(report: Report) -> Int
Nondeterministic failure count.
pub fn run_scenario(scenario: Scenario) -> ScenarioOutcome
Run one scenario twice and require deterministic parity.
pub fn snapshot_report_markdown() -> String
Deterministic markdown report for fixture scripts.
pub fn snapshot_signature() -> String
Deterministic snapshot signature for fixture drift gates.
pub const snapshot_version: Int