kshitijk4poor
2adb1a4ea6
refactor(agent): clone the review snapshot once at the spawn chokepoint
...
Move the structural clone from the four call sites (auto review, codex
runtime, CLI /refine, gateway /refine) into AIAgent._spawn_background_review,
which every review path — immediate, idle-queue deferred, requeued — passes
through. Callers can no longer forget it, and the private helper is no longer
imported across hermes_cli/ and gateway/ package boundaries.
Tests now bind the real chokepoint (capturing at _spawn_background_review_now)
so they still fail if the clone is removed.
2026-09-02 13:28:41 +05:30
..
2026-09-02 13:28:41 +05:30
2026-09-02 00:44:19 -07:00
2026-09-01 22:14:33 -07:00
2026-08-26 00:54:36 -07:00
2026-09-02 00:56:52 -07:00
2026-08-26 07:28:10 -07:00
2026-08-31 01:04:11 -07:00
2026-09-02 00:56:52 -07:00
2026-09-02 00:56:52 -07:00
2026-09-01 10:51:52 -07:00
2026-09-01 14:11:55 +05:30
2026-08-28 11:54:33 +05:30
2026-09-01 22:17:08 -07:00
2026-08-29 18:01:25 -07:00
2026-09-02 13:28:41 +05:30
2026-09-02 00:06:01 -07:00
2026-08-30 04:53:39 -07:00
2026-09-01 23:58:51 -07:00
2026-09-02 00:52:58 -07:00
2026-09-01 23:56:58 -07:00
2026-09-01 10:56:49 -07:00
2026-09-01 09:28:01 -07:00
2026-08-31 09:56:43 -07:00
2026-08-31 12:36:33 -07:00
2026-08-31 20:43:36 -05:00
2026-08-30 01:20:27 -07:00
2026-08-30 01:20:27 -07:00
2026-09-01 08:36:03 -07:00
2026-08-26 18:23:33 -07:00
2026-09-02 00:44:19 -07:00
2026-08-26 18:23:33 -07:00
2026-08-31 10:05:13 -07:00
2026-08-28 05:45:00 -07:00
2026-08-28 12:20:40 -07:00
2026-09-01 00:35:29 +05:30
2026-08-31 09:56:43 -07:00
2026-08-27 13:48:51 -07:00
2026-08-31 07:28:22 -07:00
2026-08-31 09:56:04 -07:00
2026-09-01 22:14:33 -07:00
2026-08-29 18:34:35 -07:00
2026-08-31 10:00:38 -07:00
2026-09-01 09:28:01 -07:00
2026-09-01 09:28:01 -07:00
2026-09-01 09:28:01 -07:00
2026-09-01 09:28:01 -07:00
2026-08-31 10:00:55 -07:00
2026-08-31 10:53:18 -07:00
2026-08-31 10:53:18 -07:00
2026-09-01 11:25:10 -07:00
2026-08-28 12:36:15 -07:00
2026-08-27 07:52:26 -07:00
2026-08-27 07:52:26 -07:00
2026-09-01 10:52:42 -07:00
2026-08-29 18:23:07 -07:00
2026-08-31 12:22:17 -07:00
2026-08-31 10:03:34 -07:00
2026-08-31 05:56:18 -07:00
2026-08-31 11:23:48 -07:00
2026-08-31 09:56:04 -07:00
2026-08-31 09:56:54 -07:00
2026-08-31 09:56:43 -07:00
2026-09-01 22:42:19 -05:00
2026-08-27 07:52:26 -07:00
2026-08-31 09:58:40 -07:00
2026-08-29 18:23:07 -07:00
2026-08-27 11:26:57 +05:30
2026-09-01 22:58:48 -05:00
2026-08-31 09:56:43 -07:00