Skip to content

fleet-ca: broker TLS — fleet brokers on the program CA (long-term design line) #13685

Backlog
4 of 7 issues completed

Description

@dezren39

Program 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-issues

Sub-issues

4 of 7 Issues completed
Loading 7 sub-issues

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    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.

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    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.

  4. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    Contributor

    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.

  5. added a commit that references this issue on Nov 24, 2026
  6. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    Triage recheck (2026-11-26; task 24571): the design is accepted and the implementation sequence is already routed.

    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.

  7. added
    queue/parked
    on Nov 26, 2026
  8. 5 remaining items

  9. added
    priority/normal
    epic/fleet-ca-secrets
    on Nov 29, 2026
  10. added
    kind/design
    on Nov 29, 2026
  11. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): recheck of this issue (body, all comments, labels, blocker edges).

    STRENGTHS: The gap is evidenced (the CA-RECON sweep found no broker-TLS provision anywhere in the governing spec), Drew's ruling is recorded verbatim with its scope limit (long-term plan line; not a Phase 1 blocker; gates nothing), and the interim state is explicit — today's token auth stands unchanged and nothing here authorises touching live broker configuration.

    GAPS: No kind label.

    FIXES I APPLIED: Added kind/design. State per repeated triage rechecks (2026-11-27 ×3, 2026-11-28): the design is accepted and the implementation sequence is in flight under this issue's children; the park (queue/parked) is correct for a long-term line and no duplicate packet should be spawned.

    REMAINS: Nothing for Drew — granular implementation issues file under this issue as the sequence proceeds; production rollout of broker TLS follows the #9155 production gate when its turn comes.

  12. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    Census note — CEN-C13, 2026-11-29

    Full body + comments re-read firsthand for the 2026-11-29 census. (Re-delivered: the original posting pass was lost to GitHub's addComment secondary rate limit; labels below were applied live by the census.)

    Verdict: ready — parent tracker; design accepted, the BT chain is sequenced and in flight.

    Blocker: none external; the BT-5→BT-6→BT-7 chain sits behind BT-2 (#14400), whose last leg is draft PR #16121. Production rollout remains behind the #9155 production gate by design.

    Gaps: no priority label, no epic label.
    Strengths: the design record answers the acceptance seed completely (issuer-set ADR with the rejected alternatives reasoned, never-lockout migration rules M1–M5, a named dependency on the roadmap trust-bundle controller handled by building broker-scoped consumption in the same format); children BT-1…BT-7 were filed in dependency order at design time, not improvised later.

    Labels (applied by the census): added priority/normal, epic/fleet-ca-secrets.

  13. added
    priority/low
    effort/l
    on Nov 29, 2026
  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Census audit of #13685 (fleet-ca: broker TLS, long-term design line).

    Strengths: the gap is evidenced (CA-RECON sweep on #9155 and #13658); Drew's ruling is recorded (long-term line, not a Phase 1 blocker, does not gate the fleet cert build-out); scope and an acceptance seed are present; verified park notes (2026-11-27 and 2026-11-28) confirm the design line is in flight under its children with no duplicate packet.

    Gaps found: no kind/, priority/ or effort/* labels; acceptance material is a seed rather than a full checklist — appropriate while the line is parked, but it should be promoted when the line activates.

    Blocker recorded: activation waits on the #9155 program's later order — already stated in the body; the queue/parked state stands.

    Actions taken: added labels kind/enhancement, priority/low, effort/l. No body edit.

  15. removed
    priority/normal
    on Nov 29, 2026
  16. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Priority validation 2026-11-29 (Felix): priority/normal + priority/low → priority/low — Drew's ruling on this line is explicit: a long-term plan line, not a Phase 1 blocker, gating nothing; the BT children carry their own bands and keep moving independently of the parent's.

  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Triage recheck — lane oc-code-07, 2026-11-29

    #13685 remains a valid long-term design line; no parent-level implementation packet is appropriate. Design PR #14398 and BT-2's initial PR #16121 are merged, but BT-2 issue #14400 remains OPEN with its remaining trust-store/presentation work in PR #16924, which is OPEN and actively worked (latest update 18:47Z; checks currently show skipping). BT-5 #14403, BT-6 #14404 and BT-7 #14405 remain OPEN/blocked. The parent remains correctly parked; production rollout is still behind #9155's gate. No duplicate child work or packet created.

    Disposition: keep #13685 open and recheck after #14400 closes, then validate the remaining BT-5/6/7 chain. The latest child state changed since the previous parent note: #16121 merged and the remainder is now #16924.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lepic/fleet-ca-secretskind/designkind/enhancementpriority/lowqueue/parkedstatus/in-review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions