ioanbudea-OAI
4d62359072
Add opt-in elastic budgeting for synchronous Guardian reviews ( #59444 )
...
## What changed
- Add `features.guardianv2.sync_elastic_budgeting` and `sync_elastic_sections` to configure section minimums, per-entry token caps, and optional section maximums. Require and validate section limits when enabled.
- Use the selected budgeting policy consistently for history capture, resume, prompt preparation, and review input budgeting. Keep fixed budgeting as the default.
## Testing
Add configuration validation tests, capture-and-resume coverage for both budgeting modes, and a request-history snapshot verifying retained instructions and transcript section limits.
GitOrigin-RevId: c7b0bdfd3e0e008d75c4d8a204959bcc58eb1bf8
2026-11-04 16:33:22 +00:00
..
2026-10-30 18:33:14 +00:00
2026-11-03 15:02:57 +00:00
2026-10-19 15:15:17 +00:00
2026-11-03 21:24:16 +00:00
2026-10-27 22:59:22 +00:00
2026-10-30 15:11:02 +00:00
2026-10-30 15:11:02 +00:00
2026-11-04 13:03:01 +00:00
2026-10-26 19:19:10 +00:00
2026-10-26 19:19:10 +00:00
2026-09-19 00:52:56 +00:00
2026-10-06 15:50:27 +00:00
2026-10-27 19:50:41 +00:00
2026-10-30 14:40:32 +00:00
2026-10-29 00:42:21 +00:00
2026-10-27 19:50:41 +00:00
2026-10-23 16:55:32 +00:00
2026-09-09 15:48:39 +00:00
2026-11-04 06:05:16 +00:00
2026-11-04 00:19:12 +00:00
2026-11-04 16:33:22 +00:00
2026-11-04 06:05:16 +00:00
2026-11-03 21:24:16 +00:00
2026-11-04 13:03:01 +00:00
2026-11-04 04:02:00 +00:00
2026-11-03 12:33:26 +00:00
2026-09-19 02:07:58 +00:00
2026-10-19 17:02:20 +00:00
2026-10-19 17:02:20 +00:00
2026-11-03 02:37:20 +00:00
2026-10-28 13:56:17 +00:00
2026-11-03 15:02:57 +00:00
2026-11-04 13:03:01 +00:00
2026-11-03 10:01:36 +00:00
2026-11-03 10:01:36 +00:00
2026-09-19 01:03:55 +00:00
2026-10-12 18:54:22 +00:00
2026-09-10 21:51:34 +00:00
2026-08-31 22:38:23 +00:00
2026-11-03 10:01:36 +00:00
2026-11-03 10:01:36 +00:00
2026-09-27 15:03:38 +00:00
2026-11-04 04:02:00 +00:00
2026-10-30 15:11:02 +00:00
2026-11-02 20:37:55 +00:00
2026-11-04 16:33:22 +00:00
2026-11-04 16:33:22 +00:00
2026-11-04 16:33:22 +00:00
2026-10-27 22:59:22 +00:00
2026-10-28 01:29:34 +00:00
2026-10-30 15:11:02 +00:00
2026-10-30 15:11:02 +00:00
2026-11-04 13:03:01 +00:00
2026-10-28 16:00:30 +00:00
2026-10-30 15:11:02 +00:00
2026-10-20 19:39:43 +00:00
2026-11-04 16:33:22 +00:00
2026-10-27 19:50:41 +00:00
2026-11-04 06:05:16 +00:00
2026-10-30 00:36:00 +00:00
2026-11-04 01:15:38 +00:00
2026-11-02 07:27:49 +00:00
2026-11-03 21:24:16 +00:00
2026-11-04 04:02:00 +00:00
2026-10-21 18:37:30 +00:00
2026-11-02 20:10:37 +00:00
2026-10-10 01:25:00 +00:00
2026-11-04 13:03:01 +00:00
2026-10-17 23:17:51 +00:00
2026-11-04 06:05:16 +00:00