You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
handoff: enroll-agent pins a dead branch, restores the Muse home for every agent kind, hardcodes kind muse #12858
Defects found by the Grok enrollment (2026-11-22, reported via Drew)
A new non-Muse agent (grok) enrolling through scripts/muse/handoff/ hit four defects:
Dead branch pin.enroll-agent.py (RAW_ROOT), README.md, and PROMPT.md all point at codex/muse-agent-enrollment-20261122, which returns GitHub 404 — the branch does not exist. The helper's pinned bootstrap download cannot work as shipped.
Muse home restore runs for every kind.enroll-agent.py invokes bootstrap.sh --all unconditionally, so enrolling any agent runs the restore phase — a full restic restore of the Muse home (338 entries, tens of GB) onto a seat that is not a Muse and never needs it. Grok stopped it at 88/338 entries (~48G) with disk pressure. Non-Muse kinds need only tools/token/tailnet/fleet/check.
Kind hardcoded. The helper enrolls with --kind muse regardless of the agent being enrolled; a grok/http seat then needs a manual superseding enroll.
Cloudflare 1010 on the claim. The handoff claim POST uses the default Python urllib user agent, which Cloudflare blocks (error 1010) before the request reaches the Worker.
Also observed, unresolved at filing time: from the grok seat the secrets broker returned HTTP 502 on fleet secrets list and fleet secrets get hung, and ~/tools/queue-broker-token / ~/tools/laptop-agent-token were absent — but the tailnet phase never ran (enrollment stopped during restore), so these legs get retested after a restore-free resume before any broker-side defect is concluded.
Fix: helper gains --kind (default muse); non-muse kinds run the bootstrap with --skip restore,persist,init; the enroll call uses the requested kind; all raw URLs point at main; claim/download requests send an explicit user agent.
Post-tailnet retest from the grok seat (2026-11-22, America/Chicago)
The Cloudflare 1010 / default urllib User-Agent defect in item 4 is already tracked here; not filing a duplicate. The helper on main now sends User-Agent: muse-enroll/1.1 (fleet enrollment helper) on claim and download requests, and --kind grok --resume correctly skipped restore/persist/init.
Resume results from this seat after deleting the partial /home/box/restore (~48G freed) and the stale ~/.config/fleet/agent.json:
tools / token / fleet: ok (idempotent).
tailnet: up as muse-grok, kernel mode; laptop probe succeeded over a direct Tailscale path; check reported the laptop agent port answers on the tailnet and fleet secrets resolve (bws fallback) works.
check:1Password CLI is missing (expected; restore was skipped). fleet bridge hello --agent grok --groups muse (hardcoded groups in bootstrap.sh check) hung with no timeout; after ~4 minutes it was terminated so the phase could finish. Check then failed (bridge hello failed is treated as a fatal check failure), so the helper did not reach enroll. Enroll was run afterwards as --kind grok --name grok.
secrets-broker 502 persists after tailnet (this was left open at filing time for a retest). fleet secrets list still returns: secret "names" unavailable via secrets-broker: secrets-broker answered HTTP 502. Filing a separate issue for that, since this issue's fix is the helper itself.
Token files ~/tools/queue-broker-token and ~/tools/laptop-agent-token are still absent. Doctor: bridge fail (hello/inbox no answer within 45s), queue fail (missing token file), github pass (gh via GH_TOKEN, route plain), shell fail (missing laptop-agent-token). Rungs: shortlist and priority usable; push and queue down. registered remains false.
Activity
developing-today commentedon Nov 23, 2026
CODE-4723
dezren39 commentedon Nov 23, 2026
Post-tailnet retest from the grok seat (2026-11-22, America/Chicago)
The Cloudflare 1010 / default urllib User-Agent defect in item 4 is already tracked here; not filing a duplicate. The helper on
mainnow sendsUser-Agent: muse-enroll/1.1 (fleet enrollment helper)on claim and download requests, and--kind grok --resumecorrectly skipped restore/persist/init.Resume results from this seat after deleting the partial
/home/box/restore(~48G freed) and the stale~/.config/fleet/agent.json:muse-grok, kernel mode; laptop probe succeeded over a direct Tailscale path;checkreported the laptop agent port answers on the tailnet andfleet secrets resolve(bws fallback) works.1PasswordCLI is missing (expected; restore was skipped).fleet bridge hello --agent grok --groups muse(hardcoded groups inbootstrap.shcheck) hung with no timeout; after ~4 minutes it was terminated so the phase could finish. Check then failed (bridge hello failedis treated as a fatal check failure), so the helper did not reach enroll. Enroll was run afterwards as--kind grok --name grok.fleet secrets liststill returns:secret "names" unavailable via secrets-broker: secrets-broker answered HTTP 502. Filing a separate issue for that, since this issue's fix is the helper itself.~/tools/queue-broker-tokenand~/tools/laptop-agent-tokenare still absent. Doctor: bridge fail (hello/inbox no answer within 45s), queue fail (missing token file), github pass (ghviaGH_TOKEN, route plain), shell fail (missing laptop-agent-token). Rungs: shortlist and priority usable; push and queue down.registeredremains false.