Skip to content

T-1SSY-cleanup-on-fail-works-under-pass

Status: closed/done · Impact: low · Complexity: small

ensure_ready_mutate.ts and /sdlc:task-work disagree on how the --cleanup-on-fail flag composes with --mode pass, so the invocation /sdlc:task-work Step 5a documents does not run verbatim. This gap was surfaced by the post-mortem of T-77ST-git-hooks-lefthook in git@github.com:sksizer/markdown-contract.git. Close it so the readiness gate call in the skill prose works as written.

ensure_ready_mutate.ts exits 2 (“only meaningful with —mode fail”) when —cleanup-on-fail is passed under —mode pass, but /sdlc:task-work Step 5a documents passing —commit-on main —cleanup-on-fail together on the readiness-gate call. Fix so the documented invocation works verbatim: either task-work passes —cleanup-on-fail only on the fail path, or ensure_ready_mutate.ts accepts-and-ignores it under —mode pass.

— from the post-mortem of T-77ST-git-hooks-lefthook

TBD — receiver to fill before promoting from planning/draft.

TBD — receiver to fill before promoting from planning/draft.

TBD — receiver to fill before promoting from planning/draft.

TBD — receiver to fill before promoting from planning/draft.

TBD — receiver to fill before promoting from planning/draft.

  • none
  • none

Spawned by /sdlc:spawn-task-pr on 2026-07-04 UTC from T-77ST-git-hooks-lefthook in git@github.com:sksizer/markdown-contract.git.


← Back to Tasks