Skip to content

fleet serve: built-in supervised local proxy endpoints — replaces sandbox proxy-supervisor (docs migration stay-item R3) #5974

Open

Description

@dezren39

Part of the docs migration (hatch-personal/hatch → code). Stay-until-replaced register item R3.

What exists today

hatch-personal tools/proxy-supervisor/ (proxy-supervise.mjs, proxy-relay.mjs, proxy-port.mjs, config.json) plus proxy-supervisor.service, proxy-supervisor.timer, and install-proxy-supervisor-service.sh supervise local proxy endpoints that non-fleet tools dial. The supervisor is currently dormant (its config proxy list is empty) but is still installed and service-checked on every boot.

What the built-in must do

fleet serve provides built-in supervised local proxy endpoints: declared endpoints with health checks, drain semantics (config carries drainSeconds / healthTimeoutSeconds today), and state under the fleet state dir — so ad-hoc tools get a stable local proxy without a separate supervisor service living in the sandbox home repo.

Exit condition

When this ships (or when a deliberate decision records that the dormant supervisor is retired rather than replaced), the 7 hatch files above become historical copies only.

Activity

  1. developing-today commented on Nov 5, 2026

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

    @dezren39
    MemberAuthor

    Drew's review + outcome — 2026-11-05 00:05 CST

    Drew's recollection, confirmed against the tree: proxy-supervisor was built to fix a problem and then never used. What it is: a small supervisor (~/tools/proxy-supervisor/proxy-supervise.mjs) that health-gated the standalone provider proxy relays (muse / agy / commandcode / claude-code / codex). Every relay was removed from its config on 2026-10-25, so it has managed zero proxies since. Fleet direction per Drew: the standalone proxies are being removed and baked into the fork, so the supervisor has no future role.

    Two checks/actions from his review:

    • (a) Code committed — VERIFIED. proxy-supervisor does not live in hatch-personal (no files there); its home is ~/tools/ in the dezren39/hatch repo: tools/proxy-supervisor/{proxy-supervise.mjs, proxy-relay.mjs, proxy-port.mjs, config.json}, tools/proxy-supervisor.{service,timer}, tools/install-proxy-supervisor-service.sh — all tracked, working tree clean, HEAD == origin/main (nothing unpushed). Last change: 9cc630ac2 "sandbox: disable remaining provider relays + proxy-supervisor (Drew 2026-10-25 20:52)". No uncommitted proxy-supervisor work exists. (One stray: an ignored .bak-20261025221719-hardening copy of the installer sits beside it — a backup of the committed file, nothing unique.)
    • (b) Boot check — REMOVED. The only boot-machinery reference was the proxy-supervisor-service step in ~/tools/init.sh, already commented out since 2026-10-25 (the units are not installed or active in the current boot — systemctl reports them not-found). Per Drew's "stop checking for it on every boot," the dead block is now removed from init.sh entirely, leaving a 3-line tombstone pointing here: commit ca2c32864 in dezren39/hatch, pushed to main ("sandbox: remove proxy-supervisor from boot machinery entirely (Drew 2026-11-05) — code#5974", tools/init.sh −4/+3, bash -n clean). A sweep of the rest of the boot path (init-ensure.sh, verify-services.sh, current cron definitions, the boot goal workspace) found no other proxy-supervisor check. The dormant code stays in-tree as history; nothing at boot installs, enables, or verifies it.
  3. added
    queue/queuedHas a queued task in the Supabase agent queue
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  5. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  6. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 5, 2026
  7. 150 remaining items

  8. added
    status/triagedTriaged and routed (see agent note)
    user/reviewNeeds a user-look: Muse reviews first and handles what it can
    and removed
    work/assignedQueue worker lifecycle state
    on Nov 7, 2026
  9. developing-today commented on Nov 7, 2026

    @developing-today
    Contributor

    Picked up by repo-worker-code-a — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code-a posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  10. developing-today commented on Nov 7, 2026

    @developing-today
    Contributor

    Progress from repo-worker-code-a: claimed: revalidating fleet serve proxy-endpoints triage

  11. developing-today commented on Nov 7, 2026

    @developing-today
    Contributor

    🤖 Agent note · user/review discharged by review — escalating the one ruling to Drew

  12. added
    user/escalatedQueue or user escalation state
    and removed
    user/reviewNeeds a user-look: Muse reviews first and handles what it can
    on Nov 7, 2026
  13. developing-today commented on Nov 7, 2026

    @developing-today
    Contributor

    Released by repo-worker-code-a (outcome: free). Escalated to Drew (user/review -> user/escalated): #5974 triage stands (fleet serve has no supervised proxy-endpoint role; supervisor retired from boot by Drew 2026-11-05). One ruling remains, genuinely Drew's: (A) record R3 retirement and close #5974 (recommended, matches his 2026-11-05 action), or (B) scope the built-in under #5698. Review note with options + ramifications posted. No code started.

  14. added
    queue/queuedHas a queued task in the Supabase agent queue
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationqueue/queuedHas a queued task in the Supabase agent queuestatus/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this itemuser/escalatedQueue or user escalation state

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions