Expand description
agent-runtime CLI library. Render / install / doctor /
audit-drift for graysurf/agent-runtime-kit.
§Determinism contract (Resolved Decision #9)
Render output must be a pure function of the source-root contents:
no wall-clock time, no hash-randomized iteration. The crate-wide
#![deny(...)] attribute below pairs with clippy.toml to make
std::collections::HashMap, std::time::SystemTime::now, and
chrono::Utc::now build failures. The single sanctioned time
value is render::time::source_commit_timestamp(). Helpers under
render::helpers are the only sanctioned HashMap site — Tera’s
Function trait forces the signature, and the lint is silenced
exactly there.
Source: agent-runtime-kit/docs/source/inventory-target-architecture.md
→ Resolved Decision #9.
Modules§
- audit_
drift - Minimal
audit-driftbody covering the four blocking classes the Phase 2 reporting POC depends on. Seeagent-runtime-kit/docs/source/inventory-target-architecture.mdfor the class definitions and Resolved Decisions #5 (no$AGENT_HOME) and #9 (determinism / per-product docs-home). - commands
- doctor
- Read-only
agent-runtime doctorprobes. Plan 04 Sprint 3. - gc_
backups agent-runtime gc-backupsbody. Plan 04 Sprint 2 Task 2.4.- install
agent-runtime installbody. Plan 04 Sprint 1 Tasks 1.2 / 1.3.- live_
surface - Shared live runtime-home surface helpers.
- managed_
block - Managed-block helper for paired install markers.
- prune_
stale agent-runtime prune-stalebody.- purge_
state agent-runtime purge-statebody. Plan 04 Sprint 2 Task 2.3.- render
- restore_
backups agent-runtime restore-backupsbody. Plan 04 Sprint 2 Task 2.2.- uninstall
agent-runtime uninstallbody. Plan 04 Sprint 2 Task 2.1.