@seanyao/roll 3.609.2 → 3.610.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/README.md +5 -6
  3. package/dist/roll.mjs +16146 -16186
  4. package/package.json +3 -2
  5. package/skills/README.md +14 -1
  6. package/skills/docs/skill-authoring.md +66 -0
  7. package/skills/reports/skill-audit-summary.md +53 -0
  8. package/skills/roll-.changelog/SKILL.md +25 -443
  9. package/skills/roll-.changelog/references/full-contract.md +462 -0
  10. package/skills/roll-.clarify/SKILL.md +6 -4
  11. package/skills/roll-.dream/SKILL.md +26 -353
  12. package/skills/roll-.dream/references/full-contract.md +365 -0
  13. package/skills/roll-.echo/SKILL.md +6 -4
  14. package/skills/roll-.qa/SKILL.md +25 -236
  15. package/skills/roll-.qa/references/full-contract.md +256 -0
  16. package/skills/roll-.review/SKILL.md +6 -2
  17. package/skills/roll-brief/SKILL.md +6 -8
  18. package/skills/roll-build/SKILL.md +28 -864
  19. package/skills/roll-build/references/full-contract.md +883 -0
  20. package/skills/roll-debug/SKILL.md +26 -585
  21. package/skills/roll-debug/references/full-contract.md +607 -0
  22. package/skills/roll-design/SKILL.md +28 -903
  23. package/skills/roll-design/references/full-contract.md +923 -0
  24. package/skills/roll-doc/SKILL.md +25 -574
  25. package/skills/roll-doc/references/full-contract.md +594 -0
  26. package/skills/roll-doctor/SKILL.md +21 -2
  27. package/skills/roll-fix/SKILL.md +28 -621
  28. package/skills/roll-fix/references/full-contract.md +640 -0
  29. package/skills/roll-idea/SKILL.md +6 -2
  30. package/skills/roll-loop/SKILL.md +27 -543
  31. package/skills/roll-loop/references/full-contract.md +555 -0
  32. package/skills/roll-notes/SKILL.md +6 -2
  33. package/skills/roll-onboard/SKILL.md +6 -2
  34. package/skills/roll-peer/SKILL.md +27 -316
  35. package/skills/roll-peer/references/full-contract.md +329 -0
  36. package/skills/roll-propose/SKILL.md +6 -8
  37. package/skills/roll-review-pr/SKILL.md +6 -2
  38. package/skills/roll-sentinel/SKILL.md +26 -344
  39. package/skills/roll-sentinel/references/full-contract.md +363 -0
  40. package/skills/roll-spar/SKILL.md +27 -269
  41. package/skills/roll-spar/references/full-contract.md +288 -0
  42. package/skills/route-cases/skills.json +235 -0
  43. package/skills/scripts/audit-skills.mjs +272 -0
  44. package/skills/scripts/test-audit-skills.mjs +39 -0
  45. package/skills/tests/fixtures/skill-audit/block-skill/SKILL.md +12 -0
  46. package/skills/tests/fixtures/skill-audit/minimal-skill/SKILL.md +8 -0
  47. package/skills/tests/fixtures/skill-audit/quoted-skill/SKILL.md +10 -0
  48. package/skills/tests/fixtures/skill-audit/route-cases.json +21 -0
  49. package/skills/tests/fixtures/skill-audit/spoke-skill/SKILL.md +12 -0
  50. package/skills/tests/fixtures/skill-audit/spoke-skill/references/runbook.md +3 -0
  51. package/bin/roll +0 -15361
  52. package/lib/backfill-pi-usage.py +0 -243
  53. package/lib/changelog_audit.py +0 -149
  54. package/lib/changelog_generate.py +0 -470
  55. package/lib/consistency_check.py +0 -409
  56. package/lib/context_feed_budget.sh +0 -194
  57. package/lib/github_sync.py +0 -876
  58. package/lib/i18n/slides.sh +0 -3
  59. package/lib/i18n/slides_build.sh +0 -38
  60. package/lib/i18n/slides_delete.sh +0 -19
  61. package/lib/i18n/slides_list.sh +0 -14
  62. package/lib/i18n/slides_logs.sh +0 -12
  63. package/lib/i18n/slides_new.sh +0 -15
  64. package/lib/i18n/slides_preview.sh +0 -14
  65. package/lib/i18n/slides_templates.sh +0 -7
  66. package/lib/i18n.sh +0 -211
  67. package/lib/loop-exit-summary.py +0 -393
  68. package/lib/loop-fmt.py +0 -589
  69. package/lib/loop_pick_agent.py +0 -316
  70. package/lib/loop_result_eval.py +0 -469
  71. package/lib/loop_unstick.py +0 -180
  72. package/lib/model_prices.py +0 -194
  73. package/lib/prices_fetcher.py +0 -534
  74. package/lib/roll-backlog.py +0 -225
  75. package/lib/roll-brief.py +0 -286
  76. package/lib/roll-help.py +0 -158
  77. package/lib/roll-home.py +0 -556
  78. package/lib/roll-init.py +0 -156
  79. package/lib/roll-loop-status.py +0 -1691
  80. package/lib/roll-loop-story.py +0 -191
  81. package/lib/roll-peer.py +0 -252
  82. package/lib/roll-setup.py +0 -102
  83. package/lib/roll-status.py +0 -367
  84. package/lib/roll_git.py +0 -41
  85. package/lib/roll_render.py +0 -414
  86. package/lib/slides/components/README.md +0 -123
  87. package/lib/slides/components/cards-2.html +0 -9
  88. package/lib/slides/components/cards-3.html +0 -9
  89. package/lib/slides/components/cards-4.html +0 -9
  90. package/lib/slides/components/compare.html +0 -22
  91. package/lib/slides/components/highlight.html +0 -9
  92. package/lib/slides/components/pipeline.html +0 -12
  93. package/lib/slides/components/plain.html +0 -7
  94. package/lib/slides/components/quote.html +0 -4
  95. package/lib/slides/components/timeline.html +0 -9
  96. package/lib/slides/templates/introduction-v3.html +0 -571
  97. package/lib/slides/templates/pitch.html +0 -0
  98. package/lib/slides-render.py +0 -778
  99. package/lib/slides-validate.py +0 -357
  100. package/lib/test_quality_gate.py +0 -143
  101. package/skills/roll-deck/SKILL.md +0 -296
  102. /package/skills/roll-debug/{injectable-bb.js → assets/injectable-bb.js} +0 -0
  103. /package/skills/roll-design/{ENGINEERING_CHECKLIST.md → references/engineering-checklist.md} +0 -0
