Skip to Content
axiomos-simContractsOverview

Contracts Overview

Relevant source files (branch fix/adapter-pid-readiness; not on main)

docs/contracts/ does not exist on main. These contracts were added on the stacked branches feat/artifact-contract, feat/runtime-scenario-lifecycle, docs/rp1-driver-audit, and the RP1 model branches, all contained in fix/adapter-pid-readiness. They describe the intended next state of the adapters.

The contracts formalize what a run consumes and what it reports, and separate observation from qualification: every contract states that a passing run makes no qualification claim.

ContractScope
Artifact Manifest v1JSON manifest a producer emits beside immutable kernel/rootfs/DTB artifacts; validation and staging rules
Adapter Result v1Atomic result.json written for every invocation; outcomes and exit codes
Runtime Scenariostest --mode runtime with native Robot suites on Renode
RP1 Driver CoverageSource-only inventory of axiomOS RP1/PCIe/GPIO/PWM register operations

Model-level contracts (rp1-gpio-model.md, rp1-pwm-model.md) are summarized on RP1 Models.

CI on the branch

The branch adds .github/workflows/test.yml (“Adapter and CLI checks”) on pull requests and pushes to main: cargo fmt --all --check, cargo test --workspace --locked, the stand-in adapter tests, and the Renode model/platform unit tests, uploading adapter evidence on failure. Native Renode model suites are not part of hosted CI.

Last updated on