Skip to content

to-do: fleet init — one-time-token bootstrap as a fleet command #13952

Backlog

Description

@dezren39

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 init and "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

Activity

  1. developing-today commented on Nov 24, 2026

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

    @dezren39
    MemberAuthor

    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.

  3. added
    priority/low
    kind/feature
    on Nov 29, 2026
  4. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    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).

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

    @developing-today-fleet
    Contributor

    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/low was 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.

  6. added
    effort/l
    status/parked
    effort/m
    on Nov 29, 2026
  7. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    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).

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/leffort/mkind/featurepriority/lowstatus/parked

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions