Skip to content

feat: share finite simulation report records - #542

Merged
jBernavaPrah merged 1 commit into
mainfrom
feat/shared-simulation-report
Oct 11, 2026
Merged

jBernavaPrah merged 1 commit into
mainfrom
feat/shared-simulation-report

Conversation

@jBernavaPrah

Copy link
Copy Markdown
Contributor

The simulator producer and Cargo consumer currently define the same finite-run report separately.
Define SimulationCleanup and SimulationRunReport<Terminal = SimulatorTerminalEvidence> in the framework artifact owner so both applications consume one passive contract.

The V0 schema, field names and types, explicit null serialization, duplicated terminal stdout and existing success predicate stay unchanged.
The terminal parameter preserves application-owned rich or borrowed terminal evidence without moving execution or cleanup policy into the SDK.
Update the two artifact modules' ownership documentation.

Validation: base library tests 75/75, all-feature library tests 267/267, independent focused simulation-record tests 6/6, strict all-feature/all-target Clippy, warning-denying docs, formatting and diff checks passed.
New assertions cover whole-report/null roundtrips, rich and borrowed terminal/scenario serialization, narrow typed consumption and failed exit/readiness/provider/cleanup outcomes.
Application integration and published consumer verification follow the framework release.

Signed-off-by: jbernavaprah <webjure@gmail.com>
@jBernavaPrah
jBernavaPrah merged commit 6dae1e9 into main Oct 11, 2026
3 checks passed
@jBernavaPrah
jBernavaPrah deleted the feat/shared-simulation-report branch October 11, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant