31 lines
672 B
Markdown
31 lines
672 B
Markdown
---
|
|
type: agent-integration
|
|
status: active
|
|
updated: 2026-04-17
|
|
tags:
|
|
- memory
|
|
- integration
|
|
---
|
|
|
|
# Memory Interface
|
|
|
|
Use `scripts/memory/memory.sh` as the project-agnostic interface to project knowledge.
|
|
|
|
---
|
|
|
|
## Default Root
|
|
|
|
The primary project knowledge directory is `workspaces/fidelity/project-knowledge/`.
|
|
|
|
Configuration precedence:
|
|
|
|
1. `AIW_PROJECT_PROFILE`
|
|
2. `profiles/<profile>/workspace.json`
|
|
3. optional local `AIW_PROJECT_KNOWLEDGE_DIR` override
|
|
|
|
---
|
|
|
|
## Agent Rule
|
|
|
|
Prefer the memory interface for typed note creation, search, Base queries, and health checks. Use direct Markdown edits when the adapter fails or when precise edits are simpler and safer.
|