Teknium
e7d4b2123e
refactor(agent/turn): unify compression-attempt helpers, collapse verdict boilerplate, dedupe persist-lock wrappers
...
- turn_context_compaction: shared home for _clear_overflow_warn,
_reset_retry_state_after_compaction, _blocked_compress_reason,
_apply_grown_window, _refund_api_call (used by turn_preflight and the
turn-start preflight passes).
- turn_context: _with_persist_lock + _clear_staged_cli_input_if_persisted +
two try/except/finally wrappers -> one _persist_under_lock; MoA sanitize
model extracted to _sanitize_model_for; predicates flattened.
- turn_preflight: PreflightVerdict merged into PreflightGateVerdict (the
gate's carrier) and mutated in place; duplicate guard chain + refund blocks
collapsed onto the shared helpers.
- turn_preflight_gate: builds the carrier once, no re-unpack of the inner
verdict.
- turn_iteration_prep: step-callback tool-round scan and steer injection lifted
into helpers; dead _verdict closures on always-fallthrough paths removed.
2026-09-02 18:28:29 -07:00
..
2026-09-02 13:53:27 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 16:36:10 -07:00
2026-09-02 13:29:46 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:52:52 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:40 -07:00
2026-09-02 13:29:34 -07:00
2026-09-02 13:29:31 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:46 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:40 -07:00
2026-09-02 13:29:40 -07:00
2026-07-18 20:01:55 +05:30
2026-09-02 13:30:15 -07:00
2026-09-02 13:33:04 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:52:52 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:29:36 -07:00
2026-09-02 13:29:40 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:29:46 -07:00
2026-08-21 21:53:11 +05:30
2026-09-02 13:29:40 -07:00
2026-09-02 13:53:58 -07:00
2026-09-02 13:29:38 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:53:58 -07:00
2026-09-02 13:29:37 -07:00
2026-09-02 16:37:14 -07:00
2026-09-02 16:36:10 -07:00
2026-09-02 13:29:45 -07:00
2026-09-02 09:33:05 -07:00
2026-09-02 13:29:45 -07:00
2026-09-02 13:52:52 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:53:58 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:36 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:52:52 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 17:07:36 -07:00
2026-09-02 13:30:25 -07:00
2026-08-23 18:25:19 -07:00
2026-09-02 13:29:40 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:40 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:53:28 -07:00
2026-06-19 15:23:41 +08:00
2026-08-15 01:04:19 -07:00
2026-09-02 13:53:58 -07:00
2026-09-02 13:29:38 -07:00
2026-09-02 13:29:35 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:52:52 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:53:58 -07:00
2026-09-02 13:29:46 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:35 -07:00
2026-09-02 13:53:58 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:53:58 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:29:40 -07:00
2026-09-02 13:29:46 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:29:40 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:29:47 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:29:46 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:40 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:53:58 -07:00
2026-07-29 15:28:15 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:40 -07:00
2026-09-02 13:29:40 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:53:57 -07:00
2026-09-02 13:52:51 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:29:48 -07:00
2026-09-02 17:07:35 -07:00
2026-09-02 13:29:48 -07:00
2026-07-11 05:41:58 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 13:53:58 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:28:29 -07:00
2026-09-02 18:28:29 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:28:29 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:28:29 -07:00
2026-09-02 18:28:29 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 13:29:46 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 13:30:25 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 18:01:27 -07:00
2026-09-02 13:53:28 -07:00
2026-09-02 18:01:27 -07:00