Repository navigation
Description
Epic: M0 Blocked by: — Tier: mechanical Doc: docs/internal/graph-2026-09/PLAN.md §5 I-4/I-5, §8 Graph node: 02
Symptom
Headless sequant run (2.10.0) on a pnpm project (pnpm-lock.yaml present, no
package-lock.json): every worktree dependency install runs npm ci and fails
with EUSAGE. Non-fatal, so phases proceed on worktrees with no node_modules.
Observed 2026-08-07 on ad-motion (launchd overnight run; log excerpt in
ad-motion experiments/overnight-autonomy/logs/2026-08-07.log).
Root cause
src/commands/run.ts:100-103:
manifest: {
stack: manifest.stack,
packageManager: manifest.packageManager ?? "npm",
},installWorktreeDeps → resolvePackageManager(declared, root) falls back to
live lockfile detection only when the declared value is absent or not a
PM_CONFIG key (src/lib/stacks.ts:284-292). "npm" IS a valid key, so the
substituted literal short-circuits detection and pnpm-lock.yaml is never
consulted.
This is NOT a dup of #847 (shell path, fixed) or #870 (worktree-manager
fallback, fixed): it is a surviving instance of the exact spelling #870's doc
comment warns about (stacks.ts:257-265), introduced by #503's orchestrator
extraction (054434e) and missed by the #870 sweep. The shell path
(new-feature.sh:200) detects pnpm correctly, so the two provisioning paths
disagree today.
Contributing cause: the setup skill's manifest template
(templates/skills/setup/SKILL.md:305-312) writes pmRun but never
packageManager, so every plugin-installed project hits the fallback.
Fix
- Drop
?? "npm"; let undefined flow so resolvePackageManager detects from
the worktree lockfile. WidenRunOrchestratorInit.manifest.packageManager
tostring | undefined(run-orchestrator.ts:215). - Setup skill writes
packageManagernext topmRun(all three mirrored
skill dirs).
Scope (graph plan 2026-09)
- may touch:
src/commands/run.ts,src/lib/workflow/run-orchestrator.ts(only themanifesttype at :219 →packageManager?: string),src/lib/stacks.resolve-package-manager.test.ts, one new gate test file,templates/skills/setup/SKILL.md,.claude/skills/setup/SKILL.md,skills/setup/SKILL.md - not in scope:
resolvePackageManageritself; any other orchestrator line.
Acceptance criteria (graph plan 2026-09)
- AC-1: manifest without
packageManager+pnpm-lock.yamlresolves topnpm install --frozen-lockfilethrough therunpath — Verify:npx vitest run src/lib/stacks.resolve-package-manager.test.ts -t "932"→ passes; the test builds the orchestrator init the wayrun.tsdoes (no literal fallback) and asserts the resolved install command. - AC-2: same for
yarn.lockandbun.lockbperLOCKFILE_PRIORITY— Verify: same test, two more cases. - AC-3: gate — no producer reintroduces the literal — Verify:
grep -rn 'packageManager ?? "npm"' src bin | wc -l→0, asserted by a scoped gate test; PR body carriesMutation-verified: AC-3 — re-added ?? "npm" at run.ts:102; <test> failed; restored. - AC-4: the setup skill writes
packageManagernext topmRunin the manifest template — Verify:grep -c 'packageManager' templates/skills/setup/SKILL.md≥ 1 inside the manifest template block, andmd5 -q templates/skills/setup/SKILL.md .claude/skills/setup/SKILL.md skills/setup/SKILL.md | uniq | wc -l→1.
Done when (graph plan 2026-09)
A pnpm/yarn/bun worktree provisioned by sequant run installs with its own package manager, and a grep gate keeps the literal fallback out.
Original acceptance criteria (superseded by the graph-plan ACs above; kept for history)
- Manifest without
packageManager+ pnpm-lock.yaml in the tree resolves
topnpm install --frozen-lockfile(regression test, mutation-verified) - Same for yarn.lock / bun.lockb per LOCKFILE_PRIORITY
- Setup skill template writes
packageManager; drift-guard covers the new
call site so the next extraction can't resurrect the fallback
Activity
admarble commentedon Sep 7, 2026
Runner context (graph-run, 2026-09-06): the plan for this graph is on PR #998 (branch
docs/graph-plan-2026-09), not yet on main. Read it from the branch, not the working tree:PLAN §5 invariants are binding here: I-4 (hook/skill copies byte-identical:
md5 -q a b c | uniq | wc -l→ 1), I-5 (gate tests ship aMutation-verified:record in the PR body), I-6 (stop at PR — nevergh pr merge, never close the issue), I-9 (run the Verify commands verbatim; never reason an AC done). Base is main20e2a867(v2.13.1); no code drift from the plan basec3c1b0a8beyond the version bump. Stay inside the may touch list in the node file.Node file:
issues/02-932-pnpm-manifest-fallback.md.admarble commentedon Sep 7, 2026
Complexity: Standard (4 ACs, ~3 code paths + 3 mirrored template dirs)
Read the graph plan from
origin/docs/graph-plan-2026-09per the runner-context comment above (PLAN §5 I-4/I-5/I-6/I-9 binding; node fileissues/02-932-pnpm-manifest-fallback.md). This plan follows that node file's AC verbatim — no divergence.AC Quality Check
All 4 AC pass
lintAcceptanceCriteriaclean (0 flagged). They already follow the graph plan's house format (AC-n: <claim> — Verify: <verbatim command> → <expected>), which is stricter than the constitution's ownEvidence:convention — one gap worth flagging:extractAcceptanceCriterialooks for a literalEvidence:clause (#938), notVerify:, so all 4 AC resolve toverificationMethod: "manual"in.sequant/state.jsoneven though AC-1–AC-3 are plainly vitest unit tests. This doesn't block anything here (I'm classifying by reading the AC text, not the parser field) but it means downstream tooling keyed onverificationMethod(e.g. testgen auto-detection) can't see this issue's real test shape. Not in scope for #932 — noting for awareness only.Scope Assessment
Non-Goals: No literal "Non-Goals" heading, but the issue's
## Scopesection (may touch/not in scopelists) serves the identical function and is explicit and tight.Tool verdict:⚠️ SCOPE_WARNING (directory spread)
Judgment call — treating as false positive, not auto-enabling quality loop. The tool's directory list is
["src", "test", "bin"], extracted by keyword-matching path-like tokens inside the AC prose (AC-3'sgrep ... src bincommand, AC-2's "same test") — not from an actual diff or file list. The issue's ownmay touchenumeration is the ground truth:src/commands/run.ts,src/lib/workflow/run-orchestrator.ts(one type, one line),src/lib/stacks.resolve-package-manager.test.ts, one new gate test file, and 3 byte-identical mirrors of one skill doc. That's a single localized code fix plus a mirrored-doc edit already governed by I-4 — real spread is low. Recommending quality loop disabled.Acceptance Criteria
AC-1: pnpm resolves through the
runpath with no manifest declaredVerification: Unit Test
Scenario: Given a tmp worktree with
pnpm-lock.yamland no declaredpackageManager(built the wayrun.tsconstructsRunInit.manifestpost-fix, not via a directresolvePackageManager(undefined, dir)call — that path is already covered by the existing #870 test suite) → When resolved → ThenpmConfig.ciInstallispnpm install --frozen-lockfile.Assumptions: None —
LOCKFILE_PRIORITYandPM_CONFIGalready exist and are correct (out of scope per the issue).AC-2: same for yarn.lock and bun.lockb
Verification: Unit Test
Scenario: Same harness as AC-1, two more fixtures (
yarn.lock→yarn install --immutable;bun.lockb→bun install --frozen-lockfile).Assumptions: Test name must contain "932" so
-t "932"selects all three cases (issue's literal Verify command).AC-3: gate — literal fallback never reintroduced
Verification: Unit Test (gate)
Scenario: Given
src/andbin/, a new test greps for the literalpackageManager ?? "npm"and asserts 0 matches.Assumptions: Mutation-verify required before PR: temporarily restore
?? "npm"atrun.ts:102, confirm the gate test fails, revert, recordMutation-verified: AC-3 — re-added ?? "npm" at run.ts:102; <test> failed; restored.in the PR body per CLAUDE.md.AC-4: setup skill writes
packageManagernext topmRunVerification: Integration Test (scripted, no app logic — grep + md5 check)
Scenario: Given the manifest template block in all 3 skill mirrors → When grepped → Then
packageManagerappears ≥1 time in the template, and all 3 files stay byte-identical (I-4).Assumptions: Current 3 mirrors are already byte-identical (verified: single md5
548b1adb...).Implementation Plan
Phase 1: Core fix
src/commands/run.ts:102— drop?? "npm"; letmanifest.packageManagerflow through asundefinedwhen absent, matching the already-correct call insrc/commands/update.ts:94.src/lib/workflow/run-orchestrator.ts:219— widenRunInit.manifest.packageManagerfromstringtostring | undefined. Region-owned edit only — this one type, no other orchestrator restructuring (PLAN §8: node 02 owns:219only; nodes 05/09/08 own the other regions in this file).Phase 2: Tests
src/lib/stacks.resolve-package-manager.test.tswith a test (name containing "932") that constructs the init object the wayrun.tsbuilds it post-fix — not a directresolvePackageManager()call, which the existing suite already covers — and asserts the resolvedciInstallcommand for pnpm/yarn/bun (AC-1, AC-2).src/lib/stacks.no-npm-fallback-gate.test.ts) assertinggrep -rn 'packageManager ?? "npm"' src binreturns 0 matches (AC-3). Mutation-verify per above before opening the PR.Phase 3: Setup skill manifest template (3 mirrors, same PR)
templates/skills/setup/SKILL.mdstep 5 (Detect Package Manager): add a barePMvariable alongside the existingPM_RUNin each branch (e.g.PM="pnpm"next toPM_RUN="pnpm run") —PM_RUNis a command ("pnpm run"), not aPM_CONFIGkey, so reusing it for the manifest'spackageManagerfield would failresolvePackageManager'shasOwnPropertycheck and silently re-fall-through to detection, masking this exact bug..sequant-manifest.jsontemplate: add"packageManager": "<detected PM>"next to"pmRun": "<detected PM_RUN>"..claude/skills/setup/SKILL.mdandskills/setup/SKILL.md. Verify:md5 -q templates/skills/setup/SKILL.md .claude/skills/setup/SKILL.md skills/setup/SKILL.md | uniq | wc -l→1.Design Review
src/commands/run.ts, the single call site buildingRunInit.resolvePackageManager/PM_CONFIGinstacks.tsalready own fallback+command resolution and stay untouched (explicitly out of scope).run.ts— would duplicatestacks.tslogic and reintroduce the dual-producer drift worktree-manager's bare|| "npm"fallback disagrees with the PM-aware shell path on manifest-less projects #870 already fixed.src/commands/update.ts:94already callsresolvePackageManager(manifest.packageManager, process.cwd())with no literal fallback — the correct instance of this exact call, right next to the buggy one.src/bin, which is a different mechanism from the TS↔shell mirror drift guard (that one compares literal strings across languages, not absence of a pattern).Open Questions
PMvariable get set in the setup skill's step 5 shell block? Recommendation: alongsidePM_RUNin each existingif/elifbranch, verbatim (PM="pnpm"), not derived fromPM_RUNby string-splitting. Impact if wrong: an indirection for a value already known verbatim at detection time.Recommended Workflow
Phases: exec → qa
Quality Loop: disabled
Reasoning: Mechanical tier per graph plan; SCOPE_WARNING judged a false positive (see Scope Assessment); AC's Verify commands are already fully verbatim-specified, so testgen would just restate them — exec can write both test files directly. No security/UI surface.
Label Review
Current:
graph-2026-09Recommended: no change
Reason: Phase routing for this graph is driven by
.sequant/settings.jsonrun.phasestiering (PLAN §8), not issue labels; the issue is already correctly tieredmechanicalin the node file.Quality Loop: Won't auto-enable — see Scope Assessment override above.
admarble commentedon Sep 7, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 0/2 met
Gaps:
?? "npm"bypasses resolvePackageManager — pnpm worktrees getnpm ci(surviving #870 site) #932 test block's second assertion compares a value to itself, presenting as install-command coverage while providing nonestacks.resolve-package-manager.test.ts:125—expect(PM_CONFIG[resolved].ciInstall).toBe(PM_CONFIG[pm].ciInstall)is vacuous: line 124 already assertsresolved === pm, so this compares a value to itself and would pass even ifPM_CONFIG.pnpm.ciInstallwere changed to something wrong. It reads as install-command coverage but provides none. (Real command coverage does exist — atfrozen-install.test.ts:177/196/208— so this is redundancy that misrepresents itself, not a coverage hole.)#932describe block hand-buildsconst init = { manifest: { stack: "node", packageManager: undefined } }rather than exercisingrun.ts's actual init. The comment is honest about this ("Mirrorsrun.ts's init"), and AC-3's gate test covers the drift risk, but the block's title ("run path resolves through the lockfile") claims more than the body does.Suggestions:
expect(resolvePackageManagerConfig(resolved, dir).ciInstall).toBe(expectedCommand)per case — that would make the block assert what its name and AC-1 both claim, and would route through the same resolver the production path uses (relevant for yarn, wherePM_CONFIG.yarn.ciInstallis the berry spelling but the real path emits classic).test(#932): assert the resolved install command instead of a self-com…
admarble commentedon Sep 7, 2026
Runner verification — node 02 (PR #1000, QA verdict AC_MET_BUT_NOT_A_PLUS)
Verify commands from
issues/02-932-pnpm-manifest-fallback.md, run verbatim in the worktree at3623d8e7(then8c7d770f):npx vitest run src/lib/stacks.resolve-package-manager.test.ts -t "932"grep -rn 'packageManager ?? "npm"' src bin | wc -l0; gate testsrc/lib/stacks.no-npm-fallback-gate.test.tspresent?? "npm"atrun.ts:102→ gate test failed (expected 'src/commands/run.ts:102: …' to be '') → restored → green 2/2SEQUANT_MUTATIONmarker) — it was missinggrep -c packageManager templates/skills/setup/SKILL.md→1(inside the manifest template block, line 316);md5 -q … | uniq | wc -l→1Fixed beyond the agent's work: the QA's vacuous-assertion finding —
expect(PM_CONFIG[resolved].ciInstall).toBe(PM_CONFIG[pm].ciInstall)compared a value to itself, so AC-1's "asserts the resolved install command" was not literally true. Replaced with a per-case literal throughresolvePackageManagerConfig(resolved, dir)(yarn classic →yarn install --frozen-lockfile); 15/15 pass. Commit8c7d770f, pushed to PR #1000.Not done (A+ polish, per stop-at-PR): CHANGELOG
[Unreleased]entry; the gate's single-spelling pattern (|| "npm"/?? DEFAULT_PMwould evade it). Owner's call whether to require either before merge.Merge decision is yours — I will not merge.
test(#932): widen the npm-fallback gate to every coalescing spelling;…
admarble commentedon Sep 7, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 0/5 met
Gaps:
?? "npm"bypasses resolvePackageManager — pnpm worktrees getnpm ci(surviving #870 site) #932's short-circuit at the manifest producer for projects set up before their first installSuggestions:
const init = { manifest: { stack: "node", packageManager: undefined } }as a local literal and then reads it straight back. It asserts a real install command now (the round-1 fix landed), but theinitobject is inert: ifrun.ts:102regressed tomorrow, this test would still pass. AC-1's own text prescribes this shape ("builds the orchestrator init the wayrun.tsdoes"), so it is AC-compliant — but the actual regression guard for the production line is the AC-3 grep gate, not this test. Worth saying plainly in the PR body so the next reader doesn't over-trust it.fix(setup): leave an undetected packageManager undeclared; scope the …
admarble commentedon Sep 7, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 0/4 met
Gaps:
src/lib/stacks.no-npm-fallback-gate.test.ts:57,65,69—for (const [i, text] of contents.entries())bindsibut never uses it, and both assertion messages begin with a stray leading space (" should have a .sequant-manifest.json template block"), which is the residue of a removed${SETUP_SKILL_MIRRORS[i]}interpolation. When the gate fires across three mirrors, the failure message cannot say which mirror is broken — a real diagnostic loss in the very test this PR exists to add. ESLint does not flag it (array-destructuring unused bindings are not caught by the current config).Suggestions:
`${SETUP_SKILL_MIRRORS[i]} should have a .sequant-manifest.json template block`(and likewise for thepmRun/packageManagerassertion). One-line fix, makesiused again.packageManager:\s*"npm") — see Risk Assessment.test(#932): name the failing mirror in gate messages; gate the direct…
admarble commentedon Sep 7, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 0/4 met
Gaps:
src/lib/stacks.resolve-package-manager.test.ts:20—PM_CONFIGwas added to the import list but is never used in code. Its only post-import occurrences are a test-name string (:34) and comments (:42,:60,:76,:100). It passeseslint --max-warnings 0andtsc(nonoUnusedLocals), so nothing catches it. Dead code added by this diff.pnpm > yarn > bun > npm(SKILL.md:207-224), whileLOCKFILE_PRIORITYinstacks.ts:178-184isbun > yarn > pnpm > npm. That elif order is pre-existing, but this diff newly activates the divergence: before, the skill recorded nothing and detection always decided; now the skill records a declared value that wins over detection (resolvePackageManagerreturns the declared value on ahasOwnPropertyhit). On a repo carrying bothpnpm-lock.yamlandbun.lockb, setup declarespnpmwhere the resolver's own detector would saybun— a narrow instance of the same two-paths-disagree class this issue is about."packageManager": "<detected PM — omit this key when PM is empty>"embeds an instruction inside a JSON value, unlike its sibling"pmRun": "<detected PM_RUN>". This degrades safely — I checked both misread modes: an emitted""is falsy so detection runs, and the literal placeholder text is not aPM_CONFIGkey sohasOwnPropertyfails and detection runs — but it is still LLM-hostile formatting in a prompt whose whole job is to be followed literally.Suggestions:
PM_CONFIGimport.LOCKFILE_PRIORITY, or file a follow-up; a one-line comment noting the deliberate difference would also close it.fix(setup): lockfile precedence mirrors LOCKFILE_PRIORITY; plain mani…
admarble commentedon Sep 7, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 0/5 met
Gaps:
runCommand's init construction.run.test.tscontains nomanifest/resolveConfig/packageManagerassertions, and AC-1/AC-2 reconstruct the init shape in the test rather than invoking the real one. Ifrun.ts:102regressed to a non-literal npm default (e.g.manifest.packageManager ?? someDefault()), both the AC-1/2 tests and the grep gate stay green. The PR body discloses this as a stated limit.const pm = manifest.packageManager; … pm ?? "npm") — is not hypothetical for this defect class. This bug was introduced by arch: extract RunOrchestrator — decouple execution engine from CLI wiring #503's orchestrator extraction, and an extraction refactor is exactly what produces an aliased intermediate. The gate is strictly better than main, but the most likely recurrence shape is the one it cannot see.**pnpm/yarn/bun worktrees no longer install with npm ci.**. Issue number and### Fixedsection are correct.Suggestions:
run.tsinit path (or extract the init literal into an exported helper the test can call), closing both bullets above at once.Fix ….1 remaining item
admarble commentedon Sep 7, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 0/2 met
Gaps:
--immutable, which Yarn 1 rejects — no berry detection exists #871 TS-to-markdown mirror drift classSuggestions:
PMis empty" conditional into the JSON block (see §Adversarial Re-Read finding 1).LOCKFILE_PRIORITY(finding 2).test(#932): drift-guard the setup skill's lockfile order against LOCK…
admarble commentedon Sep 7, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 0/6 met
Gaps:
Suggestions:
run.tsstill callsmanifestForRun(the same technique the drift guard already uses), which would genuinely close the init-site blind spot.test(#932): pin run.ts's manifestForRun call site by source inspectio…
admarble commentedon Sep 7, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 0/6 met
Gaps:
?? "npm"bypasses resolvePackageManager — pnpm worktrees getnpm ci(surviving #870 site) #932 fixed; mandated by AC-4 and disclosed in the CHANGELOG.templates/skills/setup/SKILL.md:317introduces the only```jsoncfence in the entire skill tree (44 skill files), containing a//comment inside a block the agent is instructed to write to disk as.sequant-manifest.json. A literal copy yields unparseable JSON andgetManifestthrows on every subsequent command. Mitigated — the comment itself says "the file you write must be plain JSON: no comments", and the prose above repeats the conditional — but round 4 had this safely as prose-only and round 6 moved it inside the fence voluntarily (the AC-4 gate asserts only"pmRun" … "packageManager", not the comment). Every other//in the skill tree sits in pseudo-code blocks, never in a copy-to-file template.Suggestions:
*.test.ts/__tests__/but not*.spec.ts; harmless today (no.spec.tsundersrc/bin), worth aligning if the convention ever changes.docs(setup): keep the manifest template plain JSON; conditional stays…
admarble commentedon Sep 7, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 0/2 met
Gaps:
?? "npm"bypasses resolvePackageManager — pnpm worktrees getnpm ci(surviving #870 site) #932 in their own caller.docs/features/run-orchestrator.md:45still showspackageManager: manifest.packageManager ?? 'npm'in the public copy-pasteRunOrchestrator.run()example. Detail under Risk Assessment / Adversarial Re-Read.Suggestions:
*.test.tsand__tests__/but not*.spec.ts. Harmless today (no.spec.tsundersrc/bin), worth aligning if the convention changes.docs(#932): drop the npm fallback from the run-orchestrator API examp…
admarble commentedon Sep 7, 2026
QA Verdict: AC_MET_BUT_NOT_A_PLUS
AC coverage: 0/5 met
Gaps:
templates/skills/setup/SKILL.md:214-231changed the order from pnpm > yarn > bun > npm to bun > yarn > pnpm > npm. This is the correct order (it now mirrorsLOCKFILE_PRIORITY), but it also changes thepmRunwritten to.sequant/settings.jsonfor any project with more than one lockfile — a repo with bothyarn.lockandpnpm-lock.yamlnow getsyarnwhere it previously gotpnpm run. The CHANGELOG[Unreleased]entry covers thepackageManagerwrite and the run-path fix but says nothing about the precedence change.packageManagerinto.sequant-manifest.jsoncreates a declared value that, byresolvePackageManager's own contract, outranks live lockfile detection — the same short-circuit shape as the bug, one layer up. A project that later migrates pnpm → bun gets pnpm worktrees until someone hand-edits the manifest. This is AC-4's explicit requirement and it is disclosed (CHANGELOG, and PR "A+ round 8" defers it to the plan owner under PLAN §5 I-7), but no follow-up issue exists to track it.Suggestions:
[Unreleased]entry noting the setup skill's lockfile precedence now mirrorsLOCKFILE_PRIORITY.docs(changelog): note the setup skill's lockfile-precedence change (#932
admarble commentedon Sep 7, 2026
QA Verdict: READY_FOR_MERGE
AC coverage: 0/4 met
Gaps:
Suggestions:
run.manifest-init.test.ts:51—expect(src).toMatch(/manifest:\s*manifestForRun\(manifest\)/)reads the whole ofrun.ts, so a comment containing that text could satisfy the positive half. CLAUDE.md's scoping rule targets exactly this shape. In practice the paired negative (not.toMatch(/manifest:\s*\{\s*stack:/)) is what catches the realistic regression, and round 7's mutation record shows the pair fires — so this is a latent hazard needing a contrived decoy comment to exploit, not an active hole. Anchoring both to theconst init = {block would close it.admarble commentedon Sep 7, 2026
Runner verification — node 02, final (PR #1000 at
a9d96b0e, QA verdict READY_FOR_MERGE, round 11)Verify commands from
issues/02-932-pnpm-manifest-fallback.md, re-run verbatim at the final commit:npx vitest run src/lib/stacks.resolve-package-manager.test.ts -t "932"→ Tests 3 passedgrep -rn 'packageManager ?? "npm"' src bin | wc -l→ 0; gate + real-init-path tests → Tests 9 passed (9); mutation markers on the PR: 6 classification":"valid";grep -c packageManager templates/skills/setup/SKILL.md→ 3 (inside the manifest template block, asserted by the scoped gate); three mirrorsmd5 … | uniq | wc -l→ 1What the A+ pass changed beyond the original agent work (11 QA rounds, commits 8c7d770 → a9d96b0, all on PR #1000): real install-command assertions; the grep gate widened to every spelling (
??/||/direct:,'npm',DEFAULT_PM*) with test files excluded;run.ts's manifest init extracted tomanifestForRun(newsrc/commands/run-manifest.ts, disclosed off-list, keepsrun.tsunder its #503 cap) and tested on the real path with its call site pinned by source inspection; the setup skill no longer records a guessed"npm", its lockfile order mirrorsLOCKFILE_PRIORITYwith a source-inspection drift guard, and the manifest template stays plain JSON; the docs API example no longer teaches the fallback; CHANGELOG restored from main and rewritten with the snapshot and precedence caveats. Six mutation records, all parser-valid. The one open design question (should setup recordpackageManagerat all) is PLAN §9 OQ-20 on PR #998, not a new issue.Merge decision is yours — I will not merge.
docs(plan): 2026-09 backlog graph (16 nodes, /graph-run ready) (#998)
feat(#932): fix(run): manifest fallback `?? "npm"` bypasses resolvePa…