Teknium
4bfc55fbf0
refactor(agent/runtime): hooks/guardrails/dispatch — unify shell-hook and webhook plumbing, table-driven guardrail thresholds
...
- shell_hooks is the shared home: _ToolMatcherMixin (matcher compile + matches_tool),
_payload_fields, _forget_home_registrations, _home_key, _utc_now_iso now serve
outbound_webhooks too (copies deleted; every log string byte-identical).
- shell_hooks: response parsing is a per-event dispatch table; _spawn diagnostic
dict + _evaluate_result shared by the live callback and run_once;
_locked_update_approvals POSIX/non-POSIX bodies merged via ExitStack.
- tool_guardrails: ToolCallGuardrailConfig thresholds from a _THRESHOLD_SOURCES
table (nested-wins-over-flat preserved); _int_at_least replaces
_positive_int/_non_negative_int; observe_identical_call (0 refs) folded into
observe_call; _halt helper for hard-stop decisions.
- tool_dispatch_helpers: _plan_tool_batch_segments split into _batch_admission +
close/extend helpers with the post-hoc normalization merged in.
- Comment/docstring compaction keeping every stated rule.
2026-09-02 13:29:48 -07:00
..
2026-08-25 01:48:43 +05:30
2026-09-02 13:29:47 -07:00
2026-09-02 13:29:47 -07:00
2026-08-15 13:28:14 -07:00
2026-09-02 00:55:42 -07:00
2026-08-07 10:11:05 -07:00
2026-08-26 10:10:11 -07:00
2026-09-02 05:34:28 -07:00
2026-09-02 09:57:39 -07:00
2026-09-02 05:33:13 -07:00
2026-09-02 00:58:29 -07:00
2026-08-29 18:34:35 -07:00
2026-08-29 18:34:35 -07:00
2026-09-03 01:33:00 +05:30
2026-08-02 10:02:33 -07:00
2026-09-01 16:27:13 +05:30
2026-09-01 08:30:26 -07:00
2026-08-10 10:45:44 -07:00
2026-08-12 19:13:32 -07:00
2026-09-02 05:33:13 -07:00
2026-08-31 09:58:51 -07:00
2026-08-28 04:58:14 -07:00
2026-09-02 13:28:41 +05:30
2026-08-29 18:23:07 -07:00
2026-08-15 03:16:21 -07:00
2026-08-21 21:53:11 +05:30
2026-09-01 15:34:03 -07:00
2026-09-02 05:33:22 -07:00
2026-08-08 23:09:45 +05:30
2026-09-02 10:33:43 -07:00
2026-09-02 05:33:22 -07:00
2026-09-02 10:55:46 -07:00
2026-09-02 09:57:39 -07:00
2026-08-29 18:34:35 -07:00
2026-09-02 09:33:05 -07:00
2026-08-08 12:32:23 -07:00
2026-08-28 15:39:23 -03:00
2026-09-03 01:43:22 +05:30
2026-08-31 10:08:13 -07:00
2026-08-31 10:42:39 -07:00
2026-08-06 03:16:26 +05:30
2026-08-29 08:26:24 -07:00
2026-08-16 22:06:08 -07:00
2026-08-28 04:58:06 -07:00
2026-08-21 15:24:03 -07:00
2026-09-01 00:35:29 +05:30
2026-09-02 05:33:13 -07:00
2026-08-28 06:36:22 -07:00
2026-09-02 09:57:39 -07:00
2026-08-08 14:49:28 -07:00
2026-08-19 16:10:01 -07:00
2026-09-01 16:01:53 -04:00
2026-08-14 02:04:24 +05:30
2026-08-23 18:25:19 -07:00
2026-08-08 05:09:43 -07:00
2026-08-19 22:41:05 -07:00
2026-08-31 09:57:22 -07:00
2026-08-25 03:55:55 -07:00
2026-08-15 01:04:19 -07:00
2026-08-30 20:40:43 -07:00
2026-08-29 12:06:48 +05:30
2026-08-13 23:10:16 +05:30
2026-09-02 03:42:01 -07:00
2026-08-14 03:31:22 +05:30
2026-08-30 05:16:10 -07:00
2026-09-02 13:29:48 -07:00
2026-08-29 19:14:15 -07:00
2026-08-12 16:25:20 -07:00
2026-08-12 18:38:25 -07:00
2026-09-01 02:14:35 -07:00
2026-09-01 12:08:11 -07:00
2026-09-02 05:34:28 -07:00
2026-08-29 11:33:05 +05:30
2026-09-01 02:14:35 -07:00
2026-08-29 12:23:41 +05:30
2026-08-26 10:10:11 -07:00
2026-08-29 20:39:44 +05:30
2026-08-06 22:02:37 -05:00
2026-08-27 03:24:20 -07:00
2026-09-01 12:07:16 -07:00
2026-08-19 08:52:01 -07:00
2026-08-19 08:52:03 -07:00
2026-08-08 23:46:17 -07:00
2026-08-16 01:55:51 -07:00
2026-08-23 19:04:37 -07:00
2026-09-01 16:01:53 -04:00
2026-09-02 05:34:28 -07:00
2026-08-21 13:21:46 +10:00
2026-08-29 13:02:13 +05:30
2026-09-02 13:29:48 -07:00
2026-08-29 08:23:47 -07:00
2026-09-02 07:00:13 -07:00
2026-09-03 01:33:18 +05:30
2026-08-08 15:10:24 +05:30
2026-08-23 18:25:19 -07:00
2026-08-28 05:45:00 -07:00
2026-08-31 10:10:25 -07:00
2026-08-24 20:10:44 -07:00
2026-08-24 20:10:44 -07:00
2026-08-15 00:33:01 -07:00
2026-08-16 22:10:02 -07:00
2026-09-02 13:29:48 -07:00
2026-09-01 23:30:33 -07:00
2026-09-02 13:29:48 -07:00
2026-08-14 21:41:26 -07:00
2026-08-29 11:33:05 +05:30
2026-08-12 19:01:30 -07:00
2026-08-12 19:13:32 -07:00
2026-09-02 05:35:14 -07:00
2026-08-12 19:13:32 -07:00
2026-09-02 07:22:59 -07:00
2026-09-02 13:28:41 +05:30
2026-09-01 03:19:59 +05:30
2026-08-28 03:46:24 -07:00
2026-08-29 08:26:24 -07:00
2026-08-24 03:23:07 -07:00
2026-08-16 00:14:58 -07:00
2026-08-12 01:15:25 -07:00
2026-08-29 12:33:44 +05:30
2026-08-28 05:10:33 -07:00
2026-08-19 16:10:01 -07:00
2026-09-01 10:56:49 -07:00
2026-09-01 10:56:49 -07:00