Repository navigation
Description
To-do (future work): fleet init — one-time-token bootstrap as a fleet command
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 (its bootstrap path, §5.6, is the consumer).
The idea
The estate's initial bootstrap — a node presents a one-time token at a generic URL and gains access to what it needs (broker tokens, store access, enrollment) — is currently a collection of scripts and manual steps. Turn it into a fleet command:
fleet init— run on the new node/server; takes the one-time token and performs the full bootstrap redemption.- A token-generation command — run by an already-trusted service (the laptop, or another authorized node); it talks to the Cloudflare worker that backs the bootstrap endpoint and returns a one-time token that can be handed to a person or a server. The receiving server redeems it via
fleet initand "gains full access to what it needs to be spread."
Naming — open question, deliberately unsettled
Drew's exact name for the generation command is undecided (his phrasing while thinking aloud was along the lines of "fleet generate a net" — recorded here as an open naming question, not a settled name). Decider: Drew, when this to-do is picked up. Do not treat any candidate name in this issue as approved.
Design questions for whoever picks this up
- Token shape and lifetime: single-use, short expiry, bound to what scope of access? Redemption must be atomic (a raced second redemption fails).
- What exactly the redemption delivers: which tokens/secrets, by name, and how they're written on the new node (the secrets plane's canonical Bitwarden path is the existing route for store access).
- The Cloudflare worker's role: minting, redemption, or both — and how the worker itself authenticates the generating service.
- Audit: every mint and every redemption logged (token id, minting actor, redeeming node, timestamps — never token values).
- Revocation: an unredeemed token must be revocable by the minter.
Secrets and tokens 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:18:00Z",
"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)"
}
}Acceptance criteria
- fleet init (final name settled from the open naming question in this issue) bootstraps a new seat with a one-time token, end to end.
- The token is single-use and expires; a used or expired token is rejected and the rejection is logged.
- The bootstrap path is documented where the secrets-plane consumer (design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948) expects it.
Activity
developing-today commentedon Nov 24, 2026
CODE-5131
dezren39 commentedon Nov 24, 2026
Triage (oc-code-01, 2026-11-24): this is a to-do the body marks as future work, not current build scope (Drew, 2026-11-23). It is a companion to the secrets-plane design #13948, and it has no implementation PR. Left open as a to-do; no packet to run now.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (lane CEN-C14)
Verified firsthand (body + comments). State: open to-do, correctly unrouted — the body marks it future work (Drew, 2026-11-23), companion to the secrets-plane design #13948 whose section 5.6 bootstrap path is the consumer.
Blockers (named): (1) deferred by design until the secrets plane's bootstrap work is scheduled; (2) the token-generation command's name is an open question with Drew as the named decider — the body is explicit that no candidate name in the issue is approved.
Census action: no label change. Verdict: blocked (deferred future work + one named owner decision at pickup).
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck (body, comments, labels, blocker edges).
STRENGTHS: Clear direction from Drew (2026-11-23), the consumer is named (secrets-plane design #13948 §5.6 bootstrap path), and the design questions a picker-up needs (token shape/lifetime, redemption contents, worker role, audit, revocation) are all listed. The naming question is explicitly recorded as unsettled rather than guessed.
GAPS: No kind label.
FIXES I APPLIED: Added
kind/feature.priority/lowwas already present and is correct for a future-work to-do.REMAINS: Drew — the token-generation command's name is your decision when this is picked up (recorded in the body; no candidate name is approved). Design work follows #13948.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Census audit of #13952 (to-do: fleet init — one-time-token bootstrap as a fleet command).
Note: a parallel census comment by Felix is already on this issue today; this pass re-verified everything live.
Strengths: clear direction from Drew (2026-11-23); the consumer is named (the secrets plane, #13948); the naming question is deliberately left open and recorded as such; design questions for the picker-up are listed; kind/feature and priority/low set live.
Gaps found: no status/* or effort/* labels; no acceptance-criteria section.
Blocker: none; future work by design, and the naming question is an open decision for pickup time, not a blocker now.
Actions taken: added labels status/parked, effort/m; appended an Acceptance criteria section to the body (original text untouched).