1.6 KiB
1.6 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 43cb893a-c577-407e-a41c-51d7f81e80f6 | solution | Retroactive edge creation: edge-proposer.py script and 20 curated edges |
|
0.7 | 0.8 | 2026-02-20T05:39:47.119778+00:00 | 2026-02-20T05:40:00.105088+00:00 |
|
Retroactive Edge Creation for Cognitive Memory
Problem
Memory graph had only 34 edges across 473 memories — very sparse, limiting graph traversal usefulness.
Solution
Built ~/.claude/skills/cognitive-memory/scripts/edge-proposer.py that analyzes all active/fading memories and proposes candidate edges.
Scoring Algorithm
Three signals combined:
- Type heuristics (40%): e.g., fix + problem → SOLVES relationship
- Tag Jaccard similarity (30%): shared tags indicate related topics
- Content keyword overlap (30%): common terms in body text
Results
- First run on 473 memories produced 5,186 candidates
- Manually reviewed top 80 candidates
- Selected 20 high-quality edges across 8 project clusters:
- Gitea CI/CD: 3 edges
- Paper Dynasty: 3 edges
- Major Domo: 4 edges
- Database patterns: 2 edges
- Cognitive memory: 1 edge
- Proxmox: 1 edge
- Vagabond RPG: 3 edges
- OpenSCAD: 3 edges
- Grew edge count from 34 to 54
Noise to Skip
Session-log FOLLOWS pairs (auto-generated episode entries) were identified as low-value noise and excluded from selection.