No description
Find a file
ProofOfConcept 6c7bfb9ec4 triangle-close: bulk lateral linking for clustering coefficient
New command: `poc-memory triangle-close [MIN_DEG] [SIM] [MAX_PER_HUB]`

For each node above min_degree, finds pairs of its neighbors that
aren't directly connected and have text similarity above threshold.
Links them. This turns hub-spoke patterns into triangles, directly
improving clustering coefficient and schema fit.

First run results (default params: deg≥5, sim≥0.3, max 10/hub):
- 636 hubs processed, 5046 lateral links added
- cc: 0.14 → 0.46  (target: high)
- fit: 0.09 → 0.32  (target ≥0.2)
- σ:  56.9 → 84.4  (small-world coefficient improved)

Also fixes separator agent prompt: truncate interference pairs to
batch count (was including all 1114 pairs = 1.3M chars).
2026-03-01 07:35:29 -05:00
prompts show suggested link targets in agent prompts 2026-03-01 00:37:03 -05:00
schema add position field to capnp schema 2026-02-28 23:15:10 -05:00
scripts delete superseded Python scripts 2026-03-01 00:13:03 -05:00
src triangle-close: bulk lateral linking for clustering coefficient 2026-03-01 07:35:29 -05:00
.gitignore poc-memory v0.4.0: graph-structured memory with consolidation pipeline 2026-02-28 22:17:00 -05:00
build.rs poc-memory v0.4.0: graph-structured memory with consolidation pipeline 2026-02-28 22:17:00 -05:00
Cargo.lock digest: native Rust implementation replacing Python scripts 2026-02-28 23:58:05 -05:00
Cargo.toml remove unused rand dependency (uuid uses getrandom directly) 2026-02-28 23:51:59 -05:00