Skip to content

The Inbox's Ready for review keeps Commands whose pull request was merged, forever #1083

Closed

Description

@JacobStephens2

This was generated by AI during triage.

The Inbox's Ready for review group never empties. A Command that ended ready stays there after its pull request is merged or closed, and after any amount of time.

On 2026-10-22 thirdshift status listed voice-agent-scheduling#29 (PR #30), clave#14 (PR #40) and fareloch#2 (PR #7) under Ready for review after all three PRs were merged by hand. The same group still held Architect runs from 2026-10-04 and chart35#230 from 2026-10-08, well past inbox.days = 7.

The group is decided from the run record's ready fact alone. Unlike Needs you, it has no inbox.days cutoff and no "a later Command on the same issue starts" exit. GLOSSARY.md defines it as "Commands that ended ready, with a pull request waiting", which the code does not hold to.

Activity

  1. JacobStephens2 commented on Oct 22, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    Category: bug
    Summary: Ready for review rows age out and are replaced the way ended Needs you rows are

    Current behavior:
    The Inbox puts every Command whose run record is ready into Ready for review, with no further check. Such a row never leaves the group: not when a later Command starts on the same issue, and not when it is older than the User config's inbox.days. Ready dispatched Runs also get their own row, and those stay forever the same way. thirdshift status, status --json and the Console's Inbox all show the stale rows.

    Desired behavior:
    A ready Command stays in Ready for review only while both hold:

    • no later Command on the same issue has started on this machine, and
    • it ended within inbox.days.

    Otherwise it falls through to the groups that follow by age: Done if it ended in the last day, Resolved if within inbox.days, else History only (shown by --all). This is the same exit rule ended Needs you rows already use, so reuse that logic rather than writing a second copy. Rows for ready dispatched Runs follow the same rule.

    Key interfaces:

    • The Inbox snapshot's inbox(all, inbox_days) grouping and its Group enum: Ready for review assignment gains the age and later-Command conditions
    • thirdshift status and status --json group names: unchanged, only membership changes
    • GLOSSARY.md's Inbox entry: say when a Command leaves Ready for review, in the same terms as Needs you

    Acceptance criteria:

    • A ready Command that ended more than inbox.days ago is not in Ready for review, and appears only with status --all
    • A ready Command that ended in the last day, followed by a later Command on the same issue, moves to Done
    • A ready Command within inbox.days with no later Command on its issue stays in Ready for review
    • A ready dispatched Run follows the same three rules, and the Console still never shows it twice
    • status, status --json and the Console Inbox agree on every row's group, and the existing parity test still passes
    • The GLOSSARY Inbox entry describes the exit rule

    Out of scope:

    • Reading pull request state from GitHub in status or the Console. Both stay local-only; a PR merged by hand may still show until its Command ages out or is replaced
    • Having the Pickup run's Sweep record merges done by hand
    • Changes to Needs you, Landing or Working
  2. added
    bug
    ready-for-agent
    in-progress
    and removed
    ready-for-agent
    on Oct 22, 2026
  3. removed
    in-progress
    on Oct 23, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions