Skip to content

feat(proxy): add crash-safe recovery watchdog - #6

Merged
kev1n77 merged 1 commit into
mainfrom
codex/proxy-recovery-core
Jul 14, 2026
Merged

kev1n77 merged 1 commit into
mainfrom
codex/proxy-recovery-core

Conversation

@kev1n77

@kev1n77 kev1n77 commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a transactional proxy snapshot journal and independent watchdog process
  • require a watchdog ready handshake before applying proxy changes
  • restore on normal shutdown, owner-process pipe EOF, or next-startup repair
  • lock the armed snapshot in watchdog memory so journal tampering cannot redirect recovery writes
  • use atomic Windows journal replacement and deterministic file-backend fault injection
  • keep SPIKE-003 in progress until real Windows/macOS proxy backends are verified

Verification

  • cargo fmt --all -- --check
  • cargo test --workspace --all-targets (20 passed)
  • cargo clippy --workspace --all-targets -- -D warnings

Recovery tests cover normal restore, force-killed owner recovery, startup repair, and post-arm journal tampering. No watchdog processes remain after the suite.

@kev1n77
kev1n77 merged commit 10cf371 into main Jul 14, 2026
6 checks passed
@kev1n77
kev1n77 deleted the codex/proxy-recovery-core branch July 14, 2026 12:19
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