← Commit history

dockbar guide: command-line args are a claim, not a fact (port-walked zombies)

John Lauer ·5b10fd948b ·2mo ago ·parent 7f363da
1 file changed +5
docs/dockbar.md+5
@@ -289,6 +289,11 @@ Do this instead:  - Identify the victim by **who owns the port**: resolve the LISTEN socket's inode from   `/proc/net/tcp{,6}` and match it against `/proc/*/fd`. Never yourself, never your parent.+  **Command-line args are a CLAIM, not a fact.** Measured on fusion 2026-08-24: all three+  zombie instances carried `--port 8930` in their args while actually listening on 8930,+  8932 and 8933, because they had port-walked at startup. Killing by `ps` args would have+  been killing by a stale intention. Same lesson as the version check one layer down: ask+  what the process IS doing, not what it once said it would do. - **Check whether YOU are the installed build** before deciding anything, since you may be   the stale process. If you are not, hand off rather than reuse (guard against loops). - Confirm identity by asking the candidate what it is (`--version`, or a `/health` that