Skip to content

T-OB74-stash-roundtrip-worktree-guard

Status: closed/superseded · Impact: medium · Complexity: small

A stash captured in one worktree (or session) can be re-applied into a different worktree mid-run, landing unrelated changes where they don’t belong. During T-0010 this surfaced as a stray stash-apply from a parallel session producing UU merge conflicts on docs/skills/*.md plus dropped planning-WIP copies, all of which forced manual triage. Stash round-trips performed by the SDLC tooling (skills, scripts) should carry a guard that they re-apply only in the worktree they were captured from, so a stash never bleeds across worktrees or sessions.

A stray stash-apply from a parallel session landed in this task’s worktree mid-run (UU conflicts on docs/skills/*.md plus dropped planning WIP copies), forcing manual triage — stash round-trips need a guard that they re-apply in the worktree they were captured from.

— from T-0010 post-mortem (Friction and automation gaps)

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-06-04 UTC from T-0010 in git@github.com:sksizer/dev.git.


← Back to Tasks