Skip to content

Recover unknown Autopilot executions safely - #22

Merged
drafael merged 1 commit into
masterfrom
feat/autopilot-unknown-recovery
Aug 31, 2026
Merged

drafael merged 1 commit into
masterfrom
feat/autopilot-unknown-recovery

Conversation

@drafael

@drafael drafael commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • add fenced operator recovery for unknown executions: abandon, adopt an exact tree, or stop
  • permanently quarantine uncertain worktrees and prevent late results from restoring authority
  • re-enter ordinary verification for adopted trees without launching implementation work
  • surface recovery state through reports, CLI help, and recovery documentation

Safety properties

  • binds recovery to the current run lock, item, attempt, and lease epoch
  • requires explicit operator attestation
  • rejects stale controls and changed adopted identities
  • preserves unauthorized suspect changes during quarantine
  • keeps lifecycle state canonical in events.jsonl

Validation

  • npm run typecheck
  • npm run lint
  • npm run format:check
  • npm test — 195 tests: 187 passed, 8 platform skips, 0 failed
  • git diff --check
  • independent review: no issues found

@drafael
drafael merged commit 2beb5ac into master Aug 31, 2026
2 checks passed
@drafael
drafael deleted the feat/autopilot-unknown-recovery branch August 31, 2026 14:21
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