Repository navigation
Closed
Closed
Copy link
Labels
graph-2026-09-prereleasePre-release graph before the release after 2.18.0
Description
Purpose. Four user-facing bugs to land before the next release (the first after v2.18.0). None of them is a regression from the unreleased commits: each one's cited code is identical at the v2.18.0 tag (checked 2026-09-30, main @ 9da8aeb8, CI green). They're here because users hit them today and, for the hook fix, because only a release delivers the fix.
Nodes
| Issue | Tier | Fixes |
|---|---|---|
| #1228 | judgment | The git reset --hard hook guard evaluates the hook's cwd, not the command's target. It gives a false block for cd <clean-wt> && git reset --hard from a dirty main checkout, and a false allow for cd <dirty> && … and git -C <dirty> reset --hard. |
| #1222 | mechanical | A watchdog-killed run writes no run log, and worktree removal can half-delete a clean worktree. |
| #1233 | mechanical | A spec-only run marks the issue ready_for_merge, so a later --phases exec skips it. |
| #1223 | mechanical | PRs opened by sequant run get a doubled conventional-commit prefix and a placeholder body. |
Edges
There are no dependency edges. The ordering comes only from file overlap:
- fix(run): a watchdog-killed run writes no run log and half-deletes a clean worktree — worktree removal outruns the 5 s SIGKILL grace #1222 ↔ fix(pr): sequant run PRs double the conventional prefix in the title and ship a placeholder body #1223:
src/lib/workflow/worktree-manager.ts - bug(state): a successful spec-only run marks the issue ready_for_merge, so a later --phases exec skips it #1233 ↔ fix(pr): sequant run PRs double the conventional prefix in the title and ship a placeholder body #1223:
src/lib/workflow/batch-executor.ts - fix(run): a watchdog-killed run writes no run log and half-deletes a clean worktree — worktree removal outruns the 5 s SIGKILL grace #1222 ↔ bug(state): a successful spec-only run marks the issue ready_for_merge, so a later --phases exec skips it #1233: possibly
run-orchestrator.ts(fix(run): a watchdog-killed run writes no run log and half-deletes a clean worktree — worktree removal outruns the 5 s SIGKILL grace #1222 touches it; bug(state): a successful spec-only run marks the issue ready_for_merge, so a later --phases exec skips it #1233's AC-2 evidence isrun-orchestrator.test.ts)
Waves
graph LR
subgraph W1
A[#1228 hook guard · judgment]
B[#1222 shutdown order · mechanical]
end
subgraph W2
C[#1233 spec-only status]
end
subgraph W3
D[#1223 PR title/body]
end
B -. file overlap .-> C
B -. file overlap .-> D
C -. file overlap .-> D
- Wave 1: fix(hooks): pre-tool.sh reset --hard guard reads git status from the hook's cwd, not the command's target worktree #1228 and fix(run): a watchdog-killed run writes no run log and half-deletes a clean worktree — worktree removal outruns the 5 s SIGKILL grace #1222, one
sequant_runper issue. fix(hooks): pre-tool.sh reset --hard guard reads git status from the hook's cwd, not the command's target worktree #1228 runs all-opus through the settings flip; fix(run): a watchdog-killed run writes no run log and half-deletes a clean worktree — worktree removal outruns the 5 s SIGKILL grace #1222 runs on the default tiers. - Wave 2: bug(state): a successful spec-only run marks the issue ready_for_merge, so a later --phases exec skips it #1233, after wave 1 merges.
- Wave 3: fix(pr): sequant run PRs double the conventional prefix in the title and ship a placeholder body #1223, after wave 2 merges.
Consent: stop at PR. Every wave's merge is the owner's call.
Release ride-along: #1227 fixed a user-facing bug (the run log's resolvedModel, wrong since 2026-09-20) but has no ### Fixed line in [Unreleased]. It goes into the first wave-1 PR.
Deferred:
- bug(exec): sequant run worktrees never record sequantBase, so the zero-diff/uncommitted guard compares against origin/main and a --base ahead of main disables it #1234 (judgment, needs a design decision)
- test: phase-executor.model-roles.test.ts runs the exec guard against the developer's checkout and auto-commits uncommitted work #1232 (a test-only hazard, no user impact)
Metadata
Metadata
Assignees
Labels
graph-2026-09-prereleasePre-release graph before the release after 2.18.0
Activity
admarble commentedon Sep 30, 2026
Wave 1 launched 2026-09-30 (
main@9da8aeb8). There's onesequant_runper issue, with context comments on each.--model opuson its phase agent and then restored the settings.#1228's body now carries a probe of the current guard. Beyond the reported false block,
git -C <dirty> reset --hardandcd <dirty> && git reset --hard(from a clean cwd) are both allowed today, so the fix widens the trigger.docs(#1227): changelog entry for the resolvedModel fix (release ride-…
admarble commentedon Sep 30, 2026
Wave 1 merged 2026-09-30 (owner consent).
e48ca88c). The runner probed the real hook: both false allows are closed and the literal-path false block is fixed. A variablecd "$WT"target still fails closed; the block message now names the checked repo.5cd5b8bb). The runner added the missing orchestrator-wiring tests, and CI caught a runner regression in the Nested phase claude that hangs after its turn is killed at ~106s, taking down the parent sequant run #856 source-scan guard, which is fixed. Also carries the bug(metrics): resolvedModel records the Haiku helper, not the phase's model, since 2026-09-20 — first modelUsage key is no longer the main model #1227 changelog line.Both issues closed on merge (
Fixes #Nin the squash message). Wave 2 launched: #1233 on the default tiers, with a context comment that pins AC-1 to "a qa phase actually ran".admarble commentedon Sep 30, 2026
Wave 2 merged 2026-09-30 (owner consent). #1233 → PR #1239, squash
e1f86c4d; #1233 closed.run()(with aready_for_mergecontrol case), made the warning branch onisCompletedIssueStatus, covered the--resumecase, and added the CHANGELOG entry.sequant run(automates the any-gaps/fix-gaps second look, stops at human merge) #817 ready-gate tests whose exec-only fixture pinned the old status. They now run a qa phase with the same assertions. All 25 test files that mention the status pass.Wave 3 launched: #1223 on the default tiers. Its AC-1 text now matches its own examples, and a new AC-3 rewrites closing keywords in imported exec summaries to
Refs, so an agent summary can't auto-close an issue.admarble commentedon Sep 30, 2026
Graph complete: 2026-09-30,
main@ba4edc13, CI green. All four nodes are merged with owner consent, one wave at a time, and every issue closed on merge.git -C <dirty>, andcd <dirty>from a clean cwd). Repeated the AC-1 mutation. The block now printsChecked: <dir>, because a variablecd "$WT"target still fails closed.run(), the chain-warning branch and a--resumetest. CI then caught two #817 tests pinning the old status, now fixed.### Summary, now read. Mappedbug(scope):tofix. The latest exec pass now feeds the body, cross-repo and issue-URL closing references are sanitized, and a breaking!is kept.Follow-up candidates (not filed):
## Summaryunder the orchestrator. 13 of 20 real exec runs print none, so their PRs still get the placeholder body.batch-executortakesqaVerdictfrom the first qa result, so it can be stale after a quality-loop iteration.sequant runopens a PR although no qa ran.Deferred and owned elsewhere: #1234 is being taken by another session, and #1232 is in PR #1241.
Release note: the #1199 and #1228 hook changes reach plugin users only after the next release's plugin version bump. #1209 and #1231 are also on
mainbut unreleased.admarble commentedon Sep 30, 2026
Follow-ups filed from this graph's verification:
## Summaryunder the orchestrator (13 of 20 real exec runs print none, so their PR bodies stay placeholders).admarble commentedon Sep 30, 2026
Follow-ups restructured after a root-cause investigation, with three read-only investigators whose key claims were checked against the code:
sequant runhas two PR producers. The exec skill runsgh pr createeven under the orchestrator, andcreatePRreturns an existing PR untouched. So the QA note (fix(run): AC_MET_BUT_NOT_A_PLUS QA verdict misrouted into quality loop → fails with no PR (should break to PR) #749), the ready-gate report (feat(run): --ready-gate — run the post-QA ready gate insidesequant run(automates the any-gaps/fix-gaps second look, stops at human merge) #817) and exec's summary (fix(pr): sequant run PRs double the conventional prefix in the title and ship a placeholder body #1223) never reach PRs that exec opened, and orchestrator-opened PRs from qa-only runs get the placeholder.sequant_runresult) and the real impact: a looped AC_NOT_MET → NEEDS_VERIFICATION recordsready_for_merge. The fix is one shared latest-result accessor.admarble commentedon Sep 30, 2026
Re-patch retrospective (2026-09-30). It covered the 41 fix commits since v2.15.0, their issue and PR decision trails, and
entiretranscripts for four clusters, using nine read-only agents.Filed:
SPEC_DIVERGENCEisn't wired on the spec path today).Runner side: the graph-run skill now has a merge-time follow-up ledger and prior-fix and producer checks before any context comment prescribes a fix. graph-plan requires a
## Prior fixes / producersblock on bug-fix issues./improvewas left unchanged because it filed about 0 of the audited issues.Order: #1248 (before 10-09) → #1247 (unblocks #1249's PR-body AC) → #1249 and #1250 in parallel.