ayushcodes10
a442031291
Correct recovered groups own source_file before writing them
...
A recovered group's write KEY pointed at the right file, but every
node, edge, and hyperedge inside it still carried the original
unresolvable source_file string. load_cached rejects an entry on read
if any item's source_file does not match the path it was loaded
under, so the previous commit alone wrote a group that reported as
saved but could never actually be read back, silently reproducing the
exact loss this fix exists for.
This corrects every item's source_file to the recovered path's
portable form before the group is written, only when recovery
actually redirected the key, so an unrecovered group stays byte
identical to before.
Includes the regression test proving the full round trip: a group
recovered by basename now survives a subsequent load_cached call.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017qfdzgbA5KedGEjD1AayNh
(cherry picked from commit 4b91dcd462 )
2026-09-14 18:52:06 +01:00
..
2026-09-10 22:44:38 +01:00
2026-09-10 23:04:40 +01:00
2026-09-05 01:18:59 +01:00
2026-09-05 01:18:59 +01:00
2026-09-12 17:36:09 +01:00
2026-09-10 23:04:40 +01:00
2026-09-12 22:23:00 +01:00
2026-09-11 22:46:15 +01:00
2026-09-12 21:33:43 +01:00
2026-09-10 14:03:22 +01:00
2026-09-12 17:36:09 +01:00
2026-09-11 22:51:35 +01:00
2026-09-05 21:55:34 +01:00
2026-09-05 01:18:59 +01:00
2026-08-29 19:32:51 +01:00
2026-09-12 21:35:25 +01:00
2026-08-18 16:02:02 +01:00
2026-08-20 15:42:36 +01:00
2026-09-13 17:47:56 +01:00
2026-09-02 14:58:01 +01:00
2026-08-24 14:12:53 +01:00
2026-09-05 01:18:59 +01:00
2026-08-25 15:45:06 +01:00
2026-08-21 16:50:25 +01:00
2026-09-09 11:30:27 +01:00
2026-08-24 13:22:09 +01:00
2026-08-18 18:07:12 +01:00
2026-08-24 14:08:25 +01:00
2026-08-24 13:17:23 +01:00
2026-09-07 20:21:35 +01:00
2026-08-17 15:35:53 +01:00
2026-09-09 11:30:29 +01:00
2026-09-14 18:49:17 +01:00
2026-09-02 03:05:59 +01:00
2026-09-13 17:47:53 +01:00
2026-08-29 18:38:33 +01:00
2026-09-05 01:18:59 +01:00
2026-09-11 23:58:31 +01:00
2026-08-20 16:09:00 +01:00
2026-08-18 22:27:27 +01:00
2026-08-21 19:21:20 +01:00
2026-08-28 01:20:57 +01:00
2026-09-11 22:46:26 +01:00
2026-08-27 20:20:16 +01:00
2026-09-05 21:55:33 +01:00
2026-09-10 14:03:22 +01:00
2026-08-25 18:09:25 +01:00
2026-08-16 18:35:46 +01:00
2026-09-02 14:49:03 +01:00
2026-08-28 01:20:27 +01:00
2026-09-06 16:17:37 +01:00
2026-08-30 15:11:40 +01:00
2026-08-30 15:11:40 +01:00
2026-08-19 14:05:58 +01:00
2026-09-14 18:49:21 +01:00
2026-08-16 18:28:53 +01:00
2026-08-17 19:00:46 +01:00
2026-08-17 15:40:19 +01:00
2026-08-18 22:20:19 +01:00
2026-09-05 21:55:33 +01:00
2026-08-15 20:11:13 +01:00
2026-08-18 16:02:02 +01:00
2026-09-05 01:18:59 +01:00
2026-08-29 16:14:47 +01:00
2026-08-30 15:11:24 +01:00
2026-08-16 18:34:11 +01:00
2026-08-30 15:11:40 +01:00
2026-09-12 17:36:09 +01:00
2026-09-09 17:20:54 +01:00
2026-09-10 22:44:39 +01:00
2026-08-29 16:14:47 +01:00
2026-09-14 18:49:19 +01:00
2026-09-12 21:31:34 +01:00
2026-09-12 21:31:35 +01:00
2026-09-13 17:47:55 +01:00
2026-09-09 11:30:28 +01:00
2026-08-21 16:49:55 +01:00
2026-09-10 22:45:31 +01:00
2026-09-02 04:00:08 +01:00
2026-09-10 22:44:40 +01:00
2026-08-20 15:44:56 +01:00
2026-09-09 17:20:56 +01:00
2026-09-13 17:47:57 +01:00
2026-09-05 01:19:09 +01:00
2026-08-25 18:09:58 +01:00
2026-09-10 22:44:38 +01:00
2026-08-20 16:13:45 +01:00
2026-08-29 16:14:29 +01:00
2026-08-19 14:05:58 +01:00
2026-08-21 19:22:21 +01:00
2026-09-09 17:20:57 +01:00
2026-08-21 16:57:29 +01:00
2026-09-05 21:13:54 +01:00
2026-09-07 19:02:18 +01:00
2026-08-19 14:05:58 +01:00
2026-08-21 16:57:29 +01:00
2026-08-21 16:50:44 +01:00
2026-08-25 15:44:52 +01:00
2026-08-29 16:15:58 +01:00
2026-09-09 17:20:56 +01:00
2026-09-05 21:55:35 +01:00
2026-08-17 15:33:34 +01:00
2026-09-11 22:46:27 +01:00
2026-09-05 21:55:32 +01:00
2026-09-07 18:42:56 +01:00
2026-08-18 22:36:42 +01:00
2026-09-05 21:13:53 +01:00
2026-09-13 17:47:54 +01:00
2026-08-17 15:25:39 +01:00
2026-09-14 18:49:20 +01:00
2026-09-12 17:36:10 +01:00
2026-09-11 22:46:36 +01:00
2026-08-25 18:12:02 +01:00
2026-09-13 17:47:54 +01:00
2026-09-14 18:52:06 +01:00
2026-08-29 18:38:05 +01:00
2026-09-12 21:35:25 +01:00
2026-09-12 21:49:56 +01:00
2026-09-11 22:46:36 +01:00
2026-09-13 17:47:54 +01:00
2026-08-28 01:18:04 +01:00
2026-08-18 16:02:02 +01:00
2026-09-12 17:39:27 +01:00
2026-09-07 20:30:19 +01:00
2026-08-30 15:48:40 +01:00
2026-08-27 20:57:16 +01:00
2026-08-29 16:16:09 +01:00
2026-08-25 15:45:33 +01:00
2026-09-06 16:17:38 +01:00
2026-08-30 15:12:10 +01:00
2026-09-11 22:46:26 +01:00
2026-09-14 18:52:05 +01:00
2026-08-30 15:11:23 +01:00