You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a delivery lead, I want close and distill run post-merge on the scratch repo, so
that the merged-PR gate, the shared distill worktree handoff, and the distillation PR are proven
live rather than assumed.
Acceptance Criteria
Given a merged PR carrying an analyze review, whenclose --pr runs, then a distill/<date>-<slug> branch exists on the scratch remote carrying the close record and
the committed queue entry.
Given close has completed, when distill runs in that same worktree, then a
distillation PR is open against the scratch trunk containing the concept deltas and the
deletion of the queue entry it drained.
Given a PR that is not merged, whenclose --pr is invoked against it, then
it exits non-zero with the merge-required diagnostic and creates no branch, worktree, or
commit.
Given the chain has completed, when teardown runs, then no worktrees created by
close or distill remain in the host checkout.
Given the run is finished, when the acceptance record is read, then it states a
pass/fail verdict per stage and links every divergence from the injected-runner expectations
to a filed issue or backlog stub (or records explicitly that there were none).
Notes
This story seals the acceptance record — it depends on STORY-132.02 (the analyze review the close
gate reads) and STORY-132.03 (a merged PR whose range has been independently verified) having
written their slots.
A clean run is a pass: recording explicitly that there were zero divergences satisfies the final
criterion. Fixing anything the dry-run surfaces is out of scope for this epic — each fix is sized
and scheduled separately.
As a delivery lead, I want close and distill run post-merge on the scratch repo, so
that the merged-PR gate, the shared distill worktree handoff, and the distillation PR are proven
live rather than assumed.
Acceptance Criteria
close --prruns, then adistill/<date>-<slug>branch exists on the scratch remote carrying the close record andthe committed queue entry.
distillation PR is open against the scratch trunk containing the concept deltas and the
deletion of the queue entry it drained.
close --pris invoked against it, thenit exits non-zero with the merge-required diagnostic and creates no branch, worktree, or
commit.
close or distill remain in the host checkout.
pass/fail verdict per stage and links every divergence from the injected-runner expectations
to a filed issue or backlog stub (or records explicitly that there were none).
Notes
This story seals the acceptance record — it depends on STORY-132.02 (the analyze review the close
gate reads) and STORY-132.03 (a merged PR whose range has been independently verified) having
written their slots.
A clean run is a pass: recording explicitly that there were zero divergences satisfies the final
criterion. Fixing anything the dry-run surfaces is out of scope for this epic — each fix is sized
and scheduled separately.