Skip to content

feat(snapshot): report capture outcomes - #22

Merged
msmps merged 1 commit into
mainfrom
feat/capture-outcomes
Jul 11, 2026
Merged

feat(snapshot): report capture outcomes#22
msmps merged 1 commit into
mainfrom
feat/capture-outcomes

Conversation

@msmps

@msmps msmps commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • return an explicit immediate, changed, settled, deadline, or exited outcome with every snapshot
  • preserve the latest screen on deadlines and final screen plus process metadata on exits
  • add --strict exit categories: 3 for timing deadlines and 4 for ended sessions, without discarding evidence
  • make snapshots protocol-v2 only, remove dual timeout behavior, and handle finalization races without transient SESSION_NOT_FOUND
  • document outcome-driven agent behavior in the CLI help, READMEs, and packaged skill

Verification

  • cargo fmt --all -- --check
  • cargo clippy --all --benches --tests --examples --all-features -- -D warnings
  • cargo test --workspace --all-features (227 passed, 1 ignored doc test)
  • cargo build --workspace --all-features
  • cargo build --workspace --release --all-features
  • isolated daemon dogfood confirmed immediate, evidence-bearing deadline with exit 3 under --strict, and lifecycle exit 4

@msmps
msmps merged commit 9b0dddc into main Jul 11, 2026
6 checks passed
@msmps
msmps deleted the feat/capture-outcomes branch July 11, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant