Skip to content

chore(gitignore): ignore regenerable memory working-set + index#147

Merged
CGFixIT merged 1 commit into
mainfrom
claude/cyclaw-optimization-review-u3kgru-gitignore-memory
Jun 21, 2026
Merged

chore(gitignore): ignore regenerable memory working-set + index#147
CGFixIT merged 1 commit into
mainfrom
claude/cyclaw-optimization-review-u3kgru-gitignore-memory

Conversation

@CGFixIT

@CGFixIT CGFixIT commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Summary

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 docs/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:

docs/memories/.orchestrator-state.json
docs/memories/INDEX.md
docs/memories/CONSOLIDATED.md

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-ignore confirms the two files now match; the working tree is clean.

Companion PR: a separate memory-snapshot PR captures the current snapshot content, kept out of the optimization PRs per the focused-PR contract.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LvLWMML8cpBq2q81kL1ByJ


Generated by Claude Code

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
@CGFixIT CGFixIT marked this pull request as ready for review June 21, 2026 02:32
@CGFixIT CGFixIT merged commit beaafb5 into main Jun 21, 2026
14 checks passed
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.

2 participants