From 5ba407078f1781bc3aef5d72cdc368aa1024e5fd Mon Sep 17 00:00:00 2001 From: dtzp555 Date: Fri, 17 Jul 2026 09:30:28 +1000 Subject: [PATCH] docs(readme): drop the CLAUDE_SYSTEM_PROMPT row (dead env var) + fix systemd stop to --user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewer traced consumers: SYSTEM_PROMPT (server.mjs:326) is only echoed on /health (:2906) and the startup log (:3270) — extractSystemPrompt() never reads it, so the row documented behavior that does not exist. The dead var + the two stale in-code comments (server.mjs:19, :1084) go on the backlog: wire it or remove it (a server.mjs change, out of this docs PR's scope). Also: setup.mjs installs the systemd unit under --user (:514), so the Troubleshooting stop line loses the sudo and gains --user. Co-Authored-By: Claude --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index d61d3c2..23f72b0 100644 --- a/README.md +++ b/README.md @@ -828,7 +828,7 @@ If it's an old OCP process, stop it before re-running setup: ```bash launchctl bootout gui/$(id -u)/dev.ocp.proxy # macOS launchd -sudo systemctl stop ocp-proxy # Linux systemd +systemctl --user stop ocp-proxy # Linux systemd (installed as a --user unit) ``` (There is no `ocp stop` subcommand — the proxy runs as a service, so stopping it goes through the service manager above. `ocp restart` exists for the bounce case.) @@ -949,7 +949,6 @@ See [Subscription-pool (TUI) mode](#subscription-pool-tui-mode) and ADR 0007 PR- | `CLAUDE_CACHE_TTL` | `0` | Response cache TTL (ms, 0 = disabled). Set to e.g. `300000` for 5-min cache | | `CLAUDE_ALLOWED_TOOLS` | `Bash,Read,...,Agent` | Comma-separated tools to pre-approve | | `CLAUDE_SKIP_PERMISSIONS` | `false` | Bypass all permission checks | -| `CLAUDE_SYSTEM_PROMPT` | *(unset)* | Extra system-prompt text appended to every request's system prompt (server-wide) | | `CLAUDE_MCP_CONFIG` | *(unset)* | Path to an MCP server config JSON, passed to the spawned `claude` as `--mcp-config` (both the `-p` path and TUI `OCP_TUI_FULL_TOOLS` panes) | | `CLAUDE_NO_CONTEXT` | `false` | Suppress CLAUDE.md and auto-memory injection (pure API mode) | | `PROXY_API_KEY` | *(unset)* | Bearer token for shared-mode authentication |