1.5 KiB
1.5 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | ||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 21be13ae-c01b-4bf1-917a-9e1ef18312a8 | procedure | Cognitive-memory has no test suite — use inline smoke tests |
|
0.5 | 0.8 | 2026-03-01T04:12:49.340723+00:00 | 2026-03-02T00:38:40.739932+00:00 |
|
Cognitive-memory Has No Test Suite — Use Inline Smoke Tests
Context
The cognitive-memory project at /mnt/NV2/Development/cognitive-memory/ has no test directory or test files.
Procedure
When verifying changes, write inline Python smoke tests that:
- Exercise
handle_tool_call()directly - Clean up created test memories afterward
Cleanup Steps
Cleanup requires:
- Removing memory files via
c.memory_dir / entry['path'] - Popping the entry from
_index.json - Cleaning edge references from
_edge_index.json
Important Note
Memory paths stored in the index are relative to memory_dir, not absolute paths. Don't prepend the base directory when the path is already relative.