Repository navigation
portlist kill, cleanup and report; agent adapters; README leads with the answer - #17
Merged
Merged
Conversation
…the answer kill: shows what a listener is and how it should be stopped, asks, then stops it through its manager when one was measured (docker stop, brew services, launchctl bootout, systemctl stop; PM2 named) or by SIGTERM, and scans again to catch a restart. A pipe is never asked; scripts pass --yes. The harbour's stop button shares the same guard. cleanup: walks the leftovers, reachable first, with the evidence; y, n, k (stop calling it a leftover), a, q. --idle, --dry-run, --json. report: one self-contained HTML page of the machine, secrets in command lines masked, --redact for one leaving the team. Agents are one file each in plcore/adapters/; lifecycle and sessions build their tables from them, unchanged in order. Gemini CLI and OpenCode are new. The playground runs all three. The harbour check skips frame pairs from a stalled runner and waits for the simulated train.
Replay and Live rebuild the car park with new cars parked in their bays. The jump check compared positions by key, so when the rebuilt bays came out in a different order a new car read as the old one teleporting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
portlist kill 3000docker stopfor a port a container publishesbrew services stopfor a Homebrew servicelaunchctl bootoutfor a launchd jobsystemctl stopfor a systemd unit, read from the process's cgroup--yes.--forcesends SIGKILL after 5 seconds.--dry-runstops nothing.portlist cleanupystop,nkeep,kkeep and stop calling it a leftover,astop the rest,qquit.--idle HOURSalso offers anything unused that long.--dry-runand--jsonstop nothing.portlist report--redactremoves host and user names, addresses, project names, paths and command lines.Agent adapters
plcore/adapters/.Docs
portlist 8787, then kill, cleanup and report.Playground
Harness
Tests
killdeclines when stdin is a pipe, stops with--yes, and confirms the port is free.