GeezerVison is showing github.com — fleet-command: dispatched jobs cannot call laptop tiers (no enrolled-seat credential provisioning) · Issue #15651 · developing-today/code
fleet-command: dispatched jobs cannot call laptop tiers (no enrolled-seat credential provisioning) #15651DescriptionProblem
A fleet queue dispatch … --dispatch job (the fleet-command.yml surface) cannot call any laptop route form, so work specified as "measure via one dispatched job" (e.g. #15423, B5 of #10356) cannot be executed as written.
Measured evidence, dispatched run https://github.com/developing-today-forks/fleet/actions/runs/45855714319 (2026-11-26T16:10Z, fleet static build fleet-static-74eee89, sha256 verified, binary named fleet):
- T1
fleet commander health: secret "desktop-commander.machine-bearer" unresolved — the tier resolves its bearer by name through the secrets broker / session broker socket, neither of which exists in the runner.
- 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, absent in the runner.
- 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, absent in the runner.
All 5 warm exec calls and the 10-call batch failed identically per tier (0/5, 0/10). The laptop itself was reachable at the time from an enrolled seat (fleet shell targets: laptop reachable:true; laptop-ssh alive on amd), so this is a runner-provisioning gap, not a laptop outage.
Needed
A dispatched-job route to the laptop tiers with credentials provisioned by name inside the job — never as dispatch-command arguments (dispatch commands are visible in run metadata/logs):
- a fleet-command surface whose runner carries an enrolled seat config, or
- an in-job provisioning step that fetches the named secrets (
desktop-commander.machine-bearer, the laptop-agent token, the proxy CONNECT env) from the secrets broker before the command runs.
Unblocks
#15423 (B5): re-run the dispatched measurement (T1 latency; T1/T2/T3 batch of 10 sequential short calls), then fill the §1 table of doc/2026-11-25T01-24-42Z_design_10356_connect_methods_sessions_drop/ with the measured values and the run URL.
Refs #15423, #10356.
Acceptance criteria
Activitydeveloping-today-fleet commented on Nov 26, 2026 Intake review
Related: #15423 (B5 measurement this unblocks), #10356 (connect-methods design).
Notes: Well-evidenced filing — all three laptop tiers fail in a dispatched runner for three distinct provisioning reasons (secrets-broker name unresolved, laptop-agent token file absent, session-proxy env absent), while the laptop itself was verified reachable from an enrolled seat at the same time. This is a runner-provisioning gap, not a laptop outage.
Risks: Any fix that passes credential material through dispatch arguments would leak it into run metadata/logs — the issue's constraint (provision by name, inside the job) is the load-bearing requirement.
Suggested approach: Prefer an in-job provisioning step that fetches the named secrets from the secrets broker before the command runs; that keeps one mechanism for all three tiers instead of enrolling a full seat config into the runner image.
— fleet monitor (repo-fleet-monitor run 2026-11-26 10:14 CST) developing-today-fleet commented on Nov 26, 2026
Triage verdict: valid infrastructure gap; no bounded implementation fix in developing-today/code. The dispatched runner lacks by-name secret-broker/session-broker context; the three tier failures persisted despite the laptop being reachable. This is not a laptop outage.
I routed the first independently verifiable slice to the owning workflow implementation repo: dezren39/fleet#128 covers T1 commander credentials provisioned inside the existing job, with public-log and dispatch-input leak constraints. Its implementation task is queued as 24438 in repo-health-code-pilot, explicitly targeting dezren39/fleet.
T2 token-file and T3 proxy provisioning, plus the #15423 B5 batch measurement, remain separate follow-ups. fleet actions exec in #13774 is a different runner-session feature and does not satisfy this dispatched-job acceptance. developing-today commented on Nov 27, 2026 Triage (lane any-n, task 24438, 2026-11-27): **valid T1 feature slice; blocked only on a hands-only credential enrollment step.** Checked /home/user/git/fleet-src/.github/actions/fleet-command/action.yml and workflow: no commander bearer provisioning exists. The acceptance proof requires the existing desktop-commander.machine-bearer inside the dispatched job, while keeping the value out of inputs, args, metadata, and logs. No code-only implementation can satisfy the required live proof without that named secret being provisioned to the repo Actions context. Hands action: add the existing T1 commander bearer to dezren39/fleet GitHub Actions secrets under the agreed secret name. Queue task 24438 is blocked on this interactive-login step; once available, re-dispatch and proceed. No bearer value requested or recorded. developing-today-fleet commented on Nov 27, 2026
Lane 2107-M (work-loop charlie ADVANCE, fallback rank 6) premise-check: premise CONFIRMED and already routed — no new fleet-workable code slice remains in developing-today/code.
Evidence read this lane: issue body + all 3 comments. Triage comment 7204782759 routed T1-only slice to dezren39/fleet#128 (queued task 24438); comment 7207946998 (task 24438, 2026-11-27) found fleet#128 blocked: checked fleet-command action/workflow, no commander bearer secret exists in that repo Actions context, and no code-only implementation can pass the live-proof acceptance without it. fleet#128 verified OPEN with no comments this lane.
Exact remaining step (hands-only credential enrollment, NOT code): add the existing desktop-commander.machine-bearer secret value — by name only, value never in dispatch args/metadata/logs — to dezren39/fleet GitHub Actions secrets under the agreed secret name, via an interactive/enrolled-seat session. This lane (sandbox, gh CLI only, no clones, queue broker down) cannot enroll a secret value.
Wake condition: once that named secret exists in dezren39/fleet Actions secrets, re-dispatch task 24438 / fleet#128 implementation (in-job provisioning + regression check + T1 health proof run, log audit), link run evidence here; T2 token-file, T3 proxy, and #15423 B5 measurement remain follow-ups after T1 lands. developing-today-fleet commented on Nov 27, 2026 Slice landed as PR #16161 (branch oc-code-05/15651-dispatch-secret-guard): the dispatch boundary now refuses a --command embedding a locally-resolvable laptop-tier credential value (desktop-commander.machine-bearer, fleet.laptop-agent-token), dying by secret name before the POST — the no-leak half of acceptance criterion 1, enforced in code with 5 tests (479/479 lib green, red-control verified). Provisioning half unchanged: still routed to dezren39/fleet#128, still blocked on the hands-only bearer enrollment (no such secret in that repo's Actions secrets today). Wake condition for criterion 1 stands. Next slice in this repo after #128 unblocks: re-run the #15423 B5 dispatched measurement and fill the design-record §1 table — or file T2-proxy as its own follow-up if it outlives T1. developing-today-fleet commented on Nov 28, 2026
Lane code-h status: C1a verified on origin/main; C1b + C2 still blocked outside this repo; T2/T3 follow-up filed as #16368
Criterion states re-checked against origin/main @ 42f0f6c291 (no trust in old checkboxes):
- C1 no-leak half — CHECKED.
pkgs/fleet/crates/fleet-queue/src/placement/adapters.rs:149-152 (DISPATCH_SECRET_NAMES = desktop-commander.machine-bearer, fleet.laptop-agent-token), :180-198 (reject_secrets_in_command dies by secret name before the POST), single production call site at :351-363 in GithubActionsAdapter::dispatch_workflow — which also covers BlacksmithAdapter::dispatch (delegates to dispatch_workflow, :741-748). CodespaceAdapter sends the command over the user's own codespace SSH tunnel, not GitHub run metadata — no leak vector, correctly unguarded. Tests at placement.rs:3994-4065 (5 tests). Merged as fleet-queue: refuse dispatches carrying laptop-tier credential values #16161 (ab83bdba300).
- C1 provisioning half (end-to-end laptop-tier call) — UNCHECKED, blocked. Implementation lives in fleet-command: provision T1 commander credentials inside dispatched jobs dezren39/fleet#128 (still OPEN, 0 comments; hands-only bearer enrollment still pending). Verified against code: this repo contains no fleet-command runner/workflow file (only dispatch-input crafting in
placement/adapters.rs:208-330), so no slice here can provision inside the job. Dependency claim holds.
- C2 (B5 re-run + §1 table, or follow-ups filed) — UNCHECKED, waiting on C1-provision. fleet: measure T1 latency and T1/T2/T3 batch behaviour (B5 of #10356) #15423 (B5) still OPEN. Partial escape-clause progress: T2 token-file + T3 proxy-env gaps had no tracking issue anywhere, so filed fleet-command: T2 token-file + T3 proxy-env provisioning follow-ups for #15651 #16368 with measured evidence and per-tier acceptance, refs fleet-command: dispatched jobs cannot call laptop tiers (no enrolled-seat credential provisioning) #15651/fleet: measure T1 latency and T1/T2/T3 batch behaviour (B5 of #10356) #15423/Design + build: fleet connect — explicit transport selection, sessions, and drop semantics #10356/fleet#128.
Verification limits (stated plainly): guard confirmed by code read + default-feature cargo test -p fleet-queue --lib compiles green (187 tests); the client-feature run that includes the 5 guard tests does not build in this seat (no system OpenSSL for openssl-sys; needs a laptop lane or nightly). Merge of #16161 went through repo CI.
Wake condition: once dezren39/fleet#128 lands (bearer provisioned in-job + public log audit linked), the next slice in this repo is re-running the #15423 B5 dispatched measurement and filling the #10356 design-record §1 table — or closing C2 via the #16368 follow-ups if T2/T3 outlive T1. developing-today-fleet commented on Nov 28, 2026 agent-note · lane 1837-I · #16368 slice landed
For the T2/T3 follow-up #16368: PR #16377 #16377 MERGED 2026-11-28T01:22:21Z (merge 78b8b3e) extends this issue's #16161 dispatch leak boundary to the T3 proxy credential (a dispatch command embedding the seat's HTTPS_PROXY password is now refused by env-var name before the POST; credential-free in-job proxy env stays dispatchable). Verified green in repo CI on the branch: https://github.com/developing-today/code/actions/runs/46091956402.
Still open on #16368: the dispatched-job end-to-end T2/T3 calls with in-job provision-by-name — that run evidence is what this issue's criteria ask to link here when it lands. Key: 1837-I developing-today-fleet commented on Nov 28, 2026
Lane oc-code-02 status: no further code slice in this repo; C1-provision + C2 still blocked outside it
Shortlist task re-checked firsthand against origin/main @ 69993dc1fe0 (no trust in old checkboxes):
- C1 no-leak half — HOLDS.
placement/adapters.rs still carries DISPATCH_SECRET_NAMES (T1 bearer + T2 token), reject_secrets_in_command, T3_PROXY_ENV_NAME + reject_proxy_credential_in_command, both enforced in GithubActionsAdapter::dispatch_workflow before the POST. All GitHub-POST dispatch paths funnel through it (Blacksmith delegates; Codespace goes over the user's own SSH, no metadata; fleet actions exec sends handle/broker-url/repo/ref only, no command input — verified at fleet/src/actions.rs dispatch body). No new laptop-tier credential names introduced since fleet-queue: refuse dispatches carrying laptop-tier credential values #16161/fleet-queue: refuse dispatch commands embedding the T3 proxy credential (#16368) #16377 (only desktop-commander.machine-bearer, fleet.laptop-agent-token, HTTPS_PROXY in tree). Guard tests present at placement.rs:3994-4108.
- C1 provisioning half — still blocked outside this repo. fleet-command: provision T1 commander credentials inside dispatched jobs dezren39/fleet#128 OPEN, 0 comments; hands-only bearer enrollment still pending. This repo contains no fleet-command runner/workflow file, so no slice here can provision inside the job.
- C2 (B5 re-run + Design + build: fleet connect — explicit transport selection, sessions, and drop semantics #10356 §1 table) — still blocked on C1-provision. fleet: measure T1 latency and T1/T2/T3 batch behaviour (B5 of #10356) #15423 B5 tasks parked with ready condition fleet-command: dispatched jobs cannot call laptop tiers (no enrolled-seat credential provisioning) #15651 closed; no estimates substituted, known-failing runner path not repeated.
No PR from this lane: nothing code-workable remains here that makes a criterion pass or moves a measured number. Wake condition stands: #128 lands (in-job bearer + public log audit) → next slice here is the #15423 B5 dispatched re-run + §1 table. developing-today-fleet commented on Nov 28, 2026
Shortlist re-verify — lane oc-code-04 (no slice taken, no PR). Fresh checks: dezren39/fleet#128 still OPEN, 0 comments (hands-only bearer enrollment pending); C1 no-leak guard still in origin/main (adapters.rs carries DISPATCH_SECRET_NAMES + reject + T3 proxy env guard); parent #12460 context unchanged. C1-provision and C2 (B5 re-run + #10356 §1 table) remain blocked outside this repo. Standing down; wake when #128 lands.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|