Skip to content

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).

Terminal window
wayglass reject <intent-id> [flags]
Terminal window
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)
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.

  • wayglass: Zero Trust for agentic development