You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fleet gh step 2: higher-level sync tools on the token rotation #9016
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.
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).
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.
Sequence rationale: 2.1 first (one caller, well-bounded write set, retires a script whose failure mode is a standing open wound — Project Bump build/buck/preludes/buck2-prelude from 3a02ea3 to 9530656 #4 reconciliation), 2.2 second (several callers, same verb conventions), 2.3 last (the library question can only be answered from 2.1/2.2's actual consumer shapes).
Labels: status/triaged + priority/normal + effort/l + kind/enhancement added (task/triage was already present). Priority normal per the priorities brief — fleet-enabling but not fleet-stalling; step 1 already removed the single-token failure mode.
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."
No open PR references this issue; no live claim by another worker (last comment is the 2026-11-17 triage note).
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.
Activity
developing-today commentedon Nov 12, 2026
CODE-2756
developing-today-fleet commentedon Nov 12, 2026
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).
dezren39 commentedon Nov 13, 2026
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 aresume_session_idtask column. Final verb names should follow the conventions established here.dezren39 commentedon Nov 17, 2026
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):
3a02ea3to9530656#4 reconciliation; see fix(orchestrator): project-reconcile.sh times out over ~200 items — make the bounded pass the standard path #1408) — retires its per-callgh projectinvocations and outbox file shapes.3a02ea3to9530656#4 reconciliation), 2.2 second (several callers, same verb conventions), 2.3 last (the library question can only be answered from 2.1/2.2's actual consumer shapes).dezren39 commentedon Nov 23, 2026
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):
gh projectinvocations + outbox file shapes)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.