Skip to content

Needs you learns from GitHub #1196

Closed
Closed

Description

@JacobStephens2

Parent

#919

What to build

GitHub's facts move ended rows out of Needs you too (Spec Q1.3, Q2.3, Q2.5, Q3.3, Q3.5). The reader adds each Needs you row's issue and pull request. For the issue, it asks its state, its close time and whether it has needs-triage. For an Architect run or Security run, it uses the issue and pull request of the Spec run or Ticket run it dispatched.

When a row leaves:

  • An ended row leaves once GitHub shows its issue closed or its pull request merged, saying which. Resolved holds it for inbox.days from that time.
  • A Triage row also leaves once its issue no longer has needs-triage.

When a row stays:

  • A failed Ticket run whose pull request was closed unmerged stays while its issue is open.
  • A live Silent or Slow row stays, whatever GitHub shows, until it ends.

Age: a row GitHub can speak for no longer ages out. Rows it can't speak for still age out, straight to History:

  • those with no issue or pull request, of their own or of their dispatched run;
  • those with no Command record;
  • those not read yet;
  • those GitHub can't find.

Reopening and dismissals: a reopened issue brings back a row still in Done or Resolved. A dismissal holds whatever GitHub does. A dismissal taken back puts the row where GitHub's facts say.

Acceptance criteria

  • A failed row whose issue closes leaves Needs you, saying "issue closed". One whose pull request merged while its issue stayed open leaves, saying "pull request merged".
  • A failed row whose pull request was closed unmerged, with its issue still open, stays.
  • An Architect run's row leaves once its dispatched plan's issue closes or pull request merges. A Security run's row leaves once its fix's does.
  • A Triage row leaves once needs-triage is off its issue.
  • A Slow row whose issue closes stays in Needs you until its Ticket run ends.
  • A failed row older than inbox.days whose issue is open stays.
  • An Architect run's billing failure that dispatched nothing ages out to History.
  • Reopening the issue of a row in Done or Resolved brings it back to Needs you. A dismissed row stays dismissed.
  • Taking back a dismissal of a row whose issue has since closed puts the row in Done or Resolved, not Needs you.
  • Tested through the thirdshift binary with the fake gh.
  • The hand-written site pages and the domain-to-code index say what changed.

Blocked by

Activity

  1. added
    ready-for-agent
    on Oct 23, 2026
  2. JacobStephens2 commented on Oct 24, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #1233, merged into issue-919 by a thirdshift Ticket run with Self-merge.

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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions