Context
This is bucket B2 of Epic #11187.
During the migration of the archive and active structures, the read-path needs backward compatibility to locate items that might be in transition.
The Problem
If LocalFileService only looks in the new deterministic paths, it will fail to find items that haven't been moved yet.
The Architectural Reality
ai/services/github-workflow/LocalFileService.mjs
The Fix
Implement a dual-search in LocalFileService to fall back to legacy paths if an item is not found in the new canonical path.
Acceptance Criteria
Out of Scope
- Modifying the write-path or syncer logic.
Related
Origin Session ID: 2c4aa4df-2628-45ae-a9c2-156fd9308f21
Context
This is bucket B2 of Epic #11187. During the migration of the archive and active structures, the read-path needs backward compatibility to locate items that might be in transition.
The Problem
If
LocalFileServiceonly looks in the new deterministic paths, it will fail to find items that haven't been moved yet.The Architectural Reality
ai/services/github-workflow/LocalFileService.mjsThe Fix
Implement a dual-search in
LocalFileServiceto fall back to legacy paths if an item is not found in the new canonical path.Acceptance Criteria
LocalFileService#getIssueById(and PR equivalent) checks both old and new paths.Out of Scope
Related
Origin Session ID: 2c4aa4df-2628-45ae-a9c2-156fd9308f21