Expand description
The AuditContext trait — dependency injection for every environment touch.
Port of the AuditContext interface in src/types.ts. Checks receive
&dyn AuditContext and never touch the filesystem directly, so they stay
unit-testable against an in-memory mock. The real tokio::fs-backed impl
lives in the secureops-fs crate (Ring 0/1); the daemon (Ring 2) supplies
its own. Keeping I/O behind this trait is what lets core and checks stay
I/O-free per PRODUCT.md A.4.
Structs§
- Channel
Config - Channel configuration (Slack/Discord-style routing surface).
- File
Info - File info for auditing (permissions, content, existence, size).
- Skill
Metadata - Skill metadata used by the supply-chain / skill-scan checks.
Traits§
- Audit
Context - Dependency-injected view of the host the agent runs on.