morluto
1d826f304f
fix(process): bound normalized terminal retention before allocation
Pre-count ordered normalization stages before materializing output. Charge original and normalized terminal bytes independently, omit whole over-budget chunks and preserve exact raw counts plus explicit unknown final sizes. Bound rendered normalization, retain legacy capture compatibility, and remove temporary per-match output arrays.
Validation: UTF-8 surrogate boundaries, shrinking/no-op/literal rules, capture validation and public MCP expansion/equal-size controls with verified cleanup. CPU, process-family memory and token changes are unmeasured; no performance speedup claimed. Nonterminal derived payload bounds remain separate work.
Fixes #3168
2026-10-14 16:54:08 +08:00
..
2026-10-14 09:16:33 +08:00
2026-10-10 00:09:46 +08:00
2026-10-14 16:27:54 +08:00
2026-10-11 11:57:29 +08:00
2026-10-13 23:49:04 +08:00
2026-10-14 16:54:08 +08:00
2026-10-14 09:21:11 +08:00
2026-10-14 16:54:08 +08:00
2026-10-13 14:40:43 +08:00
2026-10-14 04:47:34 +08:00
2026-10-13 21:18:12 +08:00
2026-10-14 15:20:08 +08:00
2026-10-14 08:31:29 +08:00
2026-10-14 16:10:46 +08:00
2026-10-14 08:36:38 +08:00
2026-10-14 09:47:57 +08:00
2026-10-14 12:49:17 +08:00
2026-10-14 09:16:33 +08:00
2026-10-08 15:32:05 +08:00
2026-10-13 21:55:30 +08:00
2026-10-14 09:21:11 +08:00
2026-10-13 22:13:22 +08:00
2026-10-14 02:56:00 +08:00
2026-10-12 22:14:25 +08:00
2026-10-14 14:47:26 +08:00
2026-10-13 23:48:41 +08:00
2026-10-14 06:35:55 +08:00
2026-10-14 09:21:11 +08:00
2026-10-11 19:47:33 +08:00
2026-10-13 21:13:01 +08:00
2026-10-14 08:28:14 +08:00
2026-10-11 20:09:21 +08:00
2026-10-14 01:09:19 +08:00
2026-10-14 08:58:46 +08:00
2026-10-14 09:16:33 +08:00
2026-10-14 16:54:08 +08:00
2026-10-13 15:58:25 +08:00
2026-10-14 15:20:05 +08:00
2026-10-14 15:20:05 +08:00
2026-10-11 18:39:49 +08:00
2026-10-14 09:16:33 +08:00
2026-10-13 12:06:41 +08:00
2026-10-14 10:06:46 +08:00
2026-10-13 23:16:38 -07:00
2026-10-14 08:32:00 +08:00
2026-10-12 22:14:25 +08:00
2026-10-10 05:41:52 +08:00
2026-10-14 14:47:26 +08:00
2026-10-14 16:18:22 +08:00
2026-10-13 04:53:03 +00:00
2026-10-14 16:54:08 +08:00
2026-10-13 21:13:01 +08:00
2026-09-29 08:07:24 +08:00
2026-10-13 00:15:54 +08:00
2026-10-13 23:48:24 +08:00
2026-10-14 11:18:21 +08:00
2026-10-14 04:47:34 +08:00
2026-10-10 05:41:45 +08:00
2026-10-14 14:47:26 +08:00
2026-10-13 15:58:19 +09:00
2026-10-12 18:33:23 +00:00
2026-10-14 08:59:27 +08:00
2026-10-13 00:42:06 +08:00
2026-10-13 23:41:45 +08:00
2026-10-14 02:58:41 +08:00
2026-10-14 16:10:46 +08:00
2026-10-08 16:44:25 +00:00
2026-10-11 19:20:00 +08:00
2026-10-07 14:59:52 +08:00
2026-10-12 14:12:19 +08:00
2026-10-14 08:28:14 +08:00