Repository navigation
Closed
Description
Goal
Make Review Tutor installable and launchable from Claude Code, Codex, and Pi (and any shell), and shareable publicly — one codebase in this repo, published as @pickforge/review-tutor.
Today it is a Pi extension only (pi -e <checkout>), private at 0.0.0. The runtime under src/ is already host-independent; only extensions/review-tutor.ts touches Pi.
Design (frozen)
- Core CLI
review-tutor [source] [--no-open] [--detach]— starts the loopback server, prints the URL, opens the browser;--detachreturns immediately and the server exits after 30 min without a browser client. Pi models are discovered viapi --list-modelswhen no host injects them (same discovery seam as Codex). - Pi: existing extension unchanged (in-process), installed with
pi install npm:@pickforge/review-tutor(or a checkout). - Claude Code: plugin in
packages/review-tutor/claude-plugin/with a/review-tutorskill that runsnpx @pickforge/review-tutor --detachviaallowed-tools; marketplace.claude-plugin/marketplace.jsonat the repo root (git-subdirsource). Install:claude plugin marketplace add pickforge/pickforge-platform→claude plugin install review-tutor@pickforge. - Codex: skill folder
packages/review-tutor/codex-skill/review-tutor/SKILL.md(copied to~/.codex/skills/), same CLI. - Distribution: package goes public at the lockstep version (0.12.0 → next tag), built
binvia tsup, TS sources shipped for Pi; existingpublish.yml(npm provenance) handles it on the nextv*tag.
Security model unchanged: loopback + bearer token, isolated read-only children, no credentials to the browser.
PR plan
- PR A — host-independent CLI (
src/cli.ts,bin, Pi discovery viapi --list-models, detach mode). Depends on: none. Validation: vitest + localnode dist/cli.jsproof. - PR B — package goes public:
private:false, version 0.12.0,files, build in root chain, README install per harness,pi install npm:proof after publish. Depends on: A. - PR C — Claude Code plugin + root marketplace + Codex skill, with local install proofs (
claude plugin marketplace add ./,claude plugin install, Codex skill copy). Depends on: A (B for the npm name in commands; can point atnpxbefore publish). - Release: tag
v0.13.0(lockstep) → npm publish → verifynpx @pickforge/review-tutorandpi install npm:@pickforge/review-tutoron a clean machine/dir. - Docs: landing/site mention only if Elberte wants it (not in scope).
Traceability
| Criterion | PR | Validation | Status |
|---|---|---|---|
| CLI starts server, prints URL, opens browser, detaches | A | cli tests + local proof | pending |
| Pi models discovered without a host | A | fixture tests + local pi --list-models proof |
pending |
| Pi extension behaviour unchanged | A | existing extension tests byte-identical | pending |
| Public npm package with bin | B | publish dry-run, npm pack contents |
pending |
| Claude Code plugin installable from marketplace | C | local marketplace install proof | pending |
| Codex skill installable | C | copy + codex exec recognises skill (manual) |
pending |
| Pi installable via npm | B/Release | pi install npm:@pickforge/review-tutor after publish |
pending |
Current status: In progress
Next action: PR A opened for review
Metadata
Metadata
Assignees
Labels
No labels
Activity
ElbertePlinio commentedon Aug 26, 2026
Progress: PR A #83 opened (host-independent CLI, f10dc37; local proof: no-host discovery Pi 434 / Claude Code 3 / Codex 7, foreground + detach). Review panel running; PR B and PR C building on top.
fix(review-tutor): run the installed CLI and keep host execution on Pi
ElbertePlinio commentedon Aug 26, 2026
Progress: PR A #83 review-clean at f2b0f86 (panel: Sol correctness 3×P2 fixed + mutation-verified, Grok security clean, test-integrity P2 pi.exec fixed; P1 installed-bin bug caught by the packaging lane and fixed; CLI now refuses sources outside [A-Za-z0-9._/:@#~^-]). PR C #84 review-clean at 5be3066 (skill injection path removed). PR B (public package) building on the fixed base. CI pending on the new heads.
ElbertePlinio commentedon Aug 26, 2026
Progress update:
v0.13.0(publishes to npm — needs Elberte's go)Blocked: none. Next: merge order above — awaiting Elberte.
feat(review-tutor): host-independent review-tutor CLI (#83)
ElbertePlinio commentedon Aug 26, 2026
Progress update:
@pickforge/review-tutoris a new package — npm OIDC trusted publishing cannot create packages (E401 on first PUT), so the workflow aborted before sync, tauri-release, tauri-updaterBlocked: needs Elberte's npm login. Next: manual publish from the v0.13.0 tag.
ElbertePlinio commentedon Aug 26, 2026
Progress update:
@pickforge/review-tutorfirst publish done manually, trusted publisher configurednpx -y @pickforge/review-tutor worktree --detachserves state/diff;pi install npm:@pickforge/review-tutorinstalls extension+skills;claude plugin marketplace add pickforge/pickforge-platform+claude plugin install review-tutor@pickforge→ 0.13.0 enabledDone.
ElbertePlinio commentedon Aug 26, 2026
Shipped in v0.13.0.