Skip to content

ci(#1098): downstream canary job + next-tag soak gate in /release - #1127

Merged
admarble merged 7 commits into
mainfrom
feature/1098-ci-canary-downstream-fixture-project-on-every-pr-o
Sep 21, 2026
Merged

admarble merged 7 commits into
mainfrom
feature/1098-ci-canary-downstream-fixture-project-on-every-pr-o

Conversation

@admarble

@admarble admarble commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Deviations from the issue's "May touch" list

Acceptance criteria

  • AC-1: canary job in ci.yml — CI run: https://github.com/sequant-io/sequant/actions/runs/35536823010/job/106147228597 (green)
  • AC-2: customizations survive — npx vitest run __tests__/canary/downstream.integration.test.ts -t "customizations survive" green
  • AC-3: dry-run equals apply — -t "dry-run equals apply" green
  • AC-4: mcp handshake — -t "mcp handshake" green
  • AC-5: release skill — npx vitest run src/lib/__tests__/release-skill-soak.test.ts green (12/12)
  • AC-6: canary job < 6 min — 47 s on ubuntu-latest (budget 360 s) — closes OQ-2. (An earlier push failed on doctor exiting 1 for gh/claude/codex auth on a bare runner; fixed to assert only project-shape checks.)
  • AC-7: 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, and writer-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)

  • qa: AC_MET_BUT_NOT_A_PLUS. Runner ran the canary project locally against the real previous minor (4 passed, 35 s), the soak gate (4 cases × 3 copies), lint:skill-sync 44/44, no SKILL.md mentions relay; all three markers classifier-valid. CI on the PR head: canary 47 s, test 6 m 23 s, both green.
  • Runner fix (33431e9a): the soak gate now enumerates the release skill copies through collectFiles (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).
  • Review notes: the canary exposed and this PR fixes init --agent codex --yes replacing a hand-written AGENTS.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's test now runs --project unit --project integration and test:canary runs the registry-dependent project separately (spec OQ-1), so the required test context stays hermetic.
  • Full npm test from a clean shell on 33431e9a: 334 files, 7292 passed, 1 expected fail, 3 skipped, 388 s.

@admarble
admarble merged commit 93adc8f into main Sep 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant