kshitijk4poor
5c4c31cf4d
refactor(agent): fail loudly on a missing turn clock; single lowercase in is_dangerous_confirmation
...
- build_api_messages reads agent._current_turn_timestamp directly: a caller that skipped the
turn prologue now raises instead of silently falling back to per-request wall time, which
would re-create the mid-turn drift the fix removes. Only production caller
(assemble_api_request) runs after _reset_per_turn_agent_state; cross-reference to the
tripwire _inflight_turn_started so the two clocks are not "unified" by mistake.
- is_dangerous_confirmation lowercases once instead of once per pattern (now on the per-request path).
- Tests: one _send(idx=) helper instead of three spellings of the builder call; the
untrustworthy-stamp contract is its own test.
2026-09-13 19:23:09 +05:30
..
2026-09-13 05:20:26 -07:00
2026-09-13 05:21:02 -07:00
2026-09-13 19:23:09 +05:30
2026-09-13 05:42:31 -07:00
2026-09-13 05:20:26 -07:00
2026-08-24 15:54:23 +05:30
2026-09-13 05:09:06 -07:00
2026-09-03 17:28:02 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 23:55:56 -07:00
2026-09-13 06:29:12 -07:00
2026-09-13 06:50:57 -07:00
2026-09-13 05:20:26 -07:00
2026-09-13 19:05:39 +05:30
2026-09-12 08:30:27 -07:00
2026-09-04 00:53:42 -07:00
2026-09-13 06:06:46 -07:00
2026-09-13 19:05:39 +05:30
2026-09-13 19:17:06 +05:30
2026-09-12 22:40:28 +05:30
2026-09-12 07:54:04 -07:00
2026-09-12 21:20:42 -07:00
2026-09-11 06:37:27 -07:00
2026-09-13 06:29:12 -07:00
2026-09-13 19:05:39 +05:30
2026-09-09 02:35:41 -07:00
2026-09-09 04:38:01 -07:00
2026-09-13 05:21:02 -07:00
2026-09-13 05:07:11 -07:00
2026-09-12 08:30:27 -07:00
2026-09-07 22:47:33 +05:30
2026-09-10 11:48:01 -07:00
2026-09-12 05:13:50 -07:00
2026-09-06 22:45:31 +05:30
2026-09-04 00:15:16 -07:00
2026-09-12 05:09:59 -07:00
2026-09-07 06:09:56 -07:00
2026-09-08 17:13:48 -07:00
2026-09-08 17:13:48 -07:00
2026-09-06 07:19:21 -07:00
2026-09-05 02:31:06 -07:00
2026-09-10 18:13:16 -07:00
2026-09-03 13:12:50 -07:00
2026-09-11 06:37:27 -07:00
2026-09-11 10:30:29 +10:00
2026-09-12 08:30:27 -07:00
2026-09-12 08:30:27 -07:00
2026-09-13 05:21:02 -07:00
2026-09-11 06:23:23 -07:00
2026-09-13 04:29:06 -07:00
2026-09-13 19:05:28 +05:30
2026-09-13 19:05:39 +05:30
2026-09-13 19:05:39 +05:30
2026-09-13 19:05:39 +05:30
2026-09-13 19:05:39 +05:30
2026-09-12 08:26:17 -07:00
2026-09-12 08:32:09 -07:00
2026-09-09 18:26:15 +05:30
2026-09-09 09:19:54 -07:00
2026-09-09 13:30:28 -07:00
2026-09-13 06:06:46 -07:00
2026-09-10 02:21:16 +05:30
2026-09-11 11:54:49 -07:00
2026-09-03 17:45:53 -07:00
2026-09-04 04:56:11 -07:00
2026-09-04 01:28:31 -07:00
2026-09-13 05:08:29 -07:00
2026-09-13 05:07:11 -07:00
2026-09-11 15:44:00 -07:00
2026-09-04 20:24:24 -04:00
2026-09-09 11:31:10 -07:00
2026-08-12 18:55:14 -07:00
2026-09-03 19:33:28 -07:00
2026-09-11 06:24:54 -07:00
2026-09-07 06:04:23 -07:00
2026-07-18 04:15:13 -07:00
2026-07-31 23:18:12 -07:00
2026-09-09 18:26:15 +05:30
2026-09-11 06:37:27 -07:00
2026-09-09 09:19:57 -07:00
2026-09-11 15:44:00 -07:00
2026-09-05 12:21:21 +05:30
2026-09-11 15:27:23 -07:00
2026-09-11 19:50:46 -07:00
2026-09-09 12:20:38 -07:00
2026-09-10 10:27:07 -07:00
2026-09-13 19:05:39 +05:30
2026-09-03 14:21:52 -07:00
2026-09-07 08:23:08 -07:00
2026-09-09 18:25:11 +05:30