AIToday
Zenn AI/MLPublished: Oct 13, 2026, 10:00 JST

River Review: AI code review via Review Judgment as Code

River Review: AI code review via Review Judgment as Code

3 Key Points

  1. What happened

    The project's developer laid out River Review's core design, placing review criteria in repository-owned Skills rather than in model prompts, and separating judgment into Artifact, Evidence, Verification, Memory and Human Judgment.

  2. Why it matters

    Teams can keep the same review criteria when they swap models or agents, since findings are checked by a deterministic verifier and review state is recorded as complete, partial or not_executed.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

River Review's starting point was an observation about long agent sessions: aggregating 111 Codex sessions and 8,096 requests, the cited TOKIUM article showed that even with a high prompt-cache hit rate, a larger context means more is resent per request. One suggested fix was isolating large outputs, such as tests and log analysis, in sub-agents, which act as a boundary rather than only a way to parallelize.

That led the project away from simply shrinking a context budget. River Review asks instead what to read, which responsibility reads it, what to keep as evidence, and what to hand to the next decision. Its context presets cap review modes at 1,024, 4,000 and 16,000 maxTokens, and Skill loading uses progressive disclosure, so the budget is treated as an attention budget as much as a cost budget. The current implementation actually computes only path proximity between changed files, since symbolUsage, siblingTest and commitRecency are configurable but not calculated in the ranking.

The design also draws a line the project does not cross: context lifecycle stays outside the core. When to end a session, compress context or retry is left to the agent host, and River Review provides the judgment material before and after that boundary. A planned Organizer would project existing findings, coverage and verification results into a human-facing view deterministically, without re-judging severity or deciding GO or NO-GO, but it is still at the design stage.

FAQ
What is Review Judgment as Code?
It means a team keeps what to check, what counts as Evidence, and when not to flag something as a Skill on the repository side, so the criteria survive a model swap. River Review says this is its starting point, and the concept page calls it a core idea.
What is Riverbed Memory for?
It is the layer that reuses past review judgments in later reviews, storing types such as adr, wontfix and suppression. The aim is to keep the information that changes the next decision, not the whole conversation.
Does River Review own the review loop?
No. Sessions, context lifecycle, retries, timeouts and stop decisions belong to the caller, such as Claude Code, Codex or a custom agent. River Review returns review judgment and the material around it.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Next articleHarvey to enter Japan in early 2027, CEO says