Skip to content

Write questionnaires for Triage issues that need a person - #1721

Merged
JacobStephens2 merged 2 commits into
issue-1323from
issue-1710
Nov 4, 2026
Merged

JacobStephens2 merged 2 commits into
issue-1323from
issue-1710

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Triage issues that need a person's answer now carry a forwardable questionnaire written with the embedded thirdshift-to-questionnaire skill.

proposed issue
  needs-info / ready-for-human → require questionnaire for whoever has the answer
  other outcome              → no questionnaire
file issue                   → include questionnaire in its body
notify Day shift             → include readable questionnaire and issue link

--recommend-only keeps the questionnaire in the proposal and notification. Reporter contact stays with the Day shift. Updates the user manual, generated skills page and neighboring hand-written site descriptions.

Closes #1710

Evidence

  • Before: cargo test --test triage_run questionnaires_reach_the_issue_and_notification_for_the_person_with_the_answer -- --exact failed because the recommendation rejected the questionnaire field. A second regression demonstrated that needs-info could succeed without questions.
    After: cargo test --test triage_run passed: 14 tests, one ignored fixture entry. Covers both person-answer outcomes, forced ready-for-human, mixed per-issue overrides, other outcomes, missing/blank/unexpected questionnaires, recommendation-only mode, saved notification text and delivery only to the configured Day shift address.
  • cargo check --locked passed. Prompt regeneration passed 13 tests; npm run docs:check --prefix site passed.
  • Final RUST_TEST_THREADS=3 /usr/bin/time -p scripts/affected-tests origin/issue-1323: all 61 site checks passed (113.71s). The full Rust run stalled in three existing Harness/session fixtures and was stopped after 544.03s, including compilation (658.09s total selection). No assertion failure was reported. The isolated session::execution_tests::a_failed_session_still_keeps_whichever_review_report_it_left test timed out after 30s on both this branch and the unchanged base ce7a9966, using cargo test --bin thirdshift session::execution_tests::a_failed_session_still_keeps_whichever_review_report_it_left -- --exact --test-threads=1 in each checkout. This demonstrates the local stall also exists on the base; full Rust validation remains with CI.

Test seams

  • thirdshift triage through the real CLI with fake Harness, GitHub and Resend adapters: questionnaire publication, notification content, outcome selection and repository-only communication.

Review coverage

Independent Standards and Spec reviews used issue-1323 at ce7a9966 as the fixed point. Standards raised one naming judgement, addressed by naming READY_FOR_HUMAN; Spec raised zero findings. Both reviewers read all 16 changed files, including generated hunks. Changed files left unread: none. Generated-output exclusions: none.

Unaddressed findings

Standards

None.

Spec

None.

Security

None.

Security review outcome

No unaddressed introduced findings.

Merge Danger

Door: two-way

Blast Radius: Triage

Triage recommendations must include a nonempty questionnaire for issues waiting on a person and omit it for other outcomes. Invalid recommendations fail before issue publication.

Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh

@JacobStephens2
JacobStephens2 merged commit 167b67d into issue-1323 Nov 4, 2026
16 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-1710 branch November 4, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant