Repository navigation
Fix dead doc references, alias routing, red_at check and audit log ignore - #25
Merged
Merged
Conversation
…nore
- docs: remove references to shared/, guard-tdd, .windsurf/rules/{skills,agents},
.windsurf/mcp, sync-platforms.sh, detect-stack --mcp, docs/known-debt.md;
rewrite platform-mapping.md to match the real layout
- alias hook: match only at the start of the prompt; add implement/build T-NNN
- TDD hook: require red_at and red_failure_excerpt in every editable phase;
align guardrail docs on all three platforms
- .gitignore: stop ignoring .tdd-audit.log
- tests for the above
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
Step 5a of the review: the docs cleanup plus small hook and config fixes.
Docs that pointed at things that don't exist
shared/skills/.... There is noshared/, so they now point to.github/skills/....docs/platform-mapping.mddescribed a planned layout:shared/,guard-tddinstruction and rule files,.windsurf/rules/{skills,agents}/,.windsurf/mcp/,sync-platforms.sh,detect-stack.sh --mcp, and a Copilot chatmode that "excludeseditFilesuntil red". I rewrote it to describe the real layout: the mapping table, guardrail files by scope, actual MCP config locations, and manual sync with parity enforced by CI.docs/methodology.mdno longer tells the agent to run the unimplementeddetect-stack.sh --mcp.docs/known-debt.md; it is now.specs/_known-debt.md. The brownfield example pointed toshared/maven/....Alias hook (
route-natural-language-aliases.sh)/validateand "Explain the code review rubric" routed to/review. Aliases now fire only when the prompt starts with the phrase; a polite lead-in such as "please", "can you", "let's" or "ok," is allowed./build T-NNNalias.jqinstead of a heredoc.TDD hook vs. docs
artifact-contract.mdsaidred_atwas required, but the hook never checked it, and it only checkedred_failure_excerptin theredphase. The hook now requires both in every phase where editing is allowed (red,green,refactor,simplify).phase == "red"only, which would have told the implementer not to edit during green or refactor. All three platforms and the contract now state the same rule..gitignore*.logwas ignoring.specs/<feature>/.tdd-audit.log, the red-before-green audit trail. It is now un-ignored and documented inartifact-contract.mdas a committed artifact.Testing
tests/run.sh: 79 pass on bash 3.2 and 5. The new cases cover 12 alias prompts, including 4 that must not route, plusred_atand excerpt checks in the green and refactor phases.