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 — id: design: fleet surface for the broker role (from #5671) · Issue #5798 · developing-today/code

id: design: fleet surface for the broker role (from #5671) #5798

New issue
Copy link
New issue
Copy link
Closed
Closed
id: design: fleet surface for the broker role (from #5671)#5798
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)status:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

Summary

Follow-on design ticket from #5671 — its decomposition sketch names this as a separate design, and the parent's acceptance requires these tickets to be filed and linked. Filed in the 2026-11-04 gap pass (WS-F) so the design work exists and can be prioritised on its own merits; implementation timing is a separate decision, possibly months out.

What this design must settle

The future fleet id subcommand wiring the broker role into fleet sandbox→laptop patterns — the operational surface of the fallback design.

Context from the parent

The parent design fixes how ID clients and servers stay reachable when UDP is denied — fallback order, broker shapes, trust model, and the E2E boundary. The parent issue carries the surrounding decisions this ticket must not re-decide; where this ticket's answer would change a parent decision, record that explicitly rather than silently forking it.

Decision record expected

Close this design with a recorded decision (on this issue or in a doc/ record linked from it): the chosen shape, the alternatives rejected and why, and the invariants implementation must hold. If the design splits further, file the splits and link them here rather than growing this issue.

Relations

Parent: #5671. Programme: epic #2056. Filed by WS-F (2026-11-04 ID design gap & expansion pass).

Activity

Next
  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1481

  3. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-j
    • Session / ID: task 10201
    • Found via: queue claim
    • Task: task 10201 (triage for issue id: design: fleet surface for the broker role (from #5671) #5798, direct execution lane) — verifying the design issue at current main and recording the scoped path or blockers on the issue.
    • Expectation: triage findings posted on issue id: design: fleet surface for the broker role (from #5671) #5798 this shift.
    • Links: issue id: design: fleet surface for the broker role (from #5671) #5798
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triage complete

    • Agent: queue worker (repo-worker-code), lane code-j
    • Session / ID: task 10201
    • Found via: queue claim (coverage-audit requeue)

    Triage of issue #5798 at current main (verified fresh 2026-11-05):

    • Issue id: design: fleet surface for the broker role (from #5671) #5798 is OPEN, a follow-on design ticket from parent id: design: ID transport fallback for UDP-denied networks v1 #5671 (filed in the 2026-11-04 WS-F gap pass, label app/id). No hard-stop labels, no design content posted yet beyond the filing stub, and no implementation or PR references it. Its expected output is explicit in the body: a recorded decision (chosen shape, alternatives rejected and why, invariants implementation must hold) — the design itself is the work, not a code fix.
    • Parent id: design: ID transport fallback for UDP-denied networks v1 #5671 (ID transport fallback for UDP-denied networks v1) is OPEN and currently status/parked under another queue task. The parent fixes the decisions this ticket must not re-decide (fallback order, broker shapes, trust model, E2E boundary).
    • All siblings from the same decomposition verified OPEN today: id: design: transport negotiation & fallback ordering (from #5671) #5791 (transport negotiation & fallback ordering), id: design: id broker / serve-proxy role (from #5671) #5792 (id broker / serve-proxy role), id: design: rendezvous & discovery for UDP-denied clients (from #5671) #5793 (rendezvous & discovery), id: design: Cloudflare Workers rendezvous/relay component (from #5671) #5794 (Cloudflare Workers rendezvous/relay — handed to the opencode lane in this same shift, task 10197), id: design: relay trust model & broker authorization (from #5671) #5795 (relay trust model & broker authorization), id: design: HTTP CONNECT proxy traversal (from #5671) #5796 (HTTP CONNECT proxy traversal).

    Ordering (the substantive triage finding): #5798 designs the fleet surface (fleet id wiring) for the broker role — it consumes other tickets' outputs, so it goes last in this sibling set:

    1. id: design: id broker / serve-proxy role (from #5671) #5792 first — it defines the broker/serve-proxy role whose operational surface id: design: fleet surface for the broker role (from #5671) #5798 would wire into fleet; designing the surface before the role exists guarantees rework.
    2. id: design: relay trust model & broker authorization (from #5671) #5795 (trust model & broker authorization) and id: design: transport negotiation & fallback ordering (from #5671) #5791 (fallback ordering) next — the surface must expose, not re-invent, the authorization model and fallback order.
    3. id: design: fleet surface for the broker role (from #5671) #5798 after those land, scoped to: the fleet id verb/registry shape for the broker role in the sandbox→laptop pattern, which parent decisions it binds to (cited, not re-decided), and the decision record the body requires.

    Blockers recorded: sequencing only — #5798 is blocked in practice on #5792/#5795/#5791 decisions, all of which are open design work under parent #5671 (programme epic #2056). No Drew decision is needed to proceed in that order; implementation timing remains a separate decision per the filing note. Issue #5798 stays open as the design ticket.

  7. dezren39
    added
    status/triagedTriaged and routed (see agent note)
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
  8. github-actions
    assigned
    dezren39
    on Nov 5, 2026
  9. 16 remaining items

  10. dezren39
    added
    status/triagedTriaged and routed (see agent note)
    on Nov 8, 2026
  11. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — REAL and current; dependency landed, converted to task 13227

    • Agent: queue worker (repo-worker-code), lane code-f
    • Session / ID: task 12300
    • Found via: queue claim (resume of the parked triage — existing verdict re-verified, not re-done)

    Verdict: REAL and current — and the resume condition is now satisfied, so this triage converts instead of parking again.

    Fresh check 2026-11-08 (this shift, ~08:34Z):

    • Issue id: design: fleet surface for the broker role (from #5671) #5798 OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). No PR references issue id: design: fleet surface for the broker role (from #5671) #5798; no fleet id broker-surface design record exists. The design deliverable has still not been produced.
    • Issue id: design: transport negotiation & fallback ordering (from #5671) #5791 CLOSED (status:done), issue id: design: Cloudflare Workers rendezvous/relay component (from #5671) #5794 CLOSED (status:done).
    • Issue id: design: id broker / serve-proxy role (from #5671) #5792's broker/serve-proxy role decision WAS recorded at 2026-11-08T08:06:54Z by task 12789 (done, lane code-y) — after task 12300's last park (08:02Z). The decision record (role/topology, framing, multiplexing, keepalive, resumption) explicitly names issue id: design: fleet surface for the broker role (from #5671) #5798 as the downstream consumer that should build on its sections 1-5. Task 12300's standing resume condition ("issue id: design: id broker / serve-proxy role (from #5671) #5792 records its broker/serve-proxy role decision via task 12789") is met.
    • Issue id: design: relay trust model & broker authorization (from #5671) #5795 (relay trust model & broker authorization) is still OPEN parked — an input to the id: design: fleet surface for the broker role (from #5671) #5798 design (broker authorization seam), not the named resume gate.

    Conversion: a fix packet for issue #5798 under the repo-health:v1:fix dedupe key was enqueued in parallel at 2026-11-08T08:34:51Z and is live as task 13227 ("Fix #5798: record the fleet-surface design decision for the broker role (from #5671; gate #5792 decision recorded)", status queued) — my own enqueue of the same scoped packet (durable copy: hidden_files/12300-fix-packet-5798.json) deduped against it. Task 12300 completes as triaged with task 13227 as its follow-up. Issue #5798 stays OPEN for task 13227's design record; it closes only via that record per its own closing condition.

    • Links: task 12300 · task 13227 · issue id: design: fleet surface for the broker role (from #5671) #5798 · issue id: design: id broker / serve-proxy role (from #5671) #5792 · issue id: design: ID transport fallback for UDP-denied networks v1 #5671 · issue id: design: relay trust model & broker authorization (from #5671) #5795
  12. developing-today commented on Nov 8, 2026

    @developing-today
    developing-todayBot
    on Nov 8, 2026 – with developing.today
    Contributor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-i
    • Session / ID: task 13227
    • Found via: queue claim (direct execution lane)
    • Task: write the decision record for issue id: design: fleet surface for the broker role (from #5671) #5798 (fleet surface for the broker role, from id: design: ID transport fallback for UDP-denied networks v1 #5671), building on the id: design: id broker / serve-proxy role (from #5671) #5792 decision record (task 12789)
    • Expectation: decision record posted on issue id: design: fleet surface for the broker role (from #5671) #5798 this shift, verified against the id: design: id broker / serve-proxy role (from #5671) #5792 record and the current fleet CLI surface
    • Links: issue id: design: fleet surface for the broker role (from #5671) #5798 · gate issue id: design: id broker / serve-proxy role (from #5671) #5792 · parent issue id: design: ID transport fallback for UDP-denied networks v1 #5671
  13. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    status/triagedTriaged and routed (see agent note)
    on Nov 8, 2026
  14. developing-today commented on Nov 8, 2026

    @developing-today
    developing-todayBot
    on Nov 8, 2026 – with developing.today
    Contributor
    More actions

    Decision record — fleet surface for the broker role (task 13227)

    Status: decided. This record settles the fleet surface for the ID broker role decided in #5792: how the future fleet id subcommand wires the broker role into fleet's sandbox→laptop patterns. It builds explicitly on the #5792 decision record (task 12789, comment 6719076837) §§1–5 and holds its §6 invariants. It re-decides nothing in #5792 and changes no parent #5671 decision (§5 below).

    1. Shape — fleet id is a multicall domain, not a new binary

    • fleet id joins the fleet multicall registry as a domain, exactly like queue, serve, proxy, dispatch, secrets, search, and laptop-agent in fleet 0.1.0 (verified against fleet --help this shift). One binary, one registry, one capabilities listing: fleet capabilities names the id domain and whether this build includes it; a build that cannot use it answers with the registry stub and exit code 69, like every other domain.
    • The domain is a thin operator/client surface. The broker itself remains a mode of the id binary (id: design: id broker / serve-proxy role (from #5671) #5792 §1: any authorized ID node can serve as a broker; no separate broker daemon in v1). fleet id never reimplements broker, framing, or session logic — it invokes, configures, and inspects the id binary's roles.

    2. Verbs — DECIDED

    • fleet id connect [--via auto|direct|broker] [--broker <node>] — open this node's client leg: try the parent id: design: ID transport fallback for UDP-denied networks v1 #5671 fallback order (direct first, broker last) with --via auto (the default); --via pins one tier for diagnosis. Establishes the id: design: id broker / serve-proxy role (from #5671) #5792 legs (TLS 1.3 over TCP 443, CONNECT tunnel where egress requires it, WebSocket adapter only as last resort).
    • fleet id serve-proxy — run this node in the broker (serve-proxy) role in the foreground, following the fleet serve <role> foreground-daemon convention. Joins client and rendezvous legs per id: design: id broker / serve-proxy role (from #5671) #5792 §1; both legs are outbound from the constrained sides.
    • fleet id status — legs (up/dead per id: design: id broker / serve-proxy role (from #5671) #5792 §4's 3-missed-PING rule), open streams by class (control/interactive/bulk, id: design: id broker / serve-proxy role (from #5671) #5792 §3), resume-window state, and the classified failure reason (UDP-blocked / peer-offline / proxy-auth-required / broker-refused) when a leg is down. Metadata only — see §4.
    • fleet id ping [--broker <node>] — one diagnostic round trip through the selected path, reporting which fallback tier actually carried it. This is how an operator proves which tier a sandbox→laptop path is using instead of guessing.

    No other verbs in v1. Session/resume mechanics are the protocol's (#5792 §5), not CLI surface: there is deliberately no fleet id resume — resumption is automatic on reconnect within the 5-minute window.

    3. Wiring into the sandbox→laptop patterns — DECIDED

    • Thin side / holding side: as with the queue and secrets domains, the sandbox side of fleet id is a client through the fleet session proxy (the broker socket fleet init autostarts); the laptop side holds the real legs and the id binary. Which sandbox binary is installed must not matter — the domain routes through the proxy like its siblings.
    • Credentials: the session token id: design: id broker / serve-proxy role (from #5671) #5792 §5 defines is broker-issued and identity-key-bound; the fleet surface transports it the way the laptop-agent token is transported — as a header/file with owner-only permissions, never in argv, never in a payload, log, or task result. Any secret the surface needs is resolved by name through fleet secrets, never embedded.
    • Config: broker selection and --via defaults live in the same fleet config the other domains read; per-invocation flags override config, config overrides the compiled default (auto). Changing the default broker is a config change, not a code change.

    4. Invariants the implementation must hold (carrying #5792 §6)

    1. The broker is a dumb pipe and the fleet surface keeps it one: fleet id must not terminate, inspect, or log E2E payloads; status/diagnostics expose frame metadata (counts, classes, timings) only, never content.
    2. The session token is not a credential: no fleet id verb may treat token possession as authorization — RESUME stays signed by the endpoint identity key (id: design: id broker / serve-proxy role (from #5671) #5792 §5).
    3. No durable delivery is promised at this surface: after the resume window, status reports the session gone and the ID layer re-syncs; the CLI must not paper over that with retries that look like delivery.
    4. Delivery semantics are the protocol's (never twice, never out of order within a stream); the surface adds no reordering, batching, or replay of its own.
    5. A verb that cannot run on this build exits 69 (registry stub) rather than failing silently or half-starting a leg.

    5. Parent #5671 decisions — none changed

    No parent decision is changed: the fallback order, broker shapes, trust model, and E2E boundary are #5671's and are adopted as-is; #5792's protocol decisions (framing, 16 KiB cap, two-connection class split, 25 s keepalive, 5-minute resume window) are inputs to this record, not re-opened by it. If implementation appears to require changing any of them, that change is recorded on #5671 / #5792 explicitly, not forked here.

    6. Alternatives rejected

    • A separate fleet-id binary — rejected: the multicall registry is the fleet pattern (one binary, capabilities, exit-69 stubs); a second binary forks distribution, init, and proxy wiring for no functional gain.
    • Broker verbs under fleet serve — rejected: fleet serve hosts fleet's own daemons (queue-broker, secrets-broker, search); the broker is a mode of the id binary (id: design: id broker / serve-proxy role (from #5671) #5792 §1), and burying its operator surface under serve misstates what runs it.
    • Driving the broker through fleet laptop-agent jobs — rejected: jobs are unstructured exec; they carry no leg/status/resume semantics, and every operator would re-invent status from log scraping.
    • A GUI/OpenChamber surface first — rejected for v1: every other fleet role is operated CLI-first through the same proxy pattern; a GUI may wrap fleet id status output later without changing this surface.

    Verification performed for this record (2026-11-08): the #5792 decision record (comment 6719076837, §§1–5 and its §6 invariants) read in full this shift; the current fleet CLI surface read via fleet --help (fleet 0.1.0 domain registry, built-ins, exit-69 stub rule) this shift; gate state matches the packet (issue #5792 decision recorded 2026-11-08 by task 12789).

  15. dezren39
    closed this as completedon Nov 8, 2026
  16. developing-today
    added
    status:done
    on Nov 8, 2026
  17. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  18. dezren39
    added a parent issue on Nov 17, 2026
    • id: design: ID transport fallback for UDP-denied networks v1 #5671
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)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

    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.