GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fleet-command: T2 token-file + T3 proxy-env provisioning follow-ups for #15651 · Issue #16368 · developing-today/code

fleet-command: T2 token-file + T3 proxy-env provisioning follow-ups for #15651 #16368

New issue
Copy link
New issue
Copy link
Backlog
Backlog
fleet-command: T2 token-file + T3 proxy-env provisioning follow-ups for #15651#16368
Copy link
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/mMedium: expected under 1 day of workepic/fleet-maintenancePer-project maintenance for fleetkind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedprimary-parent/fleet-maintenancePrimary parent epic fleet-maintenance (design §3)priority/highImportant and time-sensitivestatus/needs-triageNot yet triaged; needs a first look

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 28, 2026
Issue body actions

Problem

#15651's dispatched run (https://github.com/developing-today-forks/fleet/actions/runs/45855714319, 2026-11-26) failed all three laptop tiers for three distinct provisioning reasons. T1 (commander bearer) was routed to dezren39/fleet#128 — still OPEN, blocked on the hands-only bearer enrollment — and the no-leak half of criterion 1 landed in this repo as #16161. The other two tiers have no tracking issue anywhere:

  • T2 fleet http health: token file …/tools/laptop-agent-token unreadable: entity not found — the tier reads a token file from the enrolled seat's home (fleet-laptop-agent/src/lib.rs:52-53, default tools/laptop-agent-token per fleet-config/src/lib.rs:438), absent in the runner. 0/5 warm calls, 0/10 batch.
  • T3 fleet ssh health: HTTPS_PROXY is not set (the proxy CONNECT helper reads it) — the tier needs the session-proxy environment of an enrolled seat (fleet-proxy/src/tunnel.rs:181-201, credential from runtime env, never argv per fleet-proxy/src/stdio.rs:6-9), absent in the runner. 0/5 warm calls, 0/10 batch.

Needed

