Skip to content

feat: add auditable workflow recovery commands#67

Merged
MageByte-Zero merged 23 commits into
mainfrom
codex/fix-issue-47-recovery-codebuddy
Jul 20, 2026
Merged

feat: add auditable workflow recovery commands#67
MageByte-Zero merged 23 commits into
mainfrom
codex/fix-issue-47-recovery-codebuddy

Conversation

@MageByte-Zero

@MageByte-Zero MageByte-Zero commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • add deterministic recovery context resolution and auditable human/JSON summaries
  • add ssf resume, ssf switch, and ssf save with checkpoint-compatible write semantics
  • add /ssf:resume, /ssf:switch, and /ssf:save command assets
  • distribute and validate the recovery command tree for WorkBuddy
  • update user docs, state-machine guidance, artifact contract, changelog, and release checks

Why

Issue #47 exposed a recovery gap: the repository already stored workflow, checkpoint, handoff, and SDD execution evidence, but users had no unified commands to inspect or resume that context. Slash-command adapters and WorkBuddy distribution also did not expose the recovery flow.

The implementation keeps the existing eight-state model. Resume and switch are read-only context recovery operations; save reuses the existing checkpoint contract and performs no partial writes on invalid input.

Closes #47

Validation

  • npm run build
  • focused recovery, command-asset, execution-control-plane, and WorkBuddy tests: 59/59 passed
  • Node 20 full suite: 474/474 passed
  • artifact validation: 0 errors, 0 warnings
  • skill lint: 0 errors
  • git diff --check

Known baseline

On Node 24, six existing guard tests with fixed 5000 ms timeouts can exceed the limit only in the full concurrent suite. Their focused runs pass, and the complete Node 20 support baseline passes. No out-of-scope timeout changes are included here.

@MageByte-Zero
MageByte-Zero marked this pull request as ready for review July 20, 2026 02:31
@MageByte-Zero
MageByte-Zero merged commit 2d5c92a into main Jul 20, 2026
6 checks passed
@MageByte-Zero
MageByte-Zero deleted the codex/fix-issue-47-recovery-codebuddy branch July 20, 2026 02:33
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