Yichen Jiang
b8bc89c2f0
docs(agent-presets): record what a live agent costs, and that nothing evicts one
...
Review asked whether composing a preset per session compounds memory.
Measured against the shipped compositions: it does not compound — growth
is strictly linear at ~0.17 MB per agent on `minimal` and ~1.31 MB on
`standard`, the first agent of a process pays ~7 MB more for module
imports every later mount shares, and disposal returns essentially all
of it.
What the measurement did find is that nothing disposes. The api-proxy
discards the handle it creates, archiving only edits the workspace
registry, the registry has no eviction, and the sole disposal site in
the host is the JSON-RPC server's shutdown. A preset did not introduce
that; it raised the per-session price from ~0.2 MB to ~1.3 MB and made
it visible.
Recorded as a remaining TODO rather than fixed here: eviction belongs to
the host that owns the handle, not to this seam.
2026-08-07 00:41:50 +08:00
..
2026-08-05 13:09:53 +08:00
2026-08-03 16:04:26 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 17:36:14 +08:00
2026-07-28 00:00:51 +08:00
2026-08-04 17:36:14 +08:00
2026-08-05 13:09:53 +08:00
2026-07-31 19:21:16 +08:00
2026-08-05 13:09:53 +08:00
2026-08-05 13:09:53 +08:00
2026-07-31 19:21:16 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 11:04:03 +08:00
2026-07-23 19:33:30 +08:00
2026-07-23 19:48:00 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 18:42:13 +08:00
2026-07-26 22:45:33 +08:00
2026-08-04 18:42:13 +08:00
2026-08-06 04:11:57 +08:00
2026-08-06 04:11:57 +08:00
2026-08-06 04:11:57 +08:00
2026-08-04 17:36:14 +08:00
2026-07-26 23:06:00 +08:00
2026-08-04 17:36:14 +08:00
2026-08-05 13:09:53 +08:00
2026-07-30 13:49:57 +08:00
2026-08-05 13:09:53 +08:00
2026-08-05 13:09:53 +08:00
2026-08-03 16:04:26 +08:00
2026-08-05 13:09:53 +08:00
2026-08-06 04:11:58 +08:00
2026-08-06 04:11:58 +08:00
2026-08-06 04:11:58 +08:00
2026-08-04 17:36:14 +08:00
2026-07-24 23:43:10 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-02 12:51:09 +08:00
2026-08-04 17:36:14 +08:00
2026-08-05 13:09:53 +08:00
2026-07-31 22:16:40 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-26 23:06:00 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-27 04:14:51 +08:00
2026-08-04 17:36:14 +08:00
2026-08-05 13:09:53 +08:00
2026-08-03 16:04:26 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 17:36:14 +08:00
2026-07-24 23:43:10 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-28 00:00:51 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-05 13:09:53 +08:00
2026-07-31 19:21:16 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-26 02:33:29 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-26 12:43:59 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-26 02:33:29 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-23 19:33:30 +08:00
2026-08-04 17:36:14 +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-05 10:57:53 +08:00
2026-07-26 02:33:29 +08:00
2026-08-05 10:57:53 +08:00
2026-08-05 13:09:53 +08:00
2026-07-31 19:21:16 +08:00
2026-08-05 13:09:53 +08:00
2026-08-05 13:09:53 +08:00
2026-07-30 18:27:36 +08:00
2026-08-05 13:09:53 +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-04 20:54:42 +08:00
2026-07-24 01:40:25 +08:00
2026-08-04 20:54:42 +08:00
2026-08-05 13:09:53 +08:00
2026-07-31 19:21:16 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 18:42:13 +08:00
2026-07-26 13:13:53 +08:00
2026-08-04 18:42:13 +08:00
2026-08-04 17:36:14 +08:00
2026-07-24 01:40:25 +08:00
2026-08-04 17:36:14 +08:00
2026-08-05 13:09:53 +08:00
2026-07-31 19:21:16 +08:00
2026-08-05 13:09:53 +08:00
2026-08-06 13:44:23 +08:00
2026-08-06 13:44:23 +08:00
2026-08-06 13:44:23 +08:00
2026-08-04 17:36:14 +08:00
2026-07-23 03:15:15 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 16:07:35 +08:00
2026-08-04 17:36:14 +08:00
2026-08-06 11:28:46 +08:00
2026-08-06 11:28:46 +08:00
2026-08-06 11:28:46 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-08-03 22:04:53 +08:00
2026-08-04 17:36:14 +08:00
2026-08-06 10:40:31 +08:00
2026-08-06 10:40:31 +08:00
2026-08-06 10:40:31 +08:00
2026-08-04 17:36:14 +08:00
2026-07-27 21:20:06 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-27 15:49:09 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-25 16:43:07 +08:00
2026-08-04 17:36:14 +08:00
2026-08-06 11:28:46 +08:00
2026-08-06 11:28:46 +08:00
2026-08-06 11:28:46 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 21:02:28 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 14:36:31 +08:00
2026-08-04 14:36:31 +08:00
2026-08-04 14:36:31 +08:00
2026-08-06 11:28:46 +08:00
2026-08-06 11:28:46 +08:00
2026-08-06 11:28:46 +08:00
2026-08-04 17:36:14 +08:00
2026-07-26 13:42:02 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-24 21:50:11 +08:00
2026-08-04 17:36:14 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 21:02:28 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 17:36:14 +08:00
2026-07-31 16:49:55 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-31 03:20:20 +08:00
2026-08-04 17:36:14 +08:00
2026-08-06 18:01:11 +08:00
2026-08-06 18:01:11 +08:00
2026-08-06 18:01:11 +08:00
2026-08-04 17:36:14 +08:00
2026-07-28 12:09:48 +08:00
2026-08-04 17:36:14 +08:00
2026-08-06 18:01:11 +08:00
2026-08-06 18:01:11 +08:00
2026-08-06 18:01:11 +08:00
2026-08-04 17:36:14 +08:00
2026-07-27 03:54:33 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-28 02:33:14 -07:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-27 04:14:51 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-26 12:17:45 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 11:04:03 +08:00
2026-07-29 23:45:42 +08:00
2026-07-29 23:45:42 +08:00
2026-08-04 17:36:14 +08:00
2026-07-27 03:52:41 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 20:54:42 +08:00
2026-07-28 17:02:39 +08:00
2026-08-04 20:54:42 +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-08-04 17:36:14 +08:00
2026-07-30 10:11:38 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-30 01:14:25 +08:00
2026-08-04 17:36:14 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 13:49:35 +08:00
2026-08-05 13:09:53 +08:00
2026-08-04 17:36:14 +08:00
2026-07-30 14:09:04 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-29 13:15:24 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-30 17:22:15 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-31 01:30:29 +08:00
2026-08-04 17:36:14 +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-08-04 17:36:14 +08:00
2026-07-30 19:24:21 +08:00
2026-08-04 17:36:14 +08:00
2026-08-04 17:36:14 +08:00
2026-07-31 01:30:29 +08:00
2026-08-04 17:36:14 +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-08-04 17:36:14 +08:00
2026-07-31 11:00:07 +08:00
2026-08-04 17:36:14 +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-08-05 15:34:51 +08:00
2026-08-05 15:34:51 +08:00
2026-08-05 15:34:51 +08:00
2026-08-05 20:26:46 +08:00
2026-08-05 20:26:46 +08:00
2026-08-05 20:26:46 +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-08-02 01:11:08 +08:00
2026-08-02 01:11:08 +08:00
2026-08-02 01:11:08 +08:00
2026-08-07 00:41:50 +08:00
2026-08-07 00:41:50 +08:00
2026-08-07 00:41:50 +08:00
2026-08-05 18:54:47 +08:00
2026-08-05 18:54:47 +08:00
2026-08-05 18:54:47 +08:00
2026-08-06 15:18:17 +08:00
2026-08-06 15:18:17 +08:00
2026-08-06 15:18:17 +08:00
2026-08-05 20:55:39 +08:00
2026-08-05 20:55:39 +08:00
2026-08-05 20:55:39 +08:00
2026-08-04 16:42:50 +08:00
2026-08-04 16:42:50 +08:00
2026-08-04 16:42:50 +08:00
2026-08-06 10:40:32 +08:00
2026-08-06 10:40:32 +08:00
2026-08-06 10:40:32 +08:00
2026-08-06 17:28:30 +08:00
2026-08-06 17:28:30 +08:00
2026-08-06 17:28:30 +08:00
2026-08-06 10:19:51 +08:00
2026-08-06 10:19:51 +08:00
2026-08-06 10:19:51 +08:00
2026-08-06 11:28:46 +08:00
2026-08-06 11:28:46 +08:00
2026-08-06 11:28:46 +08:00
2026-08-06 13:44:23 +08:00
2026-08-06 13:44:23 +08:00
2026-08-06 13:44:23 +08:00
2026-08-06 14:58:33 +08:00
2026-08-06 14:58:33 +08:00
2026-08-06 14:58:33 +08:00
2026-08-06 16:38:25 +08:00
2026-08-06 16:38:25 +08:00
2026-08-06 16:38:25 +08:00