Abhinav
23bb524973
Spill oversized PreToolUse additionalContext ( #22529 )
...
# Why
`PreToolUse.additionalContext` became model-visible after #20692 , but
the hook-output spilling path from #21069 never picked up that newer
lane. As a result, oversized `PreToolUse` context could bypass the
truncation/spill treatment that already applies to the other hook
outputs Codex forwards to the model.
# What
- Run `PreToolUseOutcome.additional_contexts` through
`maybe_spill_texts(...)`
- Add an integration test proving a large `PreToolUse.additionalContext`
is replaced with a truncated preview plus spill-file pointer, while the
full text is preserved on disk.
2026-05-13 15:21:31 -07:00
..
2026-05-13 16:43:25 +00:00
2026-04-21 17:48:33 -07:00
2026-03-27 19:00:44 -07:00
2026-05-06 18:00:21 +03:00
2026-04-12 18:36:03 -07:00
2026-05-13 16:43:25 +00:00
2026-05-11 11:37:53 -07:00
2026-05-13 03:08:01 +00:00
2026-05-13 18:21:02 +02:00
2026-05-13 18:21:02 +02:00
2026-05-01 15:11:22 -07:00
2026-05-08 13:00:57 -07:00
2026-05-12 15:50:10 -07:00
2026-05-13 16:43:25 +00:00
2026-05-06 02:12:31 +00:00
2026-05-13 16:43:25 +00:00
2026-05-05 10:34:44 -07:00
2026-05-01 00:56:20 +00:00
2026-04-28 17:05:53 -07:00
2026-05-06 10:48:37 +02:00
2026-04-12 18:36:03 -07:00
2026-05-11 22:27:24 -04:00
2026-05-13 15:21:31 -07:00
2026-04-28 17:03:20 -07:00
2026-05-06 10:48:37 +02:00
2026-04-28 17:03:20 -07:00
2026-05-11 23:04:28 -07:00
2026-04-22 13:34:33 -07:00
2026-05-08 20:09:51 +03:00
2026-04-28 17:06:59 -07:00
2026-05-05 09:51:18 +03:00
2026-05-13 16:43:25 +00:00
2026-05-05 19:13:55 +00:00
2026-05-13 16:43:25 +00:00
2026-05-08 20:29:00 +00:00
2026-05-06 11:20:34 -07:00
2026-05-06 02:12:31 +00:00
2026-05-06 22:48:29 -07:00
2026-05-05 09:51:18 +03:00
2026-05-06 11:20:34 -07:00
2026-05-12 17:09:14 -07:00
2026-05-06 22:48:29 -07:00
2026-04-21 17:48:33 -07:00
2026-05-08 17:41:15 -07:00
2026-05-11 16:33:44 -07:00
2026-05-05 09:51:18 +03:00
2026-04-21 17:48:33 -07:00
2026-05-08 13:00:57 -07:00
2026-04-26 20:59:58 -07:00
2026-05-02 04:22:12 +00:00
2026-05-13 00:28:15 +00:00
2026-04-28 17:08:04 -07:00
2026-05-06 22:48:29 -07:00
2026-05-13 00:28:15 +00:00
2026-04-30 20:03:26 -07:00
2026-05-06 11:20:34 -07:00
2026-05-13 00:28:15 +00:00
2026-05-11 19:51:51 -07:00
2026-05-12 23:30:13 -07:00
2026-04-20 10:27:01 -07:00
2026-05-13 16:43:25 +00:00
2026-04-28 17:05:53 -07:00
2026-04-28 17:15:58 -07:00
2026-05-05 18:58:18 -07:00
2026-05-13 18:11:50 +03:00
2026-05-11 19:45:08 +02:00
2026-04-21 17:48:33 -07:00
2026-04-21 17:48:33 -07:00
2026-05-06 10:48:37 +02:00
2026-05-13 16:43:25 +00:00
2026-04-28 17:03:20 -07:00
2026-05-13 16:43:25 +00:00
2026-04-28 23:01:40 +00:00
2026-03-11 12:33:09 -07:00
2026-05-11 14:12:00 -07:00
2026-05-06 22:48:29 -07:00
2026-04-21 17:48:33 -07:00
2026-04-28 17:06:59 -07:00
2026-05-11 18:48:43 -07:00
2026-04-28 23:01:40 +00:00
2026-04-28 17:03:20 -07:00
2026-05-06 02:12:31 +00:00
2026-05-11 23:04:28 -07:00