@@ -0,0 +1,329 @@
1
+ # Full Contract Reference
2
+
3
+ This file preserves the detailed contract extracted from SKILL.md. Read it when the hub points here for exact workflow steps, templates, rubrics, or recovery branches.
4
+
5
+ ---
6
+
7
+ # Roll Peer (Cross-Agent Peer Review)
8
+
9
+ > Follows the Architecture Constraints, Development Discipline, and Engineering
10
+ > Common Sense defined in the project AGENTS.md.
11
+
12
+ ## Credits
13
+
14
+ Cross-agent consultation protocol inspired by
15
+ [friend-skill](https://github.com/fpyluck/friend-skill) (MIT) by fpyluck.
16
+ Independent implementation for the Roll toolchain.
17
+
18
+ ## Trigger
19
+
20
+ **Manual:**
21
+ - `/peer`
22
+ - "叫上 peer"
23
+ - "peer review 一下"
24
+ - "和 peer 商量"
25
+
26
+ **Auto-triggered (with 10s opt-out):**
27
+ - `roll-build` enters Plan Mode (executable plans / architecture decisions)
28
+ - `roll-spar` Attacker and Defender disagree
29
+ - High context pressure (large number of files read / tools executed)
30
+ - Destructive / irreversible operations (`rm -rf`, production deploy, global config changes)
31
+ - High-risk signal words ("重要 / 关键 / 别搞砸 / important / critical")
32
+ - Cross-repository / cross-toolchain / ambiguous permission boundaries
33
+
34
+ **Never trigger:**
35
+ - Single-file changes
36
+ - Clear, well-defined fixes
37
+ - Simple refactoring
38
+
39
+ ## Protocol: `[PEER_REVIEW]`
40
+
41
+ ### Marker Format
42
+
43
+ The marker **must** appear on the first non-empty line of the message:
44
+
45
+ ```markdown
46
+ [PEER_REVIEW round=N tool=<from>→<to>]
47
+ ```
48
+
49
+ - `round=N`: Current round number (1–3)
50
+ - `tool=<from>→<to>`: Direction of this message (e.g., `kimi→claude`)
51
+
52
+ ### Three-State Resolution + Escape
53
+
54
+ Allowed states only. No invented words.
55
+
56
+ - **AGREE**: Accept the current proposal. Proceed to execution.
57
+ - **REFINE**: Direction is correct, but specific changes are needed. Proceed to next round.
58
+ - **OBJECT**: The proposal is wrong. Provide an alternative. Proceed to next round.
59
+ - **ESCALATE**: Round 3 reached without AGREE, or a round fails due to API/token error. Hand off to the human user.
60
+
61
+ After each round decision, emit a `peer` event to the cycle event stream:
62
+
63
+ ```bash
64
+ # $round = current round number, $total = max rounds, $verdict = AGREE/REFINE/OBJECT/ESCALATE
65
+ # $agents = e.g. "claude→deepseek"
66
+ _loop_event peer "${round}/${total}" "$verdict" "$agents" 2>/dev/null || true
67
+ ```
68
+
69
+ If information is insufficient:
70
+ ```
71
+ REFINE: Need to confirm X/Y/Z with the user first.
72
+ ```
73
+
74
+ ### Context Handoff Card (required for round=1)
75
+
76
+ When the task involves a local project, the first message must include:
77
+
78
+ ```markdown
79
+ ## Project Handoff (round=1 required)
80
+ - Project root: <absolute path>
81
+ - Execution environment: <shell / container / devcontainer / remote / N/A>
82
+ - Project type: <language + framework>
83
+ - Virtual environment: <absolute path / conda env / container name / N/A>
84
+ - Activation command: <one-line executable string, or N/A>
85
+ - Key tool calls:
86
+ - test: <one-line command or N/A>
87
+ - build: <one-line command or N/A>
88
+ - run: <one-line command or N/A>
89
+ - lint: <one-line command or N/A>
90
+ - Key conventions / constraints: <2–3 items, or N/A>
91
+ - Related file pointers: <absolute paths or @references, or N/A>
92
+ ```
93
+
94
+ Rules:
95
+ - Paths must be **absolute**.
96
+ - Commands must be **one-line executable strings**, not descriptions.
97
+ - Prefer commands that do **not** require an activated environment (absolute interpreter paths, `uv run`, `docker compose exec`).
98
+ - Do not copy README text. List file pointers only.
99
+ - Never include secrets, tokens, credentials, or `.env` content.
100
+ - Even if logically a continuation, treat as round=1 if the peer has **no prior context**.
101
+ - **Do NOT** prefill the peer with your own root-cause analysis, proposed fix, or leading questions — see the *Independent Judgment Rule* below. The handoff card is for context, not conclusions.
102
+
103
+ ### Anti-Hallucination Rule
104
+
105
+ When mentioning specific paths, function names, commands, line numbers, or tool results, **must cite the source** ("I read X at line Y"). If unverified, state "unverified" explicitly.
106
+
107
+ ### Independent Judgment Rule (round=1)
108
+
109
+ The whole point of peer review is to surface a **second, independent** read. If
110
+ the reviewer's own root-cause analysis, fix diff, and leading questions are sent
111
+ to the peer up front, the peer can only AGREE inside the reviewer's frame — and
112
+ that AGREE carries no signal. The reviewer **must complete their own analysis
113
+ before opening round=1**; skipping that step turns peer review into a search for
114
+ endorsement.
115
+
116
+ Round=1 message **must NOT include**:
117
+
118
+ - The reviewer's own root-cause analysis ("the bug is in function X at line Y because…").
119
+ - The reviewer's own proposed fix, patch, or diff.
120
+ - Leading questions of the form "do you agree with my conclusion on X?" / "is the change I made on Y safe?" — these lock the peer into the reviewer's framing.
121
+ - Specific line numbers, function names, or branch points the reviewer has already identified as relevant — let the peer locate them.
122
+
123
+ Round=1 message **should include**:
124
+
125
+ - The Project Handoff Card (above).
126
+ - Symptoms exactly as observed: the user's reported error, terminal output verbatim, the precise commands that triggered it.
127
+ - Necessary external context: the goal of the work, the date / version under test, anything the peer cannot infer from the repo alone.
128
+ - Key file pointers as **entry points** (paths only — let the peer choose what to read and how deep).
129
+ - An open invitation: "independently identify the root cause, propose a fix, and call out any test gaps."
130
+
131
+ After receiving the peer's round=1 reply, the reviewer **compares** their own
132
+ conclusion to the peer's and routes the next action:
133
+
134
+ | Reviewer's own conclusion vs. peer's conclusion | Next action |
135
+ |---|---|
136
+ | Same root cause + same fix direction | High confidence — AGREE and proceed to execution |
137
+ | Same root cause, different fix direction | REFINE — open round=2 to reconcile the fix |
138
+ | Different root cause | OBJECT — open round=2; at least one of the two analyses is wrong |
139
+ | Peer asks for more context | REFINE — supply the missing context, then re-evaluate |
140
+
141
+ #### Example (bad — endorsement-seeking)
142
+
143
+ ```
144
+ Bug is in `cmd_init` at line 932 — the v2 demo renderer fires unconditionally.
145
+ My fix: gate it behind `--demo`. Q1: is this over-killed? Q2: should I
146
+ refactor the renderer instead? Q3: are the tests strong enough?
147
+ ```
148
+
149
+ The peer can only AGREE or quibble inside the reviewer's framing.
150
+
151
+ #### Example (good — independent analysis)
152
+
153
+ ```
154
+ Symptoms: user ran `roll init` on /path/X and saw [verbatim terminal output A];
155
+ then ran `roll backlog` and saw [verbatim terminal output B]. Project background:
156
+ [project shape]. Entry points: `bin/roll`, `lib/roll-init.py`, `tests/`.
157
+ Independently identify the root cause and propose a fix.
158
+ ```
159
+
160
+ The peer reads, locates, and proposes on its own. The reviewer then compares.
161
+
162
+ ## State Machine
163
+
164
+ ### Per Negotiation (Single Task)
165
+
166
+ ```
167
+ Running
168
+ ├── AGREE (any round) → Execute proposal
169
+ ├── Round == 3, no AGREE → ESCALATE (failed_max_rounds)
170
+ ├── API/token error → ESCALATE (failed_api_error)
171
+ └── User aborts → ESCALATE (user_abort)
172
+ ```
173
+
174
+ ### Per Peer Pair (e.g., kimi→claude)
175
+
176
+ Stored in `~/.roll/.peer-state/` (flat key files per pair):
177
+
178
+ ```yaml
179
+ kimi→claude:
180
+ status: active # active | degraded | abandoned
181
+ streak: 0 # consecutive failure count
182
+ last_outcome: agreed
183
+ history:
184
+ - { time: "2026-05-08T23:30:00+08:00", outcome: agreed, rounds: 2, tag: architecture }
185
+ ```
186
+
187
+ Rules:
188
+ - `streak >= 3` → automatically mark as `abandoned`
189
+ - `abandoned` peer pairs are skipped by the bridge script
190
+ - Human can reset via `roll peer reset <from> <to>` or `roll peer reset --all`
191
+ - If a peer pair is abandoned, the bridge falls back to the next candidate in the capability map
192
+
193
+ ## Peer Routing (Adaptive)
194
+
195
+ ### Capability Map (Task Type → Preferred Peer Order)
196
+
197
+ ```yaml
198
+ peer:
199
+ capability_map:
200
+ architecture: [claude, deepseek, kimi, pi]
201
+ security: [claude, deepseek, pi, kimi]
202
+ test: [codex, kimi, deepseek, claude]
203
+ refactor: [deepseek, kimi, claude, pi]
204
+ default: [deepseek, kimi, claude, pi]
205
+ ```
206
+
207
+ ### Adaptive Adjustment
208
+
209
+ After each negotiation, record:
210
+ - `outcome`: agreed / failed_max_rounds / failed_api_error
211
+ - `rounds`: number of rounds consumed
212
+ - `tag`: task type
213
+
214
+ If `streak` for a peer pair reaches the configured threshold (default: 3 consecutive failures), mark as `abandoned`. The next task of the same type will try the next candidate in `capability_map`.
215
+
216
+ ### Peer Detection
217
+
218
+ The bridge script detects installed peers via `command -v <tool>`. Only installed tools are considered. The current running tool is excluded (`exclude_self: true`).
219
+
220
+ For `deepseek`, also check if serve mode is available as a more reliable alternative:
221
+ ```bash
222
+ command -v deepseek && { deepseek serve --help 2>/dev/null; true; } | grep -q "\-\-http" && echo "serve_mode"
223
+ ```
224
+ If serve mode is available, prefer HTTP transport over direct CLI invocation.
225
+
226
+ ### Peer Invocation Reference
227
+
228
+ | Peer | Non-interactive command | Reliability | Notes |
229
+ |------|------------------------|-------------|-------|
230
+ | `claude` | `claude -p "<prompt>"` | ✅ Verified | Native, stable |
231
+ | `deepseek` | `deepseek "<prompt>"` | ✅ Verified | No TTY dependency |
232
+ | `deepseek` (serve) | `curl localhost:<port>/v1/...` | ✅ High | Start with `deepseek serve --http`; preferred over direct CLI |
233
+ | `kimi` | `kimi --quiet -p "<prompt>"` | ✅ Verified | `--quiet` is alias for `--print --output-format text --final-message-only`; prompt via `-p` |
234
+ | `pi` | `pi -p "<prompt>"` | ✅ Verified | Clean non-interactive output |
235
+ | `opencode` | `opencode run "<prompt>"` | ✅ Verified | Works non-interactively |
236
+ | `codex` | `codex exec "<prompt>"` | ⚠️ Auth required | Token must be valid; re-login with `codex login` if expired |
237
+
238
+ **CLI vs. API Key**: `claude`, `deepseek`, `kimi`, `codex` CLIs authenticate via existing subscription accounts — no separate API key required. This is the primary advantage of CLI transport over the MCP/HTTP approach.
239
+
240
+ ## Inline Display Mode (Manual Triggers)
241
+
242
+ When peer review is manually triggered by a human (via `/peer`, "叫上 peer", etc.), the executing agent **must display each round inline in the current conversation**. This applies regardless of which agent is executing — Claude, DeepSeek, Kimi, PI, or any other.
243
+
244
+ **Per-round display format:**
245
+
246
+ ```
247
+ ─── Peer Review · Round N ───────────────────────────────
248
+ → Sending to [peer]:
249
+ {full message sent to peer}
250
+
251
+ ← [peer] responds:
252
+ {peer's full response, verbatim}
253
+
254
+ ◆ My analysis: {Claude/executing agent's reaction and position for this round}
255
+ ─────────────────────────────────────────────────────────
256
+ ```
257
+
258
+ **Rules:**
259
+ - Peer CLI calls must be **synchronous** (do NOT use background/async execution).
260
+ - The outgoing round=1 message must follow the *Independent Judgment Rule* above — no root-cause analysis, no fix diff, no leading questions.
261
+ - Show the outgoing message **before** calling the peer, so the user sees what's being asked.
262
+ - Relay the peer's response **verbatim** before adding your own analysis.
263
+ - After the peer's reply, the reviewer's own analysis block must explicitly state whether the peer's root cause and fix direction match the reviewer's own (independent) conclusion — that comparison is what determines the next round's action.
264
+ - If a peer call fails or times out, report it immediately inline and either retry or ESCALATE.
265
+ - Negotiation log is written to `<project>/.roll/peer/logs/` as usual.
266
+
267
+ **Why inline, not tmux:** When a human manually triggers peer review inside an agent's interactive session, the conversation IS the visible interface. tmux auto-attach is only relevant for CLI-launched background sessions (`bin/roll peer`), not for skill invocations.
268
+
269
+ ## Workflow Integration
270
+
271
+ ### `roll-build` Plan Mode
272
+
273
+ After generating an executable plan, before proceeding to TCR:
274
+
275
+ 1. Assess plan complexity (file count, cross-module impact, risk level)
276
+ 2. If complexity > threshold, prompt user:
277
+ ```
278
+ This plan affects 5 files across 3 modules. Estimated peer review: 2–3 rounds, ~X tokens.
279
+ Press Enter to launch peer review, or type 'n' to skip. Auto-executing in 10s...
280
+ ```
281
+ 3. If user does not abort within 10s, invoke `roll peer` with `--tag architecture`
282
+ 4. Wait for result:
283
+ - AGREE → proceed to TCR
284
+ - REFINE/OBJECT → incorporate feedback and regenerate plan
285
+ - ESCALATE → present both proposals to user for final decision
286
+
287
+ ### `roll-spar`
288
+
289
+ When Attacker and Defender reach a stalemate (both tests pass but interpretations differ):
290
+
291
+ 1. Auto-invoke `roll peer` with `--tag test`
292
+ 2. Use the peer's verdict as tie-breaker
293
+
294
+ ## Output Artifacts
295
+
296
+ - **Negotiation log**: `<project>/.roll/peer/logs/<timestamp>_<from>_<to>.md`
297
+ - **Structured record**: `<project>/.roll/peer/runs.jsonl`
298
+ - **State file**: `~/.roll/.peer-state/`
299
+ - **Decision record**: If AGREE, append summary to `docs/decisions/` or `.roll/backlog.md` (optional)
300
+
301
+ ## Configuration
302
+
303
+ User overrides in `~/.roll/config.yaml`:
304
+
305
+ ```yaml
306
+ peer:
307
+ max_rounds: 3
308
+ opt_out_seconds: 10
309
+ call_timeout: 180 # seconds per round; configure based on your API latency
310
+ fallback: file_mailbox # direct_cli | file_mailbox | auto
311
+ capability_map:
312
+ architecture: [claude, deepseek, kimi, pi]
313
+ security: [claude, deepseek, pi, kimi]
314
+ test: [codex, kimi, deepseek, claude]
315
+ refactor: [deepseek, kimi, claude, pi]
316
+ default: [deepseek, kimi, claude, pi]
317
+ adaptive:
318
+ streak_threshold: 3
319
+ min_samples: 3
320
+ ```
321
+
322
+ ## Limitations
323
+
324
+ 1. **Reverse link reliability**: Direct CLI calls are preferred. Reliability varies by tool — see Peer Invocation Reference table. If a peer fails consistently, the adaptive streak tracker marks it `abandoned` and falls back to the next candidate. File mailbox (`<project>/.roll/peer/mailbox/`) is the last-resort fallback.
325
+ - `deepseek serve --http` is the most reliable option when available — prefer it over direct `deepseek` CLI invocation.
326
+ - `codex exec` has known TTY/Ink issues in non-interactive environments; treat as low-priority fallback.
327
+ 2. **Cost**: Every peer review consumes tokens on both sides. Only trigger for tasks where the cost of a wrong decision exceeds the cost of peer review. DeepSeek is the most cost-effective peer for general use.
328
+ 3. **Context window**: Large project handoff cards may consume significant context. Keep file pointers concise.
329
+ 4. **Tool differences**: Claude, DeepSeek, Kimi, Codex, and Pi interpret skills and AGENTS.md differently. The peer may apply the protocol slightly differently. This is expected and acceptable — the protocol is designed to tolerate variation.
@@ -2,17 +2,15 @@
2
2
  name: roll-propose
3
3
  license: MIT
4
4
  allowed-tools: "Read, Glob, Grep, Write, Bash(git:*)"
5
- description: |
6
- Human-triggered product proposal generator. Reads project context (BACKLOG,
7
- recent commits, existing skills) and generates 1–3 structured US drafts from
8
- a user-facing perspective. Writes to .roll/proposals.md for human review — never
9
- directly to BACKLOG. Distinct from roll-.dream (which surfaces technical debt
10
- from execution experience); roll-propose thinks in user scenarios and feature
11
- gaps.
5
+ description: "Load when the owner asks for product proposal drafts from project context that should go to .roll/proposals.md, not directly into backlog."
12
6
  ---
13
-
14
7
  # roll-propose
15
8
 
9
+ ## Gotchas
10
+
11
+ - Proposals go to .roll/proposals.md for review; never write them directly into BACKLOG.
12
+ - Keep product scenarios user-facing rather than turning every code smell into a feature proposal.
13
+
16
14
  > Follows the Architecture Constraints, Development Discipline, and Engineering
17
15
  > Common Sense defined in the project AGENTS.md.
18
16
 
@@ -2,11 +2,15 @@
2
2
  name: roll-review-pr
3
3
  license: MIT
4
4
  allowed-tools: "Read"
5
- description: "Agent-agnostic PR review skill. Reviews a pull request diff and emits a structured 3-state verdict (APPROVE / REQUEST_CHANGES / UNCERTAIN). Used by `roll review-pr` and `_loop_pr_review_external`."
5
+ description: "Load when reviewing a pull request diff and emitting APPROVE, REQUEST_CHANGES, or UNCERTAIN with file/line-grounded findings."
6
6
  ---
7
-
8
7
  # PR Review
9
8
 
9
+ ## Gotchas
10
+
11
+ - Return a three-state verdict with concrete findings; do not approve by silence when evidence is missing.
12
+ - This reviews PR diffs, not local TCR micro-steps or adversarial test design.
13
+
10
14
  > Follows the Architecture Constraints, Development Discipline, and Engineering
11
15
  > Common Sense defined in the project AGENTS.md.
12
16