GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Fleet path Nix-build state: deployed fleet lags pkgs/fleet HEAD; remaining non-Nix pieces · Issue #5760 · developing-today/code Open Labels epic/fleet-orchestrationReprioritization program epic (2026-11-12)task/triageQueue packet kind: verify, reproduce, and route this itemuser/reviewNeeds a user-look: Muse reviews first and handles what it can DescriptionFleet path Nix-build state: deployed fleet lags
|
| Piece | What/where | Tracker |
|---|---|---|
| laptop-agent daemon | Python, ~/laptop-agent/laptop_agent.py, deployed by copy from hatch-personal; unit runs /usr/bin/env python3 … |
#5343 phase 3 (Rust fleet serve role) |
| Sandbox agent client trio | laptop-agent.py, laptop-agent-broker.py (Python broker — superseded by fleet proxy serve but still the client's auto-start fallback), laptop-proxy-connect.py (ProxyCommand helper still referenced by the atlas-search wrapper) |
#5343 (client domains exist; shim still calls the .py) |
| SSH path | laptop-ssh.sh shim + laptop-ssh-real.sh (bash) |
#5697 (fleet proxy ssh) |
| atlas-search wrapper | /bin/sh wrapper around a Nix-built binary (/nix/store/…-atlas-search-0.1.0 ✓); the wrapper's SSH-forward glue is the non-Nix part |
#5604 (search serve-role rehome) |
| Laptop-side Python broker | ~/hatch/tools/laptop-agent-broker.py still running on the laptop (proto-0 warm broker for local CLI callers) |
#5343 |
| quota-recorder | Python, sandbox (adjacent to the fleet path) | #5703 (broker redesign) |
Deployed fleet copies are manual flips of Nix outputs. Nothing anywhere compares the running binaries' self-reported source rev against pkgs/fleet at main HEAD — the 5-commit lag above was found by hand. Proposal: a cheap rev check in the repo-fleet-monitor's digest (read fleet version on both hosts via the agent, compare to the latest commit touching pkgs/fleet on main, flag drift) so "Nix-built but stale" becomes a visible state instead of a surprise.
Scope of this issue: (1) re-flip the deployed fleet artifacts to current main and note the new rev here; (2) land the drift check; (3) keep the table above current as the tracked pieces retire — the per-piece fixes stay in their own issues.
~/switch-20261104-183723.log) does rebuild and redeploy fleet: its build graph included fleet-0.1.0.drv, built from the switch flake checkout ~/code, which sits at c2bf5fc — the exact main HEAD this issue cites, whose top pkgs/fleet commit is fleet-proxy: validate method/path before they reach the request line (#5750) #5752 itself. (~/git/code is also at c2bf5fc.)id-0.1.0, one failing lib test — code#5736) and nothing was activated; the running generation is still fw6hzmsv…, so the running brokers/clients remain at rev 18f0aa1 without the fleet-proxy: validate method/path before they reach the request line (#5750) #5752 hardening, as this issue states. (The hardened fleet derivation now exists built in the nix store, unactivated; the re-run will reuse it.)Deployed-lag update — laptop surfaces now at main (2026-11-04 switch re-run).
The gated switch re-run landed tonight (SWITCH_EXIT=0, generation 34wx2cav…-nixos-system-amd-26.11.20261102.f9887a8; full record on opencode#1146). Per-surface fleet revs, verified by direct reads after activation:
| Surface | Rev before | Rev now |
|---|---|---|
| queue-broker / secrets-broker (systemd, restarted at activation 21:15:41 CST) | 18f0aa1 | 2c2219b (= origin/main HEAD, includes the #5752 request-line hardening) |
Laptop PATH copy ~/.local/bin/fleet |
18f0aa1 | 2c2219b… (see note) |
| Sandbox fleet binary | 18f0aa1 | 18f0aa1 — unchanged; separate update path, still lagging |
Notes:
yp8z9jf9…-fleet-0.1.0); fleet version on that binary reports Source rev 2c2219b. End-to-end proof: fleet queue health from the sandbox answered through the proxy against the new brokers.~/.local/bin/fleet turned out to be a hand-copied regular file (dated Nov 4 11:45), NOT a symlink — no switch updates it, which is exactly the drift class this issue and design: versioning for a monorepo whose apps deploy individually — derived versions, per-app tags + repo date tag, survey of schemes (WS-H) #5790 target. It was refreshed tonight by copying the new store build over it (verified fleet version → 2c2219b), but the durable fix is a mechanism (link or deploy step), not another manual copy.🤖 Agent note · handed off
🤖 Agent note · handed off
🤖 Agent note · handed off
🤖 Agent note · triaged
bf419306-c4ef-470f-a553-beabf93239demain e7113e8ba8f38dbb2554f935835117dd4955f60a; no matching open PR.The running user services are not aligned to one current artifact:
queue-broker.service is active and its running executable is /home/user/.local/bin/fleet; invoking that running process reports source rev 4113bf092502 (2026-11-07, merge fix(opencode-usage-export): validate --window-hours/--fresh-hours (#4739) #6810).secrets-broker.service is active and its running executable is /nix/store/lin64df2i66w6x1f1iyqvgg0rdxf627p-fleet-0.1.0/bin/fleet; it reports source rev 560febee0db260399619ec75f18193ec2838a5bf (2026-11-05, merge flake: update opencode input to 1add7293 (tracks 2+4: custom tools + native claude-code/commandcode providers) #6341).pkgs/fleet on current main is ab35bef4cae2babea2f9835b66293b33bacbf88d (fix(fleet-secrets): malformed bws secret list returns Unavailable, never NotFound (#6577) #6997, 2026-11-07). The local laptop CLI is the same 4113bf build as queue-broker. Thus the issue remains live and the two active services are at different, older revisions./home/user/tools/fleet is absent on this laptop. The sandbox ~/tools/fleet revision was not queried from this lane, so that surface remains unverified.pm-stack/aggregator/src/checkout-drift.ts checks a Git checkout, not deployed binary revisions; the deploy CLI currently only lists services. doc/fleet-schedule-registry.md identifies repo-fleet-monitor as an enabled Muse cron whose definition lives outside this repository, under the hatch-personal goal workspace. The drift-check change therefore needs that schedule owner; it cannot be completed in this repo checkout.fleet multicall binary — search, queue, dispatch, proxy — with capability-selected builds #5412 are CLOSED; PR doc: design note — one fleet multicall binary (epic #5412 step 0) #5425 is MERGED; design: bake the SSH recovery path into the fleet binary — orchestrate system ssh now, native russh deferred #5697, fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604, and Quota recorder: record on sandbox, ship via fleet proxy, ingest at a laptop broker (retire the recycle-vanishing sandbox units) #5703 remain OPEN. Keep those per-piece efforts separate.Order to resume: (1) an operator should align/restart the laptop queue/secrets services from the current Nix-built fleet artifact; (2) the sandbox provisioning owner should verify and refresh ~/tools/fleet; (3) the Muse repo-fleet-monitor owner should add the source-revision drift check in the external workspace; then update this tracker table. This lane made no deployment, config, or code changes and ran no builds/tests. The issue stays OPEN; user/review is set for the external operator/schedule-owner handoff.
🤖 Agent note · triaged / queue task done
bf419306-c4ef-470f-a553-beabf93239detriaged; issue Fleet path Nix-build state: deployed fleet lags pkgs/fleet HEAD; remaining non-Nix pieces #5760 remains OPEN and user/review is retained for the external operator/schedule-owner handoff.queue/claimed, status/in-progress, and work/assigned labels.Fleet binary deploy record — 2026-11-15 (secrets retry/fallback fix, #10578 / PR #10579):
fleet secrets get globalping.api-token and github-cli.hosts-yml rc 0 in ~0.13s; dead-broker repro now retries ~120s then resolves via the Bitwarden fallback (previously rc 3, both sources failed); a nonexistent name still fast-fails (1.7s, rc 3).Topology change — 2026-11-15 (code#10578 stage 2): the secrets broker is now dual-hosted. A second fleet serve secrets-broker runs on the SANDBOX (the fleet binary at ~/tools/fleet, rev 202e293), bound to 127.0.0.1:4800 + UDS ~/.config/secrets-broker/broker.sock only (SECRETS_BROKER_BIND / SECRETS_BROKER_SOCKET pinned in the spawn env — the compiled default bind is the laptop tailnet IP and is never used there). Sandbox manifest ~/.config/fleet/fleet.toml now carries secrets-broker = {} in [host.roles] plus [secrets-broker] transport = "socket"; spawn-mode fleet init reports the role as not spawn-managed (by design), and the keep-alive is a block in ~/tools/init-ensure.sh mirroring the session-proxy block (socket+pgrep gate, flock, setsid nohup). Its API token is a host-local random token at ~/.config/secrets-broker/token (600); its Bitwarden machine token resolves from the sandbox's existing ~/.config/bitwarden/access-token. Verified live: cache warm at 191 secrets; sandbox fleet secrets get served locally in ~4ms with the session leg disabled; read-through proven (throwaway secret minted, read back via the local broker on a cache miss — broker log line confirms — then deleted); laptop path unchanged. Recycle behaviour: the process dies on sandbox recycle; the next init-ensure run respawns it (proven by kill + stale socket + prelude run); cold cache warm-up on the sandbox took ~90s (bws list from a cold daemon context — slower than the laptop's ~9s; the Stage 1 client retry budget absorbs the gap).
Correction to my previous comment: the staged from-main DYNAMIC build for the eventual laptop flip is at /nix/store/ims4brr9h5pdaz91aqwv1193l8scrm0g-fleet-0.1.0/bin/fleet (rev-verified 202e293) — the worktree result symlink now points at the fleet-static output instead.
🤖 Agent note · triaged / queue task done
user/review.Agent note — state: triaged · task 19885, lane any-g
🤖 Agent note · triage (queue task 24848, lane oc-code-02)
Correction to the note above: by user/review I mean the issue label remains a review annotation, not an ownership/work hold; it does not block this triage or assert that the owner must act.
🤖 Agent note · triaged (coverage reconciliation re-triage)
Fresh check 2026-11-27 of all four linked pieces (confirming the task-24848 note, superseding the older "one remainder left" note):
| piece | state |
|---|---|
| #5343 laptop-agent rehome | CLOSED |
| #5604 search serve role | CLOSED |
| #5703 quota recorder | CLOSED |
| #5697 SSH recovery path | CLOSED |
Outcome: every tracked non-Nix piece is closed. What remains — verifying the sandbox binary refresh and establishing the deployed-binary drift check in the external repo-fleet-monitor digest — is deployment/monitor-schedule work outside this repository queue, so no new repo-health packet is filed and no small fix applies here. #5760 stays OPEN as the coordinating tracker and keeps user/review as a review annotation (not a work hold). No code changed.