@@ -318,7 +318,7 @@ Authoring: [pinned tasks][evals-tasks] and [environment][evals-environment]. The
318318Current st2 source: [ ` AgentSpec ` and ` Task ` ] ( ../../../crates/agent-spec/src/spec.rs ) .
319319Evidence: [ spawn construction] ( ../../../src/run.rs ) .
320320
321- <h3 id =" f12 " >F12 Future policy</h3 >
321+ <h3 id =" f12 " >F12 Future policy (R31) </h3 >
322322
323323Agent or task ` keep ` , restart ` attempts ` , ` interval ` , ` delay ` , and ` mode ` , and
324324task ` lifecycle ` are future policy. Adopt healthy work. ` adopt-only ` holds absent
@@ -327,11 +327,24 @@ the canonical agent's effective eligibility: `adopt-only` holds it, and
327327exhausting a fail-mode restart policy stops or suppresses it. Invalid policy
328328refuses changes to the related agent and tasks.
329329
330+ ` delay ` is the minimum spacing between launches in either restart mode. In
331+ ` mode = delay ` , ` attempts ` is a rate limit over the sliding ` interval ` window;
332+ an exhausted limit defers launch until the window clears and never parks the
333+ task. In ` mode = fail ` , ` attempts ` is a terminal launch budget counted since
334+ the task was observed alive on every completed accounting pass for a full
335+ ` interval ` . The budget remains reachable independent of reconcile cadence: a
336+ task that repeatedly launches and dies before recovery is parked after its
337+ declared successful-launch budget is exhausted. A completed accounting pass
338+ that does not observe the task alive breaks accrued recovery uptime rather than
339+ forgiving failures through silence.
340+
330341Authoring: [ pinned complete declaration] [ evals-fields ] . The
331342[ pinned explicit-task list] [ evals-task-fields ] and st2 ` 9887b28 ` predate task
332343` lifecycle ` . Current st2 source:
333- [ ` Restart ` and ` TaskLifecycle ` ] ( ../../../crates/agent-spec/src/spec.rs ) .
334- Evidence: [ policy planning] ( ../../../src/reconcile.rs ) .
344+ [ ` Restart ` and ` TaskLifecycle ` ] ( ../../../crates/agent-spec/src/spec.rs ) ,
345+ [ ` FlappingCap ` ] ( ../../../src/flapping.rs ) , and
346+ [ ` execute ` ] ( ../../../src/run.rs ) . Evidence:
347+ [ policy planning] ( ../../../src/reconcile.rs ) .
335348
336349<h3 id =" f13 " >F13 <code >retired #true</code ></h3 >
337350
0 commit comments