Skip to content

#721 only refuses a tracked handoff by name; other repo-committed .remember/*.md files are still injected #755

Closed

Description

@fdaviddpt

Found by the v0.34.0 release audit (round 2, finding P2). It predates v0.34.0.

#721 set out to stop repo-committed (git-tracked) .remember/*.md files from being injected into session context as the user's own memory. The shipped guard only checks the handoff path (remember.md / the per-session handoff). Any other file the context loader injects (now.md, identity.md, recent.md, archive.md, ...) is still rendered verbatim when a repository commits it.

Impact: a cloned repository can present arbitrary text as "your own notes from last session". The repository's own CLAUDE.md already gives it a channel into context, so this adds framing (memory is trusted as self-written), not a new capability.

Fix direction: apply the tracked-file refusal to every file scripts/lib-memory-context.sh injects, in one place, rather than per file name. Test-first: a tracked now.md / identity.md must not be injected, and the untracked ones still are. Coordinate with the worktree-anchoring issue for identity.md and the subdirectory issue, since one shared helper can close all three.

[AI-generated]

Activity

  1. added
    filed-by-loop
    cohort-13
    on Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cohort-13filed-by-loop

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions