Files
thedotmack__claude-mem/.gitignore
T
Alex Newman e29d2213fa fix(packaging): stop shipping maintainer directives in CLAUDE.md via marketplace clone (#3381) (#3391)
* fix(packaging): stop shipping maintainer directives in CLAUDE.md via marketplace clone (#3381)

The GitHub marketplace install is a git clone of this repo, so every
tracked file ships to end users — including root CLAUDE.md, whose
maintainer-only sections (Local Status Notes, Daily Maintenance)
contain autonomous agent directives that end-user Claude instances
then obey. The .npmignore guard from #2537 only covers the npm
tarball channel (#3359), not clones.

- Move Local Status Notes and Daily Maintenance verbatim into
  CLAUDE.local.md (gitignored, auto-loaded locally by Claude Code
  for the maintainer); root CLAUDE.md keeps contributor content only
- Add CLAUDE.local.md to .gitignore
- Add --exclude=/CLAUDE.md to the marketplace rsync so the
  maintainer's local marketplace copy matches a fresh clone

Closes #3381

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RSNZmfi4vSYjTeEWtwqKrW

* fix(packaging): drop rsync CLAUDE.md exclude that preserved the stale marketplace copy

rsync --exclude also protects the DESTINATION from --delete/overwrite,
so --exclude=/CLAUDE.md would have kept the old directive-bearing
CLAUDE.md in ~/.claude/plugins/marketplaces/thedotmack/ forever. The
slim contributor CLAUDE.md is still tracked, so a fresh GitHub clone
contains it — matching that means syncing it normally and letting
rsync overwrite the stale copy. CLAUDE.local.md needs no hard-coded
exclude: the sync builds its exclude list from .gitignore
(getGitignoreExcludes), which now lists it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RSNZmfi4vSYjTeEWtwqKrW

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 15:42:32 -07:00

54 lines
717 B
Plaintext

datasets/
node_modules/
dist/
**/_tree-sitter/
*.log
.DS_Store
.env
.env.local
*.tmp
*.temp
.install-version
.claude/settings.local.json
.claude/agents/
.claude/skills/
.claude/plans/
.claude/worktrees/
plugin/data/
plugin/data.backup/
package-lock.json
bun.lock
!plugin/bun.lock
!workers/sync-hub/bun.lock
private/
Auto Run Docs/
src/ui/viewer.html
.mcp.json
.cursor/
.idea/
.claude-octopus/
.claude/session-intent.md
.claude/session-plan.md
.claude/scheduled_tasks.lock
.octo/
plugin/.cli-installed
plugin/scripts/claude-mem
CONTRIB_NOTES.md
CLAUDE.local.md
.docker-claude-mem-data/
.docker-blowout-data/
.scratch/
docker/install-test/
# Local session report artifacts (not part of distribution)
reports/