Skip to main content

Module simulation

Module simulation 

Source
Expand description

TrustForge simulation harness — Rust mirror of tools/tf-types-ts/src/core/simulation.ts.

Models the 12 scenarios DECISIONS.md asks the runtime to be able to execute headlessly. Every scenario uses only TrustForge primitives already implemented in this crate; no external IO. Designed for deterministic conformance + spec-validation runs.

Structs§

ScenarioResult

Enums§

ScenarioName

Constants§

ALL_SCENARIOS

Functions§

as_shadow_decision
Shadow-mode helper: take an arbitrary GuardDecision and return what the daemon would do at EnforcementLevel E0 (record-only).
run_all_scenarios
Run every scenario and return the full report set.
run_scenario