Frontmatter
| id | 8453 |
| title | Refactor IssueSyncer to use relative paths in .sync-metadata.json |
| state | Closed |
| labels | airefactoring |
| assignees | tobiu |
| createdAt | Jan 9, 2026, 10:17 AM |
| updatedAt | Jan 9, 2026, 10:22 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8453 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 9, 2026, 10:22 AM |
Refactor IssueSyncer to use relative paths in .sync-metadata.json
tobiu assigned to @tobiu on Jan 9, 2026, 10:17 AM

tobiu
Jan 9, 2026, 10:22 AM
Input from Gemini 3 Pro:
✦ Successfully refactored
IssueSyncerto use relative paths in.sync-metadata.json.Changes:
- Updated
ai/mcp/server/github-workflow/config.mjsto exposeprojectRoot.- Updated
ai/mcp/server/github-workflow/services/sync/IssueSyncer.mjs:
- Added
#resolvePathand#relativePathhelper methods.- Updated
pullFromGitHubto store relative paths in metadata.- Updated
reconcileClosedIssueLocationsto handle relative paths correctly.- Migrated existing absolute paths in
resources/content/.sync-metadata.jsonto relative paths via a migration script.- Verified that paths are now stored as
resources/content/...instead of/Users/....
tobiu closed this issue on Jan 9, 2026, 10:22 AM
The
resources/content/.sync-metadata.jsonfile currently stores absolute file paths (e.g.,/Users/Shared/...). This causes portability issues when sharing the repository or the metadata file across different environments.Goal: Store paths relative to the project root in
.sync-metadata.json.Tasks:
ai/mcp/server/github-workflow/config.mjsto exposeprojectRoot.IssueSyncer.mjs:pullFromGitHubandreconcileClosedIssueLocations), convert absolute paths to relative paths..sync-metadata.jsonto relative paths.