Skip to content

wayglass land

Merge an approved change into the trunk, with its why, and mirror it.

Asks the Worker for a 300-second trunk token (only for an approved decision whose fork has not moved, and for a stacked intent only once its parent landed), merges the approved commit into the current trunk in a temporary worktree, pushes it with the why note, and has the Worker verify the trunk now holds exactly that change. Then pushes the trunk branch and notes to the mirror remote in .wayglass/config.yaml (e.g. GitHub) and fast-forwards the local branch when it can. The token never touches disk.

When the trunk moved since the intent forked, the approved commit is merged, never rebased, so the commit that lands is the one policy classified. Edits that git merges cleanly in the decided files land; a conflict stops with land_conflict, and a merge that would touch other files stops with repropose_required. Either way nothing is pushed and the trunk token is given back at once.

Terminal window
wayglass land [intent-id] [flags]
Flag Default Description
--no-mirror do not push to the mirror remote
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.