Repository navigation
Conversation
…-soaked Entire-Checkpoint: 9407ee63d144
Entire-Checkpoint: ed5ae4170329
Entire-Checkpoint: d59f3891802b
…project Entire-Checkpoint: 424fdef9f827
Entire-Checkpoint: 802a1b7d9841
… bare runner Entire-Checkpoint: eb887d020dcb
…llectFiles, one case per contract line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
canary: fixture project on the previous minor release (realnpm install), customized like a real one, driven by this PR's build (sync --dry-run,sync,init --agent codex --yes,update,doctor, real MCPinitialize). Own vitest project (npm run test:canary);npm testexcludes it so the requiredtestcheck never depends on the registry./releasepublishes tonextfirst and refuseslatestwithout--soaked(all 3 copies, pinned byrelease-skill-soak.test.ts).init --agent codex --yesreplaced a hand-writtenAGENTS.md(sync preserves it, fix(sync): never rewrite a user-owned AGENTS.md or write a machine-specific scripts/dev symlink (absorbs #991) #990).initnow applies the same ownership rule;--forceoverrides. This is the AGENTS.md half of fix(init): --yes init replaces a user-modified AGENTS.md and an unparseable .mcp.json that sync would preserve #1123; the writer-state matrix (test(sync/init/update): state-matrix tests for every template writer — absent, sequant-owned, user-modified, local symlink, foreign symlink, directory #1097) pinned those 4 cells as that defect and now expects them preserved (cells: 0, entry kept for fix(init): --yes init replaces a user-modified AGENTS.md and an unparseable .mcp.json that sync would preserve #1123's unparseable-.mcp.jsonhalf, which is not fixed here).Deviations from the issue's "May touch" list
vitest.config.tsandpackage.json(test→--project unit --project integration, plustest:canary): spec OQ-1's recommendation. Without it the requiredtestjob would run the registry-dependent canary.src/commands/init.ts,src/lib/__tests__/writer-state-matrix.test.ts: the AGENTS.md fix above; AC-2 cannot pass without it..sequant/settings.jsonassertion allows exactly one sanctioned change:init --agent codexrecordsrun.agent(feat(#497): sequant init --agent codex — .agents/skills symlink, .codex hooks wrapper, doctor, README #1059/bug(init): init --agent <name> on an initialized repo overwrites .sequant/settings.json with defaults #1071); everything else must be byte-identical.npm packtarball assequant@<PR version>from a local proxy registry (npx treats a tarball path as a command). Plugin command and inline launcher from.mcp.jsonrun unmodified.Acceptance criteria
canaryjob in ci.yml — CI run: https://github.com/sequant-io/sequant/actions/runs/35536823010/job/106147228597 (green)npx vitest run __tests__/canary/downstream.integration.test.ts -t "customizations survive"green-t "dry-run equals apply"green-t "mcp handshake"greennpx vitest run src/lib/__tests__/release-skill-soak.test.tsgreen (12/12)doctorexiting 1 for gh/claude/codex auth on a bare runner; fixed to assert only project-shape checks.)npm run build && npm test— left to the runner per wave-3 rules; not run here. Ran lint, tsc,lint:skill-sync(0 diverged),lint:skill-gates, andwriter-state-matrix(645 pass).Mutation verification
Mutation-verified: AC-2 — createDefaultSettings guard disabled (#1071 behavior); downstream.integration.test.ts customizations survive failed (timeout 5400 → 1800); restored.
Mutation-verified: AC-2 — init AGENTS.md guard forced to force:true; same test failed; restored.
Mutation-verified: AC-4 — launched the stale local node_modules/.bin/sequant (pre-#1085); mcp handshake failed (Received 2.15.1, Expected 2.16.0); restored.
Mutation-verified: AC-5 — replaced the refuse-without-soaked line in skills/release/SKILL.md; release-skill-soak.test.ts failed for the skills copy only; restored.
Closes #1098
🤖 Generated with Claude Code
Runner verification (guard-2026-09 wave 3, 2026-09-20)
lint:skill-sync44/44, no SKILL.md mentions relay; all three markers classifier-valid. CI on the PR head:canary47 s,test6 m 23 s, both green.33431e9a): the soak gate now enumerates the release skill copies throughcollectFiles(the same production call the other doc-gate test uses) with one case per contract line; the full local suite had failed only the tautology-detector CLI cases (52.6 % of changed blocks flagged, now 31.6 %, non-blocking). The AC-5 marker's describe name is updated to match; mutation re-verified (one copy's refuse line replaced → exactly that case fails; restored).init --agent codex --yesreplacing a hand-writtenAGENTS.md(the AGENTS.md half of fix(init): --yes init replaces a user-modified AGENTS.md and an unparseable .mcp.json that sync would preserve #1123);package.json'stestnow runs--project unit --project integrationandtest:canaryruns the registry-dependent project separately (spec OQ-1), so the requiredtestcontext stays hermetic.npm testfrom a clean shell on33431e9a: 334 files, 7292 passed, 1 expected fail, 3 skipped, 388 s.