GeezerVison is showing github.com — Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) · Issue #9155 · developing-today/code
Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) #9155In review 0 / 110 of 11 issues completedIn review 0 / 110 of 11 issues completed Labels app/fleetpkgs/fleet multicall binary + platform cratesepicMeta-issue grouping multiple items (org Project Type=Epic)epic/fleet-ca-secretsFleet CA, credentials & secrets program (v0.3 design mill, 2026-11-12)epic/fleet-toolEpic: fleet-tool - all issues of this effort carry itkind/designA design proposal (design-architect): multi-step, phased, decision-bearingstatus:to-do DescriptionFleet CA, credentials & secrets — v0.3 design mill (Summit build-out)
Program epic. Design-mill run ordered by Drew 2026-11-12 19:28 CST: run the Fleet v0.3 credentials/secrets/CA package through the design mill — preserve every requirement, break it into reviewed component designs, and turn each design into linked, testable implementation issues. A completed design is NOT a completed implementation epic; implementation children stay open until their own acceptance gates pass.
Intrinsic urgency: 450 (High) — ahead of normal actionable work (PM charter bands). Dispatch directive: direct Summit session, launched and verified by the orchestrator (this issue's comments carry the launch receipt).
Authoritative sources (read as ONE intake; precedence: Drew's current instructions → dated addendum refinements → v0.3 spec baseline → decision review proposals → historical inputs)
- Muse handoff — Fleet CA, Credentials & Secrets (Google Doc, modified 2026-11-12): https://docs.google.com/document/d/1yeSWQvMIer92zQ4lj99TsTH2oXZem0WfH-WMYKYJpJ0
- Fleet v0.3 complete package (
fleet_architecture_v0_3_complete.zip, SHA-256 d853a2bacf391856a863c292b21f5a224352a6681dd81fe55c422040b1fb5644, internal SHA256SUMS all verified at intake): the governing 50-section spec (§§0–49 + Appendix A), SECRETS_BACKEND_RESEARCH_2026-11-06.md, DECISION_REVIEW_AND_NEXT_STEPS.md, fleet_agent_handoff_prompt_v0_3.md, source_input_3_architectural_perspective.txt. Drive: https://drive.google.com/file/d/1cdmoblf8yQM2NuXsR2i90N45dABU1EPo/view
- Secrets addendum (architecture/performance/infrastructure follow-up, refines the package): https://docs.google.com/document/d/1QkQMPYGEHbjdyMBdrcSdo4i2GKxlJYK2S3PDrvCRfVw/edit
- Summit coordinator handoff (execution contract for this run): https://docs.google.com/document/d/1AKDACXObRcUwmJIeCfLaGv6bxcWC00e3rYjOztk4qiY/edit
- Companion PM charter (shared queue/dispatch conventions ONLY — the CA epic stays separate from PM implementation): https://docs.google.com/document/d/1_DQwNbuRmJnITDKKJJ7A3Q0FJa-q2rkzWlz-4PyA_iw/edit
All sources are merged into the repo design directory (see the docs PR linked in comments) and staged on the laptop at ~/.local/share/fleet/intake/fleet-ca-v03-20261112/ (zip hash re-verified after transfer). Repo pinned at intake: 6a7843cae59878e10071f27440b93489053dbc68 (2026-11-12).
Binding constraints (Drew)
- ML-DSA-44 is the baseline signature scheme for the CA design.
- The Merkle-tree experiment (Cloudflare MTC) is OPTIONAL — a separate, non-blocking controlled-stack research track; never a v1 dependency. (Handoff doc carries the full MTC analysis: inclusion proofs vs whole certs, landmark/cosigner provisioning, PQ-only separation, byte/CPU/latency comparison against the shortest conventional ML-DSA chain.)
Scope (from the handoff doc — the CA/credentials workstream, NOT the PM-stack redesign)
Unified secret records + BWS/op/bw adapters (three DIFFERENT provider products — never conflated); daily three-way reconciliation with recoverable zz.delete history and false-delete prevention; audit/event journal + provider performance benchmarks; fnox library evaluation (near-term priority); SOPS/age/NixOS integration; password, SSH and iroh generation; reusable Rust APIs + the existing Fleet multicall CLI (no competing tool); PKI root/issuer/leaf lifecycle, publication, packaging, client trust and verification; nonblocking OpenBao/federation/infrastructure research.
Reference PKI (spec controls): four independent roots (Ed25519, P-256, RSA, ML-DSA-44), nine asymmetric root cross-certificates (ML-DSA root never signs classical roots by default), Base + Internal Web issuer sets with independent A/B partitions and eligible direct issuer cross-signatures — 20 CA key pairs / 65 CA certificate variants before leaves. Reference expiries: roots 2050-07-07T12:00:00Z, both issuer sets 2032-07-07T12:00:00Z (distinct from the normal 20y/5y/90d defaults). RSA-2048 is a policy-gated compatibility option, not the default long-lived root. Root signing always requires an explicitly authorized signer source — never silently discover/exercise root keys.
Root custody (addendum refinement): initial roots escrowed to exactly three approved destinations — encrypted laptop storage, the authorized BWS project, the authorized 1Password vault — with integrity checks and tested restoration; NOT auto-extended to every future provider. R2 is a researched additional destination, not automatic authorization. Offline/hardware root signing is the future path; three OpenBao containers on one host are a lab, not three failure domains.
V1 — what exists today (intake census; the Summit verifies and deepens)
fleet multicall (laptop build, source rev 743966553e) domains: queue, serve, proxy, dispatch, secrets, gh, search, laptop-agent. No cert/pki or generate domain exists yet.
fleet secrets get|list: broker-first resolution with BWS fallback; name-only references; values never printed. The secrets broker is in production (see fleet(secrets-broker): serves stale secret value long after BWS rotation — read-through cache never invalidates #6767 for a known broker staleness defect). No put, no reconciliation, no 1Password adapter in the CLI yet.
pkgs/fleet/crates/: fleet, fleet-config, fleet-dispatch, fleet-proxy, fleet-proxy-proto, fleet-queue, fleet-registry, fleet-search, fleet-secrets.
- No prior Fleet v0.3 / PKI / ML-DSA / fnox / zz.delete program issues exist (searched at intake) — this epic and its domain starters are the canonical home. The earlier submission was cancelled per the handoff; nothing was launched from it.
Safety gates (hard)
Design and synthetic proof only in this program phase. No production CA generation or signing, no root escrow/export, no live vault writes or reconciliation, no credential rotation, no DNS/trust changes, no live service deployment is authorized by this handoff. Synthetic fixtures must never be confused with production credentials. Design, synthetic proof, code implementation, and production rollout are separately statused.
Build-out (Summit owns; design-mill pattern)
Statement inventory (every requirement in the spec + addendum + handoffs, numbered, zero unmapped) → state-of-the-art expansion per component → versioned designs (V1 = exists today; V2+ layer) → ADRs/threat model → granular implementation/test/research issues with measurable acceptance, source IDs, boundaries, tests, rollback → batched questions recorded on THIS issue with chosen defaults (never stall). Domain starter issues are native sub-issues of this epic; the Summit files the granular children under them.
Supervision
Orchestrator check-ins on the bound Summit session (status, questions, artifacts vs the statement inventory); stall = one nudge, then replacement, recorded here. Durable monitor: the fleet's session-minder coverage plus the supervision record in this issue's comments.
P-384 ADR — merge remainder (lane oc-code-03, 2026-11-23)
Refs #13778 — the P-384 root-identity dated design-record PR is open (branch certprog/p384-adr, head da81369; two files: the new record folder plus one doc/README.md index line). The evidence record on #9163 (comment 7114665610) states READY TO MERGE. The lane does not merge; Archer merges via the GitHub API from that record. Bridging by cross-signing stays behind the production gate.
{"pm_meta": 1, "kind": "program-epic", "design_mill": {"run": "2026-11-12", "starter": true}, "urgency": 450, "route": "opencode-route/summit", "constraints": {"baseline_signature": "ML-DSA-44", "merkle_tree_experiment": "optional-nonblocking"}}
Refs #9160 — this domain starter is one of the Summit-owned design-mill tracks. Refs #9245 — this open draft PR carries the remaining design-mill work and is not yet landed. Sub-issuesCollapse Sub-issuesSub-issues0 of 110 of 11 Issues completedLoading 11 sub-issues Activityadded epicMeta-issue grouping multiple items (org Project Type=Epic) kind/designA design proposal (design-architect): multi-step, phased, decision-bearing app/fleetpkgs/fleet multicall binary + platform crates on Nov 13, 2026developing-today commented on Nov 13, 2026 dezren39 commented on Nov 18, 2026
Agent note: task 17413, ADD-A-023 ruling applied; parked at the expert-ruling boundary
This epic should stay open. Replying to the program-tending closure proposal above: the design is not finished and nothing has been published. What remains is listed under "Still blocking" below.
Owner. Same single Summit writer, ses_e5e1d09d167ffeS8xtQLnExKKn, re-dispatched by the conductor (worker repo-worker-conductor, lane code-conductor). No second session or worktree.
Applied. The scoped source-mapping review of 2026-11-16T07:04:51Z (issuecomment-6909803610):
- ADD-A-023 now has FUT-10 (fleet-ca: federation & infrastructure research — OpenBao, SecureStore, Cloudflare, Kubernetes (nonblocking) #9166) as primary owner and OPS-10 (fleet-ca: operations, documentation, automation & test evidence #9165) as supporting policy only, disposition
research.
- It is recorded as proposed, pending expert review, in its own file
evidence/coverage-rulings-source-mapping-review.json, not in the expert-reviewed ruling files.
- Locator: no change needed. The statement is line 53 of the immutable snapshot (file SHA-256
a84b7885…, equal to the inventory row). Line 54 is only its position in the reformatted sources/ view, which the builder never reads.
- The FUT-10 acceptance refinement is carried as one planned oracle plus three enrichment clauses. FUT-10's authored body is untouched.
- I checked the Cloudflare claim against the live page (dated 2026-11-10):
GetBucketVersioning and PutBucketVersioning are listed as unimplemented, and conditional PutObject is documented as atomic.
Correction to my 2026-11-16 note: that approval request is withdrawn. The two digests I proposed then (b16122435a1f… for the matrix, 10b158831ff8… for the preview) described stale files. The committed matrix had been generated by an older builder than the one committed beside it, and the preview held 154 proposals where the tool emits 157 (it lacked ARCH-11, ARCH-12 and TRACE-03). Please do not approve either digest. No approval is requested now; there is no enriched manifest yet.
Commits (pushed to draft PR #9245, head 51460d5c345ac74ef481707b1d0654b06ad1f2db):
54aa1f8a07: regenerates the stale outputs from the committed tools. Mechanical; no input changes.
51460d5c34: the ruling, a continuation record, and one new test. The matrix diff here is exactly one row.
The committed outputs now reproduce byte-for-byte from the committed inputs and tools.
Tests (offline, fixtures only). Traceability 36/36 (one added: the first end-to-end test of the ruling path), normalizer 11/11, mocked publisher 48/48.
Still blocking the enriched manifest. The normalizer fails closed (exit 2), now at ADD-A-025; it stopped at ADD-A-023 before. Eight rows block it:
| Rows |
What is needed |
ADD-A-025, ADD-A-027 (SecureStore evaluation, mapped to OPS-04) |
Expert owner ruling. Candidate, not applied: PERF-05 (#9160). |
SPEC-0010-split-04 (ROOT-02), SPEC-0122-member-003 (ROOT-03) |
Expert oracle ruling. The first has a generic oracle; the second pairs the rsa-4096 member with a validity-time decider. |
COORD-ADMIN-0002, SPEC-C-0106, SPEC-PKI-012, SPEC-PKI-073 |
A decision on context rows that name a proposal. Recommended: clear the proposal target, since each row's own reason says that proposal does not own it. Not applied. |
Separately, final coverage is far off: 704 source outcomes are unresolved-cross-domain and 120 partial; 608 member outcomes are unresolved and 696 partial. Clearing the eight rows would let the normalizer emit a manifest, but it would omit those outcomes and would not be the exact final manifest.
One caveat for the reviewer. The builder labels every applied ruling "expert" in its summary and rendered blocks. For ADD-A-023 that label is not yet true; the row's reason text says "PROPOSED OWNER, PENDING EXPERT REVIEW". It needs confirming or replacing before any final manifest is cut.
Readback. #9155 OPEN. #9245 OPEN, draft, unmerged, head matches local. Nothing published; no issue, queue task, account, credential or key touched. Full detail and digests: evidence/continuation-2026-11-18.md.
Release path. Record rulings for the eight rows on this issue (or confirm the recommended defaults), then re-dispatch task 17413. dezren39 commented on Nov 23, 2026
Agent note: task 17413 reconciled and re-parked (lane oc-code-08, 2026-11-23)
Reconciliation only — no code or docs changed. Claimed as worker repo-worker-code, lane oc-code-08 (pool summit stamp; this lane is workhorse, not the Summit owner).
Verified: prior Summit writer ses_e5e1d09d167ffeS8xtQLnExKKn still parked at the 2026-11-18 expert-ruling boundary, no comments on this issue since that park note — no duplicate writer was or is active. Worktree 15345-fleet-ca-buildout clean at 51460d5c345, matches origin/design/fleet-ca-v03-buildout and draft PR #9245 (OPEN, unmerged, no reviews). #9155 OPEN, no hold labels.
Still blocking (unchanged): the same 8 normalizer rows await expert rulings (ADD-A-025, ADD-A-027, SPEC-0010-split-04, SPEC-0122-member-003, COORD-ADMIN-0002, SPEC-C-0106, SPEC-PKI-012, SPEC-PKI-073); 704 unresolved + 120 partial source outcomes beyond them.
Disposition: task 17413 parked 7 days (until 2026-11-30) with checkpoint reconciled. Release path unchanged: record rulings for the eight rows here (or confirm the recommended defaults), then re-dispatch to the Summit owner. dezren39 commented on Nov 23, 2026 Reciprocal note: a live IdP CA now exists and will be backed into this design — 2026-11-23
Recorded for this program's tracking (full recon record is on #13658, the IdP story):
- Under story: our own OIDC/SAML/SSO identity provider #13658 (story: our own OIDC/SAML/SSO identity provider) and Drew's direct order, a minimal production IdP CA was generated on the laptop on 2026-11-23, outside this program's design-only phase gates and under that story's own authority: root
CN=Developing Today IdP Root CA (EC P-384, 2026-11-23 → 2046-11-18, SHA-256 45:49:3A:F7:04:28:59:A6:E2:ED:73:7D:2C:7D:99:A7:BE:29:A3:0A:D6:BC:4F:E9:32:77:98:2B:9D:90:D1:3D) and one issuing CA beneath it (EC P-384, → 2036-11-20, SHA-256 B6:9F:25:C5:DE:AE:18:2B:A6:28:33:56:EC:99:54:DA:7C:56:BC:AC:B0:A6:AD:0F:86:6A:79:05:47:07:6A:42). Tooling: pkgs/idp-pki (idp-ca), landed by PR #13662. Keys are escrowed in the authorized BWS project + encrypted laptop storage — two of this design's three approved custody destinations (spec addendum; fleet-ca: PKI root bundle, cross-signing graph & root-key custody #9163).
- Drew's ruling (2026-11-23): we keep that CA and grow from it; later it will be backed into this program's full certificate design — via the design's own mechanisms (existing-CA adoption, spec §24.1(7); cross-signing graph, §§3.2/24.2), not by regeneration. Known divergences the reconciliation ADR must carry: P-384 is not one of the four reference root identities; the hierarchy is classical-only vs the ML-DSA-44 baseline; issuing validity 10y vs the 5y issuer default; no AIA/CDP publication or trust bundles yet; standalone tooling vs the
fleet cert canonical interface.
- Drew's direction, in his terms: the IdP CA work and this full design eventually tie into the fleet binary. The spec already assigns exactly that (
fleet cert … in the fleet multicall, §§6/24/25/43; trust-bundle distribution §27.3), so this note records his expectation as program direction, aligned with the existing design — no change to the design is implied by this note.
- This program's own roots remain ungenerated and its safety gates unchanged; the IdP CA's existence is flagged here so the design pass reconciles one live hierarchy instead of discovering it later.
dezren39 commented on Nov 23, 2026 Program execution ordered — Drew's rulings recorded (2026-11-23)
Drew has ordered this program executed end to end (2026-11-23 14:27 CST). The following rulings are his, recorded verbatim in substance, and govern the program from here:
- The IdP P-384 root is supported indefinitely. Cross-signing proceeds. P-256 was chosen for minor performance reasons, but P-384 is fine. Accepting the IdP root as a fifth root identity or bridging it by cross-signing — either way is acceptable to Drew; the choice is made in the design pass and recorded as an ADR. (This settles the P-384 divergence named in the CA-RECON record on story: our own OIDC/SAML/SSO identity provider #13658.)
- Five-year issuers are fine. The design's 5-year issuer default stands (the IdP hierarchy's 10-year issuing CA is the recorded exception, not the template).
- Broker TLS joins the design as a long-term plan line. The recon found no broker-TLS provision in the spec; a dedicated issue is filed under this program to carry it. Long-term — it does not block the early phases.
- Build order: start with the
fleet cert subcommand build-out, then work through the entire set end to end.
Program coordination: CERT-PROGRAM coordinator (Archer-dispatched, 2026-11-23). Execution order, the PR #9245 disposition, and the production-gate map are posted in the companion comment that follows. The program's hard safety gate stands as Drew bounded it: design + synthetic proof proceeds everywhere; the single stop point is generation, escrow, or signing with the program's OWN production design roots — that slice stops, posts its gate state here, and is reported before anything executes. The already-live IdP CA's adoption, escrow completion, and restoration test are NOT behind that gate (it exists under Drew's direct order on #13658). dezren39 commented on Nov 23, 2026 Execution order + PR #9245 disposition + gate map (CERT-PROGRAM coordinator, 2026-11-23)
Intake complete: this epic and all eleven starters read in full; the governing spec read at §§3, 5.4, 6, 13, 24, 25, 27, 43–44; the CA-RECON records on #13658 (c.7112612951) and this issue (c.7112615008) read; draft PR #9245 inspected. The order below follows the spec's own phase logic (§13, phases A–J) re-sequenced by Drew's build order (rulings comment c.7113177173): the fleet cert build-out first, then the entire set end to end.
PR #9245 disposition
Not landed as-is; the program's dependency on its merge is superseded (full reasoning posted on the PR itself). It is a self-described unfinished draft (final semantic audit pending; its owning Summit run is parked at an expert-ruling boundary; a digest approval was withdrawn as stale by its own author). It stays open as the design-completion track and lands on its own evidence. Its remaining work transfers into Phase 4 below as traceability work under #9156, and the coordinator confirms the Summit's recorded recommended defaults for the 8 outstanding ruling rows as working rulings (reversible by the design track) — the release path the Summit's park note itself proposed. The #9163/#9157 dependency blocks on this PR are lifted: implementation proceeds from the governing spec in the merged intake record on main.
Execution order
- Phase 1 —
fleet cert build-out (under fleet-ca: Rust crate, API & CLI architecture — registry, profiles, typed capabilities #9157; spec phases B–D). New cert domain in the fleet multicall (alias pki), library-first per §6.4: foundations (algorithm registry incl. ML-DSA-44, §5.4 time grammar, generation/partition naming, bundle manifest schema), then the core verbs of the §6.1 tree — root / issuer / leaf / chain / bundle first, explain/doctor alongside. pkgs/idp-pki's idp-ca profiles are the behavioural reference. Synthetic hierarchies only; the cross-signing graph is data/policy, never a hardcoded loop. Granular children filed under fleet-ca: Rust crate, API & CLI architecture — registry, profiles, typed capabilities #9157 for every verb group not in the first slice.
- Phase 2 — Custody + roots design-work and the IdP adoption (under fleet-ca: canonical secrets model, provider adapters & custody policy #9158/fleet-ca: PKI root bundle, cross-signing graph & root-key custody #9163; spec §24.1(7), §24.3). Register the existing IdP root + issuing CA in the design's inventory via the import/adopt path — keys never move. Complete the IdP CA's third escrow destination (1Password vault) and run its tested restoration. The P-384 ADR lands here: accept-as-fifth-root-identity vs bridge-by-cross-signing, decided and recorded (Drew accepts either; the classical-companion role the IdP CA already serves is evidence in the pass). Program-side root graph/custody design is completed as testable matrices per fleet-ca: PKI root bundle, cross-signing graph & root-key custody #9163's acceptance seed.
- Phase 3 — Issuer lifecycle + publication (under fleet-ca: issuer & leaf lifecycle, AIA/CDP/CRL/OCSP & publication #9164; spec phase F). CRL verbs and signed-CRL production in
fleet cert; AIA/CDP publication machinery (three-mirror profile, immutable paths, manifests, dry-run publisher, rollback); trust-store bundles roots-all / roots-classical / roots-pq / cross-certs per §3.5; OCSP only behind a functional responder. Culminates in the §13 Phase H reference run performed entirely through fleet cert — a synthetic four-root hierarchy with A/B issuer sets and leaves, validated independently (OpenSSL + Rust validators), as the program's end-to-end synthetic proof.
- Phase 4 — The remaining set, end to end. fleet-ca: repository census & v0.3 requirements traceability #9156 traceability (incl. the design(fleet-ca): v0.3 design-mill build-out, traceability and granular backlog #9245 completion work and the statement-inventory audit), fleet-ca: reconciliation engine — three-way merge, zz.delete history, event journal & recovery #9159 reconciliation engine, fleet-ca: provider benchmarks & fnox / SOPS-age integration #9160 provider benchmarks + fnox/SOPS-age, fleet-ca: cryptographic generators & format adapters — passwords, tokens, SSH, iroh #9162 generators (passwords/tokens/SSH/iroh), fleet-ca: operations, documentation, automation & test evidence #9165 ops/docs/evidence, fleet-ca: federation & infrastructure research — OpenBao, SecureStore, Cloudflare, Kubernetes (nonblocking) #9166 federation research (nonblocking), fleet-ca: Merkle Tree Certificates experiment (OPTIONAL, nonblocking research) #9167 MTC experiment (optional, nonblocking) — plus the IdP backing-in steps that remain from story: our own OIDC/SAML/SSO identity provider #13658: cross-signing readiness, an ML-DSA issuer partition for the IdP purpose set when relying-party stacks support it, publication preparation for the IdP chain, and tooling convergence (
idp-ca retires into fleet cert).
- Broker TLS (fleet-ca: broker TLS — fleet brokers on the program CA (long-term design line) #13685, filed today under this program per Drew's ruling 3): designed when its turn comes in this order — a later-phase design line, not a Phase 1 blocker.
Gate map — the one gate
Behind the production gate (STOP, post gate state here, report before executing):
- Generating the program's own production design roots (the reference set as production, incl. the 2050-07-07 reference expiry set as a production artifact).
- Escrowing production design-root keys to the three custody destinations.
- Any signing with production design-root keys — which includes the IdP cross-signing step, since it needs design roots to exist.
- Production rollout actions: live DNS/publication changes for the pki.* mirrors, trust-store insertion on real clients, broker TLS rollout — spec phase J territory.
Explicitly NOT behind the gate (proceeds on Drew's order):
- All design work and all code, in every phase.
- Synthetic/test hierarchies without limit, including the Phase H reference run as a test hierarchy.
- The IdP CA adoption/registration, its 1Password escrow completion, and its tested restoration (that CA is live under story: our own OIDC/SAML/SSO identity provider #13658's own authority).
- Publication preparation (manifests, dry runs, mirror staging short of live DNS/trust changes).
Phase-boundary reports land as comments on this issue: what landed (PR links), what was verified and how, what is next. dezren39 commented on Nov 23, 2026 Follow-up rulings + execution-order amendments (Drew, 2026-11-23 14:30 CST)
Recorded alongside the earlier rulings (c.7113177173); the execution order (c.7113208709) is amended as noted.
- The production gate is confirmed as Drew's intent — and simplified. The program's production design roots will NOT be made for some time — not until everything is done. The gate simply stands until Drew lifts it; no pause-and-report is needed at that point anymore. The gate map's stop/report procedure is replaced by this standing rule: production-root generation, escrow, and signing (and the steps that depend on design roots existing, incl. IdP cross-signing) are simply out of scope until the gate is lifted.
- Test material is unlimited. Generate as many test hierarchies and test certificates as the work wants — including exercising the escrow integrations end to end: storing test material into 1Password and Bitwarden Secrets to prove those paths is fully authorized synthetic scope. (Synthetic only — this changes nothing about real key material, which is never test material.)
- fleet secrets ties into the cert system — program requirement, owned by fleet-ca: canonical secrets model, provider adapters & custody policy #9158. The fleet secrets system and the cert system are integrated: custody via the secrets broker, cert/key material served through it, by the canonical model's classes (spec §34.2:
ca-root, ca-issuer, leaf-key, public-artifact). Placement in the execution order: the requirement is carried in Phase 2 (custody, fleet-ca: canonical secrets model, provider adapters & custody policy #9158/fleet-ca: PKI root bundle, cross-signing graph & root-key custody #9163) and implemented across Phase 1's fleet cert crate and Phase 4's secrets phases (fleet-ca: reconciliation engine — three-way merge, zz.delete history, event journal & recovery #9159/fleet-ca: provider benchmarks & fnox / SOPS-age integration #9160) — the cert tooling resolves and deposits material through fleet-secrets interfaces rather than growing a parallel store.
- Interim primary CA — new workstream. Until the design roots exist, the IdP hierarchy built 2026-11-23 under story: our own OIDC/SAML/SSO identity provider #13658 (root + issuing intermediate,
pkgs/idp-pki) is the primary CA for all other work: its issuing intermediate generates certificates for agents and other authentication needs. The workstream adds: leaf-issuance practice and profiles for agents and services off the issuing CA (the client/server profiles exist — extend as needed), distribution of the IdP root as the interim trust anchor where agents/services need it, and this role recorded on both story: our own OIDC/SAML/SSO identity provider #13658 and here. This raises the priority of the IdP CA's custody completion (1Password escrow + tested restoration) inside Phase 2.
dezren39 commented on Nov 23, 2026 Phase 1 boundary report — fleet cert foundation landed (CERT-PROGRAM, 2026-11-23)
Landed: PR #13720 merged to main as f259a8f4ff5f5c15bf46990523f1195d07f7147f (verified by the coordinator against the GitHub API). New fleet-cert crate in pkgs/fleet, registered as the cert domain (alias pki) in the fleet multicall, library-first per spec §6.4. Claim and completion are recorded on #9157 (c.7113245795, c.7114058039).
Verb surface as landed: root create|inspect|list|validate · issuer create|inspect|list · leaf issue|inspect|list · chain build|test · bundle inspect · profile list|show · algorithms list|describe · explain · doctor, with the foundations underneath: algorithm registry, §5.4 time grammar (Gregorian arithmetic; 20y/5y/90d defaults; explicit RFC 3339 expiries), §24.4 generation/partition naming, §7.1 bundle manifests with SHA-256 index verified on load. The cross-signing graph is data (GraphPolicy edge tables), not a hardcoded loop — default root set inventories at 13 certs / 4 keys (§3.2), an A+B issuer set at 26 certs / 8 keys (§24.2). §24.3 is enforced in the API: signing requires an explicitly passed signer source; no ambient key discovery. Leaf profiles mirror idp-ca's (server, client, saml-signing, oidc-signing).
ML-DSA-44: SUPPORTED — no gap issue needed. Real FIPS 204 via rcgen 0.14 + aws-lc-rs with RFC 9881 identifiers (roots, cross-certs, issuers, leaves), independently verified by OpenSSL 3.5. One upstream limitation found and worked around in-crate: rcgen 0.14 cannot reload PQ keys (its PKCS#8 loaders have no PQ branch), so the crate carries an MlDsa44Signer over aws-lc-rs implementing rcgen's public signer traits; recorded in the crate README and the key-ceremony child (#13726).
Verification: cargo test -p fleet-cert — 19 unit + 7 integration, all passing, with named oracles (the §§3.2/24.2 inventory arithmetic, the crate validator, system OpenSSL as independent validator incl. cross-signed and ML-DSA paths, the §24.1 legacy gate and §24.3 signer-source policy, §5.4 validity clamping, §7.1 tamper rejection, and the PQ-policy negative test: a classical leaf is rejected under PQ-only trust while the all-ML-DSA path validates). cargo test -p fleet -p fleet-registry green. Main-branch CI: the repo's fleet-rust-tests workflow has no push trigger (nightly + dispatch), so it was dispatched on main — run 45266145784 completed success with the hierarchy tests in the log. One real bug was found by the tests and fixed in-slice: chain building could route through a root cross-certificate and put two CAs below a pathlen:1 anchor; chain building is now iterative-deepening with path-length pruning.
Backlog made explicit — twelve child issues under #9157 for the verb groups the foundation does not finish: #13721 revocation/CRL, #13722 OCSP, #13723 publication, #13724 DNS/CAA/DANE, #13725 trust bundles, #13726 key ceremony, #13727 format conversion, #13728 profile scaffolding, #13729 algorithm benchmarks/doctor depth, #13730 batch operations, #13731 cross-bundle inventory, #13732 renew/rotate/replace. Of these, #13721/#13723/#13725 (and OCSP #13722 behind a functional responder) are Phase 3 scope in the execution order; the rest are Phase 1 remainder / Phase 4 depth.
Gate state: untouched — synthetic material only, generated in temp dirs and never committed; no contact with the live IdP hierarchy; no vault writes.
Next: Phase 2, slice 1 — the IdP CA adoption package under #9158/#9163: register the IdP hierarchy in the program inventory (import/adopt record, §24.1(7)), complete its third escrow destination (1Password) with a tested restoration, and land the P-384 ADR. Priority per Drew's interim-primary ruling (c.7113495110): other work now depends on this hierarchy. dezren39 commented on Nov 23, 2026 Phase 2, slice 1 boundary report — IdP adoption package: custody complete; ADR routed (CERT-PROGRAM, 2026-11-23)
Lane CERT-P2 (claim on #9163, c.7114103570). Three of four deliverables complete; the fourth is routed, not dropped.
1. 1Password escrow — COMPLETE. The authorized vault was identified from fleet practice on the laptop (names only): the service account behind fleet secrets sees two vaults; Dev already holds the fleet's items mirroring BWS names, while the other holds a single auth-token item and no fleet material — Dev is unambiguously the fleet vault, and write access was proven with a synthetic probe item (created, read back, deleted) before any real payload moved. The encrypted root key, encrypted issuing key, and the passphrase now sit in Dev as three Document items mirroring the BWS names (idp.root-ca.key, idp.issuing-ca.key, idp.ca-passphrase — the passphrase included because a destination that cannot restore alone fails the design's tested-restoration requirement). SHA-256 equality was proven on the laptop before upload vs after read-back for all three payloads. No key or passphrase value appeared in any output, file, log, or comment.
2. Tested restoration from 1Password alone — COMPLETE. Into a fresh temp dir on the laptop: fetched hashes matched the originals; both keys decrypted with the restored passphrase; the decrypted public keys match the published certificates; the certificate fingerprints match the published values (root 45:49:3A:F7…:D1:3D, issuing B6:9F:25:C5…:6A:42); one throwaway leaf signed with the restored issuing key verified full-chain under openssl; the temp dir was shredded file-by-file, removed, and verified gone. The IdP CA's custody is now 3/3 approved destinations with restoration tested — the state #9163's custody line requires.
3. Adoption record — COMPLETE. On #9163 (c.7114322761): the §24.1(7) import/adopt registration — subjects, fingerprints, validity, P-384, tooling (pkgs/idp-pki); keys never moved (laptop originals remain the working copies; BWS + 1Password hold escrow copies); the interim-primary role per Drew's ruling (c.7113495110); the custody/restoration evidence; and the P-384 decision summary.
4. P-384 ADR document — STOPPED on a platform execution-risk flag; routed. A platform check fired on repo content retrieved during the lane and instructed no git/file operations inside that content; the lane stopped correctly rather than working around it. Nothing was written: a clean worktree waits on the laptop (~/wt-certp2-p384, branch certprog/p384-adr, at main). The ADR's decision is fully made and already recorded in summary in the adoption comment (adopt the P-384 root as a fifth root identity + bridge by cross-signing behind the production gate). The document itself — a dated design-record folder + doc/README.md index line, landed by PR — is being routed to a laptop-local session under the standing flag route (queue packet; the session composes the record from the decision already recorded on #9163, opens the PR without merging, and posts its evidence on #9163; the merge is finished from that record). The ADR's routing is noted here so the item is visibly in flight, not silently pending.
Gate state: untouched — no production roots, no production signing; the only signing performed was the restoration test's throwaway leaf, destroyed with its temp dir. dezren39 commented on Nov 23, 2026 Lane oc-code-03 — P-384 ADR routing update (task 21521). Refs #13778 — the dated design-record PR is open (branch certprog/p384-adr at da81369, files: the new record folder plus one doc/README.md index line), evidence record posted on 9163 as c.7114665610 with READY TO MERGE stated. Lane does not merge; Archer merges via the GitHub API from that record. Bridging by cross-signing remains behind the production gate. dezren39 commented on Nov 24, 2026 AUDIT-7 Lane 5 (DESIGN-REVIEW, #13876) — verdict on the design of record (doc/2026-11-13T01-34-11Z_design_fleet_ca_credentials_secrets): sound.
- Structure is the design-mill shape done right: programme epic here, 12 domain starters (fleet-ca: repository census & v0.3 requirements traceability #9156–fleet-ca: Merkle Tree Certificates experiment (OPTIONAL, nonblocking research) #9167) as native sub-issues, safety gates stated up front (design + synthetic proof only; no production CA generation/signing, escrow/export, live vault writes, rotation, or deployment authorized by the handoff).
- Dependency posture: the transport design (design: fleet transport & pooling — host selection without Tailscale, iroh for non-Muse agents, generic pool primitive #13752) correctly treats this programme's CA as the one host-identity binding every transport credential — the downstream dependency is named on the consuming side, which is where it is usually missing.
- Observation: at 50 comments this issue is carrying a lot of programme state; the Lane 5 ledger could not verify from the record alone which of fleet-ca: repository census & v0.3 requirements traceability #9156–fleet-ca: Merkle Tree Certificates experiment (OPTIONAL, nonblocking research) #9167 are heads vs blocked. A single ordered starter list (heads first) pinned on this issue would close that.
MetadataMetadataapp/fleetpkgs/fleet multicall binary + platform cratesepicMeta-issue grouping multiple items (org Project Type=Epic)epic/fleet-ca-secretsFleet CA, credentials & secrets program (v0.3 design mill, 2026-11-12)epic/fleet-toolEpic: fleet-tool - all issues of this effort carry itkind/designA design proposal (design-architect): multi-step, phased, decision-bearingstatus:to-do DevelopmentNo branches or pull requestsIssue actions
|