docs: expand CLAUDE.md via /init and fix README command examples#2
Conversation
Replace the seed-placeholder CLAUDE.md with a full runtime guide covering the three-form name split (dist intern-cli / package intern / command intern), the CLI dispatch + register() pattern, the agent-first output contract, the culture.yaml/doctor identity model, and repo conventions. Fix README Quickstart, which invoked the CLI as `intern-cli` (that binary does not exist — the console command is `intern`). Add a note clarifying the command vs. dist vs. import-package names and correct the rename step. Bump 0.4.0 -> 0.4.1 and regenerate uv.lock (self-package entry was stale). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
/agentic_review |
PR Summary by QodoDocs: expand CLAUDE.md and fix README CLI command examples
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
|



What
Runs
/initon the repo and fixes the README CLI examples that don't work today.CLAUDE.mdReplaces the seed/bootstrap placeholder with a full runtime guide. Highlights:
the distribution/PyPI name is
intern-cli, the import package isintern,and the console command is
intern([project.scripts]→intern = "intern.cli:main"). argparse'sprogisintern-cli, so every--help/learnstring saysintern-cliwhile the runnable binary isintern.template, not the Bonsai-SLM wrapper the package description advertises
(no inference code exists yet).
main → register() → _dispatchflow, the recipe for adding acommand/noun group, and the agent-first output contract (stdout/stderr split,
--jsoneverywhere,error:/hint:errors, exit-code policy).culture.yaml+doctoridentity model (this repo runsbackend: colleague, soAGENTS.colleague.md— notCLAUDE.md— is theinvariant-checked resident prompt).
cicdlane, cite-don't-import skill vendoring,and the ~100-place rename procedure with the
git grepdiscovery command theREADME already promised lived here.
README.mdintern-cli whoami/intern-cli learn— thatbinary doesn't exist, so the examples failed. Corrected to
intern.names, and fixed the "Make it your own" rename step to reflect all three forms.
Why
The seed
CLAUDE.mdwas still a placeholder, and the README's command exampleswere broken (verified:
uv run intern-cli whoami→No such file or directory;uv run intern whoamiworks).Verification
uv run pytest -n auto— 22 passeduv run black --check/isort --check-only/flake8/bandit— cleanuv run teken cli doctor . --strict— 26/26 (rubric gate)uv run intern doctor— healthyCLAUDE.md+README.md— 0 errorsVersion bumped
0.4.0 → 0.4.1;uv.lockregenerated (its self-package entrywas stale at 0.3.4).