In-job provisioning, by name inside the job, for the T2 token file and the T3 proxy env — same constraint as T1: never as dispatch-command arguments (dispatch commands are visible in run metadata/logs; this repo now refuses such dispatches per #16161, fleet-queue/src/placement/adapters.rs:149-198).

Acceptance criteria

  • A dispatched fleet-command job can call the T2 http tier end-to-end with the token provisioned by name inside the job; no token value in dispatch args, run metadata, or logs (public run-log audit).
  • A dispatched fleet-command job can call the T3 ssh tier end-to-end with the proxy env provisioned inside the job; no proxy-credential value in dispatch args, run metadata, or logs.
  • Link the resulting run evidence from fleet-command: dispatched jobs cannot call laptop tiers (no enrolled-seat credential provisioning) #15651; anything still failing becomes its own follow-up.

Refs #15651, #15423 (B5 batch measurement this unblocks), #10356, dezren39/fleet#128 (T1 sibling).

{
  "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-28T00:25:51Z",
    "session_id": "ses_e5de08c58cbffeymGrVt9YzXSK",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "6fd30c93b62a4b6fba19e6444c7d69f343fb93a1"
    },
    "auth_subject": "oc-code-06",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. developing-today-fleet
    added
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    kind/infrastructureInfrastructure / host-portability work
    app/fleetpkgs/fleet multicall binary + platform crates
    epic/fleet-maintenancePer-project maintenance for fleet
    primary-parent/fleet-maintenancePrimary parent epic fleet-maintenance (design §3)
    on Nov 28, 2026
  2. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    agent-note · lane 1837-I (alpha DRIVE, 2026-11-27 18:37 CST) · CLAIM

    Claiming #16368 for the in-job provision-by-name code slice in the fleet-command dispatch path.

    Premise + ownership check (firsthand, this lane): issue OPEN, 0 comments at claim time (no live claim possible), no held/user/gated labels, explicit Acceptance criteria in body, queue_id null in pm-metadata.

    Scope of this slice (honest scoping per the 1807-I caveat):

    • Code: extend the fleet-queue: refuse dispatches carrying laptop-tier credential values #16161 dispatch refusal in pkgs/fleet/crates/fleet-queue/src/placement/adapters.rs so the T3 proxy credential is covered the same way T1/T2 already are — a dispatch command embedding the seat's resolved HTTPS_PROXY credential (or the full proxy URL) is refused by name before any POST, never echoing the value. Today DISPATCH_SECRET_NAMES covers desktop-commander.machine-bearer (T1) and fleet.laptop-agent-token (T2) only; the T3 credential travels in the HTTPS_PROXY env value and is invisible to the refusal.
    • The in-job provisioning contract this protects is the seat pattern already in scripts/muse/bootstrap.sh: T2 = fetch fleet.laptop-agent-token by name, write ~/tools/laptop-agent-token mode 0600, never print; T3 = join the tailnet with tailscale.auth-key fetched by name, run tailscaled userspace with --outbound-http-proxy-listen=127.0.0.1:3130, export HTTPS_PROXY=http://127.0.0.1:3130 inside the job only.

    E2E gate (recorded, not hidden): a dispatched-job end-to-end T2/T3 call needs an enrolled seat's token file / proxy env inside the runner and the T1 sibling dezren39/fleet#128 is hands-blocked. This lane verifies the code slice in repo CI on the pushed branch; the dispatched-run e2e evidence remains the open gate on this issue / #15651 after the slice lands.

    Key: 1837-I

  3. developing-today-fleet
    added 3 commits that reference this issue on Nov 28, 2026

    fleet-queue: refuse dispatch commands embedding the T3 proxy credenti…

    a2b33e8

    fleet-queue: tests for the T3 proxy-credential dispatch refusal (#16368)

    c631a9f

    Merge pull request #16377 from developing-today/lane-1837i-16368-t3-p…

    78b8b3e
  4. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    agent-note · lane 1837-I · RESOLUTION (code slice landed; claim released; e2e gate remains)

    Landed: PR #16377 #16377 MERGED 2026-11-28T01:22:21Z (merge commit 78b8b3e).

    What landed — the T3 half of the #16161 leak boundary in the fleet-command dispatch path (pkgs/fleet/crates/fleet-queue/src/placement/adapters.rs):

    • The named-secret refusal already covered T1 (desktop-commander.machine-bearer) and T2 (fleet.laptop-agent-token); the T3 proxy credential had no broker name and could be smuggled as an inlined HTTPS_PROXY=http://user:<password>@host dispatch argument. The dispatch path now extracts the seat proxy URL's password (raw + percent-decoded, same length floor as the named secrets) from the ambient HTTPS_PROXY / recorded tailnet proxy env and refuses a command embedding it, naming only HTTPS_PROXY — never the value, never the command.
    • Credential-free proxy URLs (tailscaled's local CONNECT proxy http://127.0.0.1:3130, the shape in-job T3 provisioning exports per scripts/muse/bootstrap.sh) are explicitly not secrets and stay dispatchable.
    • 4 new tests in placement.rs (full-URL form, bare-password form, percent-decoded form, credential-free/unset stay dispatchable, extraction edges).

    Verification (scoped honestly):

    • Repo CI on the pushed branch GREEN: fleet-rust-tests run https://github.com/developing-today/code/actions/runs/46091956402 — completed/success at head c631a9f (workspace --all-targets --locked, includes the new tests).
    • The two fleet-command container dispatches (runs 46090350664, 46090931340) failed pre-compile on the pre-existing container signature openssl-sys 0.9.118 / missing pkg-config (tracked by main CI failure: fleet-smoke (run 45994965442) #16152), independent of this branch — recorded on the PR.

    REMAINING GATE (this issue stays OPEN): the acceptance criteria's end-to-end leg — a dispatched fleet-command job calling T2/T3 with credentials provisioned by name inside the job (T2: fleet.laptop-agent-token by name → ~/tools/laptop-agent-token 0600; T3: tailnet join by tailscale.auth-key → userspace tailscaled → HTTPS_PROXY=http://127.0.0.1:3130) — needs that provisioning inside the runner plus an enrolled seat's env; the T1 sibling dezren39/fleet#128 remains hands-blocked. Wake: runner-side in-job provisioning lands, then run the dispatched T2/T3 health calls and link the run evidence from #15651.

    Claim released. Key: 1837-I

  5. developing-today-fleet
    added
    status/needs-triageNot yet triaged; needs a first look
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 28, 2026
  6. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Intake review

    • Related: Code issue fleet-command: dispatched jobs cannot call laptop tiers (no enrolled-seat credential provisioning) #15651 (parent failure), issue fleet-queue: refuse dispatches carrying laptop-tier credential values #16161 (the no-leak half of criterion 1, landed in this repo), issue fleet: measure T1 latency and T1/T2/T3 batch behaviour (B5 of #10356) #15423 (B5 batch measurement this unblocks), issue Design + build: fleet connect — explicit transport selection, sessions, and drop semantics #10356, and fleet-command: provision T1 commander credentials inside dispatched jobs dezren39/fleet#128 (the T1 commander-bearer sibling, still open and hands-only).
    • Notes: Still live at intake — T2 (laptop-agent token file absent in the dispatched runner) and T3 (HTTPS_PROXY not set for the ssh tier) have no other tracking issue, per the filer. The body already carries an ## Acceptance criteria section plus priority/high, effort/m, kind/infrastructure, app/fleet; the monitor added only status/needs-triage + meta/enriched (labels-only, body untouched).
    • Risks: Provisioning fixes must not leak credential material into the runner image or logs — the T1 no-leak constraint (issue fleet-queue: refuse dispatches carrying laptop-tier credential values #16161) applies in spirit to the T2 token provisioning shape as well.
    • Suggested approach: Provision T2/T3 through the same enrolled-seat credential path T1 uses, with a dispatched-run verification (fleet http health + fleet ssh health warm calls) as the closing evidence.

    🤖 Agent note · state: filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-27 23:14 CST
    • Found via: monitor reconciliation
    • Task: Intake enrichment (protocol §5), labels-only: body already carried acceptance criteria.
    • Expectation: effort/m as labelled.
    • Links: n/a
  7. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Lane 0107-L disposition — charlie ADVANCE 2026-11-28 01:07 CST (fallback rank 9)

    Premise + ownership check firsthand (gh CLI only, no clones): issue OPEN, labels priority/high + effort/m, 3 comments read in full. No live claim on this issue.

    No fleet-workable code slice remains in this repo for #16368:

    • The one code slice that existed — extending the fleet-queue: refuse dispatches carrying laptop-tier credential values #16161 dispatch leak boundary to the T3 proxy credential — already landed: PR fleet-queue: refuse dispatch commands embedding the T3 proxy credential (#16368) #16377 MERGED 2026-11-28T01:22:21Z (merge 78b8b3e), recorded on this issue by lane 1837-I (comment, 2026-11-28T01:23:16Z). The T1/T2 named-secret refusal was already on main via fleet-queue: refuse dispatches carrying laptop-tier credential values #16161.
    • The remaining acceptance — a dispatched fleet-command job calling the T2 http and T3 ssh tiers end-to-end with in-job provision-by-name — cannot be satisfied by code in developing-today/code: the dispatched runner is a GitHub-hosted runner with no enrolled-seat secret-broker context. The provisioning half is routed to fleet-command: provision T1 commander credentials inside dispatched jobs dezren39/fleet#128, still OPEN and blocked on the hands-only bearer-secret enrollment (no such secret exists in that repo's Actions context today). Concurring firsthand re-verifications today on the parent fleet-command: dispatched jobs cannot call laptop tiers (no enrolled-seat credential provisioning) #15651: lane oc-code-02 (2026-11-28T03:13:39Z, "no further code slice in this repo") and lane oc-code-04 (2026-11-28T04:55Z, "verified-no-slice … wake when https://github.com/tobi/omasnap #128 lands").

    Wake: dezren39/fleet#128 lands (bearer secret enrolled by name in the fleet repo Actions context) → dispatch one fleet-command job running fleet http health + fleet ssh health warm calls, audit the public run log for credential material, and link the run from #15651.

    Fallbacks checked by this lane, in brief order: #14400 — slices 1–3 merged (PRs #15137/#15650/#15870); remainder covered by oc-code-05's draft PR #16121, still draft and now DIRTY against main — not claimable. #15000 — queue/queued + status/in-progress; remainder is the R2 credential-scope fix (run 45811916838, HTTP 403 AccessDenied on bundle writes) — external, skipped per brief. #16006 excluded per brief (home-manager/laptop remainder).

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

    app/fleetpkgs/fleet multicall binary + platform crateseffort/mMedium: expected under 1 day of workepic/fleet-maintenancePer-project maintenance for fleetkind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedprimary-parent/fleet-maintenancePrimary parent epic fleet-maintenance (design §3)priority/highImportant and time-sensitivestatus/needs-triageNot yet triaged; needs a first look

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.