Repository navigation
Backlog
Description
To-do (future work): embed 1Password + Bitwarden Secrets access in the fleet binary as a configurable feature
Direction: Drew, 2026-11-23 ~19:12 CST. Filed as a to-do at Drew's request — future work, not part of the current build. Companion to the secrets-plane design #13948.
The idea
Today a fleet node needs external CLIs on PATH for store access (bws for Bitwarden Secrets, op for 1Password) plus the broker machinery around them. Consider fully embedding both stores' access directly into the fleet binary, as a configurable feature (compile-time or runtime-gated, to be decided when picked up): a node downloads the one (already large) static binary and has everything it needs — no CLI installation, no PATH resolution, no version skew between the broker and the store clients it shells out to.
Why it's attractive
- The estate has already been bitten by the external-binary seam: binaries resolved by
-xthat fail on exec (fleet tooling: resolve binaries by test-exec, not -x (broken Nix fleet binary passes -x, fails every exec) #12498),bwsneeding to be on the secrets broker's PATH, per-secret subprocess spawns dominating refresh cost (Secrets broker cold refresh takes ~3-4 min (242 per-secret bws spawns); clients hang instead of falling back while it refreshes #13893). - One artifact to publish, pin, hash-verify, and roll back — the fleet static-binary distribution already works this way.
- The secrets-plane design (design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948) defines broker/store behaviour in fleet terms; embedding removes a translation layer between that design and its store clients.
Open questions for whoever picks this up
- SDK/API shape per store: Bitwarden's access-token API vs 1Password's service-account / Connect APIs — do both have embeddable client libraries compatible with the fleet binary's static-musl distribution?
- Feature gating: compile-time features change the published artifact matrix; runtime config keeps one binary. Which does the estate's bootstrap pinning tolerate better?
- Size and attack surface: two vendor clients inside the one binary every node runs — what's the delta, and does every node class want both stores compiled in?
- Fallback story: embedded client broken vs external CLI broken — which is easier to hot-fix in the field?
Secrets are referenced by name only; no values in this issue.
{
"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-24T01:17:58Z",
"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)"
}
}Metadata
Metadata
Assignees
Labels
No labels
Activity
developing-today commentedon Nov 24, 2026
CODE-5130