T-FOJN-task-work-durable-task-state-commits
Status: closed/done · Impact: medium · Complexity: small
This task closes a gap surfaced on T-TXMC-text-match-core in
https://github.com/sksizer/markdown-contract: under heavy parallel
/sdlc:task-work load, the --commit-on main start/verify commits that
record task state can be silently discarded when a peer process resets local
main to origin/main, so the task-state-on-main invariant holds only
transiently even though the lease still guards re-pickup correctly.
Under heavy parallel /sdlc:task-work load, the —commit-on main verify/start commits were discarded from local main by a peer process resetting main to origin/main, leaving them only on the task branch (main reverted to open/ready); the lease guarded re-pickup correctly, but the task-state-on-main invariant did not hold transiently — a follow-up could make the start/verify commits push to a durable ref or detect-and-reland when a peer reset discards them.
— originating task
T-TXMC-text-match-core
TBD — receiver to fill before promoting from planning/draft.
Proposed
Section titled “Proposed”TBD — receiver to fill before promoting from planning/draft.
Approach
Section titled “Approach”TBD — receiver to fill before promoting from planning/draft.
Files to touch
Section titled “Files to touch”TBD — receiver to fill before promoting from planning/draft.
Acceptance criteria
Section titled “Acceptance criteria”TBD — receiver to fill before promoting from planning/draft.
Out of scope
Section titled “Out of scope”- none
Dependencies
Section titled “Dependencies”- none
Discovery context
Section titled “Discovery context”Spawned by /sdlc:spawn-task-pr on 2026-06-28 UTC from T-TXMC-text-match-core in
https://github.com/sksizer/markdown-contract.
Duplicate draft proposed in #526
(T-OLKM-commit-on-main-advances-local-main, same --commit-on main
lifecycle commits lost under concurrent sessions); folded by
/sdlc:consolidate-task-prs.