Artifact Contracts¶
Artifact contracts define the files and schemas that outlive a single process run and are consumed by tooling, reviewers, or plugin authors.
Visual Summary¶
flowchart LR
contracts["contract structs"] --> schema["generated schema artifacts"]
schema --> docs["docs and examples"]
schema --> tooling["tests and integration tooling"]
plugin_artifacts["plugin manifests and registry files"] --> tooling
Contract Artifacts¶
- JSON schema for
output_envelope_v1 - JSON schema for
error_envelope_v1 - JSON schema for
plugin_manifest_v2 - plugin manifest documents in installed plugin directories
- registry and diagnostics files for plugin lifecycle state
Code Anchors¶
crates/bijux-cli/src/contracts/schema.rscrates/bijux-cli/src/contracts/envelope.rscrates/bijux-cli/src/contracts/plugin.rscrates/bijux-cli/tests/routing/snapshots/tools/docs/publish_contract_assets.py
Artifact Rules¶
- schema shape changes require explicit compatibility review
- docs and examples must track current schema field semantics
- generated contract assets should be reproducible from source contracts
- plugin manifest requirements must stay aligned with runtime validators