os-sdlc recover 5/7: compensating-transition rollback #396
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#396
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Child of #332. Depends on 1/7. --rollback: void pending dispatch + record a forward compensating transition through TransitionApplier (keeps retry-counter resets and history consistent), one Sequel transaction. Handle initial-state stall (no transition row) explicitly.
Resolution
Done: Compensating-transition rollback: Rollback collaborator voids pending dispatch (void! now guards on PENDING, returns boolean) and re-enters prior state through TransitionApplier via a one-edge CompensatingTable, one Sequel transaction; initial-state stall refuses with no_prior_state; shared WedgeTarget extracted for wedge resolution
Evidence: Commit
c814fec; tests/runner/rollback_test.rb 11 cases; full suite green; rubocop cleanFollow-ups: CLI wiring in #397; decide whether rollback should deactivate an active escalation row (captured in #397 scope discussion or a new ticket if needed)