WIP: Add challenge-premise red-team review prompt - #6274
Draft
rugpanov wants to merge 1 commit into
Draft
Conversation
Add .agent/prompts/challenge-premise.md, a reusable prompt for red-teaming a change that rests on a load-bearing assumption: state the assumption, try to disprove it with repo config/docs, and check whether the repo already solves the problem another way. Runs alongside the normal correctness review. Matches the existing .agent/prompts/outdated-agent-rules.md style (plain prose, no frontmatter). Prompts are invoked on demand, so no rules/cursor symlink. Co-authored-by: Isaac
Contributor
Waiting for approvalBased on git history, these people are best suited to review:
Eligible reviewers: Suggestions based on git history. See OWNERS for ownership rules. |
rugpanov
marked this pull request as draft
August 14, 2026 11:21
Collaborator
Integration test reportCommit: 97d8a52
8 interesting tests: 4 SKIP, 3 KNOWN, 1 RECOVERED
|
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
Adds
.agent/prompts/challenge-premise.md— a reusable prompt for red-teaming a change that rests on a load-bearing assumption (a claim about how a tool, API, the repo, or the codebase behaves).Why
Content-focused reviews verify that a change is built correctly but rarely question whether its premise is true. A recent change was proposed on the assumption that "Claude Code can't discover
.agent/rules/" — every correctness reviewer approved it, yet the premise was false (the repo already wires those rules to Claude via a.claude/rulessymlink). A red-team prompt run with this framing caught it in one pass. This codifies that prompt so it's reusable instead of retyped.What
The prompt asks the reviewer to assume the implementation is correct and instead: state the load-bearing assumption, try to disprove it with repo config/docs, explain what makes the change redundant or worse than the status quo, and identify the simplest alternative.
Matches the existing
.agent/prompts/outdated-agent-rules.mdstyle (plain prose, no frontmatter). Prompts are invoked on demand, so no.claude/rulesor.cursor/rulessymlink is needed.Notes
.nextchanges/fragment.This pull request and its description were written by Isaac.