Skip to content

docs(exec): doc-gate tests must call production code; red-main re-run and revert-type notes - #1144

Merged
admarble merged 1 commit into
mainfrom
chore/reflect-2026-09-24
Sep 24, 2026
Merged

admarble merged 1 commit into
mainfrom
chore/reflect-2026-09-24

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

From the 2026-09-24 reflection on #1136 (PR #1139). Documentation only; all three skill mirrors updated, lint:skill-sync, lint:skill-calls and lint:skill-gates green, the #899 and #1136 gate suites pass (88/88).

  • exec §3e: a doc-gate test that reads a SKILL.md, fixture or reference page and asserts substrings calls no production function, so the tautology detector scores it 100% and scripts/qa/tautology-detector-cli.test.ts fails in the full suite while the gate itself stays green. feat(exec/qa): explicit in-place checkout mode — run a phase on a branch in the current clone without creating or resolving a worktree #1136's first gate file did exactly this and cost a 12-minute suite run to discover. The section now says what to call instead: execute the documented bash in a scratch repo and judge it with the module the guard uses, run the parser a marker feeds, or walk the mirrors with collectFiles.
  • CLAUDE.md, Red main: the sequence used on 6fa3d005 (draft revert opened while the failed job re-runs; green re-run closes it unmerged, red one lands it) and the hook's rejection of the revert: commit type, which blocked the first revert attempt.

Test plan

  • npm run lint:skill-sync — 44 synced, 0 diverged
  • npx vitest run __tests__/integration/worktree-contract-skill.integration.test.ts __tests__/integration/in-place-checkout-skill.integration.test.ts — 88 passed

🤖 Generated with Claude Code

… and revert-type notes

From the 2026-09-24 reflection on #1136. A test that reads a SKILL.md and asserts substrings scores 100% tautological and fails the detector's own CLI test in the full suite; the exec skill's anti-pattern section now names it and says what to call instead. CLAUDE.md's red-main rule gains the draft-revert-plus-re-run sequence used on 6fa3d00 and the hook's rejection of the revert: commit type.

Entire-Checkpoint: 8b2142bd19f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant