store: Retroactive edge creation: edge-proposer.py script and 20 curated edges
This commit is contained in:
parent
af518512bf
commit
0830f1ab81
@ -0,0 +1,46 @@
|
||||
---
|
||||
id: 43cb893a-c577-407e-a41c-51d7f81e80f6
|
||||
type: solution
|
||||
title: "Retroactive edge creation: edge-proposer.py script and 20 curated edges"
|
||||
tags: [cognitive-memory, edges, automation, python, graph]
|
||||
importance: 0.7
|
||||
confidence: 0.8
|
||||
created: "2026-02-20T05:39:47.119778+00:00"
|
||||
updated: "2026-02-20T05:39:47.119778+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.
|
||||
Loading…
Reference in New Issue
Block a user