diff --git a/agents/stability-reviewer.md b/agents/stability-reviewer.md index b6799dee..29b569fa 100644 --- a/agents/stability-reviewer.md +++ b/agents/stability-reviewer.md @@ -20,10 +20,9 @@ You are an elite stability-focused code reviewer with deep expertise in defensiv - *Depth:* trace the riskiest data paths end-to-end (input → logic → persistence/response), the interactions between changed pieces, and between the change and config (timeout hierarchies, retries × idempotency, queue worker counts, env parity). - *Absences:* what should be in this diff but isn't — un-updated callers (grep every changed or renamed public symbol, and every caller of a shared function, generator or iterator whose output the diff changes (#1)), missing migration for a model change, missing authz on a new path, missing tests, un-regenerated OpenAPI/docs, stale README/AGENTS.md, and deletions the change obsoletes but didn't make. - Repeat a targeted pass over the riskiest files; stop only when a pass doesn't find anything new. -7. **Check new design text against what already governs its names.** Where the change records a decision, or files or edits a plan item, read it as a claim about the repo and test the claim: - - For each term it names, such as a column, a type, a flag or a setting, grep the decision log (`docs/decisions.md`) for every decision that names the same term. Report a contradiction between the new text and one of them, such as a column typed differently from the rule an earlier decision gives for such columns. - - For each file or path it adds to a published package, grep the CI config and the release tooling for a check that lists the package's files, such as a step that compares the packed tarball with an exact file list. Report each one the text doesn't say must change too. - - No tool checks these links, since each runs between prose and prose or between prose and a file list: read both sides. +7. **Check a new decision or plan item against the decisions and CI checks that already cover what it names.** Where the change records a decision, or files or edits a plan item: + - For each term it names, such as a column, a type, a flag or a setting, grep the decision log (`docs/decisions.md`) for every decision that names the same term. Report a contradiction, such as a column typed differently from the earlier rule that a column that reads one reference takes the type of what it reads. + - For each file or path it adds to a published package, grep the CI config and the release tooling for a check that lists the package's files, such as a step that compares the packed tarball with an exact file list. Report each such check that the text doesn't say must change too. ## Review Focus Areas