os-sdlc recover 4/7: re-emit action #395

Closed
opened 2026-08-15 10:44:32 +00:00 by jared · 1 comment
Owner

Child of #332. Depends on 3/7. Engine#recover default path: re-print existing pending row as a dispatch action; no new row, no mark_returned. Report must label it at-least-once replay (original agent may have partially run).

Child of #332. Depends on 3/7. Engine#recover default path: re-print existing pending row as a dispatch action; no new row, no mark_returned. Report must label it at-least-once replay (original agent may have partially run).
Author
Owner

Resolution

Done: Re-emit recovery action: Reemit collaborator + Engine#reemit re-prints the existing pending dispatch row as {type: dispatch, agent, brief_path, replay: true} — no new row, no mark_returned; refuses on no_pending_dispatch, dispatch_state_mismatch, multi-wedge shapes, empty. DispatchConsistency promoted to its own class, shared with RecoveryStatus

Evidence: Commit 1ca4e62; tests/runner/reemit_test.rb 9 tests; full suite 907 runs 0 failures; rubocop clean

Follow-ups: CLI wiring in #397; consider a shared contract test asserting RecoveryStatus and Reemit emit identical dispatch_state_mismatch shapes

## Resolution **Done:** Re-emit recovery action: Reemit collaborator + Engine#reemit re-prints the existing pending dispatch row as {type: dispatch, agent, brief_path, replay: true} — no new row, no mark_returned; refuses on no_pending_dispatch, dispatch_state_mismatch, multi-wedge shapes, empty. DispatchConsistency promoted to its own class, shared with RecoveryStatus **Evidence:** Commit 1ca4e62; tests/runner/reemit_test.rb 9 tests; full suite 907 runs 0 failures; rubocop clean **Follow-ups:** CLI wiring in #397; consider a shared contract test asserting RecoveryStatus and Reemit emit identical dispatch_state_mismatch shapes
jared closed this issue 2026-08-15 11:11:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#395
No description provided.