Install notes
What a p0ssess install puts on a machine, and how to remove each piece. Everything is per user. Nothing needs root, nothing touches an existing OpenCode install (~/, ~/), and nothing in Claude Code's settings changes unless you approve it in / (or run p0ssess setup yourself).
On this page
$CLAUDE_ below is ~/ unless you set it. With P0SSESS_ set, ~/ is that directory, and the cache and state directories are its cache/ and state/.
What gets installed
| Item | Where | Created by |
|---|---|---|
| the plugin (a clone of the repository) | $CLAUDE_, plus the marketplace clone in $CLAUDE_ |
claude plugin install |
| marketplace and enabled-plugin entries | extraKnownMarketplaces and enabledPlugins in $CLAUDE_ |
claude plugin marketplace add, claude plugin install |
| the p0ssess binary | ~/ (.exe on Windows) |
the launcher, on first use (checked against dist/, or built from source) |
| the OpenRouter key | ~/ |
you |
| settings | ~/ (including the shell internet projects), engine.toml, rules.toml, optional config.json |
/, settings_, the local page, rules you confirm |
| project rules | <repo>/ |
project-scoped rules you confirm |
| the ledger | ~/ (offers, outcomes, measured runs; never prompt content), session rules in ~/ |
the engine, the relay, the direct path |
| caches | ~/ (Claude usage readings), route-table.json (the last signed route table that verified), engine-offline (present while the engine service cannot be reached), running/ (running jobs) |
the status line, the engine, the relay and direct path |
| engine service state | ~/ (a random token for rate limits), outcomes.json (which outcome records were sent), outcomes-refused.jsonl (records the service refused, if any), funnel.json (only with usage counts on: their random id and the counts not sent yet); with a linked account also ~/, ~/, calibration/, and for a team team-policy.json and team-spend.jsonl |
the engine client, the outcome sender, p0ssess account and p0ssess team |
| allow rules | 13 mcp__ entries in permissions.allow of $CLAUDE_ |
p0ssess setup allow, with your consent |
| status line wrapper | statusLine in $CLAUDE_ points at ~/ (p0ssess.exe on Windows); your previous command is kept in engine.toml as statusline.command |
p0ssess setup statusline, with your consent |
| progress-summary switch | env.CLAUDE_ in $CLAUDE_ |
p0ssess setup summaries, only if you ask |
| setup record and backups | ~/; the settings file as it was before each change in ~/ |
p0ssess setup |
| file locks (Windows only) | %TEMP%\p0ssess-locks\: empty lock files, because Windows cannot lock a directory |
the binary, while it rewrites a shared file |
| shortcut agents | $CLAUDE_ (at most 12, each marked as made by p0ssess) |
shortcuts_, after you agree |
| the agent path (Linux): | ||
| jail image | localhost/ (about 1.1 GB: Fedora 44 base, git, Python, ripgrep, OpenCode) and the pinned registry.fedoraproject.org/ base |
p0ssess jail build |
| pods | one p0ssess-<random> pod per relay session (-infra, -proxy, -server, and -egress with shell internet), removed when the session ends or idles out, or by the next start after a crash; the containers mount the p0ssess binary read-only at /. No volumes. |
each relay session |
| relay state | ~/: sessions/, runs/ (transcripts and diffs), jails/ (each running jail's record, password and sockets), relay-runs.jsonl (the relay's run log) |
the relay |
| in each repository used | .p0ssess/ (edit-mode worktrees), .git/, a / line in .git/; with SELinux relabeling on, the shared container_ label on the repository's files |
the relay |
Remove
The launcher is <plugin directory>/; claude plugin list shows the plugin directory. Inside Claude Code, p0ssess is on the Bash tool's PATH.
1. Revert the settings changes
p0ssess setup undo
This removes the allow rules p0ssess added, restores your previous status line (or removes it if you had none) and the progress-summary switch. The backups in ~/ hold each earlier version of the file.
2. Shortcut agents
rm -f "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/agents/p0ssess-*.md
Check first that you have no agents of your own named p0ssess-*; the ones p0ssess made contain the line made by p0ssess.
3. The agent path (Linux)
p0ssess jail status lists running jails, p0ssess jail down --name <pod> removes one, and p0ssess jail sweep removes every jail whose owning process is gone. Remove all of it (end your Claude Code sessions first, so no run is active):
podman pod rm -f $(podman pod ls -q --filter label=p0ssess=1)
podman volume rm $(podman volume ls -q --filter label=p0ssess=1) # only 0.3 left volumes
podman rmi localhost/p0ssess-opencode:2.2.5-1
podman image prune -f # build layers left by jail build
Keep the base image if other containers use it; otherwise podman rmi registry.fedoraproject.org/.
In each repository that was used (check for worktrees you still want first):
git worktree list
for w in .p0ssess/wt/*; do git worktree remove --force "$w"; done
git worktree prune && rm -rf .p0ssess
sed -i '\#^/\.p0ssess/$#d' .git/info/exclude
restorecon -R . # only if SELinux relabeling was on
4. The plugin
claude plugin uninstall p0ssess@p0ssess
claude plugin marketplace remove p0ssess
5. p0ssess's own files
rm -rf ~/.config/p0ssess ~/.cache/p0ssess ~/.local/state/p0ssess
This deletes your key file, settings, rules and history. Project rules live in each repository's .p0ssess/.
Upgrading from 0.6
Install and update the same way; there is nothing to set up. Your key, settings, rules, budgets, approvals and history carry over.
- Routing uses the hosted engine. The scoring code, the model registry and the catalog left the plugin.
recommendnow asks the p0ssess engine service (https://) to rank routes, and every limit (budgets, rules, approvals, the monthly cap) is still enforced on your machine. When the service cannot be reached, p0ssess routes from a signed table of default routes, downloaded once a day and checked against a key built into the binary, and the status line ghost turns a dimmer grey. README.md lists exactly what a request sends; never your prompt, files or file names.cloud.p0ssess.me - Usage counts are off unless you turn them on in the tour or by saying "share usage counts". When on, p0ssess sends once a week how many times each of nine milestones happened (install, tour done, first route, first saving, limit rescue offered and used, upgrade viewed and clicked, device linked), under a random id kept in
funnel.json, with no token. The local page shows each batch first. "Turn off usage counts", orfunnel.send = falseunder[funnel]in~/, stops them and deletes.config/ p0ssess/ budget.toml funnel.json. - Anonymous outcome records are on. At the end of a session p0ssess sends one short record per finished delegated run (kind, model, route, stakes, outcome, cost bucket, week). The local page shows the pending ones first. To turn them off, tell Claude "turn off outcome records" or set
outcomes.send = falseunder[outcomes]in~/..config/ p0ssess/ budget.toml p0ssess engine refreshfetches the signed route table instead of the OpenRouter model list. The oldopenrouter-models.jsonandregistry-*.jsonfiles in~/are no longer read and can be deleted..cache/ p0ssess/ - The 0.6.0 engine stays MIT. Releases up to 0.6.0, with the engine, its registry and its catalog, remain in this repository's history and on the releases page.
git checkout v0.6.0gives the fully local version.
Upgrading from 0.3
-
Relay state moves from
~/to.config/ p0ssess/ ~/on the first start of 0.4 (.local/ state/ p0ssess/ relay/ sessions/,runs/,history.jsonl→relay-runs.jsonl,jails/→legacy-jails/), under a lock and only where the new path does not exist yet. If a move fails, the old files stay and are still read through 0.4.x. -
One jail per session replaces 0.3's one jail per repository. Sessions started by 0.3 cannot be continued. Once no 0.3 process runs (end Claude Code sessions started before the upgrade), remove 0.3's shared pods and their volumes with
p0ssess jail sweep --legacy, andrm -rf ~/..local/ state/ p0ssess/ relay/ legacy-jails -
The systemd unit is gone (0.4 has no long-lived jails). If you installed it:
for u in $(systemctl --user list-units --all --plain --no-legend 'p0ssess-jail@*' | awk '{print $1}'); do systemctl --user disable --now "$u" done rm -f ~/.config/systemd/user/[email protected] && systemctl --user daemon-reload -
The allow-list tool names did not change, so
p0ssess setup allowneeds no rerun.