Skip to content

A Triage Pass doesn't wait for an issue to settle, so it can triage a Spec before its Tickets are published #1965

Open

Description

@JacobStephens2

This was generated by AI while setting up a scheduled Triage Pass for the thirdshift repository.

Problem

A Triage Pass (thirdshift triage with no issue) takes the first open needs-triage issue it can reserve. ineligible in src/triage/pass.rs passes an issue over only for another triage label, in-progress, agent-failed, a Claim, sub-issues of its own, or an untrusted author or edit. Unlike a Pickup run (pickup.wait_minutes, the settling window in src/ready.rs), it never waits for whoever is shaping the issue to finish.

Two cases where that matters, once a Triage Pass runs with triage.allow_ready_for_agent = true:

  1. A Spec before its Tickets are published. docs/agents/triage-labels.md (Day shift publication, step 1) publishes a multi-session Spec as needs-triage, and to-tickets attaches its Tickets afterwards. Until the first sub-issue is attached, the Spec has none, so a Triage Pass can take it and label it ready-for-agent. A Pickup run would then start a plain Ticket run on the whole Spec, the failure the "ready-for-agent on a Spec" section of that doc exists to prevent.
  2. An issue still being written. An issue opened on GitHub and then edited (a screenshot added, a body filled in) can be triaged from its first save.

Decision for the Day shift

How a Triage Pass should hold back from issues still being shaped, for example:

  • apply Pickup's settling window (pickup.wait_minutes, measured from the latest shaping event) to Triage Pass candidates as well;
  • also, or instead, pass over an issue that looks like a Spec with no Tickets yet;
  • or change the Day shift publication procedure so an unpublished Spec carries a label a Triage Pass skips. That changes the Glossary's Ready issue and Spec run hand-back, which put needs-triage on a Spec today.

This is ready-for-human because it changes how Specs and the triage queue interact. Keep it out of the unattended pipeline.

Activity

  1. added
    bug
    ready-for-human
    on Nov 10, 2026
  2. JacobStephens2 commented on Nov 11, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during a grilling session on #739.

    The Day shift side is handled by PR #1991: an unfinished Spec is now published as ready-for-human and swapped to ready-for-agent once its Tickets and blocking links are in place.

    The same window remains for Architect plans. The Factory skill thirdshift-to-spec publishes a plan as needs-triage, and thirdshift swaps needs-triage for ready-for-agent after validating it. Until its first Ticket is attached, a scheduled Triage Pass could take the plan. Whatever this issue decides about settling should cover that case, or the Factory skills and the Architect run's swap should move to ready-for-human the way the Day shift procedure did.

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