| phase | implementation |
|---|---|
| title | Implementation Guide |
| description | Implementation notes for project-configurable memory database paths |
- Use the feature worktree
feature-memory-db-path-config. - Install dependencies with
npm cifrom the worktree root.
- Config shape and parsing live in the CLI package.
- Effective database path selection is resolved in the CLI and passed explicitly into the memory package.
- Add typed support for
memory.pathin project config. - Resolve relative configured paths from the project root.
- Pass the resolved path into
ai-devkit memory store,search, andupdate.
- Keep
DEFAULT_DB_PATHas the fallback constant. - Avoid duplicating path-resolution logic across CLI command handlers.
.ai-devkit.jsonConfigManager- memory CLI command adapters
- Invalid or absent
memory.pathshould not break memory commands; fall back to the default path.
- Path resolution should happen once per CLI command invocation before opening the database.
- Treat
memory.pathas a filesystem path only; no shell execution or interpolation. - Standalone
@ai-devkit/memoryserver behavior remains unchanged in this feature.