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 — Survey: laptop services & proxies — declarative coverage and conversion backlog · Issue #2775 · developing-today/code Closed Labels effort/lLarge: multi-day or open-ended; expect staged check-inskind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/humanFiled directly by a humanstatus/triagedTriaged and routed (see agent note)task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests DescriptionSurvey taken 2026-10-30 on the laptop ( Phase A result (today's stack)The muse-proxy / muse-direct stack was already declarative — no functional change was needed:
Headline finding: the retired fleet-proxy-supervisor's units are still alive#2104 retired the supervisor and made the per-proxy Home Manager units the sole owners of the canonical ports. In reality, seven
The proxies themselves also still write Services & proxies inventoryFleet proxies (all user units; code in
|
| Service | Port | Managed today | Recommendation |
|---|---|---|---|
| muse-proxy | 18747 | HM unit, home/common/default.nix; running, direct mode live |
Already declarative — done (#2774) |
| codex-proxy | 18744 | HM unit + hand drop-in codex-proxy.service.d/warm-override.conf overriding ExecStart to the checkout |
Remove the drop-in: post-#2104 the unit already runs the checkout, so the #480-era override is redundant |
| design-code-proxy | 18746 | HM unit, running (fps twin on 19746) | Already declarative; kill the fps twin |
| commandcode-proxy | 18748 | HM unit + hand drop-in commandcode-proxy.service.d/fix-execstart.conf pointing ExecStart at ~/git/code/bin/... — the other checkout |
Remove the drop-in: it is the #883 stale-tree trap in live form; the HM unit already runs ~/code/bin/commandcode-proxy-start.sh |
| opencode-route-proxy | 18750 | HM unit, running | Already declarative |
| clef-proxy | 18742 | HM unit declared, crash-looping behind fps transient | Stop the fps unit at a natural break; unit then owns the port |
| agy-proxy | 18743 | same | same |
| antigravity-ls-proxy | 18745 | same | same |
| claude-code-proxy | 18749 | same | same |
| proxy-supervise.mjs (fps) | — | Retired in flake (#2104); 7 transient units still running; config fossils in ~/.config/proxy-supervisor/*.bak/.unmanaged-20261026; bin/proxy-supervise.mjs.new tracked leftover |
Retire fully: stop transients, delete fossils after |
| Service | Port | Managed today | Recommendation |
|---|---|---|---|
| openchamber | 3000 (tailnet) | HM unit, home/common/default.nix + hand drop-in openchamber.service.d/external-opencode.conf (attaches to the external OpenCode server; sets OPENCODE_HOST/OPENCODE_SKIP_START and a password env var) |
Convert the drop-in into the flake (or fold into the unit) so the external-opencode arrangement survives a config regeneration |
| opencode serve (standing server) | 13420 | Bare process (session scope, PPID 1, started 2026-10-30 09:18 from a shell) | Leave alone operationally (session-bearing); backlog: give it a declarative unit at a natural break — it is the process OpenChamber and the fleet's sessions depend on |
| mcpx | 34543 | HM unit, home/common/default.nix (+ mcpx-reload path unit) |
Already declarative |
| t3code | 3773 | HM unit, home/common/default.nix |
Already declarative |
| openclaw-gateway | 18789 | HM unit, home/openclaw/default.nix |
Already declarative |
| desktop-commander-remote | — | HM unit, home/common/default.nix |
Already declarative |
| sync-models | timer | HM unit + timer, home/common/default.nix |
Already declarative |
| Service | Port | Managed today | Recommendation |
|---|---|---|---|
| pm-projector | — | User unit declared via nixos/services/pm-stack/default.nix |
Already declarative |
| pm-aggregator | 4870 (tailnet) | same | Already declarative |
| pm-dispatch | 4879 (tailnet) | same | Already declarative |
| pm-tunnel (cloudflared) | 20241 metrics | same — this is the machine's running cloudflared; nixos/services/cloudflared/ only documents manual tunnel setup |
Already declarative; tidy the cloudflared module comment to point at pm-tunnel |
| pm-git-sync, pm-dashboard-backup, pm-projector-reconcile, quota-gatherer | timers | Declared via pm-stack / laptop-backups modules | Already declarative |
| docker-pm-grist / docker-pm-kaneo / docker-pm-pad / docker-pm-postgres | 3000 / 7777 / 8484 area (tailnet; owning pids not visible without sudo) | System units, NixOS-generated from nixos/services/pm-apps/default.nix (oci-containers) |
Already declarative — #1752 looks substantially landed; verify and close or re-scope it |
| ready-for-agent | 6056 (0.0.0.0) | User unit declared via nixos/services/pm-apps/default.nix, binary from the pm-stack deployment dir |
Already declarative (see #1752 note above) |
| pm-kaneo (user unit) | — | Declared (pm-apps/pm-stack), timer-driven companion to the docker app | Already declarative |
| Item | Managed today | Recommendation |
|---|---|---|
| laptop-autocommit-{hatch,hatch-personal,openclaw}, laptop-repo-keeper, laptop-untracked-review | HM via nixos/home/laptop-autocommit.nix / laptop-repo-keeper.nix |
Already declarative |
| atlas-backup, openclaw-backup, supabase-backup, repo-archive-backup, cold-store-{nightly,drill}, agent-backup | HM via nixos/home/laptop-backups.nix / home/common/default.nix |
Already declarative |
| meta-quota-export (svc+timer) | Hand-made files in ~/.config/systemd/user/ |
Convert to HM (same pattern as sync-models) |
| cloudflare-quota-export (svc+timer) | Hand-made files | Convert to HM |
| dashboard-backup (svc+timer) | Hand-made files | Convert to HM (alongside pm-dashboard-backup) |
| oc-password-sync (svc+path) | Hand-made files | Convert to HM, or fold into the openchamber declaration |
| git-maintenance@ (svc+3 timers) | Hand-placed copies of git's upstream template | Leave alone (upstream template) or declare via HM for completeness |
| rustdesk (user svc) | Hand-made file (ExecStart from /etc/profiles/per-user/...) |
Convert to HM or leave; low value either way |
sshd, tailscaled, docker, dnsmasq, id-primary (nixos/services/id-mail), power-guard (nixos/services/power-guard), display-manager/desktop stack — all NixOS-generated from this flake. Already declarative; no action.
| Process | Port | Recommendation |
|---|---|---|
python3 -m http.server 8899 |
8899 on 0.0.0.0 | Identify owner; retire (world-bindable directory server) |
python3 /tmp/mock.py |
18777 | Retire (test mock) |
pkgs/id debug build demo (~/git/code/pkgs/id/target/debug/id --data-dir ~/id-demo-data) |
3210 | Retire or replace with the packaged build; demo data dir |
node ~/git/fleet/2900-394-proxy-c… |
36539 | Identify; retire or promote to a declared proxy |
/tmp/mcpxdbg/mcpx daemon --detached |
38481 | Retire (debug instance; the real mcpx is a unit) |
| opencode serve | 13420 | See Core AI services — leave alone, backlog a unit |
~/.config/systemd/user/proxy-supervisor.{service,timer}.unmanaged-20261026, ~/.config/proxy-supervisor/config.json.unmanaged-20261026 + two config.json.bak-**.backup / *.bak-* unit files next to pm-aggregator, pm-git-sync, pm-projector, quota-gatherer, repo-archive-backup, ready-for-agent units (inert, but they confuse every future survey)bin/: codex-proxy.mjs.pre-warm-20261024, codex-proxy.mjs.resume-build.bak, commandcode-proxy-start.sh.bak-20261025003957-netfix, muse-proxy.mjs.bak-20261024-flag-tolerance, muse-proxy.mjs.bak-20261024121323-laptop-deploy, proxy-supervise.mjs.newapp-com.mitchellh.ghostty.service.d/overrides.conf (desktop app; noted for completeness)fps-* transient units at a natural break so the 4 crash-looping declarative proxy units take their canonical ports; confirm systemctl --user shows exactly one owner per proxy port afterwardscodex-proxy.service.d/warm-override.conf (redundant post-Proxy service-model redesign: automatic flake services, retire proxy-supervisor ownership, restore consumer Wants #2104)commandcode-proxy.service.d/fix-execstart.conf (Home-layer eval uses a stale bin/ tree: commandcode-proxy unit 203/EXEC, managed opencode stuck on old rev #883 trap; points at the wrong checkout)openchamber.service.d/external-opencode.conf into the flake declarationopencode serve (:13420), landed only at a natural breakbin/*.bak leftovershome/common/default.nix: endpoint.json files are still written by the proxy processes themselvesThe sandbox VM is not NixOS-managed: its services are ~/tools/init.sh run_steps (mcpx-service, opencode-service, muse-proxy-service, agy/commandcode/claude-code proxy services, proxy-supervisor-service, …), several deliberately disabled or stubbed by Drew's 2026-10-25 pass. Listed only so this survey is complete; no conversion is proposed.
Method: systemctl --user/system unit + timer listings, ss -tlnp port→pid→cgroup mapping, unit FragmentPath/file-type checks, and flake-source grep on the laptop, 2026-10-30. Nothing was stopped, restarted, or reconfigured during the survey.
fps-* transient unit squatting a canonical port (18742, 18743, 18745, 18749) is stopped and its declarative Home Manager replacement is running and stable (no crash-loop) on that port, or the item is split into per-proxy follow-up issues naming the blocker.fps-* transient proxy units remain, and the result is posted on this issue.Checklist item done 2026-10-30 ~10:06 CDT (Drew approved in chat): all 7 fps transient units stopped — fps-clef-proxy-18742, fps-agy-proxy-18743, fps-antigravity-ls-proxy-18745, fps-claude-code-proxy-18749, fps-codex-proxy-19744, fps-commandcode-proxy-19748, fps-design-code-proxy-19746. Verified after the stop: zero fps-* units remain; the Home Manager units clef-proxy / agy-proxy / antigravity-ls-proxy / claude-code-proxy are active/running on their canonical ports and their NRestarts counters are frozen (1319/1317/1318/1318 — cumulative incl. the crash-loop era, no longer climbing); ports 18742/18743/18745/18746/18747/18749 all listening; /health OK on 18742, 18747, 18749. No supervisor timer/service exists to resurrect the transients. muse-proxy (18747) untouched throughout.
Drop-in items cleared 2026-10-30 ~10:14 CDT (Drew approved in chat). All three hand drop-ins moved out of systemd's view (recoverable copies in ~/.config/systemd/user/_dropin-backup-2026-10-30/) + daemon-reload: (1) commandcode-proxy fix-execstart.conf — verified the HM wrapper execs $HOME/code/bin/commandcode-proxy-start.sh (correct checkout); unit restarted onto it: active/running, NRestarts=0, :18748 /health OK. (2) codex-proxy warm-override.conf — HM wrapper already execs the same $HOME/code/bin/codex-proxy.mjs; running process was already equivalent, left undisturbed, still running. (3) openchamber external-opencode.conf — the fold-in already existed: bin/openchamber-start.sh (invoked by the HM unit) exports OPENCODE_HOST (default http://127.0.0.1:13420), OPENCODE_SKIP_START=true and OPENCODE_PASSWORD (file-sourced); live process env confirmed all three, so the drop-in was pure duplication. OpenChamber not restarted. Remaining checklist: the other hand-made unit groups + fossil cleanup.
🤖 Agent note · handed off
Still live? Yes. The body itself records PR #2774 as comment-only (no functional change, no activation step), and the headline finding — seven fps-* transient units still holding canonical/alternate ports while their declarative replacements crash-loop (~1,170 restarts each) — is a survey result from today, not a fixed item. No merged PR resolves it.
Notes / risks: The crash-looping declarative units are the urgent slice: four canonical ports are served by units #2104 believed retired. Risk is change-window risk on the laptop (stopping a transient unit before its replacement binds cleanly drops that proxy). Suggested approach: one proxy at a time — stop the fps-* unit, start the HM unit, verify the port and endpoint.json — starting with one low-stakes proxy before repeating the pattern.
Suggested approach: treat the acceptance criteria as a checklist; split per-proxy issues only if a single conversion blocks on something specific.
agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 7358 (triage, queued, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03
agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 7358 (triage, queued, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03
🤖 Agent note · coverage finding routed here from the #2104 triage (queue task 7290, Lane P, 2026-11-03)
One stale-reference item for this survey's declarative-coverage backlog, found while verifying #2104 (the proxy service-model redesign, PR #2107, merged 2026-10-30) live:
home/openclaw/default.nix (current main): the comment above systemd.user.services.openclaw-gateway still says the provider proxies "are owned by the proxy-supervisor (transient fps-* units on the canonical ports)" and that the gateway "must not Want the manual per-proxy units" — both false since feat(home): make fleet proxies automatic services, retire proxy-supervisor (#2104) #2107 retired the supervisor and made the proxy units real automatic services.openclaw-gateway's After list still names agy-proxy.service, which no longer exists as a unit (agy-proxy was replaced/retired in the later antigravity rework — see home/common/default.nix:588-589). On the laptop it surfaces as agy-proxy.service not-found inactive dead in systemctl --user list-units "*proxy*". After-only, so it is harmless ordering noise, but it is exactly the kind of stale declarative reference this survey tracks.No separate issue filed — this survey is the tracking home. #2104 itself was closed with evidence in the same pass.
🤖 Agent note · handed off
opencode, executed_lane=nullagent-note:v1
state: handed-off
queue: repo-health-code-pilot
task: 13835 (small_fix, worker repo-worker-code, lane code-e), queue attempts 4/4 AT CAP
by: repo-worker-code lane code-e
at: 2026-11-09T07:36:00Z
Handed off to the opencode execution lane (assigned_lane=opencode via fleet queue lane, lane row 5243). AT-CAP WARNING: task 13835 is at attempts 4/4. Fresh check this shift: issue #2775 OPEN, no hard-stop labels; PR #6113 OPEN and unlabeled (separate owner slice; do not duplicate it). Packet scope for the claimant session: finish the remaining laptop-services survey items for issue #2775 excluding PR #6113, per the packet body, or record the precise blocker on issue #2775. This lane does not work task 13835 directly. Parked 1200s to release the claim for claimant binding. Labels already in the parked/assigned set.
state: picked_up
task: 13835
lane: code-b (direct, #8187)
issue: #2775
Picked up task 13835 (residual survey items only; PR #6113's stale-proxy-comments slice is excluded and not duplicated). Fresh evidence pass on the laptop for the two hand-installed units (meta-quota-export, rustdesk) and the inert proxy-supervisor fossils; cloudflare-quota-export, dashboard-backup, and oc-password-sync are already declarative per the packet's triage. No services will be restarted and opencode serve will not be disturbed.
state: done
task: 13835
lane: code-b (direct, #8187)
issue: #2775
Fresh evidence from the laptop (amd), systemctl --user + FragmentPath + unit-dir listing:
| Item | Live state | FragmentPath | Declarative coverage |
|---|---|---|---|
| meta-quota-export.service | loaded, inactive/dead (oneshot between timer runs — healthy) | ~/.config/systemd/user/meta-quota-export.service (2026-11-01) | none — no match in dezren39/darwin-nix *.nix |
| meta-quota-export.timer | loaded, active/waiting, OnCalendar=*:0/15, Persistent | ~/.config/systemd/user/meta-quota-export.timer (2026-11-01) | none |
| rustdesk.service | loaded, active/running, enabled | ~/.config/systemd/user/rustdesk.service (2026-10-23) | none |
| rd-picker-autogrant.service | loaded, active/running (found during this pass; also hand-installed) | ~/.config/systemd/user/rd-picker-autogrant.service | none |
| proxy-supervisor fossils | NOT loaded; no fps-* or proxy-supervisor unit is loaded at all | proxy-supervisor.{service,timer}.unmanaged-20261026 in the user unit dir | retired by #2104; files are inert leftovers |
Packet triage confirmed as still accurate: cloudflare-quota-export, dashboard-backup, and oc-password-sync are declarative (not re-audited here); the two hand-installed units and the fossils were the residual set, now fully evidenced.
Conversions filed (nothing sits silently):
No services were restarted or disturbed in this pass; opencode serve untouched. Task 13835 completes on this reconciliation.
🤖 Agent note · triaged
🤖 Agent note · deletion recorded from issue #8290 (queue task 18627, lane any-j, 2026-11-17)
Deleted from the laptop's ~/.config/systemd/user/ (verified present beforehand at the issue's stated sizes/dates: 433 and 136 bytes, 2026-10-24):
proxy-supervisor.service.unmanaged-20261026proxy-supervisor.timer.unmanaged-20261026timers.target.wants/proxy-supervisor.timer.unmanaged-20261026 — a third fossil from the same rename, found during verification: a symlink to ~/.config/systemd/user/proxy-supervisor.timer, a target that no longer exists (already dangling, and inert under its .unmanaged-20261026 name). Removed with the pair so no fossil remnant keeps surfacing in services surveys; recorded here so the removal set is exact.Pre-deletion verification (fresh, 2026-11-17): no file in the user unit dir references the fossil names; systemctl --user list-unit-files shows no proxy-supervisor or fps-* unit; the only repo mention of the fossil suffix is historical narrative in a dated design doc (doc/2026-10-26T21-18-21Z_feature_t3code-v2-integration/main.md, describing the rename at the time) — not a live runbook reference. Post-deletion: find ~/.config/systemd/user -name '*proxy-supervisor*' returns nothing.
agent-note:v1
state: triaged
task: 19774
lane: any-v
stage: verified -> triaged
Task 19774 (bulk-intake revival of task 18236's triage) — verdict: the one open question from task 18236 is answered: drop the proxy-comments slice; do not re-file PR #6113. Everything else on this survey is already routed or done. Issue #2775 remains open as the survey/backlog record.
Fresh evidence this run (2026-11-17):
home/common/default.nix today contains no codex-proxy.socket / sockets.target wiring at all, and the codex door is retired in the same file ("the door was retired", ~line 743 and ~line 1813; replaced by antigravity-direct, itself retired 2026-11-04). The socket-activation correction describes a state this file no longer holds.~/.local/state/codex-proxy/, antigravity-direct/, design-code-proxy/) are dated Nov 5, Nov 4, and Oct 29 — no writer in ~12 days, consistent with the current comment's "stale records with no writer" and inconsistent with PR fix(home): correct proxy ownership comments #6113's "live per-proxy endpoint records" correction (which was true at the Oct 30 survey, when the files were fresh).home/openclaw/default.nix now speaks of the "proxy-supervisor era" in the past tense (~line 129).No new packet, no PR. The stale queue/parked / status/parked / work/assigned labels from an earlier park are removed with this terminal state; the survey keeps status/triaged.
Fresh evidence pass for the acceptance criteria, no services stopped or restarted:
systemctl --user list-units --all and list-unit-files grep for fps-|proxy-supervisor return nothing. Zero transient units remain.ss -tlnp shows no listeners on 18742-18751 (canonical) or 19744/19746/19748 (alternates). Consistent with the 2026-11-06 proxy-infra decommission (all proxy doors retired, ports free) — stronger than the criterion's "one owner per port".codex-proxy.service.d/, commandcode-proxy.service.d/, openchamber.service.d/ are all absent. The openchamber external-opencode arrangement is folded into the cascade modules (home/common/default.nix: services.openchamber/opencode/mcpx cascade, start wrapper exports OPENCODE_PASSWORD/HOST/SKIP_START).~/.local/state/{antigravity-direct,codex-proxy,design-code-proxy}/endpoint.json dated Nov 4 / Nov 5 / Oct 29 — stale records with no writer, matching the current home/common/default.nix comment (lines ~795-798). The Oct-30 "live proxy-written state" correction (PR fix(home): correct proxy ownership comments #6113, closed unmerged) was superseded by the decommission; no comment change needed.find ~/.config/systemd/user -name "*proxy-supervisor*" returns nothing (pair deleted via Remove the inert proxy-supervisor fossil unit files from the laptop user unit dir (from #2775) #8290). git ls-files | grep -E "\.(bak|unmanaged)" returns nothing — no tracked .bak/.new leftovers remain.services.opencode cascade unit exists in home/common/default.nix.nixos/services/pm-apps/default.nix header; Grist/Pad/ready-for-agent declared). Left to its own number, not duplicated here.Verdict: all five acceptance criteria verify as met on current main + live laptop state. No code PR opened — there is no remaining repo-actionable slice (the proxy-comments slice was dropped per the 2026-11-17 triage; bin/proxy-supervise.mjs remains only as uninvoked history per the deliberate comment in home/common/default.nix, so deleting it would contradict a documented decision and is left to the maintainer). Recommend closing this survey with this note as the completion evidence, or keeping it open only if a new conversion item is filed against it.
Second independent verification pass (lane HA, 2026-11-23 ~06:10Z), confirming lane oc-code-02's post-change survey re-run of 2026-11-23T04:35Z (the comment directly above). Fresh laptop (amd) evidence, nothing stopped or restarted:
systemctl --user list-units --all and list-unit-files return nothing matching fps-|proxy-supervisor. The four canonical-port squatters (18742/18743/18745/18749) are gone; the criterion's "declarative replacement running on the port" is superseded by the stronger 2026-11-06 proxy-infra decommission state — no listeners on 18742–18751 at all (ss -tlnp), and the old HM proxy units read inactive.codex-proxy.service.d/, commandcode-proxy.service.d/, openchamber.service.d/ all absent from ~/.config/systemd/user/; the openchamber external-opencode arrangement lives in the flake cascade per oc-code-02's read.antigravity-direct, codex-proxy, design-code-proxy) are dated 2026-10-29 / 2026-11-04 / 2026-11-05 — stale records with no writer, matching the current home/common/default.nix comment; the Oct-30 "live proxy-written" correction was superseded by the decommission, so no comment change is owed.git ls-files shows no tracked .bak/.unmanaged/.new leftovers; fossil unit pair already deleted via Remove the inert proxy-supervisor fossil unit files from the laptop user unit dir (from #2775) #8290.Remainders deliberately NOT closed here: #1752 stays on its own number (Kaneo/Postgres intentionally compose-managed per the pm-apps module header; Grist/Pad/ready-for-agent declared). bin/proxy-supervise.mjs remains as uninvoked history per the documented decision in home/common/default.nix.
Closing this survey as completed — its backlog is either landed, decommissioned, or carried on its own issue numbers.