Repository navigation
Description
Epic: graph-2026-10-consolidation Tier: judgment Execution: runner
Tracker for graph-2026-10-consolidation: remove the 16 real duplicate-definition groups the accretion audit found live at ad71b341, one PR per cluster, with each behaviour divergence decided once (D-1, D-1b, D-2, D-3, D-7).
Founding doc and graph: docs/internal/graph-2026-10-consolidation/ (PROJECT-DISCUSSION.md, cited as §N; issue-graph.md), landed by this issue's docs-only PR.
Rules the runner applies: I-1 freeze check before every merge; stop at PR, owner consents per merge; nothing launches before PR #1370 and release 2.20.0 have landed (I-5); file scopes serialize #1471 → #1473 → #1475 and #1471 → #1472; #1474 is independent (D-6); parallel nodes launch in one sequant run invocation until the worktree-add race bug #1469 lands (D-8).
Nodes
| Node | Tier | Title | Blocked by |
|---|---|---|---|
| #1471 | mechanical | log helpers: parseLogFile, listLogFiles, resolveLogDir, formatDuration → src/lib/run-logs.ts |
this issue |
| #1472 | judgment | process kill: one killProcessGroup with SIGKILL escalation, pushLines on RingBuffer (closes the AsyncSubprocess trigger) |
#1471 |
| #1473 | mechanical | small utilities: ensureDir, escapeRegex, formatTimestamp, truncateToWidth, parseIssue |
#1471 |
| #1474 | judgment | non-goals parser: one scanner with the gate's rules (D-7), fenced blocks stripped, analyzer wraps it | this issue |
| #1475 | judgment | worktreeStatus tri-state primitive (call-site defaults unchanged, truthful shutdown log), formatSignalLine |
#1473 |
Acceptance Criteria
- AC-1: The founding doc and graph are on
main. Evidence:test -f docs/internal/graph-2026-10-consolidation/PROJECT-DISCUSSION.md && test -f docs/internal/graph-2026-10-consolidation/issue-graph.md && echo present→present. - AC-2: Owner gate OQ-1 is answered on this issue before refactor(drivers,mcp): one killProcessGroup(child, { graceMs }) with SIGKILL escalation; pushLines on RingBuffer (closes the AsyncSubprocess trigger) #1472 runs. Evidence:
gh api repos/sequant-io/sequant/issues/1470/comments --jq '.[].body' | grep -c -E '^OQ-1: (yes|no)'→ ≥ 1. - AC-3: After the five code PRs merge, the detector reports no real group on
main(must run against the real dependency). Evidence:ACCRETION_HOME=$(mktemp -d) node ~/Projects/accretion-audit/dist/cli.js dups --repo ~/Projects/sequant --json | node -e "let s='';process.stdin.on('data',d=>s+=d).on('end',()=>{const g=JSON.parse(s).groups.map(x=>x.name).sort();console.log(g.join(','));process.exit(g.every(n=>['git','filterLogs','buildLoopContext','isTerminalStatus'].includes(n))?0:1)})"→ exit 0 (only the four allowlisted noise names remain, or none once A-1 lands in accretion-audit).
Non-Goals
See §3 of the founding doc: no AsyncSubprocess abstraction, no in-process MCP engine, no execution-layer refactor, no skill mirrors, nothing under plugin/.
Activity
admarble commentedon Oct 16, 2026
OQ-1: yes
SIGKILL escalation for the drivers (D-1 in the founding doc) is accepted. Recorded by the planning session on 2026-10-16 after the owner approved the amended plan with the default answer; the owner's account posted this via
gh. #1472 (C-2) may run once I-5 (PR #1370 and release 2.20.0) holds.admarble commentedon Oct 16, 2026
A-1 landed in accretion-audit (admarble/accretion-audit#30, squash-merged 2026-10-16):
git,filterLogs,buildLoopContext,isTerminalStatusare allowlisted. From itsmain,accretion dups --repo ~/Projects/sequantnow reports exactly the 16 real groups this graph removes, so AC-3 resolves to an empty list once #1471–#1475 merge.docs(#1470): §2 counts 15 names in 16 groups (resolveLogDir forms two)
docs(#1470): graph-2026-10-consolidation founding doc, issue graph an…
admarble commentedon Oct 16, 2026
AC-1 met: PR #1476 squash-merged as 0857484 on 2026-10-16 (owner consent "proceed if ready and ACs met"; all 8 checks green, MERGEABLE/CLEAN, no closing references, no frozen path). Runner re-ran the Evidence command on
main:test -f docs/internal/graph-2026-10-consolidation/PROJECT-DISCUSSION.md && test -f docs/internal/graph-2026-10-consolidation/issue-graph.md && echo present→present. AC-2 met earlier (OQ-1 comment). AC-3 waits for #1471–#1475. Launch gate unchanged: PR #1370 and release 2.20.0 first (I-5); #1469 before the graph or parallel nodes in onesequant run(D-8).admarble commentedon Oct 19, 2026
Launch gate, 2026-10-19 (owner, in session): 2.20.0 shipped as a version-only release while #1370 stays behind the plugin freeze, which has no end date. The owner decided the gate is met by 2.20.0 alone. W1 (#1471, #1474) launches now in one
sequant run, stop-at-PR. The I-1 freeze grep runs before every merge.admarble commentedon Oct 20, 2026
AC-3 evidence, 2026-10-20, main @ 2e041f0: all five nodes are merged (#1471 → 1423db8, #1474 → ec9d583, #1472 → aa2515b, #1473 → 755d475, #1475 → 2e041f0).
The detector's AC-3 command (
ACCRETION_HOME=$(mktemp -d) node ~/Projects/accretion-audit/dist/cli.js dups --repo ~/Projects/sequant --json …) prints an empty group list and exits 0. No duplicate group remains, including the four allowlisted noise names.AC-1 and AC-2 were already met. Closing the tracker is left to the owner.
admarble commentedon Oct 20, 2026
Closed on the owner's word, 2026-10-20. All five nodes are merged, and AC-3 holds on main (zero duplicate groups); see the evidence comment above. Acking accretion fire fcc45c51e344aabb is the owner's step.