Skip to content

wayglass diff

Show an intent’s change (fork base to pushed head) for review.

Fetches the intent’s fork with a 300-second read-only token from the Worker (held in memory, audited as token.read_minted) and prints the diff from where the fork started to the head the agent pushed. Any agent may read: this is how a reviewer sees the code before it approves or rejects. The head stays in this checkout at refs/wayglass/review/<intent-id>.

Terminal window
wayglass diff [intent-id]
Terminal window
wayglass review --for agent --json # what waits for a reviewer
wayglass diff i5e39df9bcd --json
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.