wayglass ai-review
Have the Worker’s AI reviewer decide an agent_review change.
Asks the Worker to review the intent’s latest agent_review decision with Workers AI. The model reads the intent and the change’s diff and either approves (recorded as workers-ai:<model>, like any reviewer’s approval) or escalates the change to a person. It never rejects, and it never decides a change policy routed to a person (needs_human, exit 4). Anything it cannot read or answer with confidence goes to a person.
The Worker must have the reviewer on (AI_REVIEW=manual or auto); otherwise ai_unavailable (exit 1) and the change keeps waiting for a reviewer agent (‘wayglass review –for agent’).
wayglass ai-review <intent-id>Examples
Section titled “Examples”wayglass ai-review i269d1c348e --jsonGlobal flags
Section titled “Global flags”| Flag | Default | Description |
|---|---|---|
--json |
print a JSON envelope for agents (no colour, prompts or spinners) |
Exit codes and the --json envelope are the same for every command; see For agents.
See also
Section titled “See also”wayglass: Zero Trust for agentic development