_Kerman
ab56e0df0a
fix(agent-loop): park empty turn batches, keep max-tokens sticky, and settle headless at idle
...
- turn boundary now returns false for an empty admitted batch (claimed
input removed before the wake) instead of opening a turn and spending a
model call on nothing; the step boundary already had the symmetric guard.
- a max-token step stays sticky when steering or injected work continues
the turn: a later completed step no longer downgrades the outcome,
matching the TurnEndReasonMap contract.
- session/queue wire schema accepts the context placement (previously the
zod union rejected injected-context snapshots wholesale and the client
silently dropped the whole frame); schema tests cover all placements.
- headless runs settle at whole-agent idle instead of the first turn/end,
honoring the one-shot idle-to-idle contract.
- flush JSDoc names the real callers (checkpoint policy, goal-session,
teardown, self-flushing consumers); apiproxy zh README loses its stale
duplicate history section; ACP note/README record the delivered error
rejection and turnless-cancelled behaviors.
2026-08-03 20:36:26 +08:00
..
2026-08-03 18:06:14 +08:00
2026-08-03 16:04:26 +08:00
2026-08-03 16:04:26 +08:00
2026-07-28 00:00:51 +08:00
2026-07-28 00:00:51 +08:00
2026-07-28 00:00:51 +08:00
2026-08-03 18:06:14 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:21:16 +08:00
2026-08-03 18:06:14 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:21:16 +08:00
2026-08-03 18:06:14 +08:00
2026-07-23 19:33:30 +08:00
2026-07-23 19:48:00 +08:00
2026-08-03 18:06:14 +08:00
2026-07-22 23:07:14 +08:00
2026-07-24 13:57:16 +08:00
2026-08-03 18:06:14 +08:00
2026-07-22 23:07:14 +08:00
2026-07-24 13:57:16 +08:00
2026-08-03 18:06:14 +08:00
2026-07-26 22:45:33 +08:00
2026-07-26 22:45:33 +08:00
2026-07-28 22:16:43 +08:00
2026-07-28 22:16:43 +08:00
2026-07-28 22:16:43 +08:00
2026-08-03 18:06:14 +08:00
2026-07-26 23:06:00 +08:00
2026-07-26 23:06:00 +08:00
2026-07-30 13:49:57 +08:00
2026-07-30 13:49:57 +08:00
2026-07-30 13:49:57 +08:00
2026-08-03 18:06:14 +08:00
2026-08-03 16:04:26 +08:00
2026-08-03 16:04:26 +08:00
2026-08-03 18:06:14 +08:00
2026-07-25 15:11:17 +08:00
2026-07-25 15:11:17 +08:00
2026-08-03 18:06:14 +08:00
2026-07-24 23:43:10 +08:00
2026-07-25 01:58:42 +08:00
2026-08-02 12:51:09 +08:00
2026-08-02 12:51:09 +08:00
2026-08-02 12:51:09 +08:00
2026-07-31 22:16:40 +08:00
2026-07-31 22:16:40 +08:00
2026-07-31 22:16:40 +08:00
2026-08-03 18:06:14 +08:00
2026-07-22 23:07:14 +08:00
2026-07-23 01:11:59 +08:00
2026-08-03 18:06:14 +08:00
2026-07-26 23:06:00 +08:00
2026-07-26 23:06:00 +08:00
2026-08-03 18:06:14 +08:00
2026-07-22 23:07:14 +08:00
2026-07-24 18:38:27 +08:00
2026-08-03 18:06:14 +08:00
2026-07-27 04:14:51 +08:00
2026-07-27 04:14:51 +08:00
2026-08-03 18:06:14 +08:00
2026-08-03 16:04:26 +08:00
2026-08-03 16:04:26 +08:00
2026-08-03 18:06:14 +08:00
2026-07-24 23:43:10 +08:00
2026-07-25 01:58:42 +08:00
2026-07-28 00:00:51 +08:00
2026-07-28 00:00:51 +08:00
2026-07-28 00:00:51 +08:00
2026-08-03 18:06:14 +08:00
2026-07-22 23:07:14 +08:00
2026-07-24 13:57:16 +08:00
2026-08-03 18:06:14 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:21:16 +08:00
2026-08-03 18:06:14 +08:00
2026-07-22 23:07:14 +08:00
2026-07-24 13:57:16 +08:00
2026-08-03 18:06:14 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-08-03 18:06:14 +08:00
2026-07-26 12:43:59 +08:00
2026-07-26 12:43:59 +08:00
2026-08-03 18:06:14 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-08-03 18:06:14 +08:00
2026-07-23 19:33:30 +08:00
2026-07-24 15:10:55 +08:00
2026-08-02 20:09:05 +08:00
2026-08-02 20:09:05 +08:00
2026-08-02 20:09:05 +08:00
2026-08-03 18:06:14 +08:00
2026-07-26 02:33:29 +08:00
2026-07-26 02:33:29 +08:00
2026-07-31 19:40:59 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:40:59 +08:00
2026-07-30 18:27:36 +08:00
2026-07-30 18:27:36 +08:00
2026-07-30 18:27:36 +08:00
2026-08-03 12:25:33 +08:00
2026-08-03 10:56:09 +08:00
2026-08-03 10:56:09 +08:00
2026-08-03 18:06:14 +08:00
2026-07-24 01:40:25 +08:00
2026-07-24 01:40:25 +08:00
2026-08-03 18:06:14 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:21:16 +08:00
2026-08-03 18:06:14 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-08-03 18:06:14 +08:00
2026-07-26 13:13:53 +08:00
2026-07-26 13:13:53 +08:00
2026-08-03 18:06:14 +08:00
2026-07-24 01:40:25 +08:00
2026-07-24 01:40:25 +08:00
2026-08-03 18:06:14 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:21:16 +08:00
2026-08-03 18:06:14 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:21:16 +08:00
2026-08-03 18:06:14 +08:00
2026-07-23 03:15:15 +08:00
2026-07-23 03:15:15 +08:00
2026-08-02 12:51:10 +08:00
2026-08-02 12:51:10 +08:00
2026-08-02 12:51:10 +08:00
2026-07-31 20:48:52 +08:00
2026-07-31 20:47:55 +08:00
2026-07-31 20:47:55 +08:00
2026-08-03 18:06:14 +08:00
2026-07-21 20:15:09 +08:00
2026-07-21 20:15:09 +08:00
2026-08-03 18:06:14 +08:00
2026-07-21 01:13:28 +08:00
2026-07-21 01:13:28 +08:00
2026-08-03 18:06:14 +08:00
2026-07-23 15:54:10 +08:00
2026-07-23 15:54:10 +08:00
2026-07-27 21:20:06 +08:00
2026-07-27 21:20:06 +08:00
2026-07-27 21:20:06 +08:00
2026-07-27 15:49:09 +08:00
2026-07-27 15:49:09 +08:00
2026-07-27 15:49:09 +08:00
2026-08-03 18:06:14 +08:00
2026-07-25 16:43:07 +08:00
2026-07-25 16:43:07 +08:00
2026-07-28 12:09:48 +08:00
2026-07-28 12:09:48 +08:00
2026-07-28 12:09:48 +08:00
2026-08-03 18:06:14 +08:00
2026-07-24 01:40:25 +08:00
2026-07-24 01:40:25 +08:00
2026-07-31 22:52:18 +08:00
2026-07-31 22:52:18 +08:00
2026-07-31 22:52:18 +08:00
2026-07-31 03:02:45 +08:00
2026-07-31 03:02:45 +08:00
2026-07-31 03:02:45 +08:00
2026-07-31 20:48:22 +08:00
2026-07-31 20:47:55 +08:00
2026-07-31 20:47:55 +08:00
2026-08-03 18:06:14 +08:00
2026-07-26 13:42:02 +08:00
2026-07-26 13:42:02 +08:00
2026-08-03 18:06:14 +08:00
2026-07-24 21:50:11 +08:00
2026-07-25 15:11:17 +08:00
2026-07-31 22:00:39 +08:00
2026-07-31 22:00:39 +08:00
2026-07-31 22:00:39 +08:00
2026-07-31 16:49:55 +08:00
2026-07-31 16:49:55 +08:00
2026-07-31 16:49:55 +08:00
2026-07-31 03:20:20 +08:00
2026-07-31 03:20:20 +08:00
2026-07-31 03:20:20 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:21:16 +08:00
2026-07-28 12:09:48 +08:00
2026-07-28 12:09:48 +08:00
2026-07-28 12:09:48 +08:00
2026-07-31 19:13:22 +08:00
2026-07-31 19:13:22 +08:00
2026-07-31 19:13:22 +08:00
2026-08-03 18:06:14 +08:00
2026-07-27 03:54:33 +08:00
2026-07-27 03:54:33 +08:00
2026-07-28 02:33:14 -07:00
2026-07-28 02:33:14 -07:00
2026-07-28 02:33:14 -07:00
2026-08-03 18:06:14 +08:00
2026-07-27 04:14:51 +08:00
2026-07-27 04:14:51 +08:00
2026-08-03 18:06:14 +08:00
2026-07-26 12:17:45 +08:00
2026-07-26 12:17:45 +08:00
2026-08-03 18:06:14 +08:00
2026-07-29 23:45:42 +08:00
2026-07-29 23:45:42 +08:00
2026-08-03 18:06:14 +08:00
2026-07-27 03:52:41 +08:00
2026-07-27 03:52:41 +08:00
2026-07-27 21:04:11 +08:00
2026-07-27 21:04:11 +08:00
2026-07-27 21:04:11 +08:00
2026-07-28 17:02:39 +08:00
2026-07-28 17:02:39 +08:00
2026-07-28 17:02:39 +08:00
2026-07-31 16:12:05 +08:00
2026-07-31 16:12:05 +08:00
2026-07-31 16:12:05 +08:00
2026-08-03 13:45:30 +08:00
2026-08-03 13:45:30 +08:00
2026-08-03 13:45:30 +08:00
2026-07-30 10:34:21 +08:00
2026-07-30 10:11:38 +08:00
2026-07-30 10:11:38 +08:00
2026-07-30 01:14:25 +08:00
2026-07-30 01:14:25 +08:00
2026-07-28 22:30:12 +08:00
2026-08-03 18:06:14 +08:00
2026-08-03 16:04:26 +08:00
2026-08-03 16:04:26 +08:00
2026-07-31 23:37:53 +08:00
2026-07-31 23:37:53 +08:00
2026-07-31 23:37:53 +08:00
2026-07-30 14:09:04 +08:00
2026-07-30 14:09:04 +08:00
2026-07-30 14:09:04 +08:00
2026-07-29 13:15:24 +08:00
2026-07-29 13:15:24 +08:00
2026-07-29 13:15:24 +08:00
2026-07-30 17:22:15 +08:00
2026-07-30 17:22:15 +08:00
2026-07-30 17:22:15 +08:00
2026-07-31 01:30:29 +08:00
2026-07-31 01:30:29 +08:00
2026-07-31 01:30:29 +08:00
2026-07-30 13:49:57 +08:00
2026-07-30 13:49:57 +08:00
2026-07-30 13:49:57 +08:00
2026-07-30 21:49:58 +08:00
2026-07-30 21:49:58 +08:00
2026-07-30 21:49:58 +08:00
2026-07-31 17:39:51 +08:00
2026-07-31 17:39:51 +08:00
2026-07-31 17:39:51 +08:00
2026-07-30 18:07:35 +08:00
2026-07-30 18:07:35 +08:00
2026-07-30 18:07:35 +08:00
2026-07-30 19:24:21 +08:00
2026-07-30 19:24:21 +08:00
2026-07-30 19:24:21 +08:00
2026-07-31 01:30:29 +08:00
2026-07-31 01:30:29 +08:00
2026-07-31 01:30:29 +08:00
2026-08-03 20:36:26 +08:00
2026-08-03 20:36:26 +08:00
2026-08-03 20:36:26 +08:00
2026-08-02 01:25:02 +08:00
2026-08-02 01:25:02 +08:00
2026-08-02 01:25:02 +08:00
2026-08-02 12:51:10 +08:00
2026-08-02 12:51:10 +08:00
2026-08-02 12:51:10 +08:00
2026-07-31 11:00:07 +08:00
2026-07-31 11:00:07 +08:00
2026-07-31 11:00:07 +08:00
2026-08-02 01:29:04 +08:00
2026-08-02 01:29:04 +08:00
2026-08-02 01:29:04 +08:00
2026-07-31 11:32:10 +08:00
2026-07-31 11:32:10 +08:00
2026-07-31 11:32:10 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 19:21:16 +08:00
2026-07-31 22:52:18 +08:00
2026-07-31 22:52:18 +08:00
2026-07-31 22:52:18 +08:00