GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — design(fleet): component C — fleet tool Workers/TS equivalent: hosted stamping/query, session provenance, sync tools (#9081) by dezren39 · Pull Request #12593 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 22, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Problem

Component C of epic #9078 (hosted editions program): the fleet tool's capabilities — Metadata stamping/query, session provenance, sync tools — exist only as laptop-world designs (#9060 §§12–16) with open native implementation issues (#9073–#9076, #9016). Hosted and agent workflows off the laptop have no fleet surface at all. #9081 asks for the design: capability inventory vs the native fleet surface, the hosted stamp set, the auth model, and the queue answer.

Design (this PR)

doc/2026-11-22T14-28-45Z_design_fleet-tool-workers-edition/ — docs-only, following the component-E record's form. Grounded in the shipped native surface (pkgs/fleet/docs/verbs.md), the #9060 Metadata model, and two measured facts: the queue core already lives in a Turso database behind the broker protocol (#6741), and the bridge domain already runs a hosted front door through a Cloudflare Worker.

The four open questions, answered:

  1. Split of duties — one Worker (fleet-hosted) is the only stamping authority: server-side stamp + DB insert + fleet App rotation held server-side. A thin TS CLI carries session context and renders; it holds no authority. Direct Turso is read-only, metadata DB only, under component E's scoped expiring tokens — never the stamp path, never the queue DB.
  2. Stamping parity — the native provenance set field-by-field. worktree gains a named replacement (workspace_ref) for callers with no checkout; additive fields auth_subject, stamped_by, stamp_sig; the block stays pm_meta: 1.
  3. Auth — SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077 relying-party tokens (agents: design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 agent-role credentials per H design(pm-stack): SSO relying-party integration — hosted editions consume #9077; tenancy accounts aligned with #1253 roles #9086); per-user DB credentials are explicitly not service auth. Non-forgeability in three layers: server-side sourcing of every fleet-owned field, a signature over the canonical provenance, and insert authority limited to the two editions — a forged body block diverges from the DB row and gains nothing (§15 rule).
  4. Queue semantics — one queue. No second queue and no laptop-only queue: a hosted broker front door (a peer of the native broker) on the existing fleet-queue Turso DB, same repo-task/v1 schema, same event stream; atomicity stays in libSQL where it already lives.

Framing per the epic doctrine throughout: dual tier-1, parity + deliberate divergence (each divergence named in place: no hosted raw-gh passthrough, no hosted secrets/shell/proxy), self-hosted and hosted nodes as peer participant kinds. Deferrals are explicit with owner + trigger (transport framing → G #9085; signature algorithm/key custody → fleet CA line + #9073; DB physical topology → #9074; token flows → H #9086; TS gh library → #9016).

Implementation issues filed under #9081

Native sub-issues of #9081 (verified by read-back):

  • impl(fleet-hosted): service skeleton — Worker route modules, RP-token auth validation, tenancy mapping, health/capabilities #12583 service skeleton — Worker route modules, RP-token auth, tenancy mapping
  • impl(fleet-hosted): session registry — server-minted session ids, resolution-order parity with #9075 #12584 session registry — server-minted session ids, impl(fleet): session state — session id in env + worktree pwd-file #9075 resolution parity
  • impl(fleet-hosted): create-path stamping endpoint — Metadata parse/stamp/DB insert, fleet App rotation server-side (#9073 hosted) #12585 create-path stamping endpoint (impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073 hosted)
  • impl(fleet): stamp signature — sign/verify canonical provenance (stamp_sig, stamped_by, auth_subject), both editions #12586 stamp signature — both editions, cross-linked to impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073
  • impl(fleet-hosted): Metadata query surface — REST + CLI filters over the metadata DB (#9074 hosted) #12587 Metadata query surface (impl(fleet): metadata database + fleet Metadata query surface #9074 hosted)
  • impl(fleet-hosted): thin TS CLI — session carriage, create/query/intake verbs, no local stamping authority #12588 thin TS CLI
  • impl(fleet-hosted): queue front door — broker protocol over hosted transports on the existing fleet-queue Turso DB #12589 queue front door on the existing fleet-queue Turso DB
  • impl(fleet-hosted): ingestion receiver — GitHub webhook route + scheduled-Worker sweeper (#9076 hosted) #12590 ingestion receiver — webhook route + scheduled sweeper (impl(fleet): dual ingestion — webhook listener + interval sweeper, Metadata backfill, retroactive completion #9076 hosted)
  • impl(fleet-hosted): sync-tool verbs — project sync + queue/GitHub sync endpoints (#9016 hosted) #12591 sync-tool verbs (fleet gh step 2: higher-level sync tools on the token rotation #9016 hosted)
  • impl(fleet-hosted): direct-Turso Metadata read path — scoped read-only tenancy tokens, prudence conformance #12592 direct-Turso Metadata read path + prudence conformance

Evidence / verification

  • Design inputs re-checked 2026-11-22: impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073, impl(fleet): metadata database + fleet Metadata query surface #9074, impl(fleet): session state — session id in env + worktree pwd-file #9075, impl(fleet): dual ingestion — webhook listener + interval sweeper, Metadata backfill, retroactive completion #9076, SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077, fleet gh step 2: higher-level sync tools on the token rotation #9016, design(pm-stack): PM service, Workers edition — TypeScript equivalent of aggregator/dashboard/reconcile as one hosted service #9079, design(id): ID service, Workers edition — close the gaps on the #5524/#5681 serverless line to a workable hosted equivalent #9080, design(fleet): second version in TypeScript — scope, WASM evaluation, transports (REST/WebSocket), and direct-Turso prudence rules #9085 all OPEN; component E's tenancy design (merged 2026-11-17) consumed as settled.
  • Native capability inventory read from pkgs/fleet/docs/verbs.md + crates, not from design docs; V1 section (§1) separates what is shipped from what is specified-only.
  • Docs-only change; no code, no builds.

What remains

  • Felix reviews/merges this design PR (not merged by the author lane).
  • design(fleet): fleet tool, Workers/TypeScript equivalent — hosted Metadata stamping/query, session provenance, sync tools #9081 stays open until the design is merged; its acceptance boxes are checked in the progress note on merge.
  • Sibling components A/B/G/H designs are separate queue items; this record defers to G and H where named rather than prejudging them.

Run Proof on this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
felix
design(fleet): component C — fleet tool Workers/TS equivalent (#9081)
d69c499
Hosted Metadata stamping/query, session provenance, sync tools for
epic #9078. Answers #9081's four open questions: service-side stamping
authority + thin TS CLI + read-only direct Turso; stamp set parity with
workspace_ref/auth_subject/stamped_by/stamp_sig additions; #9077 RP-token
auth with three-layer non-forgeability; one queue — a hosted broker
front door on the existing fleet-queue Turso DB, same repo-task/v1
schema. Implementation issues #12583-#12592 filed under #9081.
@dezren39
dezren39 requested a review from a team as a code owner November 22, 2026 14:32
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 37 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 78a94a33-1b00-4d50-a990-b36b95d237be
Commits

Reviewing files that changed from the base of the PR and between cd9e579 and d69c499.

Files selected for processing: 1

  • doc/2026-11-22T14-28-45Z_design_fleet-tool-workers-edition/2026-11-22T14-28-45Z_design_fleet-tool-workers-edition.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 22, 2026
design(fleet): fleet tool, Workers/TypeScript equivalent — hosted Metadata stamping/query, session provenance, sync tools #9081
Closed
2 tasks
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T14:34:15.244609Z d69c499 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 5ead2b1 into main Nov 22, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the felix/9081-workers-design branch November 22, 2026 14:33
This was referenced Nov 22, 2026
design(quota-plane): Stage 3 — predictive, self-tuning quota operations (#1177) #12702
Merged
impl(fleet-hosted): service skeleton — Worker route modules, RP-token auth, tenancy mapping, health/capabilities (#12583) #12822
Merged
@dezren39 dezren39 added the audit:partial PR partially implemented; gap filed label Nov 24, 2026
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:partial PR partially implemented; gap filed

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.