Skip to content

feat(review): add the quality floor guard - #12

Merged
z4gunn merged 1 commit into
mainfrom
feat/quality-floor-guard
Oct 4, 2026
Merged

z4gunn merged 1 commit into
mainfrom
feat/quality-floor-guard

Conversation

@z4gunn

@z4gunn z4gunn commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Area 4 of 11: the quality floor guard

New mechanical skill spgr-check-quality-floor with a stdlib, diff-scoped scan for a lowered bar: new lint or type suppressions, skipped or focused tests, deleted test files, net assertion loss in a test file, stubs in source, hook bypasses, loosened coverage thresholds. floor: keep <reason> suppresses one line and lists the reason. Exit 0 clean, 1 violation, 2 unverified (never read as clean). Wired into the reviewer XP axis, spgr-review-pr, the Deterministic dispatch tier, and the instance allowlist. 17 tests over a temporary git repo.

Note for the reviewer: run on its own branch the guard reports its regex source lines and test fixtures as violations, which is the detector scanning itself.

Source: addyosmani/agent-skills constraint-driven-development.

Stacked PR: merge in order, this one after its base branch. Merge with a merge commit, as the earlier PRs were.

🤖 Generated with Claude Code

…owered bar

A review that reads a diff for correctness misses the moves that make the
bar easier to clear: a linter silenced on one line, a test skipped or
deleted, assertions removed, a stub left in source, a hook bypass added to
a script, a coverage threshold nudged down. Each passes CI and reads as
progress. spgr-check-quality-floor runs a stdlib scan for exactly those
moves over the lines a change added and the files it removed, and the Code
Reviewer carries each as a P1 on the xp axis. Exit 2 is unverified, never
clean. The Deterministic dispatch tier gains its first quality-bar guard.

The rule set follows the floor guard in addyosmani/agent-skills
(https://github.com/addyosmani/agent-skills/blob/main/skills/constraint-driven-development/references/floor-guard.md),
rewritten for Springer's review contract.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Base automatically changed from feat/reviewer-trust-rules to main October 4, 2026 23:16
@z4gunn
z4gunn merged commit f7b4209 into main Oct 4, 2026
1 check passed
@z4gunn
z4gunn deleted the feat/quality-floor-guard branch October 4, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant