wmagev
2eef395e1c
fix(compaction): mark end of context summary in role=user fallback
...
When the head ends with assistant/tool and the tail starts with assistant,
the summary is inserted as a standalone role="user" message. The body's
verbatim "## Active Task" quote then gets read as fresh user input by
weak/local models (#11475 , #14521 ).
The merge-into-tail path already appends an explicit end-of-summary marker
for this reason. Mirror it on the standalone path so both insertion routes
give the model the same "summary above, not new input" signal.
2026-05-05 04:51:29 -07:00
..
2026-05-03 15:25:45 -07:00
2026-02-21 22:31:43 -08:00
2026-04-21 01:56:35 -07:00
2026-05-04 06:23:52 -07:00
2026-05-04 05:05:43 -07:00
2026-04-28 03:53:11 -07:00
2026-04-25 18:22:06 -07:00
2026-05-05 04:51:29 -07:00
2026-04-24 02:55:43 -07:00
2026-04-20 01:56:41 -07:00
2026-04-29 23:18:55 -07:00
2026-05-02 02:00:32 -07:00
2026-04-29 09:53:42 -07:00
2026-05-02 01:29:57 -07:00
2026-05-04 01:21:23 -07:00
2026-04-30 20:43:15 -07:00
2026-05-05 04:25:18 -07:00
2026-04-21 01:31:58 -07:00
2026-04-28 06:46:45 -07:00
2026-05-04 02:33:30 -07:00
2026-04-28 06:46:45 -07:00
2026-04-28 06:46:45 -07:00
2026-05-04 03:16:19 -07:00
2026-04-21 21:30:10 -07:00
2026-04-21 21:30:10 -07:00
2026-04-27 06:27:59 -07:00
2026-04-20 05:25:49 -07:00
2026-04-28 12:27:36 -07:00
2026-04-30 23:03:54 -07:00
2026-04-29 04:57:22 -07:00
2026-04-29 04:57:22 -07:00
2026-04-30 04:31:23 -07:00
2026-04-29 09:53:42 -07:00
2026-04-30 23:14:31 -07:00
2026-04-28 04:58:22 -07:00
2026-04-29 08:08:36 -07:00
2026-05-03 16:59:00 -07:00
2026-03-21 16:54:43 -07:00
2026-04-13 16:32:04 -07:00
2026-05-04 04:56:28 -07:00
2026-04-08 00:41:36 -07:00
2026-04-28 04:58:22 -07:00
2026-05-02 01:36:53 -07:00
2026-04-24 15:15:07 -07:00
2026-04-30 04:59:22 -07:00
2026-04-09 03:10:30 -07:00
2026-05-05 04:33:38 -07:00
2026-05-04 12:07:17 -07:00
2026-04-30 20:43:15 -07:00
2026-02-21 22:31:43 -08:00
2026-04-29 04:56:50 -07:00