feat: add severity floor to review prompts - #428
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Five objective policy conditions now force must-fix in the worker and consolidate templates of both review workflows. Floor sets severity, not truth: consolidate may still dismiss a floor finding that is false on the facts. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ontract role-contracts.md is the host-neutral source both reviewer bindings derive from, so it carries the same floor to stay in sync. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Review prompts and reviewer bindings changed behavior. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
Tester report (round 1)VERDICT: PASS
|
This was referenced Oct 1, 2026
Owner
Author
Reviewer report (round 1)VERDICT: APPROVE
|
sv-tmueller
marked this pull request as ready for review
October 1, 2026 11:12
This was referenced Oct 1, 2026
Resolve the plugin.json version to 2.10.0, above main's 2.9.1 from #426. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sv-tmueller
added a commit
that referenced
this pull request
Oct 1, 2026
Resolve the plugin.json version to 2.10.1, above main's 2.10.0 from #428. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #407
Part of batch #423
What
Adds a severity floor: five objectively checkable policy conditions make a finding must-fix, whatever the reviewer's overall read. Prompt text only, no code change.
--no-verify, or any other bypassed git hook.timeout-minutes, or a workflow with noconcurrencygroup carryingcancel-in-progress: true.Surfaces
PROMPTSintm-review-changes.js(review,consolidate) andtm-review-codebase.js(area_review,architecture_review,consolidate), plus the matching prompts JSON, in lockstep. The Hermes renderer reads that JSON, so no separate Hermes copy exists..claude/agents/reviewer.mdand.claude/adapters/prompts/reviewer.md: new## Severity floorsection.PROMPTSregion of the workflow files is touched (themetablock belongs to Make each tm- workflow's meta a literal first statement #424).For the human reviewer:
docs/architecture/role-contracts.mdThe reviewer section gains a "Severity floor" paragraph and the numbered list, after the Pass 2 paragraph. It is the host-neutral source both reviewer bindings derive from, so leaving it out would make it stale. This hunk was added beyond the issue's file list (lead decision, batch #423 Decision 2).
Decisions
tm-review-codebasetemplates add one sentence: a whole-repo review has no diff or PR body, so apply only the conditions the current tree can show.process-core.md; condition 1 comes from the reviewer contract.Tests
New
severity-floor.test.mjspins all five conditions in each of the 5 JS templates, the same 5 JSON keys, bothreviewer.mdfiles and therole-contracts.mdreviewer section, plus the no-downgrade phrase in both consolidate templates. Red on main (17 failures), green now.npm test: 485 pass, 0 fail.Version bumped 2.9.0 to 2.10.0 (minor). If #424 merges first, rebase and keep a version above main's.
No new dependencies.
🤖 Generated with Claude Code