Add Copilot custom instructions and bounded test-first intake prompt file#19
Draft
Add Copilot custom instructions and bounded test-first intake prompt file#19
Conversation
…y_spec_intake.prompt.md Co-authored-by: LalaSkye <228581229+LalaSkye@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add initial Rails setup and golden tests
Add Copilot custom instructions and bounded test-first intake prompt file
Mar 1, 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.
Copilot has no repo-level constraints and will freely mutate invariant primitives or collapse schema→test→implementation into a single unreviewed pass. This adds the rails to prevent that.
Changes
.github/copilot-instructions.mdauthority_gate.py,stop_machine.py,invariant_litmus.py, andcommit_gate/— Copilot must halt and report rather than touch them.github/prompts/commitboundary_spec_intake.prompt.mdA runnable VS Code prompt file (Command Palette → "Chat: Run Prompt") that enforces a five-step locked sequence:
# FAIL-FIRSTmarkerThe confirmation gate in Step 3 is the key control — Copilot cannot self-advance past it.
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.