feat: implement local indexer for project-knowledge and add memory hybrid search functionality
This commit is contained in:
@@ -32,6 +32,18 @@ python3 scripts/aiw/services.py start --profile fidelity --group inbox
|
||||
|
||||
The service manager unifies startup and status. It does not move capture behavior into the MCP.
|
||||
|
||||
## Local project-knowledge index
|
||||
|
||||
The workspace includes a dependency-free local indexer for canonical Markdown memory. The index is derived from `project-knowledge/` and written under `.aiw/indexes/<profile>/`; it is safe to delete and rebuild.
|
||||
|
||||
```bash
|
||||
python3 scripts/aiw/indexer.py build --profile fidelity
|
||||
python3 scripts/aiw/indexer.py status --profile fidelity
|
||||
python3 scripts/aiw/indexer.py search "dismissal lifecycle" --profile fidelity
|
||||
```
|
||||
|
||||
`aiw-context-mcp` exposes the same derived search through the read-only `memory_hybrid_search` tool and falls back to live Markdown search if the index has not been built yet.
|
||||
|
||||
## Robustness features
|
||||
|
||||
- Manifest validation before lifecycle actions.
|
||||
@@ -47,4 +59,5 @@ The service manager unifies startup and status. It does not move capture behavio
|
||||
|
||||
```bash
|
||||
python3 scripts/aiw/test_services.py
|
||||
python3 scripts/aiw/test_indexer.py
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user