Repository navigation
Added
- Repositories can now steer how Kōan reviews them with an optional
.koan/config.yamlat their root. Its first setting,review.always_check,
pins file globs that must never be dropped when a large pull request is
compressed to fit the review budget — so your skill manifests, docs, or
config-as-code stay reviewed instead of landing in the "Partial review" note.
The file is entirely optional and an absent one changes nothing; see
docs/reference/koan-config.sample.yamlfor the annotated template. (#2466) - Quota tracking can now be anchored to Anthropic's own usage figures instead of
Kōan's local token estimate, so session and weekly percentages match what you
see on your account. Controlled byusage.authoritative_sourcein
instance/config.yaml, which defaults toauto— it switches itself on when
you run a Claude provider with an OAuth login and silently falls back to the
local estimate otherwise, so no action is needed. Set it tooffto always use
the local estimate. Poll interval and staleness are tunable via
usage.authoritative_poll_secondsand
usage.authoritative_max_staleness_seconds; all three are documented in
instance.example/config.yaml. (#2455) - Reviews are now consistent across re-runs. Asking for a review again on an
unchanged pull request reproduces the previous one instead of re-deriving it,
and when code has genuinely changed the new review is reconciled against the
old: issues you already fixed are listed as resolved rather than silently
dropped, and a new non-critical complaint about code that has not changed since
the last review is suppressed — no more review whiplash. Critical findings
always come through, labelled[Pre-Existing Issue]. Enabled by default and
tunable throughreview_consistency,review_reconcileand
review_snippet_validationininstance/config.yaml; see
docs/design/review-consistency.mdfor the full behavior. (#2465) - The reviewer now reads the reviewed repository's own convention documents
(AGENTS.md,CLAUDE.md,CONTRIBUTING.md, and adocs/knowledge bundle
when present) before commenting, so it applies your house style instead of
flagging it as a defect. On by default, a no-op for repos that ship none of
these, and adjustable viareview_convention_docsininstance/config.yaml. - Quoted code in a review finding is now checked against the real file before the
comment is posted, so a review can no longer show stale, pre-fix source under a
permalink pointing at already-fixed code. (#2465) - You are now notified when a review request is skipped because the pull request
has no new commits, instead of the request appearing to vanish. (#2457) - Kōan can now run as an MCP server, so MCP clients (editors, other agents) can
drive missions and query state — over stdio, or over authenticated Streamable
HTTP. Off by default; enable and tune it under themcp:block of
instance/config.yaml(enabled,transport,host,port,
tools_allow_destructive). Destructive tools stay hidden unless you opt in.
Seedocs/operations/mcp-server.md. (#2513, #2521) - Gemini CLI is now a supported provider: set
cli_provider: gemini. Per-role
models are configured undermodels.gemini(defaults:profor missions and
reviews,flashfor chat,flash-litefor lightweight calls). See
docs/providers/gemini.md. (#2501) - Every mission now runs inside its own systemd scope, so nothing it starts — a
Gradle daemon, a test container — outlives it and slowly eats the host's memory.
A memory cap keeps one mission from starving the machine. On by default, no
action needed; tune or disable it withmission_limits(enabled,
memory_reserve,memory_min,memory_max) ininstance/config.yaml. Hosts
without systemd fall back to a process-group cleanup. (#2500) - A repository's
.koan/config.yamlcan now run shell commands before and after a
mission (pre_hooks/post_hooks, per mission type) — e.g. start a database
before a fix. Because this runs repo-controlled shell on your host it is off
until you setmission_hooks.enabled: trueininstance/config.yaml(or
mission_hooks: trueper project). Seedocs/security/mission-hooks.mdand
docs/reference/koan-config.sample.yaml. (#2478) - A repository can also name its own Claude Code skills to run when a lifecycle
event fires (e.g. refresh docs after every review), viahooks:in its
.koan/config.yaml. Off until you sethook_skills.enabled: truein
instance/config.yaml(or per project); rate-limited and read only from the
default branch. Seedocs/architecture/hooks.md. (#2497) - Before a force-push,
/rebasenow checks that no content was lost from the pull
request, and stops instead of pushing if it was. - Review depth is now configurable with
review_effort(lowtomax) in
instance/config.yamlor per project; leave it unset to keep the provider's
default. (#2523) - Mentioning the bot explicitly on a pull request now always triggers a fresh
review, even when nothing changed since the last one. - Reviews now also flag structural problems — places where a restructuring would
make whole branches, flags or layers unnecessary. (#2506) /prnow ends with a readability-only simplify pass after its quality review.
(#938)/restart --forcerestarts the daemons in an emergency, even when they are not
responding. (#2502)- A new command-line REST client lets you drive Kōan's API from a terminal. See
docs/users/koan-cli.md. (#2509) - Jira plans that are too long for one comment are now split across several, and
each delivery is verified so a plan never silently goes missing. (#2507) !commandshortcuts now work on every messaging provider, not just Slack.- When the Codex provider is active, the Codex CLI is updated automatically at
startup and once a day. On by default; setcodex_update.enabled: falseto
manage it yourself, orcodex_update.notify: falseto skip the update notice.
Seedocs/providers/codex.md. (#2482) - Kōan now mentions Skuggi, the hosted AI engineering team from Kōan's makers:
once at launch, in occasional contextual nudges (each at most once a week), and
in report,/helpand/statusfooters. On by default; set
skuggi.promo: falseininstance/config.yamlto turn every mention off. See
docs/users/skuggi.md. (#2530)
Changed
- Project-level
KOAN.mdguidance now also reaches skills that run through the
agent runner, so per-project instructions apply consistently across skills
rather than only in some of them. Seedocs/users/koan-md.md. (#2464) - The time allowed for each round of automatic rebase conflict resolution is now
configurable viarebase_conflict_timeout(default 600 seconds) in
instance/config.yaml— raise it for large repositories where a round runs
long. - Each mission now ends with one consistent notification built from a fixed
template, instead of several rephrased variants that could drop the link.
(#2527) - Reviews are now strictly read-only: they run on a pinned checkout of the pull
request head with a shell limited to read commands, enforced by the CLI rather
than by the prompt. - Review prose now follows your configured reply language. (#2517)
cli_providernow accepts a binary path (flavor:path), which every role
inherits unless it overrides it — seeinstance.example/config.yaml. Chat,
rituals and message formatting now use the provider and model of their own role.- Long foreground commands in a mission are no longer cut at the Claude CLI's
two-minute default: they get up to the mission budget, adjustable with
bash_foreground_timeoutininstance/config.yaml(default: mission timeout
minus 120 seconds; no action needed). Seedocs/architecture/daemon.md. (#2522) - Steering instructions loaded before each Claude call are reported once, as a
single deduplicated summary. (#2480) - A mission re-queued after stalling now carries guidance from its failed attempt.
Fixed
- Rebase progress messages now report the CLI provider and model actually in use
instead of always saying "Claude". (#2467) - A code mission that ends without a pull request is now reported as failed
instead of done. (#2518) - The Telegram bridge no longer stalls for tens of seconds every hour while it
cleans up old worktrees. (#2503) - A provider that stops sending output no longer hangs the mission forever.
(#2515) - Rebases no longer fail on
--continueafter a conflict is resolved, no longer
link unrelated issues, and correctly credit commits made by the feedback agent.
(#2512, #2514, #2511) GET /v1/missionsnow returns the actual mission queue. (#2516)- Quota no longer pauses the agent on false positives.
- A corrupted event file no longer crashes the agent loop. (#2498)
- Slack links and bang-prefixed commands are handled correctly.
- Repositories with dots in their name are recognized on GitHub. (#2486)
- Leftover review worktrees are reclaimed, freeing disk space. (#2484)
- Review findings get unique ids, and findings rejected on reflection no longer
come back. - Skills no longer misread multi-line command footers as arguments. (#2504)