Skip to content

fleet gh step 2: higher-level sync tools on the token rotation #9016

Closed

Description

@dezren39

Follow-on to #8887 (step 2, filed when step 1 landed — PR #9014)

Step 1 gave every fleet gh call one rotation point (fleet gh: personal token, then the developing.today fleet App's installation tokens, failover on rate-limit/permission refusals). Step 2 is Drew's second half of the 2026-11-12 directive: dedicated higher-level tools built on top of the same rotation, so callers stop shelling out to raw gh at all.

Scope candidates (triage to size and sequence):

  • Project sync tool — the writes project-reconcile.sh computes (status sets, item adds) as a fleet verb over the rotation, replacing the shell script's per-call gh project invocations and its outbox file shapes with typed ops.
  • Queue/GitHub sync tools — the recurring scripted flows that today compose raw gh issue/gh pr calls in job bodies (program tending, stewardship verdict posting, pool reviews) moved onto shared verbs with the rotation, the retry-safety rule, and value-free errors inherited.
  • A small library surface in the fleet workspace (the gh domain's provider/rotation as a crate other fleet domains can link), if the sync tools justify it.

Acceptance for this issue is the triage output itself: a sequenced step list with per-step issues, each naming its caller set and the raw-gh call sites it retires. Implementation lands under those step issues, not here.

Activity

  1. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 12, 2026
  2. developing-today commented on Nov 12, 2026

    @developing-today
    Contributor
  3. developing-today-fleet commented on Nov 12, 2026

    @developing-today-fleet
    Contributor

    Scope extension from #9060 (pm stack: multi-board hierarchy + full task genealogy), per Drew's 2026-11-12 16:45 amendment: the fleet gh Metadata superset (design sections 13-16 of the merged design note, PR #9064) extends this issue's step-2 scope. Filed as dedicated sub-issues of #9060 so this issue is not duplicated: #9073 (create-path Metadata stamping + DB insert), #9074 (metadata database + query surface), #9075 (session state), #9076 (dual ingestion/self-healing).

  4. dezren39 commented on Nov 13, 2026

    @dezren39
    MemberAuthor

    Cross-link: #9178 specifies new fleet queue verbs on this tool surface — claim-by-task-ID (including parked / attempt-capped tasks under a recorded owner override), multi-task claim under one session with --take-over, and resume-by-session via a resume_session_id task column. Final verb names should follow the conventions established here.

  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — triaged, task 18808 for issue #9016 (lane any-e)

    Triage output, per this issue's own acceptance (the sequenced step list with per-step issues; implementation lands under the step issues, not here):

  6. removed their assignment
    on Nov 20, 2026
  7. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Done-check + close record — Lane CX (archer), 2026-11-22

    This issue's own acceptance is the triage output itself: "a sequenced step list with per-step issues, each naming its caller set and the raw-gh call sites it retires. Implementation lands under those step issues, not here."

    Fresh verification this pass (gh REST):

    Acceptance met. Closing as completed — implementation continues under #10972 → #10973 → #10974 in the recorded sequence. Closing this dep-chain head should release the queue tasks dep-blocked on it.

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

    effort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)status:donetask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions