GeezerVison is showing github.com — fleet orgs: Turso-backed org/App registry + list subcommand · Issue #8884 · developing-today/code
fleet orgs: Turso-backed org/App registry + list subcommand #8884DescriptionDRAFT design — filed for Drew's ratification under the design-protection rule (2026-11-11): this stays open until Drew parks or abandons it. Wording below is a draft in the fleet's voice, not Drew's.
Drew's ask (2026-11-12 ~01:43 CST, main chat)
"keep a list of all orgs in hatch personal and the permissions and apps each that you can refer back to, or maybe a table in turso and wire a fleet subcommand to list whatever"
Context: the fleet GitHub Apps parity + coverage program (epic to be linked below) put all three fleet Apps — developing-today, developing-today-fleet, developing-today-backup — at one identical nine-permission set across all 102 orgs Drew admins. The first deliverable is a committed registry document in dezren39/hatch-personal (seed data for this issue). This issue is the durable upgrade Drew sketched: the registry as queryable data, not a document that goes stale.
Proposal
- Turso tables for the registry: orgs (login, Drew's role, repo counts, verified-at), apps (slug, app id, owner, permission set, events), installations (app × account, installation id, repository selection, permissions as installed, verified-at).
- Sync path: a fleet job that regenerates the tables from GitHub ground truth. Ground-truth rule learned 2026-11-12: each App's own JWT against
GET /app/installations (fully paginated) is authoritative. GET /orgs/<org>/installations under an OAuth token produced false negatives (33 orgs wrongly reported as having no fleet Apps) and must not be used for coverage claims.
fleet orgs list subcommand: prints the registry (org → role → repos → per-App install state + permission set), with a --drift mode that re-reads GitHub and flags any installation whose permissions differ from the App's current set (the acceptance-pending state this program just swept).
Acceptance criteria
fleet orgs list prints all 104 memberships with role, repo counts, and per-App state matching the hatch-personal registry doc.
- Drift mode exits non-zero and names the installation when any App installation's permissions differ from that App's declared set.
- Sync runs from the App JWTs; no OAuth-token coverage claims anywhere in the path.
- The registry doc in hatch-personal links here as the living successor; this issue stays open until Drew ratifies, parks, or abandons the design.
Program home: the fleet GitHub Apps epic (linked in comments). Related: #8805 (design-register epic — this program grew out of its token audit). Activitydeveloping-today commented on Nov 12, 2026 dezren39 commented on Nov 12, 2026 Program home: epic #8886 (fleet GitHub Apps — permission parity, org coverage, registry). This issue carries the design + epic/fleet-apps labels; the hatch-personal registry document (this design's seed) names #8886 as the program home. dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged (draft design — Drew's ratification gate)
- Agent: queue worker (repo-worker-code), lane any-i
- Session / ID: task 18764
- Found via: queue claim (triage, bulk intake 2026-11-16)
- Verdict: kind/design (already labeled) · priority/normal · effort/l for the eventual build. This is a DRAFT design filed under the design-protection rule: it stays open until Drew ratifies, parks, or abandons it, in the issue's own words. No implementation follow-on is enqueued — building the Turso registry +
fleet orgs list before ratification would spend fleet effort on an unratified design.
- What ratification unlocks (scoped and ready): Turso tables (orgs / apps / installations), a sync job regenerating from App-JWT ground truth (never OAuth-token coverage claims — the 2026-11-12 false-negative lesson is recorded on the issue), and
fleet orgs list with a --drift mode. Acceptance criteria are already pinned on the issue against the hatch-personal registry doc (104 memberships).
- Program home: epic Epic: fleet GitHub Apps — permission parity, org coverage, registry #8886 (fleet GitHub Apps). The seed registry document lives in dezren39/hatch-personal per the issue.
dezren39 commented on Nov 17, 2026 [agent-note:v1]
- Agent: queue worker (repo-worker-code), lane code-g
- Session / ID: task 20229
- Found via: queue claim (duplicate bulk-intake triage follow-on)
- Verdict: triaged; issue remains open as Drew-owned draft design. Existing completed triage on task 18764 records the ratification gate and correctly defers implementation; no follow-on task is appropriate until ratification. Fresh GitHub state verified 2026-11-17: issue fleet orgs: Turso-backed org/App registry + list subcommand #8884 is OPEN, labeled kind/design, design, epic/fleet-apps, assigned to dezren39.
dezren39 commented on Nov 23, 2026 Decision (UNBLOCK-393 sweep, under Drew's 2026-11-23 decision posture): RATIFIED — build the Turso-backed org/App registry with the sync job and the fleet orgs list subcommand as proposed.
Why: the queryable, self-updating registry is the more capable option and is what the ask sketched; a static registry document goes stale. The triage task (20229) is unblocked to record this verdict and route the scoped follow-on implementation packet.
UNBLOCK-393 sweep dezren39 commented on Nov 23, 2026 🤖 Agent note · triaged (ratified design — follow-on routed)
- Agent: OpenChamber scheduled Fleet lane oc-code-08 (repo-worker-code), queue task 20229
- Verdict: kind/design ratified by UNBLOCK-393 (2026-11-23T19:29:39Z). Triage recorded; the build is routed as one scoped feature slice.
- Follow-on: queue task 21511 (
repo-health:v1:slice:developing-today/code:issue:8884:slice-1, feature_slice, parent fleet orgs: Turso-backed org/App registry + list subcommand #8884, slice 1: Turso registry + app-JWT sync + fleet orgs list, done check cd pkgs/fleet && cargo test -p fleet-orgs -p fleet).
- Packet note: task 20229 was blocked as a
small_fix whose acceptance is triage-only. It is completed here as triage with a verified follow-up, not as a fix.
- Fresh state: fleet orgs: Turso-backed org/App registry + list subcommand #8884 OPEN, labels kind/design, design, epic/fleet-apps, no linked PRs.
dezren39 commented on Nov 24, 2026 Conductor (ses_e5df4a59970ffeqJp45P5EFxF0, 2026-11-23 20:5x CST): claimed queue task 21511 (repo-worker-conductor) and created worktree ~/git/fleet/queue-21511-8884-fleet-orgs on queue/21511-8884-fleet-orgs (pushed empty). Two launches (ses_e5df4a236b5ffeK3VHwM9vet4m, ses_e5df4a0c09bffeoy5vOlMB0I2b) ran on direct leaves, not opencode-route/workhorse, so both were archived with no work done. Task 21511 parked executor-saturated for 1200s until a route-pinned launch engages. Re-dispatch is the next conductor cycle's job. dezren39 commented on Nov 24, 2026
Picked up by repo-worker-conductor — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-conductor posts progress markers; after 30 minutes of silence any other worker may pick this up.)
Continuing claimed queue task 21511 on its assigned branch while primary task is parked; implementation in progress. dezren39 commented on Nov 24, 2026
Progress from repo-worker-conductor: Capability/domain and docs wired; registry inventory test passes; new crate implementation and integration verification underway. dezren39 commented on Nov 24, 2026 Progress: fixed the local App-JWT pagination fixture, added App owner metadata and a (App, account) installation upsert key, and made org role/repo_count nullable because the permitted App endpoint does not provide them. Targeted offline crate tests pass; capability help and no-default-feature exit 69 verified. Follow-up commit e9a565a is pushed to the existing PR #14023. Fleet-dispatched combined test run is running: https://github.com/developing-today-forks/fleet/actions/runs/45314408179. dezren39 commented on Nov 24, 2026 Progress: follow-up commit d3ccc82 clarifies that role/repository counts remain nullable because the allowed App-JWT endpoint does not return them, and labels the 33-installation pagination fixture as a regression for the 2026-11-12 OAuth false-negative failure shape. Local offline fleet-orgs tests pass (24 tests). The previous remote run failed before compilation because --offline could not find untrusted v0.7.1; rerunning the packet done check without --offline via Fleet run developing-today-forks/fleet#45344718466 (https://github.com/developing-today-forks/fleet/actions/runs/45344718466). The slice remains unverified until that run is terminal.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|