Expand description
/review (packages/coding-agent/src/ultron/review.ts): the typed command becomes a short prompt that asks the
model to run Ultron’s built-in review in one REPL cell and relay its report. The review itself is Python
(review_api); nothing about it is in the system prompt of ordinary turns.
The session expands it where every prompt and queued message enters it (agent-controller-provider.ts
toTextPrompt: prompt, steer, followUp and nextRun; Core::user_text), so the TUI, queued messages,
ultron -p "/review" and RPC clients behave the same. Clients send /review <args> as typed.
Functions§
- expand_
review_ command expandReviewCommand:/review [args](after trimming;/^\/review(?:\s+([\s\S]*))?$/) becomes the review prompt; any other text is returned unchanged.- review_
prompt reviewPrompt: the model-facing prompt for/review <args>.