wayglass reject
Reject a change routed to you, with a reason.
Reject a change routed to you, with a reason.
Decides the intent’s latest proposed change. The reason is recorded with your name in the audit log and travels with the commit. Exit 0 when the decision was recorded, whatever the verdict.
The verdict is bound to the decision you reviewed: ‘wayglass review’ shows its id, pass it with –decision. Without the flag the intent’s latest decision is read first and decided by id. Either way, if the author proposes again in between, the Worker refuses (decision_replaced) instead of approving a change nobody read.
A change policy routed to a person (human_approve, multi_approve, quarantine) can only be decided with the admin key or a human key (‘wayglass keys create –human’); an agent key gets needs_human (exit 4).
wayglass reject <intent-id> [flags]Examples
Section titled “Examples”wayglass reject i269d1c348e --reason "Checked the login flow against the intent"| Flag | Default | Description |
|---|---|---|
--decision string |
the decision id you reviewed (from ‘wayglass review’); default: the intent’s latest decision, read first | |
--family string |
your model family: claude, openai, gemini, meta, other or human (default $WAYGLASS_AGENT_FAMILY) | |
--reason string |
why you decided this (required) |
Global 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