amosblomqvist
82c6999a63
fix: preserve failed responses when retrying model calls
...
Keep failed attempts in the saved transcript and omit only trailing failures from Retry's temporary agent history. Use the matching temporary prefix length when persisting genuinely new output.
Preserve the error notice across plan/compaction markers, refuse Retry after later compaction, and avoid synthesizing results for tool calls inside failed generations while retaining Pi's native filtering.
Verified: 173 focused Retry/session/compaction-projection/practice-record tests, typecheck, changed-file lint, and diff --check. No app launch or real provider calls.
2026-10-27 16:49:29 +02:00
..
2026-10-26 04:49:47 +02:00
2026-10-16 21:24:27 +03:00
2026-10-24 19:05:02 +03:00
2026-09-25 21:24:43 +03:00
2026-10-07 19:13:24 +03:00
2026-09-22 00:02:07 +03:00
2026-10-23 17:25:10 +03:00
2026-09-19 20:54:16 +03:00
2026-10-25 19:19:38 +02:00
2026-10-17 00:38:57 +03:00
2026-10-20 15:56:19 +03:00
2026-10-20 15:15:28 +03:00
2026-10-11 07:03:45 +03:00
2026-09-24 23:20:59 +03:00
2026-10-04 01:19:54 +03:00
2026-09-28 23:30:11 +03:00
2026-10-26 01:55:52 +02:00
2026-10-04 21:36:14 +03:00
2026-10-02 17:38:48 +03:00
2026-10-25 18:59:48 +02:00
2026-10-26 01:55:52 +02:00
2026-10-24 19:42:05 +03:00
2026-10-25 01:52:52 +03:00
2026-10-26 03:00:40 +02:00
2026-10-24 18:41:03 +03:00
2026-10-24 19:42:05 +03:00
2026-10-24 19:53:18 +03:00
2026-10-25 00:27:52 +03:00
2026-10-25 00:27:52 +03:00
2026-09-23 15:37:34 +03:00
2026-10-06 04:46:26 +03:00
2026-10-24 19:05:02 +03:00
2026-10-24 19:05:02 +03:00
2026-10-24 19:05:02 +03:00
2026-10-17 01:06:28 +03:00
2026-10-26 04:49:47 +02:00
2026-10-24 19:05:02 +03:00
2026-10-24 19:05:02 +03:00
2026-09-28 22:37:18 +03:00
2026-09-23 03:53:57 +03:00
2026-10-13 09:54:43 +03:00
2026-10-20 15:15:28 +03:00
2026-10-26 02:39:59 +02:00
2026-10-24 15:28:26 +03:00
2026-10-11 10:12:13 +03:00
2026-10-26 03:00:40 +02:00
2026-09-27 04:36:00 +03:00
2026-10-04 23:57:00 +03:00
2026-10-06 05:31:00 +03:00
2026-10-10 09:43:12 +03:00
2026-10-04 21:55:54 +03:00
2026-10-02 17:04:22 +03:00
2026-10-23 17:25:10 +03:00
2026-09-25 20:12:57 +03:00
2026-09-23 00:19:16 +03:00
2026-09-25 23:32:13 +03:00
2026-09-12 06:02:40 +03:00
2026-10-10 13:40:39 +03:00
2026-10-07 12:55:11 +03:00
2026-10-10 12:19:31 +03:00
2026-10-25 00:27:52 +03:00
2026-09-23 20:20:36 +03:00
2026-10-09 07:59:23 +03:00
2026-09-30 17:44:37 +03:00
2026-10-25 19:45:17 +02:00
2026-09-23 03:53:57 +03:00
2026-10-26 02:04:18 +02:00
2026-10-26 02:57:33 +02:00
2026-10-23 17:11:57 +03:00
2026-10-11 10:41:30 +03:00
2026-09-30 04:52:27 +03:00
2026-10-17 14:48:32 +03:00
2026-10-06 10:23:16 +03:00
2026-09-22 16:56:44 +03:00
2026-10-04 19:50:20 +03:00
2026-10-23 04:43:56 +03:00
2026-10-23 06:14:33 +03:00
2026-10-24 19:05:02 +03:00
2026-09-19 13:16:34 +03:00
2026-10-11 10:41:30 +03:00
2026-09-19 15:24:26 +03:00
2026-10-26 01:18:53 +02:00
2026-09-27 08:55:13 +03:00
2026-09-26 01:52:47 +03:00
2026-10-09 07:59:23 +03:00
2026-10-10 09:43:12 +03:00
2026-10-24 06:52:36 +03:00
2026-10-10 09:42:47 +03:00
2026-10-09 04:54:34 +03:00
2026-10-06 04:18:26 +03:00
2026-10-24 19:05:02 +03:00
2026-10-24 19:05:02 +03:00
2026-09-26 00:37:46 +03:00
2026-10-07 23:56:21 +03:00
2026-10-04 20:21:18 +03:00
2026-10-23 17:25:10 +03:00
2026-10-24 08:15:04 +03:00
2026-10-26 03:00:40 +02:00
2026-10-13 06:24:33 +03:00
2026-10-13 06:24:33 +03:00
2026-09-25 23:32:13 +03:00
2026-10-08 19:25:47 +03:00
2026-10-03 01:03:29 +03:00
2026-10-24 19:05:02 +03:00
2026-10-26 01:55:52 +02:00
2026-10-06 09:47:26 +03:00
2026-10-06 14:18:05 +03:00
2026-10-06 03:55:14 +03:00
2026-10-13 08:26:31 +03:00
2026-09-29 22:41:52 +03:00
2026-10-02 02:09:38 +03:00
2026-10-16 21:24:14 +03:00
2026-10-08 18:45:49 +03:00
2026-10-06 10:04:26 +03:00
2026-10-17 01:06:28 +03:00
2026-10-05 06:08:51 +03:00
2026-10-07 09:40:33 +03:00
2026-10-08 18:45:49 +03:00
2026-10-03 03:01:51 +03:00
2026-10-07 12:55:11 +03:00
2026-10-24 15:28:26 +03:00
2026-10-23 06:14:33 +03:00
2026-10-24 19:05:02 +03:00
2026-10-25 19:19:38 +02:00
2026-10-25 19:19:38 +02:00
2026-10-26 04:49:47 +02:00
2026-10-24 06:52:36 +03:00
2026-10-07 22:36:11 +03:00
2026-10-27 16:49:29 +02:00
2026-09-26 23:53:43 +03:00
2026-10-10 13:54:17 +03:00
2026-09-22 00:02:07 +03:00
2026-10-26 01:55:57 +02:00
2026-10-02 17:15:17 +03:00
2026-09-22 00:02:07 +03:00
2026-10-24 21:56:57 +03:00
2026-09-30 04:30:25 +03:00
2026-10-13 09:54:43 +03:00
2026-10-27 16:49:29 +02:00
2026-10-13 08:26:31 +03:00
2026-10-23 17:25:10 +03:00
2026-10-09 07:59:23 +03:00
2026-10-13 08:26:31 +03:00
2026-10-06 08:26:55 +03:00
2026-10-24 06:52:36 +03:00
2026-10-13 08:26:31 +03:00
2026-09-22 21:55:33 +03:00
2026-09-28 23:30:11 +03:00
2026-10-13 08:26:31 +03:00
2026-10-17 00:38:57 +03:00
2026-10-24 19:05:02 +03:00
2026-09-26 01:52:47 +03:00
2026-10-25 00:27:52 +03:00
2026-10-26 01:55:52 +02:00
2026-10-25 01:34:46 +03:00
2026-10-25 00:27:52 +03:00
2026-10-25 00:27:52 +03:00
2026-10-25 23:29:00 +02:00
2026-10-11 06:52:32 +03:00
2026-09-22 22:05:27 +03:00
2026-10-06 07:49:38 +03:00
2026-10-04 20:21:10 +03:00
2026-10-26 04:49:47 +02:00
2026-10-26 04:49:47 +02:00
2026-10-13 06:24:33 +03:00
2026-10-26 04:49:47 +02:00
2026-09-27 08:55:13 +03:00
2026-10-25 19:19:38 +02:00
2026-10-25 19:45:17 +02:00
2026-10-25 19:45:17 +02:00
2026-10-24 19:05:02 +03:00
2026-10-17 15:15:59 +03:00
2026-10-24 06:52:36 +03:00
2026-10-26 03:00:40 +02:00
2026-10-26 03:00:40 +02:00
2026-10-26 03:00:40 +02:00
2026-10-24 14:02:54 +03:00