Moved zettelkasten storage to committed .zettelkasten/ (mirrors .memory/)¶
Angelo › zettelkasten › Phase 2: Literature Review System
Type: Decision · Status: active · Created: 2026-06-18
Zettelkasten note data now lives in a committed .zettelkasten/ tree at the repo root, mirroring how .memory/ is committed, instead of the gitignored .angelo/zettelkasten/. Only the disposable embedding caches under .angelo/zettel/<box>.kgl stay gitignored.
What changed:
- zettelkasten/graph.py _default_graphs_dir() now defaults to .zettelkasten/, keeping .angelo/zettelkasten/ and .cassius/zettelkasten/ as legacy fallbacks (only used if .zettelkasten/ is absent).
- .gitignore + angelo_cli CORE_IGNORES: dropped the .zettelkasten/ ignore line so the tree is committed.
- MCP templates (.cursor/mcp.json, angelo_cli/data/mcp-zettelkasten.json, angelo_cli/data/claude/mcp-zettelkasten.json): ZETTELKASTEN_PATH repointed to .zettelkasten.
- Docs: _schema.yaml, README.md, and the dashboard delete-barrier comment updated.
Seamless upgrade path: added _migrate_zettelkasten_layout() + _repoint_zettelkasten_env() to angelo_cli, wired into both angelo update and angelo init. On upgrade it moves .angelo/zettelkasten/ -> .zettelkasten/ (skips if target exists, never overwrites) and repoints any angelo-managed ZETTELKASTEN_PATH from the old .angelo/zettelkasten value to .zettelkasten. This is necessary because _reconcile_mcp_json only backfills missing env keys and never rewrites a user-set value. Custom user paths are left untouched; idempotent. Verified the move, GRAPHS_DIR resolution, and the env-repoint (managed rewritten, custom preserved, no-op on rerun).
This repo's existing investments graph (31 files) was migrated and committed in 10b772dd.
Referenced files¶
zettelkasten/graph.py@89ff79dangelo_cli/__init__.py@10b772d- .gitignore@10b772d
zettelkasten/_schema.yaml@b15a792- .cursor/mcp.json@10b772d
angelo_cli/data/mcp-zettelkasten.json@10b772dangelo_cli/data/claude/mcp-zettelkasten.json@10b772dREADME.md@10b772d
Source: memory entry deci-02340ef7.