PatchFlowDocs
Reference

Run states and labels

Interpret local state, pull-request labels, and terminal outcomes.

Open Markdown ↗
StateMeaning
pendingRun created but not started
migratingCloud agent is working
pr_openedPR located; gate not started
testingChecks or local gate running
retryingAgent resumed with gate output
readyGate passed; human review remains
needs_attentionRetry budget ended without a passing gate
errorPipeline could not complete

PR labels

PatchFlow removes the opposite label when an outcome changes. It also writes a PR comment with the gate mode and evidence.

  • patchflow:ready — configured gate passed
  • patchflow:needs-attention — configured gate failed

Local state

State stores the most recent 100 runs and the last-seen package version. Writes are atomic and each pipeline update reloads current state before saving.

.patchflow/state.json
NextSecurity model