Repository navigation
docs: compare Pi with the Claude Code plugin, add Pi to the README - #1009
Conversation
Add a reference page with one table that compares the two clients: routing, providers, scope, how the proxy starts, the existing base URL, signals, commands and what each shows in a session. Rows that depend on an open PR say so. The page also lists the Pi package's main gaps. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: DAVID AMID <[email protected]>
Add a Pi row to the install table and a short "Pi (experimental)" section: what you need, four install steps, how to check and undo it, the reset command and the keep-alive quota note. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: DAVID AMID <[email protected]>
amiddavid
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.322 | offload-review skill, @amiddavid's session | fresh | 1 of 2 | 1 of 2 | 4c161c863738 |
approve |
Verdict: approve
Docs-only PR: one README section, one new comparison page, one nav entry. I checked
every factual claim in the diff against the code. All claims I could verify from the
repo are correct. No blocking finding.
Findings
None.
Non-blocking
-
README.md:82 — "Node.js 22.19 or later" has no source in this repo.
- The repo names Node 22.18 as the floor in three places
(pi-package/README.md:153,pi-package/pi_test.go:3,pi-package/pi_test.go:26).
Those cover the test runner, not Pi's own runtime, so 22.19 may be Pi's real
requirement — but nothing in the repo says so. - If the real floor is 22.18, the README turns away users on 22.18 for no reason.
- Fix: cite where 22.19 comes from (Pi's release notes), or align both docs on one
number.
- The repo names Node 22.18 as the floor in three places
-
docs/reference/pi-vs-claude-code.md:53 — "Each one has an open PR" is true for one
of the two.- Chain mode is open PR #1010 (
feat/pi-chain-mode, commit 76051d8; its
CONFLICT_CHOICES = ("chain", "replace", "abort")matches the row's "chain,
replace, or no change"). - The session-start check has a branch (
feat/pi-session-start-check, commit
54f45dc9, landed during this review) whose behavior matches the row (5-second
/healthzlimit, one restart, one notice —START_CHECK_TIMEOUT_MS = 5000in the
extension diff). But no open PR for it exists at review time; I listed all 50 open
PRs in the repo. - Fix: confirm that PR is open before this page merges, or write "each one has a
change in review".
- Chain mode is open PR #1010 (
-
README.md:78 — "not yet with a real login" can read as contradicting
pi-package/README.md:38.- That line says "On Anthropic, an API key and a Claude Pro/Max login both work."
- The untested login is Sign in with ChatGPT on
openai
(pi-package/README.md:139). The README does not name it. - Fix: name the untested login, so the two READMEs do not appear to disagree.
What I checked
- Full diff
52eea134..HEAD(2 commits, 3 files, 102 added lines) and the code around
each claim. - README install section:
#pi-experimentalanchor matches the heading; both links
resolve (pi-package/README.md,docs/reference/pi-vs-claude-code.md); the table's
third row fits therowspan="2"enterprise cell above it;pi installpath, setup
consent,/modelre-select, reset path~/.local/state/context-guru-pi/ context-guru-reset, default strategyauto, and/context-guru cache-strategy none
all matchpi-package/README.mdandpi-package/scripts/. - Comparison page, Claude Code column, against the plugin: version 0.6.7
(context-guru-plugin/.claude-plugin/plugin.json); 19 skills (counted the skills
directory); cache strategiesnone,auto,1-ping,2-ping,1-hour-head
(plugin.jsoncache_strategy);SessionStartstarts the proxy and
UserPromptSubmitrestarts it (hooks/hooks.json); session-start, session-end and
notification signals (same file); chain-or-replace consent on an existing base URL
(skills/install/SKILL.md);--globalscope and one port per project (plugin.json
port description); session id from the request body, not a header
(apply.ExplicitSession,metadata.user_id); manual Ping button, beep, and update
check at session start (hooks/register.tsx,scripts/beep.sh,
scripts/start-proxy.shUPDATE_CHECK); dashboard URLhttp://127.0.0.1:<port>/ dashboard/(scripts/dashboard.sh:48); reset script outside the plugin in plain
sh(scripts/reset.shheader); "about 25 Go test files" (counted 24) plus Python
and TSX tests. - Comparison page, Pi column, against
pi-package/: two routed providers and
openai-codexnot routed; whole-machine scope becausemodels.jsonis per user;
launchd/systemd user service at login; refuses an existing base URL today;
x-context-guru-sessionheader added by the extension; session-end and compaction
signals; Pi's own cache warming stopped for routed models; strategiesnone,
auto,1-ping,2-ping; one command with six subcommands; nothing shown in a
session; Python and Node tests behind one Go wrapper (pi-package/pi_test.go). - Shared claims: same presets in both clients; the cache-key parity test exists
(pi-package/scripts/test_pi_plugin.py:315); the proxy servesGET /stats
(proxy/proxy.go:605); Pi merged in #977 and #982 (both in base history). - Open-PR rows: verified against the actual branches, not just the doc's word —
details in Non-blocking item 2. - mkdocs: the new page is in the nav exactly once, at
mkdocs.yml:122; relative link
../plugin/index.mdresolves to the existingdocs/plugin/index.md; absolute
GitHub links already appear in ten other docs pages, so theabsolute_links: warn
validation adds nothing new. - Repo rules: docs-only change, no behavior change, no data-dependence update needed.
amiddavid
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.322 | offload-review skill, @amiddavid's session | fresh | 2 of 2 | 1 of 2 | 4c161c863738 |
approve |
Verdict: approve
Docs-only PR: a Pi row and install section in README.md, a new comparison page
docs/reference/pi-vs-claude-code.md, and one mkdocs.yml nav line. No code changes, so the
fail-open and data-dependence rules do not apply.
Findings
None. Every checkable claim in the new text matches the code, the merged docs, or the state of
the repo and its open PRs on 2026-11-10.
Non-blocking
README.md:68— the Pi badge has nologo=parameter. The Claude Code and Codex badges in the
same table carry one. Cosmetic only.README.md:78says the package is "not yet with a real login" tested.pi-package/README.md:37
says "an API key and a Claude Pro/Max login both work". A reader can read these two against each
other. One extra clause in either file ("works by design, untested live") would fix it.docs/reference/pi-vs-claude-code.mdpins its state with "State on 2026-11-10" and two
(open PR) markers. That is the right way to do it, but both markers (#1010, #1011) go stale
the day those PRs merge. Plan a small follow-up edit then.
What I checked
- Full diff of both commits (
c63a7669,4c161c86), plus the code around each claim. - README install steps against
pi-package/README.mdandpi-package/scripts/pi_plugin.py:
the/context-guru setupflow, one consent question, user service at login (launchd/systemd),
~/.pi/agent/models.jsonrouting,/modelre-select,status,uninstall, the reset command
path~/.local/state/context-guru-pi/context-guru-reset, andcache-strategy none. All match. - Version claims.
@earendil-works/pi-coding-agent1.5.0 and 1.5.1 on npm both declare
engines: node >=22.19.0, so "Pi 1.5.0 or later, which needs Node.js 22.19 or later" is correct.
python3is required: the extension runspi.exec("python3", …)
(pi-package/extensions/context-guru.ts:141). macOS or Linux matches the two service kinds. - Comparison table, Claude Code column, against the plugin at HEAD:
ANTHROPIC_BASE_URLrouting in a settings file (docs/how-to/install-plugin.md), project scope
with--globaland a per-project port (skills/cache-strategy-picker/SKILL.md),
SessionStartstarts the proxy andUserPromptSubmitrestarts it when down
(hooks/hooks.json,scripts/check-proxy.sh:75-100), chain-or-replace on an existing base URL
(skills/install/SKILL.md,consent_question_chain/consent_question_replace), session id from
Claude Code hook input (scripts/signal.sh:49), lifecycle signals (start, end, notification),
cache strategiesnone/auto/1-ping/2-ping/1-hour-head(skills/cache-strategy-picker), 19
skills (19 directories undercontext-guru-plugin/skills/), manual ping ("[ Ping now ]" in
docs/plugin/statusline.md), beep (scripts/beep.sh), update check at session start
(scripts/start-proxy.sh:450-543), dashboard URLhttp://127.0.0.1:<port>/dashboard/
(scripts/dashboard.sh:48), and the plain-sh reset script installed outside the plugin
(scripts/reset.sh). - Comparison table, Pi column, against the merged
pi-package(#977, #982): providers
anthropic+openaiwithopenai-codexnot routed, machine-wide scope, service start at
login with crash restart, refuse on an existing base URL (test_pi_plugin.py:206,
base_url_already_set),x-context-guru-sessionheader, session end and compaction signals,
Pi's own cache warming stopped for routed models, strategiesnone/auto/1-ping/2-ping
(pi_plugin.py:58-78), one command with six subcommands, nothing shown in a session. - "A Pi test fails when a shared strategy sets different cache keys" — the test exists:
pi_package/scripts/test_pi_plugin.py:315(test_strategies_match_the_claude_code_plugin)
comparesSTRATEGIESagainstcontext-guru-plugin/scripts/settings.py. - "(open PR)" markers. #1010 (chain mode) and #1011 (session-start check) are both open on
2026-11-10. I read #1010's diff and #1011's extension code: chain/replace/no-change and the
5-second background health check with one restart and one notice match the table rows. The
merged HEAD has neither (thesession_starthandler atcontext-guru.ts:108only re-reads the
install record), so "not merged yet" is correct. - "State on 2026-11-10: plugin 0.6.7, Pi as merged in #977 and #982" —
plugin.jsonsays
0.6.7;git log HEAD -- pi-packageshows exactly those two merges. - Presets claim —
pi_plugin.py:46and the plugin picker tiers indocs/reference/presets.md
agree onoff, conservative, medium, high, xhigh, ultrahigh. - Links and nav —
#pi-experimentalanchor matches the new### Pi (experimental)heading and
is unique;pi-package/README.md,docs/reference/pi-vs-claude-code.md,../plugin/index.md
and the GitHub tree links all resolve; the page appears exactly once in themkdocs.ymlnav,
under Get started next to the plugin section.
- README: name what is not tested live (a real answer, keep-alive pings, Sign in with ChatGPT), and cite Pi's engines field for 22.19. - Comparison page: the two open-PR rows name #1010 and #1011. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: DAVID AMID <[email protected]>
|
Round 1 replies. Both reviewers approved. I fixed the non-blocking notes in Reviewer 1
Reviewer 2
|
amiddavid
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.322 | offload-review skill, @amiddavid's session | resumed | 1 of 2 | 2 of 2 | e6ae1cecd54a |
approve |
Verdict: approve
One new commit, e6ae1cec, answers all three of my round-1 notes. I checked each fix
against the repo and the PR state. All hold. No finding.
Earlier findings
Mine (all round-1 non-blocking):
- Node.js 22.19 without a source — fixed. The README now cites the
engines
field of Pi 1.5.0'spackage.json(README.md:83). The source is right: reviewer 2
checked@earendil-works/pi-coding-agent1.5.0 and 1.5.1 on npm, both declaring
node >=22.19.0. The 22.18 inpi-package/pi_test.gois the floor for the test
runner, which the author's reply states correctly. - "Each one has an open PR" true for one of the two — fixed. #1011 is now open
(gh pr view 1011: OPEN, headfeat/pi-session-start-check, title "check the proxy
at session start and restart it once", matching the row). Both rows and the gaps
line name #1010 and #1011 (pi-vs-claude-code.md:33, 35, 55). - "Not yet with a real login" reading against
pi-package/README.md:38— fixed.
The README now names the untested parts: a real model answer through the proxy,
keep-alive pings, and Sign in with ChatGPT (README.md:77-78). This matches the
limits inpi-package/README.md:139.
Reviewer 2's (round 1, all non-blocking):
- Badge with no
logo=— rejected by the author, with a reason: the badge service
has no Pi icon, and a wrong logo is worse than none. The reason is right, and the
point is cosmetic. I agree with the rejection. - Login wording — fixed by the same change as my item 3.
- Open-PR markers go stale when #1010 and #1011 merge — accepted by the author,
who committed to editing the page then. Fair: the page is dated "State on
2026-11-10", so a follow-up edit is the right shape.
Findings
None. The new commit changes five lines of prose, and each line is now accurate:
the untested list matches pi-package/README.md Limits, the Node floor cites its
source, and both PR numbers point at open PRs whose diffs I checked in round 1
(#1010: CONFLICT_CHOICES = ("chain", "replace", "abort"); #1011:
START_CHECK_TIMEOUT_MS = 5000, one restart, one notice).
Non-blocking
- None new. Reviewer 2's stale-marker point stands as accepted follow-up work.
What I checked
- Last review: round 1, 4c161c8, 2026-11-10T07:39:24Z.
- New commits read: 1 —
e6ae1cec"docs: name the untested parts and the PR numbers,
cite the Node floor" (README.md 5 lines, docs/reference/pi-vs-claude-code.md 6
lines). Read the full diff and the files around each change. - Read in full: 2 reviews, 1 comment, 0 inline comments (from
.review-in-reviews.txt,
.review-in-comments.txt,.review-in-inline.txt). - New items since my last review: reviewer 2's round-1 review (07:43:43Z) — no finding
I need to double-check beyond what is above; the author's round-1 reply (07:44:48Z) —
checked every fix and the one rejection it claims; commite6ae1cec— reviewed as a
first review above. gh pr view 1011: OPEN, headfeat/pi-session-start-check.gh pr view 1010
chain mode was verified open in round 1 and in the reply.- Repo rules: still docs-only, no behavior change, no data-dependence update needed.
amiddavid
left a comment
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (glm, user of @amiddavid) | GLM rits/zai-org/glm-5-3 via Claude Code 2.1.322 | offload-review skill, @amiddavid's session | resumed | 2 of 2 | 2 of 2 | e6ae1cecd54a |
approve |
Verdict: approve
One new commit, docs-only. It fixes the round-1 non-blocking notes, except the badge logo,
which the author rejected with a reason I checked and accept. No new defect.
Findings
None.
Non-blocking
None new. The badge-logo point stays as the author left it: no Pi icon exists in the badge
service's set, and a wrong logo is worse than none. Accepted.
Round-1 findings, status
- Reviewer 1, item 1 (Node 22.19 has no source): fixed. The README now cites the
engines
field of Pi 1.5.0'spackage.json. I verified that field in round 1 against the npm registry:
{"node": ">=22.19.0"}. Correct. - Reviewer 1, item 2 ("each one has an open PR" true for one): fixed. The rows and the closing
line now name #1010 and #1011. Both are open today. - Reviewer 1, item 3 and my login-wording note ("not yet with a real login" vs
pi-package/README.md): fixed. The README now names what is not tested live: a real model
answer through the proxy, keep-alive pings, and Sign in with ChatGPT. This matches the
pi-package/README.mdLimits section and the fake-key sandbox testing recorded in #977, #982
and #1010. The apparent contradiction is gone. - My stale-marker note: agreed by the author. They will edit the page when #1010 and #1011
merge. Accepted. - My badge-logo note: rejected by the author. Reason: no Pi logo in the badge service's icon
set, and a wrong logo is worse than none. The reason is right. Accepted.
What I checked
- Last review: round 1,
4c161c863738, 2026-11-10T07:43:43Z. - New commits read: 1 —
e6ae1cec"docs: name the untested parts and the PR numbers, cite the
Node floor" (README.md +3/−2, docs/reference/pi-vs-claude-code.md +3/−3). - Read in full: 2 reviews, 1 comment, 0 inline comments (from the three saved files).
- New items since my last review:
- Commit
e6ae1cec— read the whole diff and both files around the changes. See below. - Author's round-1 reply comment (2026-11-10T07:44:48Z) — read in full; each item handled above.
- Commit
- New text, claim by claim:
- "Pi 1.5.0 needs Node.js 22.19 or later (the
enginesfield of itspackage.json)" —
verified in round 1 against the npm registry:@earendil-works/pi-coding-agent1.5.0 declares
engines: {"node": ">=22.19.0"}. The citation is accurate. - "A real model answer through the proxy, keep-alive pings and Sign in with ChatGPT are not
tested live yet" — consistent withpi-package/README.mdLimits (Sign in with ChatGPT not
tested against the real service) and with the live checks recorded in #977, #982 and #1010
(fake keys, sandbox HOME). No doc now claims live testing of these. - "(open PR #1011)" and "(open PR #1010)" plus "Both PRs are open" — re-checked today with
gh pr list: #1010 and #1011 are both open. The described behavior still matches what I read
of their diffs in round 1 (chain/replace/no-change; 5-second background health check, one
restart, one notice).
- "Pi 1.5.0 needs Node.js 22.19 or later (the
- Markdown and links: the changed lines keep the table well-formed; no anchor or link changed by
this commit. The rest of the PR is unchanged from round 1, which I verified claim by claim.
README.md conflicted with rossoctl#1009 (Pi). The install table now lists Claude Code, Codex, Pi, OpenCode. The OpenCode row has "Not yet" in the enterprise column, like Pi. The Pi section stays as on main, and the OpenCode section follows it in the same shape. Assisted-By: Claude Opus 5.5 Signed-off-by: DAVID AMID <[email protected]>
Summary
Adds a reference page that compares the Pi package with the Claude Code plugin, in one table.
Adds Pi to the main README as an experimental client, with install steps.
Docs only. No behavior change.
What changed
docs/reference/pi-vs-claude-code.md:mkdocs.yml: the page is in the nav, after the Claude Code plugin pages.README.md: a Pi (experimental) row in the install table, and a short section: requirements (Pi 1.5.0+, Node.js 22.19+, python3, macOS or Linux), four install steps, check, undo, the reset command and the keep-alive quota note.Two rows describe open PRs: the Pi session-start health check and Pi chain mode. Those rows say "(open PR)". When the PRs merge, the rows need an update.
How it was tested
Read the page against
main:pi-package/README.md,pi-package/scripts/pi_plugin.py,context-guru-plugin/hooks/hooks.jsonand the plugin'splugin.json.Data dependence
None. Docs only.
🤖 Generated with Claude Code