feat(#1811): add question action to triage agent - #1927
Conversation
The triage agent previously had no way to distinguish support requests (questions) from feature requests, causing questions to be misclassified. This adds a new "question" action type that lets the agent recognize question-style issues, attempt to answer them using repository context, and ask the reporter whether they want to convert the issue into a feature request. Changes: - Schema: add "question" to the action enum in triage-result.schema.json (no additional required fields beyond the base action/reasoning/comment) - Agent prompt: add question detection guidance in Phase 1 scope identification and a new Action: question section with detection heuristics and output format - Post-script: add question case handler that removes blocked/needs-info labels, applies a "question" control label, and posts an interactive comment - Pre-script: reset the "question" label alongside other triage control labels - Control labels: add "question" to CONTROL_LABELS array so label_actions cannot manipulate it - User docs: add "question" to the control labels table - Tests: add 6 post-triage tests and 1 schema validation test covering the new action Note: pre-commit could not run in sandbox due to Go toolchain permission error (unrelated infrastructure issue). The post-script runs pre-commit authoritatively on the runner. Closes #1811
Site previewPreview: https://b2ac162e-site.fullsend-ai.workers.dev Commit: |
ReviewFindingsMedium
Low
Previous runReviewFindingsLow
|
| @@ -76,7 +76,7 @@ remove_label() { | |||
| # add or remove these via label_actions. This list covers labels that the | |||
| # pipeline itself applies (pre-triage.sh resets the first four; the action | |||
There was a problem hiding this comment.
[low] stale-doc
Comment says 'pre-triage.sh resets the first four' but pre-triage now resets 5 labels (with question added to the reset loop). The ordinal reference is no longer accurate.
Suggested fix: Update the comment to reflect the current count of labels reset by pre-triage.sh.
|
/fs-fix address the feedback |
|
/fs-fix |
- Add `question` to the control labels list in the issue-labels skill example (docs/agents/triage.md) - Update comment in post-triage.sh from "first four" to "first five" to reflect the addition of `question` to pre-triage label resets Addresses review feedback on #1927 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: fullsend-fix <fullsend-code@users.noreply.github.com>
🔧 Fix agent — iteration 1 (human-triggered)Addressed both review findings: added missing Fixed (2):
Tests: passed Updated by fullsend fix agent |
The triage agent previously had no way to distinguish support requests (questions) from feature requests, causing questions to be misclassified. This adds a new "question" action type that lets the agent recognize question-style issues, attempt to answer them using repository context, and ask the reporter whether they want to convert the issue into a feature request.
Changes:
triage-result.schema.json (no additional required fields
beyond the base action/reasoning/comment)
scope identification and a new Action: question section
with detection heuristics and output format
blocked/needs-info labels, applies a "question" control
label, and posts an interactive comment
triage control labels
so label_actions cannot manipulate it
test covering the new action
Note: pre-commit could not run in sandbox due to Go toolchain permission error (unrelated infrastructure issue). The post-script runs pre-commit authoritatively on the runner.
Closes #1811
Post-script verification
agent/1811-triage-question-action)4939eb52904be897ccf76b36a5f18f1130f51cb7..HEAD)