Fixed a path-duplication bug and added regression coverage

This commit is contained in:
2026-05-03 22:38:22 -05:00
parent d1802f99f0
commit 4252de4b99
5 changed files with 201 additions and 3 deletions

View File

@@ -190,9 +190,7 @@ func discoverRawTranscripts(m *manifest.Manifest, paths artifacts.SessionPaths)
if p == "" {
continue
}
if !filepath.IsAbs(p) {
p = filepath.Join(paths.Root, p)
}
p = artifacts.ResolveSessionLocalPathForRead(paths, p)
fromManifest = append(fromManifest, filepath.Clean(p))
}
}