GeezerVison is showing github.com — fleet-ca: broker TLS — fleet brokers on the program CA (long-term design line) · Issue #13685 · developing-today/code
fleet-ca: broker TLS — fleet brokers on the program CA (long-term design line) #13685Backlog 3 / 73 of 7 issues completedBacklog 3 / 73 of 7 issues completed DescriptionProgram epic: #9155 (Fleet CA, credentials & secrets). Filed 2026-11-23 under Drew's ruling — see the rulings comment on #9155.
The gap
The CA-RECON sweep of the fleet CA design (2026-11-23, recorded on #13658 and #9155) found no broker-TLS provision anywhere in the governing spec: the fleet brokers (secrets broker, queue broker, laptop-agent) appear in the design only as existing token-auth domains. Nothing in the design puts the fleet's own control plane on the program CA — no broker server certificates, no client certificates, no mTLS between fleet components.
Drew's ruling (2026-11-23)
Broker TLS joins the design as a long-term plan line. It is not a Phase 1 blocker and does not gate the fleet cert build-out, custody, or publication phases.
Scope (design line — activates in the program's later order)
- Broker TLS identity: server (and where appropriate client) certificates for the secrets broker, queue broker, and laptop-agent, issued from the fleet CA (issuer set choice and profile recorded as an ADR when this activates).
- mTLS posture between fleet components: where token auth remains, where certificates replace or augment it, and the migration path that never locks out the control plane mid-transition.
- Trust distribution for broker clients rides the program's trust-bundle machinery (fleet-ca: issuer & leaf lifecycle, AIA/CDP/CRL/OCSP & publication #9164 publication; spec §27.3 trust-bundle controller), not a side channel.
- Interim state is explicit: today's token auth stands unchanged until this line activates; nothing here authorizes changing live broker configuration.
Acceptance seed
Related: #9158 (canonical secrets model & custody), #9164 (issuer lifecycle & publication), #13658 (the IdP CA — the classical companion hierarchy whose relying parties are today's SAML/OIDC stacks).
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-23T20:32:06Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Sub-issuesCollapse Sub-issuesSub-issues3 of 73 of 7 Issues completedLoading 7 sub-issues Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 24, 2026 Triage verdict (oc-code-07, 2026-11-24)
Fresh state: open, a long-term design line with no implementation or PR referencing it. It covers putting fleet broker TLS on the program CA.
Verdict: a design item, not a triage fix. It is routed as a design packet to settle the broker TLS trust model before any build. No build packet is routed from triage. Tracked under #14158. dezren39 commented on Nov 24, 2026 Triage verdict — design item, routed (lane oc-code-08, queue task 23193, fresh reads 2026-11-24).
Fresh state: open, no labels/assignees; no design record, no child issues, no PRs. Prior verdict (oc-code-07, 2026-11-24) correctly called it a design item but filed no packet — verified absent by repo-scoped search (only #13685/#9155/#13658) and queue grep (no live packet for 13685).
Verdict: long-term design line per Drew's 2026-11-23 ruling (not Phase 1, gates nothing, token auth stands). Routed as scoped follow-on packet task 23477 (slice-1: the acceptance seed's design record + ADR + granular sub-issues on acceptance; design only, no live-config changes, no rollout). #13685 stays open on that slice. developing-today-fleet commented on Nov 24, 2026 Design record landed — queue task 23477 (lane felix, 2026-11-24)
Design of record: doc/2026-11-24T13-59-26Z_design_broker-tls/ — PR #14398, left unmerged for review. Indexed in doc/README.md (Dated records) in the same PR.
What it settles:
- TLS identity (§4 + ADR-0001, filed alongside the record): broker leaves issue from the fleet CA's Base issuer set (A/B partitions both eligible). Internal Web set rejected (web-service profile); the story: our own OIDC/SAML/SSO identity provider #13658 IdP CA rejected (its relying parties are SAML/OIDC stacks; Drew's ruling keeps it on its own backing-in path). New
fleet-cert profiles broker-server / broker-client derived from server/client: P-256, 90-day validity with automated renewal, mandatory SAN set (internal DNS names + tailnet IP; no wildcards, no public names), CRL-only revocation checking. Keys generated on-host, never moved. ML-DSA leaves deferred until the TLS stack verifies ML-DSA chains — re-check is a BT-1 acceptance item.
- mTLS posture (§5): certificates = component identity, tokens = authorisation; certs augment, never replace token auth. Four phases (token-only → server auth → dual-accept client certs with identity logging → required client certs on TCP legs; UDS unchanged throughout) under never-lockout rules M1–M5: permissive-default additive flags, dual-accept windows measured in releases, permanent UDS break-glass, census order queue → laptop-agent → secrets broker, and the secrets broker's renewal path provably independent of itself.
- Trust distribution (§6): rides fleet-ca: issuer & leaf lifecycle, AIA/CDP/CRL/OCSP & publication #9164 publication (program mirrors, AIA/CDP discipline, explicit chains) and the spec §27.3 trust-bundle controller pattern — versioned bundles, two-phase rollover, bundle-version acknowledgement in broker health surfaces. No side channel.
- Failure/rollback (§8): six-row matrix (expiry, partition compromise, bundle failure, bad flag push, CA unavailability, full retreat to Phase 0), each with detection/response/rollback.
- Review (§7), as the acceptance seed requires: consistent with fleet-ca: canonical secrets model, provider adapters & custody policy #9158 custody (notes: the machine-local leaf-key class must be enumerated in the custody model — carried into BT-1; root/issuer custody and broker-token handling untouched) and with fleet-ca: issuer & leaf lifecycle, AIA/CDP/CRL/OCSP & publication #9164 publication (one dependency named plainly: the §27.3 trust-bundle controller is roadmap, so BT-2 builds the broker-scoped consumption in the same versioned format for the controller to absorb).
Granular implementation issues filed as sub-issues of this issue: BT-1 #14399 (fleet-cert profiles + #9158 class) → BT-2 #14400 (trust-bundle consumption) → BT-3 #14401 (queue broker Phase 1), BT-4 #14402 (laptop-agent Phase 1), BT-5 #14403 (secrets broker Phase 1, M4 test) → BT-6 #14404 (Phase 2 + pairing census) → BT-7 #14405 (Phase 3 + failure-matrix tests + rollback drill). Production rollout is explicitly out of scope in every slice — it follows the program production gate on #9155. The slices are deliberately not enqueued as live tasks yet: they activate in the program's later order, after this design is accepted (reason recorded here per the filing rule).
Fresh-state note: before this pass there was no design record, no child issue, and no competing PR for this line (verified 2026-11-24); the issuance machinery it builds on (fleet-cert, #9157) is already on main. #13685 stays open on design acceptance and the BT slices. developing-today-fleet commented on Nov 26, 2026
Triage recheck (2026-11-26; task 24571): the design is accepted and the implementation sequence is already routed.
- Design PR doc: broker TLS design record (#13685) #14398 merged on Nov 24. BT-1 (broker-tls BT-1: fleet-cert broker-server/broker-client leaf profiles + broker SAN policy #14399), BT-3 (broker-tls BT-3: queue broker Phase 1 — TLS server authentication on the TCP leg #14401; PR queue: broker TLS Phase 1 on the TCP leg (BT-3, #14401) #15152), and BT-4 (broker-tls BT-4: laptop-agent Phase 1 — TLS server auth on its endpoint + bundle validation on broker legs #14402) are closed.
- BT-2 (broker-tls BT-2: trust-bundle consumption for broker clients (versioned, two-phase rollover, ack in health) #14400) remains open for broker-side trust-bundle version tracking and health visibility. PRs cert: trust-bundle export + broker-client trust store (BT-2 slice 1, #14400) #15137 and fix(fleet-queue): send validated trust bundle version #15650 are merged, and live implementation task #24293 is claimed for the remaining broker-health slice.
- BT-5 (broker-tls BT-5: secrets broker Phase 1 — TLS server auth on the off-host leg, self-independent renewal (M4) #14403) is parked until BT-2 closes (task #23905); BT-6 (broker-tls BT-6: Phase 2 across brokers — optional client certs, identity logging, cert-token pairing census #14404) is blocked on BT-5 (task #23904); BT-7 (broker-tls BT-7: Phase 3 across brokers — required client certs on TCP legs, failure-matrix tests, rollback drill #14405) is blocked on BT-6 (task #23903). No duplicate child or implementation packet is needed now.
- The Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) #9155 production gate still applies; no production rollout is authorized by this design line.
Verdict: keep #13685 open until its child implementation sequence completes. The existing BT-2 slice is the active route; this safety-net triage will be parked as a parent monitor and rechecked after child progress. No code changed. developing-today-fleet commented on Nov 27, 2026
Triage recheck (2026-11-27, lane oc-code-05; task 24571): design accepted, implementation sequence still in flight — no duplicate packet.
Fresh reads just now:
- Design PR doc: broker TLS design record (#13685) #14398 MERGED (2026-11-24). BT-1 broker-tls BT-1: fleet-cert broker-server/broker-client leaf profiles + broker SAN policy #14399, BT-3 broker-tls BT-3: queue broker Phase 1 — TLS server authentication on the TCP leg #14401, BT-4 broker-tls BT-4: laptop-agent Phase 1 — TLS server auth on its endpoint + bundle validation on broker legs #14402 CLOSED.
- BT-2 broker-tls BT-2: trust-bundle consumption for broker clients (versioned, two-phase rollover, ack in health) #14400 OPEN: slices 1–3 merged (cert: trust-bundle export + broker-client trust store (BT-2 slice 1, #14400) #15137, fix(fleet-queue): send validated trust bundle version #15650, Report trust bundle versions in queue broker health #15870; slice-3 task 24293 completed 2026-11-27T03:12Z). Remaining: secrets-broker handshake-version + health leg — draft PR feat(fleet): opt-in secrets TLS and authenticated trust-version health #16121 (open, updated 2026-11-27T11:34Z, unmerged).
- BT-5 broker-tls BT-5: secrets broker Phase 1 — TLS server auth on the off-host leg, self-independent renewal (M4) #14403 OPEN (triage task 23905 done 2026-11-27); BT-6 broker-tls BT-6: Phase 2 across brokers — optional client certs, identity logging, cert-token pairing census #14404 blocked on BT-5 (task 23904); BT-7 broker-tls BT-7: Phase 3 across brokers — required client certs on TCP legs, failure-matrix tests, rollback drill #14405 blocked on BT-6 (task 23903).
- Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) #9155 production gate still applies; no production rollout authorized.
Verdict: keep #13685 open as parent tracker until the BT-2/BT-5 remaining legs and the BT-6/BT-7 chain complete. No code changed by this triage. developing-today-fleet commented on Nov 27, 2026
Triage recheck (2026-11-27, lane any-o; task 24571): design accepted, implementation sequence still in flight — no duplicate packet.
Fresh reads just now:
- Design PR doc: broker TLS design record (#13685) #14398 MERGED (2026-11-24). BT-1 broker-tls BT-1: fleet-cert broker-server/broker-client leaf profiles + broker SAN policy #14399, BT-3 broker-tls BT-3: queue broker Phase 1 — TLS server authentication on the TCP leg #14401, BT-4 broker-tls BT-4: laptop-agent Phase 1 — TLS server auth on its endpoint + bundle validation on broker legs #14402 CLOSED.
- BT-2 broker-tls BT-2: trust-bundle consumption for broker clients (versioned, two-phase rollover, ack in health) #14400 OPEN: slices 1-3 merged (cert: trust-bundle export + broker-client trust store (BT-2 slice 1, #14400) #15137, fix(fleet-queue): send validated trust bundle version #15650, Report trust bundle versions in queue broker health #15870; slice-3 task 24293 completed 2026-11-27T03:12Z). Remaining: secrets-broker handshake-version + health leg — draft PR feat(fleet): opt-in secrets TLS and authenticated trust-version health #16121 (open, updated 2026-11-27T11:34Z, unmerged).
- BT-5 broker-tls BT-5: secrets broker Phase 1 — TLS server auth on the off-host leg, self-independent renewal (M4) #14403 OPEN (triage task 23905 completed 2026-11-27T13:03Z with follow-up build slice parked on broker-tls BT-2: trust-bundle consumption for broker clients (versioned, two-phase rollover, ack in health) #14400; latest note 2026-11-27T13:30Z confirms still blocked on BT-2). BT-6 broker-tls BT-6: Phase 2 across brokers — optional client certs, identity logging, cert-token pairing census #14404 blocked on BT-5 (task 23904); BT-7 broker-tls BT-7: Phase 3 across brokers — required client certs on TCP legs, failure-matrix tests, rollback drill #14405 blocked on BT-6 (task 23903).
- Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) #9155 production gate still applies; no production rollout authorized.
Verdict: keep #13685 open as parent tracker until the BT-2/BT-5 remaining legs and the BT-6/BT-7 chain complete. No code changed by this triage. developing-today-fleet commented on Nov 27, 2026
Triage recheck (2026-11-27 ~14:20Z, lane oc-code-04; task 24571): design accepted, implementation sequence still in flight — no duplicate packet.
Fresh reads this run (gh API):
- Design PR doc: broker TLS design record (#13685) #14398 MERGED (2026-11-24). BT-1 broker-tls BT-1: fleet-cert broker-server/broker-client leaf profiles + broker SAN policy #14399, BT-3 broker-tls BT-3: queue broker Phase 1 — TLS server authentication on the TCP leg #14401, BT-4 broker-tls BT-4: laptop-agent Phase 1 — TLS server auth on its endpoint + bundle validation on broker legs #14402 CLOSED (unchanged).
- BT-2 broker-tls BT-2: trust-bundle consumption for broker clients (versioned, two-phase rollover, ack in health) #14400 OPEN. Remaining leg (secrets-broker handshake-version + health): draft PR feat(fleet): opt-in secrets TLS and authenticated trust-version health #16121 still OPEN/draft, updated 14:07Z today — active but unmerged.
- BT-5 broker-tls BT-5: secrets broker Phase 1 — TLS server auth on the off-host leg, self-independent renewal (M4) #14403, BT-6 broker-tls BT-6: Phase 2 across brokers — optional client certs, identity logging, cert-token pairing census #14404, BT-7 broker-tls BT-7: Phase 3 across brokers — required client certs on TCP legs, failure-matrix tests, rollback drill #14405 all still OPEN (downstream chain unchanged).
- Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) #9155 production gate still applies; no production rollout authorized.
Verdict: keep #13685 open as parent tracker until BT-2 closes and the BT-5→BT-6→BT-7 chain completes. No code changed by this triage; no duplicate child or implementation packet filed. developing-today-fleet commented on Nov 27, 2026
Triage recheck (2026-11-27 ~16:15Z, lane oc-code-02; task 24571): design accepted, implementation sequence still in flight — no duplicate packet.
Fresh reads this run (gh API):
- Design PR doc: broker TLS design record (#13685) #14398 MERGED (2026-11-24). BT-1 broker-tls BT-1: fleet-cert broker-server/broker-client leaf profiles + broker SAN policy #14399, BT-3 broker-tls BT-3: queue broker Phase 1 — TLS server authentication on the TCP leg #14401, BT-4 broker-tls BT-4: laptop-agent Phase 1 — TLS server auth on its endpoint + bundle validation on broker legs #14402 CLOSED (unchanged).
- BT-2 broker-tls BT-2: trust-bundle consumption for broker clients (versioned, two-phase rollover, ack in health) #14400 OPEN (updated 15:41Z). Remaining leg (secrets-broker handshake-version + health): draft PR feat(fleet): opt-in secrets TLS and authenticated trust-version health #16121 still OPEN/draft, updated 14:07Z — active but unmerged.
- BT-5 broker-tls BT-5: secrets broker Phase 1 — TLS server auth on the off-host leg, self-independent renewal (M4) #14403, BT-6 broker-tls BT-6: Phase 2 across brokers — optional client certs, identity logging, cert-token pairing census #14404, BT-7 broker-tls BT-7: Phase 3 across brokers — required client certs on TCP legs, failure-matrix tests, rollback drill #14405 all still OPEN (downstream chain unchanged).
- Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) #9155 production gate still applies; no production rollout authorized.
Verdict: keep #13685 open as parent tracker until BT-2 closes and the BT-5→BT-6→BT-7 chain completes. No code changed by this triage; no duplicate child or implementation packet filed.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|