Skip to content

fix: add quality-target verification gate to Construction phase#274

Open
Mameta29 wants to merge 3 commits into
awslabs:mainfrom
Mameta29:fix/quality-target-gate
Open

fix: add quality-target verification gate to Construction phase#274
Mameta29 wants to merge 3 commits into
awslabs:mainfrom
Mameta29:fix/quality-target-gate

Conversation

@Mameta29
Copy link
Copy Markdown

@Mameta29 Mameta29 commented May 17, 2026

Summary

Closes #273.

Adds a tool-agnostic quality-target verification gate to the Construction phase. Measurable quality targets defined in NFR Requirements (test coverage thresholds, performance budgets, etc.) currently have no downstream stage that verifies they were met — an agent can silently miss, or even lower, its own defined target while satisfying every rule. This PR closes that gap with three minimal changes.

Changes

File Change
construction/code-generation.md Add HONOR QUALITY TARGETS to the "Generation Phase Rules" Critical Rules
construction/build-and-test.md Add "Coverage Target" / "Target Met" fields to the summary template, and a comparison instruction
common/overconfidence-prevention.md Add target-relaxation to the "Red Flags to Watch For" list

Rationale

This mirrors the gap PR #155 fixed for question/answer rigor: a property is strengthened on one side of a stage boundary but left unenforced on the other. Here, quality targets are defined (NFR Requirements) but never verified (Code Generation / Build & Test). The change is consistent with common/overconfidence-prevention.md's principle of not proceeding past unresolved gaps.

The changes are tool-agnostic (no test-runner-specific wording) and follow the "single source of truth" principle — overconfidence-prevention.md carries the red flag, the stage files carry the actionable rules.

Test Plan

Checklist

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

1 participant