Skip to content

fix(sync): stabilize sync manifest path encoding across scopes#16

Merged
farnoodma merged 1 commit intomainfrom
agent/fix-sync-manifest-global-home-encoding
Feb 24, 2026
Merged

fix(sync): stabilize sync manifest path encoding across scopes#16
farnoodma merged 1 commit intomainfrom
agent/fix-sync-manifest-global-home-encoding

Conversation

@farnoodma
Copy link
Owner

Summary

  • normalize .agents/.sync-manifest.json path entries through core/manifest so disk format is portable while runtime stays absolute
  • keep local entries repo-relative, encode home-scoped entries as ~/..., and preserve backward compatibility for legacy absolute entries
  • fix global-scope serialization precedence so home paths are always encoded as ~/... (stable across cwd changes)
  • add manifest helper unit tests covering disk/runtime normalization and global cross-cwd behavior

Testing

  • pnpm --filter agentloom check

Store sync manifest generated file entries in a portable format:
- local scope: workspace-relative paths where applicable
- home-scoped paths: ~/... encoding

Also ensure global scope always prefers ~/... encoding so manifest
entries stay stable across cwd changes.

Add manifest unit tests for disk/runtime normalization, legacy absolute
compatibility, and global cross-cwd stability.

Co-authored-by: Codex <noreply@openai.com>
@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentloom Ready Ready Preview, Comment Feb 24, 2026 8:47am

@farnoodma farnoodma marked this pull request as ready for review February 24, 2026 08:48
@farnoodma farnoodma merged commit 46f9c58 into main Feb 24, 2026
4 checks passed
@farnoodma farnoodma deleted the agent/fix-sync-manifest-global-home-encoding branch February 24, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant