fix: strengthen answer analysis in nfr-design and infrastructure-design#155
Open
Kalindi-Dev wants to merge 14 commits intomainfrom
Open
fix: strengthen answer analysis in nfr-design and infrastructure-design#155Kalindi-Dev wants to merge 14 commits intomainfrom
Kalindi-Dev wants to merge 14 commits intomainfrom
Conversation
PR builds now require the 'codebuild' label and changes under aidlc-rules/ to trigger. Push to main, tags, and workflow_dispatch remain unconditional.
…ment Uses the `attribution.pr` setting so Claude Code automatically appends the required contributor statement to all PR descriptions. Adds a gitignore negation for .claude/settings.json so shared project settings are committed while other .claude/ files remain ignored.
- Add .claude/settings.json to repo tree diagram - Update Pipeline 2 mermaid diagram with PR label-gate flow - Update CodeBuild workflow triggers table and add label gate detail - Add label-gated CI row to Security Posture table
Three stage files (nfr-design, infrastructure-design, units-generation) still contained the "Skip entire categories if not applicable" directive that overconfidence-prevention.md identified as the root cause of insufficient question-asking. The fix was applied to functional-design and nfr-requirements but missed these three files, creating contradictory instructions within the same workflow. Aligns all three files with the corrected approach: default to asking questions when there is any ambiguity, evaluate all question categories, and strengthen answer analysis to catch vague responses. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The overconfidence prevention fix was independently applied on main with stronger wording (added MANDATORY paragraph). Accept main's versions for all three rule files and the admin guide updates (label-reminder/label-cleanup job docs). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7 tasks
Contributor
A. Executive SummaryLatest release: PR #155 High-level snapshot comparing the latest release against the golden baseline (the reference evaluation used as the quality target).
Full trend report available in the workflow artifacts. |
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.
Summary
TEST_PR_DO_NOT_MERGE
The overconfidence prevention fix on
mainupdated the Step 3 question-generation directives innfr-design.mdandinfrastructure-design.mdbut left their Step 5 answer analysis with the original weak language. This PR completes the fix by aligning Step 5 with the mandatory ambiguity detection pattern already used infunctional-design.mdandnfr-requirements.md.Changes
Before (both files, Step 5):
After (matches
functional-design.mdandnfr-requirements.md):Why this matters
Without this fix, the LLM asks thorough questions (Step 3 is fixed) but then accepts vague answers without pushback (Step 5 is weak). The
overconfidence-prevention.mdguide explicitly lists "Proceeding with vague or ambiguous user responses" as a red flag and mandates: "Don't proceed until ALL unclear responses are clarified."Files changed
aidlc-rules/aws-aidlc-rule-details/construction/nfr-design.mdaidlc-rules/aws-aidlc-rule-details/construction/infrastructure-design.mdTest plan
functional-design.md(line 59-65) andnfr-requirements.md(line 46-52)By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.