jif
a390571745
Default fresh memory profiles to v2 ( #56211 )
...
## Why
Profiles without a v1 memory workspace have no legacy context to preserve or consolidate before using v2.
## What changed
- Select v2 when memories are enabled and the `memories` directory is absent. Preserve explicit `memories.version` settings, the `memories.dual_write = false` opt-out, and the v1 default for existing workspaces or filesystem check errors.
- Report `v2_ready` immediately for profiles without a v1 workspace. Keep the consolidation count and valid-summary requirements for profiles with a v1 workspace.
- Make resetting an absent memory workspace a no-op so it does not create an unused v1 directory.
## Testing
Extend coverage for default and explicit version selection, opt-outs, version-specific memory reads, fresh-profile readiness and reset behavior, and running only the v2 pipeline for fresh profiles.
GitOrigin-RevId: a8fb0844962ae9266ffbe88af97e8dc4a99ac15f
2026-10-22 16:26:03 +00:00
..
2026-10-21 21:50:55 +00:00
2026-10-14 07:13:22 +00:00
2026-10-20 21:28:45 +00:00
2026-10-21 19:34:51 +00:00
2026-10-21 09:54:36 +00:00
2026-10-22 16:26:03 +00:00
2026-10-22 01:14:34 +00:00
2026-10-21 19:06:57 +00:00
2026-10-22 11:52:34 +00:00
2026-10-08 20:11:43 +00:00
2026-10-20 15:43:19 +00:00
2026-10-12 11:24:22 +00:00
2026-10-16 23:56:33 +00:00
2026-10-15 19:51:22 +00:00
2026-10-20 15:43:19 +00:00
2026-10-07 22:11:14 +00:00
2026-10-20 15:43:19 +00:00
2026-10-22 00:50:52 +00:00
2026-10-22 02:15:00 +00:00
2026-10-20 15:43:19 +00:00
2026-10-21 21:46:56 +00:00
2026-10-20 18:53:06 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-21 21:05:08 +00:00
2026-10-19 21:43:19 +00:00
2026-10-22 11:51:23 +00:00
2026-10-22 16:26:03 +00:00
2026-10-16 19:26:46 +00:00
2026-10-17 04:02:21 +00:00
2026-10-22 16:26:03 +00:00
2026-10-20 14:14:59 +00:00
2026-10-19 15:15:17 +00:00
2026-10-22 16:24:53 +00:00
2026-10-20 21:28:45 +00:00
2026-10-21 22:49:54 +00:00
2026-10-08 20:11:43 +00:00
2026-10-20 21:28:45 +00:00
2026-10-22 11:52:34 +00:00
2026-10-22 11:52:34 +00:00
2026-10-21 19:37:29 +00:00
2026-10-20 21:28:45 +00:00
2026-10-22 12:46:24 +00:00
2026-10-21 16:43:30 +00:00
2026-10-19 19:10:58 +00:00
2026-10-21 19:53:00 +00:00
2026-10-13 17:22:34 +00:00
2026-10-19 15:15:41 +00:00
2026-10-21 18:14:58 +00:00
2026-10-21 02:41:05 +00:00
2026-10-18 22:43:56 +00:00
2026-10-22 01:07:13 +00:00
2026-10-08 16:19:09 +00:00
2026-10-20 16:25:02 +00:00
2026-10-22 09:37:28 +00:00
2026-10-22 16:26:03 +00:00
2026-10-15 21:29:41 +00:00
2026-10-21 19:37:29 +00:00
2026-10-22 01:07:13 +00:00
2026-10-22 01:07:13 +00:00
2026-10-21 18:43:15 +00:00
2026-10-19 20:54:41 +00:00
2026-10-22 14:01:19 +00:00
2026-10-20 22:34:40 +00:00
2026-10-06 21:29:35 +00:00
2026-10-19 19:55:39 +00:00
2026-10-22 09:20:00 +00:00
2026-10-10 02:54:59 +00:00
2026-10-12 18:53:49 +00:00
2026-10-19 16:56:42 +00:00
2026-10-22 11:51:23 +00:00
2026-10-22 09:20:00 +00:00
2026-10-22 09:20:00 +00:00
2026-10-20 17:29:40 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-22 04:59:19 +00:00
2026-10-20 21:28:45 +00:00
2026-10-19 21:01:44 +00:00
2026-10-21 19:53:00 +00:00
2026-10-22 00:19:02 +00:00
2026-10-12 17:52:12 +00:00
2026-10-15 19:01:43 +00:00
2026-10-21 16:43:30 +00:00
2026-10-17 04:02:21 +00:00
2026-10-22 11:52:34 +00:00
2026-10-13 22:40:57 +00:00
2026-10-21 07:33:13 +00:00
2026-10-16 06:06:54 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-21 22:26:16 +00:00
2026-10-08 01:12:16 +00:00
2026-10-20 14:48:59 +00:00
2026-10-07 22:11:14 +00:00
2026-10-22 14:01:19 +00:00
2026-10-21 22:49:54 +00:00
2026-10-20 11:55:08 +00:00
2026-10-20 21:28:45 +00:00