Skip to content

Commit 6403d38

Browse files
committed
docs: define peer coordination backoff
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
1 parent c997b05 commit 6403d38

3 files changed

Lines changed: 13 additions & 9 deletions

File tree

‎docs/integrations/codex-subagent-orchestration.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,11 @@ candidates. A dormant or non-resumable lane is projected under
304304
That blocked diagnostic does not replace the coordinator's own runnable lane or
305305
re-arm an activation obligation on every heartbeat. If the coordinator also
306306
has no in-scope runnable fallback, the final interaction mode is
307-
`peer_coordination_blocked`: schedulers return the bundle to its owner and stop
308-
the recurring heartbeat until peer capability/readiness, coordinator
309-
configuration, or the coordinator's own work frontier materially changes.
307+
`peer_coordination_blocked`: schedulers keep a no-spend observer alive with a
308+
10/20/30/60 minute stateful backoff. Peer capability/readiness, coordinator
309+
configuration, reassignment, or the coordinator's own work frontier changes
310+
the reset identity and restores the initial cadence; this recoverable state
311+
does not pause or delete the recurring heartbeat.
310312

311313
Disable registered-peer coordination without changing peer registration or
312314
child-worker policy:

‎docs/product/core-control-plane/state-machine.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ stateDiagram-v2
340340
| --- | --- | --- | --- |
341341
| `run_now` | `active_work` | 3 / 10 minutes | Work or repair must be attempted. |
342342
| `backoff_waiting_for_user` | `human_gate` | 30 / 120 minutes | Concrete user/controller action is next. |
343-
| `backoff_until_reassigned` | `agent_scope_wait` | 10 / 60 minutes, progression 10/20/30/60 | Handoff owner or reassignment may unblock this agent. |
343+
| `backoff_until_reassigned` | `agent_scope_wait` or `peer_coordination_wait` | 10 / 60 minutes, progression 10/20/30/60 | Handoff owner, peer readiness, coordinator configuration, reassignment, or new local work may unblock this agent. |
344344
| `backoff_until_material_transition` | `monitor_wait` | 15 / 60 minutes | Monitor-only liveness without compute spend. |
345345
| `backoff_until_fresh_evidence` | `unchanged_noop` | 60 / 240 minutes | Wait for fresh mapped or post-handoff evidence. |
346346
| `backoff_until_state_change` | `quiet_wait` | 30 / 120 minutes | No specific user/monitor path is projected. |

‎docs/quota-allocation.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -725,11 +725,13 @@ gap, autonomy blocker, or replan obligation fail closed. This keeps recurring
725725
controllers alive during ordinary waits while honoring an explicit completed
726726
goal shutdown without another quota-spending turn.
727727

728-
An explicit `peer_coordination_blocked` decision is also a typed host stop, not
729-
an ordinary quiet wait. Its `automation_liveness` and `scheduler_hint` both
730-
require the current recurring heartbeat to stop without spending quota. The
731-
host resumes only after peer activation capability, peer runtime readiness,
732-
coordinator configuration, or the local work frontier materially changes.
728+
An explicit `peer_coordination_blocked` decision is a recoverable typed wait,
729+
not a terminal host stop. It keeps the recurring heartbeat alive without
730+
spending quota and uses the existing TypeScript-owned stateful backoff
731+
transition with a 10/20/30/60 minute progression. Peer activation capability,
732+
peer runtime readiness, coordinator configuration, or newly projected local
733+
work changes the reset identity and restores the initial cadence. Goal stopped,
734+
quota paused, and validated terminal no-follow-up remain the stop cases.
733735

734736
An individual registered peer can instead be put in `monitor_only` work mode:
735737

0 commit comments

Comments
 (0)