| title | Implementation Todo | ||||
|---|---|---|---|---|---|
| type | todo | ||||
| status | active | ||||
| updated | 2026-04-28 | ||||
| tags |
|
||||
| links |
|
Linked from: [[development-plan]], [[architecture-v2]]
Legend:
- done
- not done
- [~] in progress
v1 foundation завершено (schema, vault, templates, validator, indexer, installer, обидва adapter-и). Pilot на Курсова-2 і Курсова-К показав: документи створюються коректно, але граф розпадається на ізольовані зірки. Лінки односторонні, sparse, кластери не з'єднані. Подальша робота переміщається в v2: Connected Memory Graph — див. architecture-v2.md.
v1-блоки нижче залишаються як історія (всі завершені, окрім pilot). Активна робота — секція v2 Graph Evolution.
- Create raw concept note in
idea.md - Create system analysis document
- Create development roadmap document
- Initialize local Git repository
- Set default branch to
main - Add remote
originfor GitHub repository
- Define memory document types
- Define
merge vs createvia write gate - Define canonical document policy
- Define lifecycle and status policy
- Define retrieval policy for v1
- Define consolidation policy
- Define naming convention for IDs and files
- Create
skills/core/mem-entity-memory-core.md - Add machine-readable schema v1
- Add
schema_version - Freeze exact
linksstructure - Freeze exact
provenancestructure - Define final task state model:
todo,in-progress,blocked,done
- Create
memory/concepts/ - Create
memory/contexts/ - Create
memory/decisions/ - Create
memory/entities/ - Create
memory/indexes/ - Create
memory/notes/ - Create
memory/summaries/ - Create
memory/tasks/ - Create
memory/indexes/mem-index-vault.md - Add initial
Memory Coreentry tovault-index - Create first canonical concept doc for
memory-system - Create first retrieval policy decision doc
- Create first vault structure context doc
- Create first task doc for validator/indexer work
- Expand
vault-indexwith real canonical memory nodes - Create first cluster index doc for bootstrap navigation
- Create
concepttemplate - Create
decisiontemplate - Create
entitytemplate - Create
contexttemplate - Create
tasktemplate - Create
notetemplate - Create
indextemplate - Add real examples for core canonical document types
- Add anti-pattern notes for bad write behavior
- Add migration rules for future schema changes
- Create Codex skill
- Create Claude skill
- Define retrieval flow in both skills
- Define write/update flow in both skills
- Extract shared adapter contract into dedicated doc or checklist
- Document real Codex vs Claude behavior differences
- Define exact rule for updating
mem-index-vault.md - Define boundary between normal write and consolidation pass
- Create validator spec for frontmatter and required fields
- Implement validator
- Create lightweight indexer spec
- Implement lightweight indexer
- Implement orphan detection
- Implement duplicate detection
- Add installer/bootstrap workflow for installing memory-system into target repos
- Add
memory_tool install - Support
cleanandexamplescontent modes - Copy
.memory-system/skills/and.memory-system/tooling/ - Create generated
.memory-system/memory/scaffold for clean installs - Create wrapper
scripts/memory-tool - Create
install-manifest.json - Update target
.gitignore - Update target
README.mdif present - Create target
MEMORY-SYSTEM.md - Verify install via post-install validate/index
- Add upgrade path beyond fresh-install only
- Create implementation status document
- Create
README.mdas repository entrypoint - Add reading order for repo docs
- Add short current-state section for newcomers
- Choose 1-2 real projects for pilot
- Define retrieval hit-rate target
- Define duplicate-rate target
- Define orphan-doc threshold
- Define stale-doc threshold
- Define acceptable level of manual cleanup after agent writes
- Run first pilot pass
- Capture pilot report requirements in dedicated readiness doc
- Add pilot report template
- Close formal foundation gaps: schema, task states,
links,provenance - Fill
memory/with first canonical docs - Prepare validator and indexer specs
- Stabilize adapter contract before pilot
- Implement validator and lightweight indexer
- Add remaining example docs for
entityandnote - Add consolidation checklist and rollback policy
- Add adapter verification note
- Add packaging/installer workflow
- Run first pilot (Курсова-2, Курсова-К) — exposed graph sparsity problem
Goal: щільніший і traversable граф через pre-write retrieval pass, computed graph index і shared core замість cross-project bridges. Повна архітектура у architecture-v2.md.
Відкинуто після review (не реалізовувати):
incoming_linksу frontmatter — race conditions, write amplificationsimilar_tolink type і cross-project install scan — нереалістичний, не machine-checkable- Hard-minimum 2 links як блокуюче правило — Goodhart effect
- Implement
memory_tool index --graph— full regeneration ofmem-index-graph.md - Implement
memory_tool graph stats— read-only graph statistics - Add
computedas allowedprovenance.sourcein schema-v1.md - Define root-node whitelist in schema-v1.md (vault-index, graph-index, global concept)
- Add new cross-field rules to schema: ERROR on 0 links non-root, WARNING on 1 link or all-same-type
- Extend
memory_tool validatewith soft warnings and root whitelist check - Add pre-commit hook setup to
memory_tool install(index --graphon commit) - Add unittest coverage for
--graph,graph stats, updatedvalidate
- Run
memory_tool index --graphon core memory — generate firstmem-index-graph.md - Review output: orphans, broken links, components
- Manually enrich docs with obvious missing links (not forced — opportunistic)
- Add
graph-indexentry tomem-index-vault.md - Document graph-index lifecycle (regenerate, never edit) in vault-index-rules.md
- Update adapter-contract.md: add Phase 0 pre-write retrieval pass
- Update adapter-contract.md: expand write gate with Phase 2 soft quality check
- Update retrieval sequence: add graph-index as secondary source for backlink/impact queries
- Document traversal intent patterns (outbound vs inbound semantics) in adapter contract
- Update skills/claude/skill.md with v2 write gate and retrieval
- Update skills/codex/skill.md with v2 write gate and retrieval
- Update adapter-differences.md for v2 nuances
- Identify duplicate docs between Курсова-2 and Курсова-К (commit-policy, formatting-rules)
- Create canonical versions in core memory (
project: memory-system) - Add
implements/derived_fromlinks in project-specific docs pointing to core - Update installer: show list of canonical core docs during project bootstrap
- Run
memory_tool index --graphand verify core bridges appear
- Run write scenarios with Phase 0 pre-write retrieval pass in Курсова-2
- Run write scenarios with Phase 0 pre-write retrieval pass in Курсова-К
- Measure avg links per doc before/after
- Identify third project for fresh v2 install
- Write
pilot-report-v2.mdwith real metrics (calibrate targets from data)
- Zero true orphan nodes (
memory_tool validate0 errors) -
mem-index-graph.mdexists,computed_at< 7 days - Avg outbound links >= 3.5 (measured after pilot, not enforced)
- Agent can retrieve backlinks for any doc via graph-index in 1 read
- Shared knowledge from Курсова-2 / Курсова-К lives in core, not duplicated
- Migration checklist done for both existing pilot projects
- Sign off in new
v2-readiness.md
- Phase A: implement
memory_tool index --graph - Phase A in parallel: add
computedsource and root whitelist to schema + validator