feat(triage): add not-planned action to close out-of-scope issues - #54
Conversation
|
🤖 Finished Review · ✅ Success · Started 6:45 AM UTC · Completed 6:57 AM UTC |
PR Summary by QodoAdd
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
55 rules 1.
|
ReviewWell-structured addition of the
No issues found across correctness, security, intent, style, documentation, or cross-repo contract dimensions. FindingsMedium
Labels: PR modifies triage agent prompt, post-script, pre-script, and schema. Previous runReviewWell-structured addition of the
No issues found across correctness, security, intent, style, documentation, or cross-repo contract dimensions. FindingsMedium
Previous run (2)ReviewWell-structured addition of the The implementation is consistent and complete across all touchpoints:
No issues found across correctness, security, intent, style, documentation, or cross-repo contract dimensions.
Previous run (3)ReviewWell-structured addition of the One consumer of the triage action enum was not updated in this PR. Findings1.
|
1f9fd51 to
35a059c
Compare
|
🤖 Finished Review · ✅ Success · Started 9:38 AM UTC · Completed 9:47 AM UTC |
waynesun09
left a comment
There was a problem hiding this comment.
Multi-agent review (Claude, Gemini, Codex reviewers, findings verified before posting). The mechanical wiring is clean — schema enum, CONTROL_LABELS, the pre-triage reset loop and its verification jq filter, close ordering, and gh issue close --reason "not planned" were all independently confirmed correct and consistent with the existing duplicate flow; both test suites pass. Two medium findings posted inline; no critical/high issues found.
35a059c to
4effc29
Compare
|
🤖 Review · |
785108b to
525b015
Compare
|
🤖 Finished Review · ✅ Success · Started 8:02 AM UTC · Completed 8:14 AM UTC |
waynesun09
left a comment
There was a problem hiding this comment.
Multi-agent review (Claude ×2, Grok). Both prior findings verified as fixed. One non-blocking nit below.
Assisted-by: Claude (review ×2), Grok (review)
|
[medium, non-blocking] missing-test-coverage Existing tests verify the control label guard for Suggested fix: Add a run_test_stdout "not-planned-control-label-refused" \
'{"action":"sufficient","reasoning":"all clear","clarity_scores":{"symptom":0.9,"cause":0.85,"reproduction":0.9,"impact":0.8,"overall":0.87},"triage_summary":{"title":"Fix crash","severity":"high","category":"bug","problem":"Crash","root_cause_hypothesis":"Buffer overflow","reproduction_steps":["step 1"],"environment":"Linux","impact":"All users","recommended_fix":"Fix buffer","proposed_test_case":"test_crash"},"comment":"## Triage Summary\n\nReady.","label_actions":{"reason":"Tried to set not-planned label.","actions":[{"action":"add","label":"not-planned"}]}}' \
"::warning::Refused to add control label 'not-planned' -- control labels are managed by the triage pipeline"Assisted-by: Grok (review) |
Add not-planned as a triage outcome for issues that are out of scope, invalid, spam, or counter to documented architectural decisions. The post-script closes the issue with reason "not planned" and adds the not-planned control label. Include an anti-premature-closure HARD CONSTRAINT that requires unambiguous scope violation before closing — when scope status is uncertain, the agent must prefer insufficient or sufficient over not-planned. Closing on scope grounds requires citing the specific boundary or documented decision. Add two eval cases to guard decision quality: - 005-not-planned-out-of-scope: clearly unrelated feature request (chat/video in an auth app), expects closure - 006-not-planned-guardrail: ambitious-but-legitimate MFA request, must NOT be closed — guards against over-applying not-planned to large feature requests that are in the project's domain Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Hector Martinez <hemartin@redhat.com>
525b015 to
ab33774
Compare
|
🤖 Finished Review · ✅ Success · Started 7:54 AM UTC · Completed 8:10 AM UTC |
Summary
Add
not-plannedaction to triage agent for closing issues as out-of-scope, invalid, or spam.Related Issue
Closes fullsend-ai/fullsend#2205
Changes
not-plannedto action enum intriage-result.schema.jsonnot-plannedcase that applies label and closes issue with reasonnot plannednot-plannedtoCONTROL_LABELSarraynot-plannedvs other actionsnot-plannedto control labels table indocs/agents/triage.mdnot-plannedaction behaviorTest plan
🤖 Generated with Claude Code