Expand description
The observe-and-verify half of every step’s lifecycle.
One implementation per forge and step, called by preview never, by apply
before and after the mutation, and by check as its whole job — so the
three modes cannot drift apart, and the mutating half is unreachable from
here by construction: nothing spawned from this module mutates anything —
read-only forge-CLI calls, the technology’s own dry-run check, and the
App-credential read super::app_jwt carries for install-bot.
Enums§
- Step
State - What one observation found.
Constants§
- TITLE_
CHECK - The landed title check’s context, fixed by the payload: the job in
pr-title.ymlthat holds the squash title to the commit convention. - TRUNK_
CANDIDATES - The long-lived branch names
single-trunkretires when each is an ancestor of the trunk: the common default and the retired second branch.
Functions§
- github_
install_ bot - The installation, observed as the App itself.
- observe
- Observe one step’s desired state.
- single_
trunk_ guard - The destructive step’s own guard: whether deleting a candidate branch can lose work.
Type Aliases§
- Runner
- The executor observes run through: the command layer wraps echoing, journaling, and redaction around the process adapter.