Skip to content

MEMORY: worktree-aware dedup #496

@Hmbown

Description

@Hmbown

Part of #489.

Summary

When running inside a git worktree whose main repo also has AGENTS.md, don't load the same file twice.

Reference

reference-cc/src/utils/claudemd.ts:868-884.

Acceptance

  • Worktree under a parent repo loads each file exactly once.
  • No-op when not inside a worktree.

Effort: S (~80 LoC).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv0.9.0Targeting v0.9.0

    Projects

    Status
    In progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions