chore(gitignore): ignore regenerable memory working-set + index#147
Merged
CGFixIT merged 1 commit intoJun 21, 2026
Merged
Conversation
The memory-orchestrator rewrites docs/memories/CONSOLIDATED.md (working set) and docs/memories/INDEX.md from scratch on every pass, exactly like the already- ignored .orchestrator-state.json. They are derived/regenerable artifacts, not source, and were showing up as perpetual untracked noise. Ignore them so only real, dated snapshot files (docs/memories/<date_time>.md) stay tracked. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LvLWMML8cpBq2q81kL1ByJ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The memory-orchestrator rewrites
docs/memories/CONSOLIDATED.md(working set) anddocs/memories/INDEX.mdfrom scratch on every pass — exactly like the already-ignoreddocs/memories/.orchestrator-state.json. They're derived/regenerable artifacts, not source, and surface as perpetual untracked noise in every session (which the repo's stop-hook git check flags).This adds them to
.gitignore, right beside the existing state-file rule:Scope / intent preserved
Only the derived working-set + index are ignored. The dated snapshot files (
docs/memories/<date_time>.md) — the actual durable memories the design calls "committable" — remain tracked.git check-ignoreconfirms the two files now match; the working tree is clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01LvLWMML8cpBq2q81kL1ByJ
Generated by Claude Code