Turtle
1f9a3e1bee
fix(agent-loop): second review pass — late-steering discard, dead-branch, catalog leaks
...
Address a second fresh-eye review of the review fixes:
- MAJOR: late steering that lands after runTurn returns terminally
stopped (e.g. during the post-turn flush) was drained by runLoop and
dropped without a discard, leaving a dangling outstanding id the
negative-only invariant can't catch. Emit agent/inbox/discard for it,
symmetric with the in-turn terminal-stop drop.
- remove the dead cancel() idle-settle branch: whenIdle's fast path
already resolves for a lone quiet item, so no waiter is ever left for
it to settle. Document why.
- gen-cordis-api classShape now drops private/protected/#private members
and strips getter/setter bodies, so Session no longer leaks private
fields and getter bodies into the model catalog.
- document that AgentMessage intentionally omits meta (durable-only).
Adds a regression test for the late-steering discard.
2026-07-23 22:33:12 +08:00
..
2026-07-20 16:22:20 +08:00
2026-07-21 01:11:55 +08:00
2026-07-20 00:35:06 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-21 01:11:55 +08:00
2026-07-20 00:25:31 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-21 14:50:06 +08:00
2026-07-20 00:35:06 +08:00
2026-07-21 03:22:14 +08:00
2026-07-21 12:48:46 +08:00
2026-07-20 19:42:41 +08:00
2026-07-21 20:28:30 +08:00
2026-07-19 22:52:03 +08:00
2026-07-20 20:16:41 +08:00
2026-07-21 04:37:09 +08:00
2026-07-23 03:59:35 +08:00
2026-07-20 18:38:22 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-21 20:49:14 +08:00
2026-07-21 03:22:14 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-20 19:26:04 +08:00
2026-07-21 21:11:32 +08:00
2026-07-19 22:52:03 +08:00
2026-07-20 20:39:13 +08:00
2026-07-20 20:39:13 +08:00
2026-07-20 03:34:19 +08:00
2026-07-21 03:22:14 +08:00
2026-07-21 23:39:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-21 03:22:14 +08:00
2026-07-21 10:17:55 +08:00
2026-07-21 10:17:55 +08:00
2026-07-21 10:17:55 +08:00
2026-07-22 16:37:20 +08:00
2026-07-22 16:37:20 +08:00
2026-07-22 16:37:20 +08:00
2026-07-21 22:24:45 +08:00
2026-07-22 12:06:42 +08:00
2026-07-22 12:06:42 +08:00
2026-07-22 12:06:42 +08:00
2026-07-20 03:34:19 +08:00
2026-07-20 03:34:19 +08:00
2026-07-20 03:34:19 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-19 22:52:03 +08:00
2026-07-21 13:52:15 +08:00
2026-07-21 13:52:15 +08:00
2026-07-21 13:52:15 +08:00
2026-07-21 21:11:32 +08:00
2026-07-21 21:11:32 +08:00
2026-07-21 21:11:32 +08:00
2026-07-21 12:48:46 +08:00
2026-07-21 12:48:46 +08:00
2026-07-21 12:48:46 +08:00
2026-07-19 23:43:36 +08:00
2026-07-19 23:43:36 +08:00
2026-07-19 23:43:36 +08:00
2026-07-23 03:59:35 +08:00
2026-07-23 03:59:35 +08:00
2026-07-23 03:59:35 +08:00
2026-07-23 17:49:47 +08:00
2026-07-23 17:49:47 +08:00
2026-07-23 17:49:47 +08:00
2026-07-21 20:15:09 +08:00
2026-07-21 20:15:09 +08:00
2026-07-21 20:15:09 +08:00
2026-07-21 01:13:28 +08:00
2026-07-21 01:13:28 +08:00
2026-07-21 01:13:28 +08:00
2026-07-23 15:54:10 +08:00
2026-07-23 15:54:10 +08:00
2026-07-23 15:54:10 +08:00
2026-07-23 01:38:52 +08:00
2026-07-23 01:38:52 +08:00
2026-07-23 01:38:52 +08:00
2026-07-20 15:34:00 +08:00
2026-07-20 15:34:00 +08:00
2026-07-20 15:34:00 +08:00
2026-07-23 02:12:47 +08:00
2026-07-23 02:12:47 +08:00
2026-07-23 02:12:47 +08:00
2026-07-23 18:19:07 +08:00
2026-07-23 18:19:07 +08:00
2026-07-23 18:19:07 +08:00
2026-07-22 21:30:17 -07:00
2026-07-22 21:30:17 -07:00
2026-07-22 21:30:17 -07:00
2026-07-23 22:33:12 +08:00
2026-07-23 22:33:12 +08:00
2026-07-23 22:33:12 +08:00
2026-07-23 17:49:47 +08:00
2026-07-23 17:49:47 +08:00
2026-07-23 17:49:47 +08:00
2026-07-21 15:57:17 +08:00
2026-07-21 15:57:17 +08:00
2026-07-21 15:57:17 +08:00