Skip to main content

Module observe

Module observe 

Source
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§

StepState
What one observation found.

Constants§

TRUNK_CANDIDATES
The long-lived branch names single-trunk retires 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.