Human boundaries: park, resume, continue

Human boundaries: park, resume, continue A workflow diagram generated by Archify. 01 / The run 02 / Shared store, host EX / Refused or expired 04 / A fresh run Park Wait, in the system of record Continue Running · at a human boundary · The run › Park Running at a human boundary ctx.park(boundary) · resume= a stable id · The run › Park ctx.park(boundary) resume= a stable id Barrier record · compare-and-set · Shared store, host › Wait, in the system of record Barrier record compare-and-set Marker on the PR · label + sticky comment · Shared store, host › Wait, in the system of record Marker on the PR label + sticky comment park.local_store · BLOCKED by name · Refused or expired › Park park.local_store BLOCKED by name Expired · sweep closes it · Refused or expired › Continue Expired sweep closes it A person acts · approve, or resume --as · A fresh run › Wait, in the system of record A person acts approve, or resume --as Tick · one swap wins · A fresh run › Continue Tick one swap wins Continuation · parent_run_id set · A fresh run › Continue Continuation parent_run_id set LOCAL store shared store notified event, actor, verdict barrier complete past expires Legend Agent logic Policy Context / trace External system

Nothing waits in memory

  • • The state is on the ledger and in the host; the process exits
  • • A continuation is an ordinary workflow with a stable id

Exactly one continuation

  • • Eight concurrent ticks: one swap wins, seven re-read
  • • Duplicate deliveries collapse on (run, branch, event)