---
description: Review the change against a plan file (runs on the review model)
agent: monoceros-review
---

<!-- Generated by `monoceros apply`. Edits here are overwritten on the
     next apply. To customise, copy this file into a project's
     `.opencode/agents/` (or `.opencode/commands/`), which wins over the
     global one and is yours to keep. -->

!`p="$ARGUMENTS"; case "$p" in "~/"*) p="$HOME/${p#\~/}";; esac; root="$HOME/.local/share/opencode/plans"; app=$(pwd | sed -n 's|.*/projects/\([^/]*\).*|\1|p'); out=""; if [ -z "$p" ]; then out="NO ARGUMENT GIVEN. Plans for ${app:-(no app in the working directory)}: $(ls "$root/$app" 2>/dev/null | tr '\n' ' ')"; else for c in "$p" "$root/$app/$p" "$root/$app/$p.md" "$root/$p" "$root/$p.md"; do [ -f "$c" ] && { out="$c"; break; }; done; fi; if [ -z "$out" ] && [ -n "$p" ]; then m=$(find "$root" -name "$p" -o -name "$p.md" 2>/dev/null); n=$(printf '%s' "$m" | grep -c .); if [ "$n" = 1 ]; then out="$m"; elif [ "$n" = 0 ]; then out="NOT FOUND: no plan matching '$p' under $root"; else out="AMBIGUOUS: $(printf '%s' "$m" | tr '\n' ' ')"; fi; fi; lang=""; [ -f "$out" ] && lang=$(sed -n 's/^\*\*Reply to the user in:\*\* *//p' "$out" | head -1); printf 'PLAN: %s\nANSWER IN: %s' "$out" "${lang:-English}"`

Write in the language on the ANSWER IN line, from your first sentence - not
English first and a translation afterwards. It is read out of the plan before
you start, so you have it before you have read anything.

You are the lead for this run and the only role running: review and report, do
not delegate to anyone.

Review the change against that plan. Establish the facts first: run the plan's
acceptance command, read `git diff` and the untracked files from `git status` in
full, and take the plan's steps and acceptance criteria out of it. Then the
verdict on the very first line, and the evidence under it.

If the PLAN line is not a path but starts with NOT FOUND, AMBIGUOUS or NO
ARGUMENT GIVEN, stop there. Do not go looking for a plan yourself and do not
touch any files: show the line and ask which plan is meant.
