Summary
nemoclaw uninstall on Linux Docker-driver hosts leaves ~/.local/state/nemoclaw/ on disk. This directory is owned by NemoClaw (documented as NEMOCLAW_OPENSHELL_GATEWAY_STATE_DIR in docs/reference/commands.md:1150) and holds the Docker-driver gateway's pid file, SQLite database, audit log, and vm-driver/ state. Re-onboarding after uninstall picks up the stale state.
Context
This is sub-bug #5c from #3456. The parent issue auto-closed when #3520 merged (which fixed sub-bugs #3, #4). Sub-bugs #1, #2, #5a, #5b were fixed earlier via #3459 and #3483. #5c was confirmed real on current main in #3456 (comment) but #3520 did not include it; filing this as a narrow follow-up so it stays tracked on the v0.0.42 board.
Steps to reproduce
- Onboard on a Linux Docker-driver host:
nemoclaw onboard
- Verify the gateway state dir exists:
ls -la ~/.local/state/nemoclaw/
- Run
nemoclaw uninstall
- Re-check:
ls -la ~/.local/state/nemoclaw/
Expected
Step 4 prints No such file or directory.
Actual
Step 4 lists openshell-docker-gateway/ and friends — uninstall cleans ~/.nemoclaw, ~/.config/nemoclaw, ~/.config/openshell but never ~/.local/state/nemoclaw/. Confirmed by reading src/lib/domain/uninstall/paths.ts:77 (uninstallStatePaths does not list this path).
Acceptance criteria
Summary
nemoclaw uninstallon Linux Docker-driver hosts leaves~/.local/state/nemoclaw/on disk. This directory is owned by NemoClaw (documented asNEMOCLAW_OPENSHELL_GATEWAY_STATE_DIRindocs/reference/commands.md:1150) and holds the Docker-driver gateway's pid file, SQLite database, audit log, andvm-driver/state. Re-onboarding after uninstall picks up the stale state.Context
This is sub-bug #5c from #3456. The parent issue auto-closed when #3520 merged (which fixed sub-bugs #3, #4). Sub-bugs #1, #2, #5a, #5b were fixed earlier via #3459 and #3483. #5c was confirmed real on current
mainin #3456 (comment) but #3520 did not include it; filing this as a narrow follow-up so it stays tracked on the v0.0.42 board.Steps to reproduce
nemoclaw onboardls -la ~/.local/state/nemoclaw/nemoclaw uninstallls -la ~/.local/state/nemoclaw/Expected
Step 4 prints
No such file or directory.Actual
Step 4 lists
openshell-docker-gateway/and friends — uninstall cleans~/.nemoclaw,~/.config/nemoclaw,~/.config/openshellbut never~/.local/state/nemoclaw/. Confirmed by readingsrc/lib/domain/uninstall/paths.ts:77(uninstallStatePathsdoes not list this path).Acceptance criteria
~/.local/state/nemoclaw/is removed bynemoclaw uninstallon Linuxsrc/lib/domain/uninstall/paths.test.tsconfirms the path is inuninstallStatePaths()return valuerun-plan.test.ts)