Repository navigation
docs(exec): doc-gate tests must call production code; red-main re-run and revert-type notes - #1144
Merged
Merged
Conversation
… 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
This was referenced Nov 3, 2026
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
From the 2026-09-24 reflection on #1136 (PR #1139). Documentation only; all three skill mirrors updated,
lint:skill-sync,lint:skill-callsandlint:skill-gatesgreen, the #899 and #1136 gate suites pass (88/88).SKILL.md, fixture or reference page and asserts substrings calls no production function, so the tautology detector scores it 100% andscripts/qa/tautology-detector-cli.test.tsfails 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 withcollectFiles.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 therevert:commit type, which blocked the first revert attempt.Test plan
npm run lint:skill-sync— 44 synced, 0 divergednpx 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