source · Rust

Workspace

crates/vak-agent/src/workspace.rs
Raw
456 B10 lines1 anchorsSnapshot ed4ab258
  1. 1//! Workspace-delta seam (docs/design/42-managed-work-contracts.md MEA): the auditor judges
  2. 2//! environment facts, not just transcript claims. Core implements this by
  3. 3//! diffing the run-start checkpoint against the live tree.
  4. 4
  5. 5pub trait WorkspaceDelta: Send + Sync {
  6. 6 /// Bounded human-readable summary; Err = unavailable (auditor is told
  7. 7 /// the delta is UNKNOWN rather than shown an empty one).
  8. 8 fn summary(&self) -> Result<String, String>;
  9. 9}
  10. 10