- Skill ID
- fallow-rs/fallow-skills/fallow-review
- Publisher
- fallow-rs
- Repository
- fallow-skills
- Installs
- 0
- Files
- 6
- License
- MIT
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
fallow-rs/fallow-skills/fallow-reviewInstalls these files- SKILL.md
- agents/openai.yaml
- hooks/fallow-review-on-feedback.sh
- hooks/fallow-review-session-init.sh
- hooks/settings.snippet.json
- references/tradeoff-elicitation.md
What this skill tells the agent
Fallow Review: graph-grounded code review
fallow review turns a changeset into a deterministic, graph-derived review brief and an agent-contract loop. It answers "where do I look, and what calls actually need human taste?" rather than "will CI block this?" (that is fallow audit, which gates). review always exits 0, so it is safe to run regardless of verdict.
The four jobs it does, in order:
- subtract: dead code, complexity, duplication, and styling for the changed files are reported and kept OUT of the judgment loop, so attention is not spent on what a deterministic check already owns.
- focus: changed-file units are ranked by a composite attention score (fan-in/out, risk zone, change shape) with a
review-here/not-prioritizedlabel and a fulldeprioritizedescape-hatch list, so nothing is hidden. - structure: the decision surface lifts the handful of consequential STRUCTURAL decisions out of the diff and frames each as a judgment question, capped to a working-memory-sized set, each anchored to a
signal_idfallow emitted. - direct: the walkthrough guide hands an agent a graph-derived digest, the review direction, a graph-snapshot pin, and the exact judgment schema to return.
When to use
- Reviewing a PR, branch, or diff (AI-generated or human-written) before merge.
- After an agent has done work and removed the fallow findings it could; this surfaces what is left for human/agent taste.
- Producing inline-reviewable judgments that can flow back to the agent that wrote the code.
When NOT to use
- Gating CI on a pass/fail verdict: use
fallow audit(it exits non-zero on a fail verdict). - Whole-project health, cleanup, or dead-code reports: use the
fallowskill.
Quick human brief
# Auto-detect the base (merge-base against the upstream / remote default):
fallow review
# Pin the base, or scope to a precise diff:
fallow review --base origin/main
git diff --find-renames origin/main...HEAD | fallow review --base origin/main --diff-stdinThe human brief prints the orientation facts, the focus map, and the decision surface ("Decisions to make"). --format json emits the full structured envelope (decisions, focus, deltas, impact_closure, partition, graph_facts). --max-decisions N tunes the cap (clamped to a small band). --show-deprioritized expands what the focus map collapsed.
The decision surface
Each decision is a framed question anchored to a signal_id fallow deterministically derived from the graph (a delta key or a coordination-gap key). There are exactly three shippable categories:
- coupling-boundary: a new cross-zone dependency edge.
- public-api-contract: a new exported public-API surface, or a changed contract consumed by modules OUTSIDE this diff (a coordinate-or-confirm signal).
- dependency: a changed
package.jsonthat adds third-party entries or moves a declared entry across a major version (or a0.xminor). One batched decision per manifest per kind, weighted by the graph's in-repo importers of the affected packages:blastis the importer count,internal_consumer_countthe importers outside the diff. Both counts are a union over the batched packages. An entry outsidedependenciesshows a(dev),(optional), or(peer)tag in the question.digest.deltascarries the keys asdependency_added(<manifest>::<name>) anddependency_major_bumped(<manifest>::<name>@<from>-><to>); both lists are always present, possibly empty. Minor and patch bumps and non-numeric ranges (workspace, file, git, tags) are never candidates. Adependencydecision has nosuppressaction: it anchors onpackage.json, which cannot carry a comment, so never paste a// fallow-ignoreline into a manifest. Thedecision_surfaceMCP tool surfaces the same dependency decisions as the CLI. Framing rule: cite the changelog question ("which documented change in<from>to<to>reaches these N importers?"); do not guess the behavior change.
A decision may carry previous_signal_id when its anchor file was renamed in the change: that is the signal_id the same decision would have had at the old path, so a review surface can re-attach a prior reviewer comment across a git mv.
Eliciting the broader trade-offs (taste ownership)
The decision surface above is the DETERMINISTIC slice: only the trade-offs fallow can prove from the graph (the three categories). Real architectural trade-offs are broader (abstraction level, error-handling strategy, data-model shape, eager-vs-lazy, state ownership, extensibility-vs-YAGNI, testability, trust boundaries), and none of those are graph-detectable. Surfacing them needs a model reading the diff, not a static pass.
Run the trade-off elicitation prompt in references/tradeoff-elicitation.md over the diff plus the guide. It applies TASTE OWNERSHIP: the model makes each choice legible and frames a genuinely open question; the human decides. The prompt carries the honesty contract (diff anchoring, the observed / tradeoff / question split, deterministic: false fencing, provenance, the top-five cap with honest abstention, no duplication of the deterministic surface, options that never pick). fallow owns what it can prove, the prompt covers the rest, and the fencing keeps the two from being confused.
Running it as a review step
When a review surface (the fallow review app, or you in the terminal) wants the trade-off surface alongside the deterministic decisions:
- Fetch the guide and read the diff: ``
bash fallow review --base <ref> --walkthrough-guide --format json > guide.json git diff <ref>...HEAD # or: git diff --cached for staged work`` - Run the
references/tradeoff-elicitation.mdprompt over the diff plusguide.json. - Emit the envelope (the
{ graph_snapshot_hash, abstained, tradeoffs[] }shape) to.fallow-review/tradeoffs.jsonin the repo root, the sibling of.fallow-review/feed.jsonl, so a review surface can render it.
This step is deliberately NOT part of the post-validate agent-contract loop below. The trade-off envelope is never round-tripped through fallow review --walkthrough-file (which only validates emitted signal_ids), so it carries NO fallow-grade guarantee: every item stays deterministic: false, agent-self-checked against the diff, not graph-validated. Do not present it as fallow-validated.
The agent-contract loop
The loop lets an agent produce judgments that fallow post-validates against the live graph. The verifier is the graph, not a second model.
- Fetch the guide:
fallow review --base origin/main --walkthrough-guide --format json > guide.jsonThe guide contains: digest (the brief + decision surface), direction (where to look), graph_snapshot_hash (the staleness pin), agent_schema (the exact shape to return), and injection_note. The digest is built from the graph ONLY; PR prose is never folded in, so the guide is injection-resistant by construction.
- Read the decisions in
digest. Each carries asignal_id, acategory, the framedquestion, and ananchor_file/anchor_line.
- Return a judgment matching
agent_schema:
{
"graph_snapshot_hash": "<echo the value from the guide>",
"judgments": [
{
"signal_id": "<one signal_id fallow emitted>",
"framing": "<your reasoning for the human reviewer>",
"action": "<block | address | consider | fyi>",
"concern": "<optional: one lens from agent_schema.concern_vocabulary>"
}
]
}Every signal_id MUST be one fallow emitted in the guide (emitted_signal_ids). An unanchored id is rejected. Echo the graph_snapshot_hash verbatim.
More from fallow-rs
Use this skill in a project
Open any RiverX project, search the Skills panel for fallow-rs/fallow-skills/fallow-review, and install it in one click.
