review-intake
Purpose
The counterpart to review. While review finds issues in code, review-intake handles the response when someone finds issues in YOUR code. Enforces a verification-first discipline: understand fully, verify against codebase reality, then act. Prevents the common failure mode of blindly implementing suggestions that break things or don't apply.
Modes
| Mode | When | Workflow |
|------|------|----------|
| PR Review Mode (default) | Input is PR comments / code review feedback / external suggestions | Phases 1-6 below — absorb, comprehend, verify, evaluate, respond, implement |
| Issue Triage Mode | Input is issue tracker item (gh-42, URL, pasted issue body), or user says "triage" / "process the inbox" | See references/issue-triage.md — state machine (needs-triage → ready-for-agent / ready-for-human / needs-info / wontfix) + repro-first for bugs + AGENT-BRIEF emission |
Both modes share Phase 4.5 (Rejection KB Write) — wontfix-enhancement from Issue Triage and OUT OF SCOPE from PR Review both write .out-of-scope/<slug>.md.
Triggers
/rune review-intake— manual invocation, PR Review Mode by default/rune review-intake <issue-ref>— Issue Triage Mode (issue number, URL, or path)/rune review-intake --inbox— Issue Triage Mode batch sweep (unlabeled + needs-triage + needs-info-with-activity)- Auto-trigger: when
cookorfixreceives PR review comments → PR Review Mode - Auto-trigger: when user pastes review feedback into session → PR Review Mode
- Auto-trigger: when user pastes an issue body or references a ticket → Issue Triage Mode
Calls (outbound)
scout(L3): verify reviewer claims against actual codebasefix(L2): apply verified changestest(L2): add tests for edge cases reviewers foundhallucination-guard(L3): verify suggested APIs/packages existsentinel(L2): re-check security if reviewer flagged concerns
Called By (inbound)
cook(L1): Phase 5 quality gate when external review arrivesreview(L2): when self-review surfaces issues to address
Workflow (PR Review Mode)
For Issue Triage Mode, see references/issue-triage.md. Both modes converge at Phase 4.5 for rejection KB writes.
<MUST-READ path="references/issue-triage.md" trigger="when input is an issue tracker item, batch inbox sweep, or user explicitly says 'triage' / 'process the inbox'"/>
Phase 1 — ABSORB
Read ALL feedback items before reacting. Do not implement anything yet.
Classify each item:
| Type | Example | Priority |
|---|---|---|
| BLOCKING | Security vuln, data loss, broken build | P0 — fix now |
| BUG | Logic error, off-by-one, race condition | P1 — fix soon |
| IMPROVEMENT | Better pattern, cleaner API, perf gain | P2 — evaluate |
| STYLE | Naming, formatting, conventions | P3 — quick fix |
| OPINION | "I would do it differently" | P4 — evaluate |
Phase 2 — COMPREHEND
For each item, restate the technical requirement in your own words.
<HARD-GATE>
If ANY item is unclear → STOP entirely.
Do not implement clear items while unclear ones remain.
Items may be interconnected — partial understanding = wrong implementation.
Ask: "I understand items [X]. Need clarification on [Y] before proceeding."
</HARD-GATE>
Phase 3 — VERIFY
Before implementing ANY suggestion, verify it against the codebase:
For each item:
1. Does the file/function reviewer references actually exist?
2. Is the reviewer's understanding of current behavior correct?
3. Will this change break existing tests?
4. Does it conflict with architectural decisions already made?
5. If suggesting a package/API — does it actually exist? (hallucination-guard)
Use scout to check claims. Use grep to find actual usage patterns.
Phase 4 — EVALUATE
For each verified item, decide:
| Verdict | Action |
|---|---|
| CORRECT + APPLICABLE | Queue for implementation |
| CORRECT + ALREADY DONE | Reply with evidence |
| CORRECT + OUT OF SCOPE | Acknowledge, defer to backlog |
| INCORRECT | Push back with technical reasoning |
| YAGNI | Check if feature is actually used — if unused, propose removal |
YAGNI check:
# Reviewer says "implement this properly"
# First: is anyone actually using it?
grep -r "functionName" --include="*.{ts,tsx,js,jsx}" src/
# Zero results? → "This isn't called anywhere. Remove it (YAGNI)?"
Phase 5 — RESPOND
What to say:
CORRECT: "Fixed. [Brief description]." or "Good catch — [issue]. Fixed in [file]."
PUSHBACK: "[Technical reason]. Current impl handles [X] because [Y]."
UNCLEAR: "Need clarification on [specific aspect]."
What NEVER to say:
BANNED: "You're absolutely right!"
BANNED: "Great point!" / "Great catch!"
BANNED: "Thanks for catching that!"
BANNED: "I agree with your suggestion"
BANNED: "That's a good idea"
BANNED: "I see what you mean"
BANNED: Any sentence that adds no technical information
BANNED: Any performative gratitude — actions speak, not words.
<HARD-GATE>
Every response to a review item MUST start with an ACTION VERB:
- "Fixed — [description]"
- "Reverted — [reason]"
- "Deferred — [reason + ticket]"
- "Pushed back — [technical evidence]"
- "Clarifying — [question]"
Responses starting with praise, agreement, or social pleasantries are BLOCKED.
This is a professional code review, not a conversation — signal with actions, not words.
</HARD-GATE>
When replying to GitHub PR comments, reply in the thread:
gh api repos/{owner}/{repo}/pulls/{pr}/comments/{id}/replies \
-f body="Fixed — [description]"
Phase 4.5 — Rejection KB Write (when verdict = OUT OF SCOPE)
For every item with verdict OUT OF SCOPE, write a durable record to .out-of-scope/. Oral-only rejections leave no trace and force re-litigation in future sessions.
<HARD-GATE>
Every OUT OF SCOPE verdict MUST produce a .out-of-scope/<slug>.md file (or append to an existing one).
A rejection without a written record is a rejection that didn't happen.
</HARD-GATE>
Procedure:
- Generate
slugfrom the rejected concept (kebab-case, lowercase, max 40 chars, recognizable without opening the file). - Lexical-similarity check:
Glob.out-of-scope/*.md, parse each frontmatter'sconcept+aliases, compute overlap with the new slug's tokens. If any existing concept has ≥0.7 overlap → APPEND to that file'sprior_requestslist instead of creating a new one. - If new file: write the format from