Repository navigation
Closed
Labels
graph-2026-10-freeze-bFreeze-safe bug graph, second batch (tracker: see docs/internal/graph-2026-10-freeze-b)
Description
Epic: graph-2026-10-freeze-b Tier: judgment Execution: runner session (graph doc I-6)
- Blocked by: chore(deps): phase agents run the SDK-bundled Claude Code 2.1.289 — bump @anthropic-ai/claude-agent-sdk to ≥ 0.3.296 #1440
- Blocked by: fix(mcp): phase agents receive the user's claude.ai connectors (Gmail, Docs) outside the #936 allowlist #1396
- Blocked by: fix(worktree): first creation on a fresh machine ignores origin/<branch>, and a recreated PR worktree is recreated again on every run (#1380 follow-up) #1405
Problem
MCP sequant_run phases run the npm-pinned server (2.19.0, SDK 0.3.289), so no phase in this graph can observe its own fix (graph doc I-6). #1396's AC-1 and #1440's real-phase check need a phase run from a build of main after the merges. #1405's fresh-machine path needs a clone with no local branch.
Procedure
- After chore(deps): phase agents run the SDK-bundled Claude Code 2.1.289 — bump @anthropic-ai/claude-agent-sdk to ≥ 0.3.296 #1440, fix(mcp): phase agents receive the user's claude.ai connectors (Gmail, Docs) outside the #936 allowlist #1396 and fix(worktree): first creation on a fresh machine ignores origin/<branch>, and a recreated PR worktree is recreated again on every run (#1380 follow-up) #1405 merge: on a scratch branch off
main, apply a local, uncommitted observability patch todrivers/claude-code.tsthat writes eachsystem/initmessage'smcp_serversandclaude_code_versionto a file (the investigation(run): load phase skills from the installed package via the SDK plugins option, so adopters stop committing ~20k lines of skills #1388 spike's method; nothing inmainlogs them). Thennpm run build && npm pack(noprepackscript; build first). Record themaincommit and the patch diff in the report. The patch is never pushed or merged. - Install the tarball into the private fixture repo used by investigation(run): load phase skills from the installed package via the SDK plugins option, so adopters stop committing ~20k lines of skills #1388 and smoke(graph-2026-10-freeze): re-run the stranger smoke test on a main build after #1386, #1380 and #1387 #1389 (named by issue number only, I-7).
- On an account with claude.ai connectors, run one phase (
sequant run <fixture issue> --phases spec) launched vialaunchctl(I-2). - On a fresh clone of the fixture repo (no local branches), with an open PR branch pushed from elsewhere, run
sequant run <that issue> --phases qa.
Acceptance Criteria
- AC-1: The phase's
system/initlists nomcp_serversentry withsource: "claudeai", and thesequantserver is listed. Evidence: the init server list from the patch's dump file, pasted in the report comment on this issue with themaincommit, the patch diff and the tarball name. - AC-2: The same init message has
claude_code_version2.1.296 or later. Evidence: the field quoted in the report. - AC-3: On the fresh clone, the worktree's HEAD equals
origin/<branch>before the phase starts. Evidence:git -C <worktree> rev-parse HEAD origin/<branch>output in the report, both lines equal.
Non-Goals
- Re-testing fix(worktree): a non-default bare --base is cut from local <base> but counted against origin/<base> (#1380 follow-up, #1234/#1386 class) #1406, fix(sync): a --only skills install warns 'N file(s) differ' forever, and the suggested sync --force overwrites the repo's constitution #1409, fix(qa): a SEQUANT_MUTATION marker whose text contains "}" parses to nothing — renderMutationMarker and the parser do not round-trip #1305 or chore(plugin): plugin-version-sync.ts has no production caller, and plugin-updates.md says CI uses it #1325 (their unit tests carry them).
- Any repo change. The report is a comment on this issue.
- Any edit under
plugin/,.claude/skills/ortemplates/skills/(plugin freeze).
Metadata
Metadata
Assignees
Labels
graph-2026-10-freeze-bFreeze-safe bug graph, second batch (tracker: see docs/internal/graph-2026-10-freeze-b)
Activity
docs(graph): graph-2026-10-freeze-b — freeze-safe fixes, second batch…
admarble commentedon Oct 16, 2026
#1451 smoke report:
mainbuild after #1440, #1396 and #1405Build:
main@9f1fb3fdc9e5174cc92da5b099e046c65678adba, plus the local, uncommitted observability patch below.npm run build && npm packproducedsequant-2.19.0.tgz(the version string is unchanged; the tarball is thismainbuild). The patch was never committed or pushed, and the scratch worktree is removed.Patch diff (uncommitted)
Fixture: fresh clones of the #1388 fixture repo. I installed the tarball with
npm install --no-saveand ran the CLI asnode node_modules/sequant/dist/bin/cli.js. Inside the fixture,@anthropic-ai/claude-agent-sdkresolved to 0.3.302, the newest version in the^0.3.296range. Each run was launched by a one-shot LaunchAgent (launchctl bootstrap,RunAtLoadtrue,KeepAlivefalse, booted out after it exited), outside any Claude session (I-2). The account has claude.ai connectors: run C in #1388 listedclaude.ai Gmailandclaude.ai Claude Docsin this same init list.AC-1: no claude.ai connectors;
sequantserver present: Metsequant run <fixture issue> --phases specexited 0 (spec passed). This is the init dump's server list, verbatim:[{"name":"sequant","status":"connected","source":"dynamic"}]The list has no entry with
source: "claudeai", andsequantis connected. The qa run in AC-3 printed the same list:[{"name":"sequant","status":"connected","source":"dynamic"}].AC-2:
claude_code_version≥ 2.1.296: MetThe version is 2.1.302, from the SDK the
^0.3.296floor resolved to. The qa run's init gave the same value.AC-3: on a fresh clone, the worktree HEAD equals
origin/<branch>before the phase starts: MetThe PR branch
feature/<n>-…was committed and pushed from a different clone, and a throwaway fixture PR was opened for it. On a new clone,git branch --listshowed onlymain. Thensequant run <that issue> --phases qaran. I captured this right after sequant created the worktree, before the phase's init message was written:origin/mainon that clone isd58649b13a31e7bd1a398ac7646ba60dbabdb192, so the worktree started from the PR branch, not from the base. The qa phase passed (exit 0).Observed on the way (not in AC scope)
PR body for #<n>: exec output (0 chars) has no Summary or mutation markers; using placeholder, but the fixture PR's existing body was left unchanged when I checked afterwards. The warning's wording is misleading for a qa-only run on an existing PR; it doesn't affect any AC.admarble commentedon Oct 16, 2026
All three ACs met; see the smoke report above (#1451 (comment)). Closed with owner consent.