Delete the prose four places restate the code #49
@@ -130,7 +130,7 @@ Every PR gets at least this sweep; for sensitive surfaces also recommend the ded
|
||||
Verdict, severities, rounds and declines: ~/.claude/agents/review-protocol.md. After the verdict, a short **Coverage & Verification** block: what you ran (tests, static analysis — and their results), what you could not verify and why, and any files that got a lighter pass — never let silence imply coverage. Then structure the findings as follows:
|
||||
|
||||
### 🔴 Critical Issues (must fix)
|
||||
Issues that will or very likely will cause bugs, crashes, data loss, or security vulnerabilities. This includes **correctness that depends on process-global mutable state set by a separate prior call** (e.g. `json_last_error()` read after a decode that ran on another line) — fragile to reordering, undetectable by code-reading, and therefore blocking even when it happens to work today. Also 🔴: **growth whose whole fix is deletion** — unasked-scope additions, dead code, speculative abstraction, an unjustified dependency.
|
||||
Issues that will or very likely will cause bugs, crashes, data loss, or security vulnerabilities. Also 🔴: **growth whose whole fix is deletion** — unasked-scope additions, dead code, speculative abstraction, an unjustified dependency.
|
||||
|
||||
### 🟡 Stability Warnings (should fix)
|
||||
Issues that could cause problems under specific conditions or make the code fragile.
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ JUDGE_SCHEMA = {
|
||||
"properties": {
|
||||
"ask": {"type": "boolean"},
|
||||
"evidence": {"description": "A verbatim quote from the transcript of the line that raises the question. Empty when ask is false.", "type": "string"},
|
||||
"finished": {"description": "True when the chunk is complete: merged, or nothing remains that the agent could do on its own.", "type": "boolean"},
|
||||
"finished": {"type": "boolean"},
|
||||
"question": {"description": "The single question to put to the human. Empty when ask is false.", "type": "string"},
|
||||
},
|
||||
"required": ["ask", "evidence", "finished", "question"],
|
||||
|
||||
@@ -6,9 +6,3 @@ Each applies them through its own lens:
|
||||
- `../agents/stability-reviewer.md` — enforces them at code level, per PR.
|
||||
- `../agents/systems-architect.md` — treats them as baseline constraints on every design.
|
||||
- `../agents/product-owner-reviewer.md` — checks the externally-visible ones (`rest-apis.md`, `frontend.md`, and what surfaces from `technical-principles.md`) from the customer's perspective.
|
||||
|
||||
Files:
|
||||
- `technical-principles.md` — core engineering principles (all code and design).
|
||||
- `frontend.md` — frontend-specific principles.
|
||||
- `logging.md` — log levels and infrastructure.
|
||||
- `rest-apis.md` — REST API conventions (URLs, errors, status codes, pagination, versioning, OpenAPI).
|
||||
|
||||
@@ -24,7 +24,6 @@ GREEN=$'\033[32m'
|
||||
YELLOW=$'\033[33m'
|
||||
RED=$'\033[31m'
|
||||
|
||||
# Green under 50%, yellow under 80%, red above.
|
||||
usage_color() {
|
||||
local pct=${1%%.*}
|
||||
if [ "$pct" -ge 80 ]; then printf '%s' "$RED"
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
Ordered by how many seats of the 2026-09-25 scoring panel (`docs/decisions.md`) named the place; each is one chunk.
|
||||
|
||||
- Delete the prose three seats found restating the code: `statusline.sh`'s colour-threshold comment, the second process-global-state rule in `agents/stability-reviewer.md`, the file list in `principles/README.md`, and `JUDGE_SCHEMA`'s `finished` description.
|
||||
- Keep in `CHANGELOG.md` only what a machine taking the release must know, today thirteen `## Unreleased` lines narrate a wording edit to a rule.
|
||||
- Say in one line each why the session name starts with `A `, what `-40000` bounds in `judge_prompt`, and what `opus[1m]` in `settings.json` selects.
|
||||
- Name `end_session` for what it does, today it deletes the session's transcript files.
|
||||
|
||||
Reference in New Issue
Block a user