Felipe Coury
d88db19144
Preserve thread context when retrying or editing turns ( #33211 )
...
## What changed
- Add experimental `beforeTurnId` support to `thread/fork` for copying history strictly before a turn, including an in-progress turn.
- Use before-turn forks for TUI backtracking and safety retries so the replacement prompt retains thread context instead of recreating the branch from the preceding turn or a new thread.
- Add experimental `deferGoalContinuation` support so safety-retry forks can inherit an active goal while waiting for the replacement turn before automatic continuation resumes.
- Hide duplicated nested-review prompts when replaying history or selecting a prompt to edit.
## Testing
- Cover before-turn truncation, fork validation, active-goal inheritance, TUI safety retries, backtracking, and nested-review replay.
GitOrigin-RevId: 4915d85ae1929a0b8c40f3ed7dca29c7a5bdcdf3
2026-07-15 02:35:49 +00:00
..
2026-07-14 21:54:24 +00:00
2026-06-25 18:15:48 -07:00
2026-07-08 17:50:18 +00:00
2026-07-08 14:13:59 -07:00
2026-07-09 00:17:38 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-14 06:39:42 +00:00
2026-07-08 00:15:49 +00:00
2026-05-28 14:54:39 -07:00
2026-07-06 10:17:15 -07:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-14 01:49:16 +00:00
2026-06-27 19:34:10 +00:00
2026-07-08 14:13:59 -07:00
2026-07-08 14:13:59 -07:00
2026-07-08 14:13:59 -07:00
2026-07-08 14:13:59 -07:00
2026-07-13 22:15:55 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 14:13:59 -07:00
2026-07-09 12:25:19 +09:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 14:13:59 -07:00
2026-07-08 00:15:49 +00:00
2026-07-08 14:13:59 -07:00
2026-07-14 04:41:08 +00:00
2026-07-08 00:15:49 +00:00
2026-07-14 01:49:16 +00:00
2026-07-10 16:11:58 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-09 12:16:15 -04:00
2026-07-11 01:11:37 +00:00
2026-07-10 21:13:38 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-14 22:43:26 +00:00
2026-07-08 14:13:59 -07:00
2026-07-08 14:13:59 -07:00
2026-07-08 00:15:49 +00:00
2026-06-26 09:12:42 -07:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-14 20:56:43 +00:00
2026-07-08 00:15:49 +00:00
2026-07-14 04:41:08 +00:00
2026-07-14 04:41:08 +00:00
2026-07-08 14:13:59 -07:00
2026-07-14 21:01:54 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-15 02:35:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 14:13:59 -07:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 00:15:49 +00:00
2026-05-12 18:40:53 -07:00
2026-07-14 20:48:05 +00:00
2026-07-13 09:40:51 +00:00
2026-07-08 00:15:49 +00:00
2026-07-14 04:41:08 +00:00
2026-07-08 14:13:59 -07:00
2026-07-14 04:41:08 +00:00
2026-07-14 00:38:04 +00:00
2026-07-08 00:15:49 +00:00
2026-07-08 14:13:59 -07:00
2026-07-08 14:13:59 -07:00
2026-07-08 14:13:59 -07:00
2026-07-14 06:39:42 +00:00
2026-07-08 14:13:59 -07:00
2026-07-13 23:37:35 +00:00
2026-07-08 00:15:49 +00:00