Skip to main content

Module contract

Module contract 

Source
Expand description

Frozen contracts (code-design §1). These types are the shared basis for all modules; once reviewed they should change rarely. A companion CONTRACTS.md may track the freeze.

Re-exports§

pub use cache::agent_cache_key;
pub use backend::*;
pub use event::*;
pub use finding::*;
pub use ids::*;
pub use schema::*;

Modules§

backend
AgentBackend Contract
cache
Stable agent cache key (§1.5) — the basis for --resume reuse.
event
Event bus contract (§1.4) — the single observability data source. Each AgentEvent is consumed by the event bus subscribers; the state store persists it.
finding
Structured finding schema (§1.3) — the data-plane output contract.
ids
Basic ids and token accounting (§1.1).
schema
JSON Schema validation (M4 structured output).