Joseph Doherty
b91a5e9293
fix: thread_closed uses chat-clock time, not wall clock (T80.4)
...
T58 stamped emitted ``thread_closed`` events with
``datetime.now(timezone.utc).isoformat()``. The rest of the close
pipeline (memories.chat_clock_at, scene_closed.ended_at, edge writes)
uses the chat's in-world clock. Threads must agree so timeline
reconstruction stays consistent under time skips and replay.
Read ``chat["time"]`` (already loaded for the per-POV path) and pass
it through as ``closed_at``. Falls back to UTC now only when chat_state
has no clock yet — defensive; chat_created always seeds it.
Adds test_thread_closed_uses_chat_clock_time.
2026-04-26 21:50:04 -04:00
..
2026-04-26 11:23:38 -04:00
2026-04-26 21:40:47 -04:00
2026-04-26 14:18:57 -04:00
2026-04-26 12:17:06 -04:00
2026-04-26 14:33:28 -04:00
2026-04-26 12:39:15 -04:00
2026-04-26 15:03:13 -04:00
2026-04-26 11:28:40 -04:00
2026-04-26 17:28:25 -04:00
2026-04-26 13:40:40 -04:00
2026-04-26 20:27:47 -04:00
2026-04-26 17:26:31 -04:00
2026-04-26 13:35:47 -04:00
2026-04-26 11:51:15 -04:00
2026-04-26 11:46:19 -04:00
2026-04-26 14:33:28 -04:00
2026-04-26 20:09:13 -04:00
2026-04-26 20:15:51 -04:00
2026-04-26 11:42:49 -04:00
2026-04-26 20:04:36 -04:00
2026-04-26 14:33:28 -04:00
2026-04-26 15:46:16 -04:00
2026-04-26 15:46:09 -04:00
2026-04-26 11:23:38 -04:00
2026-04-26 15:51:29 -04:00
2026-04-26 12:28:05 -04:00
2026-04-26 15:03:13 -04:00
2026-04-26 11:35:57 -04:00
2026-04-26 20:52:45 -04:00
2026-04-26 21:07:44 -04:00
2026-04-26 20:15:19 -04:00
2026-04-26 15:52:48 -04:00
2026-04-26 12:03:26 -04:00
2026-04-26 11:32:32 -04:00
2026-04-26 15:51:58 -04:00
2026-04-26 17:05:29 -04:00
2026-04-26 21:50:04 -04:00
2026-04-26 21:16:30 -04:00
2026-04-26 21:41:15 -04:00
2026-04-26 17:39:31 -04:00
2026-04-26 15:47:12 -04:00
2026-04-26 14:22:43 -04:00
2026-04-26 17:06:21 -04:00
2026-04-26 13:58:20 -04:00
2026-04-26 15:03:13 -04:00
2026-04-26 12:22:00 -04:00
2026-04-26 15:03:13 -04:00
2026-04-26 21:40:29 -04:00
2026-04-26 14:15:17 -04:00
2026-04-26 12:49:41 -04:00
2026-04-26 15:03:13 -04:00
2026-04-26 14:27:39 -04:00
2026-04-26 20:10:05 -04:00
2026-04-26 20:10:36 -04:00
2026-04-26 20:05:09 -04:00
2026-04-26 20:04:46 -04:00
2026-04-26 20:45:05 -04:00
2026-04-26 15:03:13 -04:00
2026-04-26 16:25:03 -04:00
2026-04-26 20:52:45 -04:00