Rahul Selvaraj
a08d5da8c9
fix(hooks): skip safety-classifier notices in session summaries
...
When a response is stopped by the safety classifier, the harness records
a notice ("Your response above was stopped by a safety classifier ...")
as a user entry in the transcript. session-end.js kept it as a user
message, so it was written under "### Tasks" and re-injected by
session-start.js on the next session.
userMessageText() now drops entries that start with that notice, next
to the existing HARNESS_NOISE filter. User messages that only mention
the phrase are kept, since the match is anchored to the start.
Fixes #3867
Assisted-by: Claude <noreply@anthropic.com >
2026-11-04 19:29:32 +08:00
..
2026-10-19 23:39:18 -04:00
2026-07-28 21:32:42 -04:00
2026-10-22 23:18:47 +00:00
2026-10-19 22:03:57 -04:00
2026-10-25 19:32:16 -04:00
2026-03-04 14:48:06 -08:00
2026-10-28 12:14:38 -07:00
2026-10-10 17:44:29 -04:00
2026-10-07 17:19:46 +00:00
2026-10-11 06:24:18 +08:00
2026-06-07 13:27:00 +08:00
2026-04-02 17:33:17 -07:00
2026-06-11 00:31:33 -04:00
2026-09-07 16:26:10 -04:00
2026-08-10 22:33:10 -04:00
2026-09-13 04:55:52 +08:00
2026-10-11 09:42:05 -04:00
2026-02-18 07:40:12 +00:00
2026-10-29 11:27:40 -07:00
2026-09-17 17:29:26 +00:00
2026-09-05 16:12:58 -04:00
2026-10-09 15:59:20 -04:00
2026-10-22 23:18:47 +00:00
2026-10-09 15:59:20 -04:00
2026-10-09 19:10:06 -04:00
2026-04-29 17:45:22 -04:00
2026-04-29 18:03:33 -04:00
2026-10-11 00:15:12 +08:00
2026-10-03 20:20:40 +05:30
2026-10-09 15:56:14 -04:00
2026-10-10 19:19:30 -04:00
2026-10-03 20:20:40 +05:30
2026-10-10 17:53:23 -04:00
2026-04-14 21:23:57 -07:00
2026-10-03 20:20:40 +05:30
2026-04-14 21:23:57 -07:00
2026-04-14 21:23:57 -07:00
2026-10-08 23:46:56 +02:00
2026-09-07 16:26:10 -04:00
2026-09-07 16:26:10 -04:00
2026-09-07 16:26:10 -04:00
2026-10-09 15:59:20 -04:00
2026-10-10 19:13:24 -04:00
2026-10-22 22:45:28 +02:00
2026-09-18 18:42:20 -04:00
2026-05-28 07:45:46 -04:00
2026-07-20 16:21:03 -04:00
2026-07-28 21:32:42 -04:00
2026-06-29 15:54:55 -07:00
2026-05-28 07:45:46 -04:00
2026-10-10 19:13:24 -04:00
2026-09-14 13:24:58 +05:30
2026-10-27 11:03:36 -07:00
2026-10-29 18:57:29 -07:00
2026-10-25 17:54:47 -04:00
2026-11-04 19:29:32 +08:00
2026-09-18 18:42:20 -04:00
2026-10-10 20:14:22 -04:00
2026-10-07 19:45:21 -05:00
2026-10-22 23:42:21 +02:00
2026-08-29 14:55:13 -04:00