Repository navigation
0.1.0 (2026-11-28)
Stage 4: a second agent, exports for agents without hooks, and the open source release.
Added
- Agent adapters (
intern_agent/adapters/):claude-code(the default, unchanged behaviour),codex
andgeneric.intern hook <event> --agent codex|genericconverts the agent's hook input and output. - Codex CLI support through Codex hooks (
UserPromptSubmit,PreToolUse,Stop): recall, corrections,
and the guard on shell calls andapply_patchedits. Codex cannot "ask", so the guard's ask becomes a
deny that says why. Codex rollout files are read for context only; corrections from Codex wait as
untrusted untilintern approve. intern export --format agents|claude|cursorand--project; the cursor format writes
.cursor/rules/intern.mdcwithalwaysApply: truefrontmatter.- The
interncurator subagent for Claude Code (plugins/claude-code/agents/intern.md) and the
/intern:intern-reviewcommand that calls it. - Docs:
docs/architecture.md,docs/security.md,docs/lessons-format.md,CONTRIBUTING.md. - CI installs the wheel and runs
intern --versionandintern doctor --json.
Changed
- Implicit corrections from file changes are trusted only when the prompt itself is a correction and no
background command of the agent may still be running; an edit that is not a revert needs a correcting
prompt, a revert needs a short or correcting one. The prompt hook first records the agent's edits from
a turn stopped with Esc (no Stop ran), so they are not taken for the user's. - Rejected tool calls: only the reason the user typed is the user's; the rejected call reaches distill
inside the untrusted agent tags, a rejection with no reason is untrusted, outside content read earlier
in the session stays attached to later rejections, and "no" toExitPlanModeorAskUserQuestion
is not a rejection. - Repeated failures count the same command with the same error; a success in between starts again.
git status/diff/log/show/blame/rev-parse/ls-filescount as local only while the git config they read
names no program (diff.external, textconv, pager, fsmonitor, hooksPath, filters, gpg) and includes no