Skip to content

Confirm Triage should reject questionnaires on ready-for-human (reversed by #2135) #2144

Open

Description

@JacobStephens2

What the finding is

A Spec review raised this finding while reviewing the commits merged from main into #2137 (issue-2098). Those commits include #2135, which implemented #2052.

#2052 asked that "a non-empty "questionnaire" on those states [ready-for-agent, ready-for-human, wontfix] continues to be rejected as invalid" and that questionnaire be present "only when "state" is "needs-info"". That premise did not hold. Before #2135, Triage required a questionnaire for ready-for-human. At e6ded0a, src/triage.rs read let needs_answer = triaged == labels::NEEDS_INFO || triaged == labels::READY_FOR_HUMAN;. That rule came from e234350 ("Address the Spec #1323 review of the Triage run").

#2135 followed the issue's literal wording, so it reversed that rule:

  • src/triage.rs resolve_recommendation now uses needs_answer = triaged == labels::NEEDS_INFO. A questionnaire on ready-for-human, including an issue forced to ready-for-human by confirmation_blocked, is now rejected and costs a correction turn.
  • skills/thirdshift-to-questionnaire/SKILL.md lost "or a human decision" and "including confirmation blocked by credentials or production access". A ready-for-human decision now goes in the issue body.
  • In src/prompt.rs and src/triage/existing.rs, existing-issue splits are now proposed "in a ready-for-human issue body" instead of through a questionnaire.
  • Tests that asserted ready-for-human and blocked questionnaires reach the issue and the notification now assert rejection: tests/triage_run.rs questionnaires_are_required_only_for_needs_info, plus tests/triage_correction.rs, tests/triage_issue.rs and tests/triage_spec_regressions.rs.

The docs and the hand-written site pages were updated to match, so the change is internally consistent.

Evidence

  • git show e6ded0afbe34955d4742e69dcc72c2c194d8afe8:src/triage.rs | rg -n needs_answer shows the old rule, which included READY_FOR_HUMAN.
  • cargo test --test triage_run questionnaires_are_required_only_for_needs_info passes on the current branch (1 passed). It encodes the new rule. The test it replaced, questionnaires_reach_the_issue_and_notification_for_the_person_with_the_answer, expected the old one.

Why the call is not the reviewing session's

#2052 was a narrow fix: stop spending a correction turn on "questionnaire": "". Whether a ready-for-human outcome or a confirmation-blocked one should carry a forwardable questionnaire is a product decision about the operator workflow. #1323 settled that question one way, and #2052 implied the other way without saying so. A review session for #2098, an unrelated CI fix, should not reverse merged behaviour either way. The Day shift should confirm the #2135 behaviour or restore ready-for-human questionnaires.

Raised by the review of #2137.

Activity

  1. added
    needs-triage
    in-progress
    and removed
    needs-triage
    on Nov 12, 2026
  2. JacobStephens2 commented on Nov 12, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Investigation summary

    Confirmed on selected Base branch HEAD b6c3e1d: #2135 changed an established workflow contract, following #2052's explicit acceptance criteria. This needs a Day shift policy decision rather than an automatic reversal.

    Evidence:

    • src/triage.rs:236 normalizes blank questionnaires to absence; lines 256–272 then force confirmation-blocked issues to ready-for-human and reject questionnaires for every state except needs-info.
    • Both git show 2efc6416^1:src/triage.rs and git show e234350d:src/triage.rs show the previous rule requiring questionnaires for needs-info OR ready-for-human.
    • docs/grill-with-docs/done/706-1323-review-and-triage.md:171–179 records agreement to Q1.18: both outcomes get questionnaires on the issue and in the Run notification. Triage run: turn a Report into triaged issues #1323 user stories 17–18 specify the same behavior.
    • Treat empty-string Triage questionnaire as absent and show a ready-for-agent example in thirdshift-triage #2052 explicitly requires rejection on ready-for-human, so Treat blank Triage questionnaires as absent #2135 followed its literal specification despite the incorrect premise that this rejection already existed.
    • src/triage.rs:139–175 omits issue bodies from readable Run notifications but includes questionnaires. Moving decisions exclusively into issue bodies therefore removes their dedicated forwardable notification text unless the investigation repeats them.
    • cargo test --test triage_run questionnaires_are_required_only_for_needs_info passed: 1 passed, 0 failed. It confirms rejection for explicit ready-for-human and confirmation-blocked questionnaires in publication and recommendation-only modes.

    Recommendation: restore the original ready-for-human questionnaire contract, including confirmation-blocked outcomes and existing-issue split proposals, while preserving blank-string normalization wherever questionnaires are optional. First obtain an explicit Day shift decision because #2052 states the opposite requirement. If restoration is chosen, update validation, correction guidance, embedded skills, issue prompts, tests and generated/manual site documentation together. If the newer policy is retained, record its supersession of Q1.18/#1323 and settle whether decision text must still reach the Run notification.

    No duplicate open issue was found. #1696 concerns a questionnaire Step for any Process and does not resolve this Triage-specific policy conflict.

    Questionnaire

    For the Day shift deciding #2144:

    #2135 followed #2052 by rejecting ready-for-human questionnaires, reversing the behavior explicitly agreed in Q1.18 and implemented for #1323. The current tests confirm this reversal.

    1. Should ready-for-human outcomes—including confirmation-blocked investigations and proposed existing-issue splits—again require a non-empty questionnaire, as Triage run: turn a Report into triaged issues #1323 specified (recommended), or should Treat blank Triage questionnaires as absent #2135's body-only policy remain? This determines the validation, skill and test contract.
    2. If the body-only policy remains, is it acceptable for decision/operator-action text to remain on the issue without dedicated forwardable text in the Run notification, or must notifications include it? The current notification formatter omits issue bodies.
  3. added
    bug
    ready-for-human
    and removed
    in-progress
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugready-for-human

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions