consciousness/src
ProofOfConcept 94dbca6018 graph health: fix-categories, cap-degree, link-orphans
Three new tools for structural graph health:

- fix-categories: rule-based recategorization fixing core inflation
  (225 → 26 core nodes). Only identity.md and kent.md stay core;
  everything else reclassified to tech/obs/gen by file prefix rules.

- cap-degree: two-phase degree capping. First prunes weakest Auto
  edges, then prunes Link edges to high-degree targets (they have
  alternative paths). Brought max degree from 919 → 50.

- link-orphans: connects degree-0/1 nodes to most textually similar
  connected nodes via cosine similarity. Linked 614 orphans.

Also: community detection now filters edges below strength 0.3,
preventing weak auto-links from merging unrelated communities.

Pipeline updated: consolidate-full now runs link-orphans + cap-degree
instead of triangle-close (which was counterproductive — densified
hub neighborhoods instead of building bridges).

Net effect: Gini 0.754 → 0.546, max degree 919 → 50.
2026-03-01 08:18:07 -05:00
..
bin memory-search: use uuid for cookie instead of manual /dev/urandom 2026-02-28 23:50:54 -05:00
capnp_store.rs graph health: fix-categories, cap-degree, link-orphans 2026-03-01 08:18:07 -05:00
digest.rs graph health: fix-categories, cap-degree, link-orphans 2026-03-01 08:18:07 -05:00
graph.rs graph health: fix-categories, cap-degree, link-orphans 2026-03-01 08:18:07 -05:00
main.rs graph health: fix-categories, cap-degree, link-orphans 2026-03-01 08:18:07 -05:00
migrate.rs add position field to nodes for stable section ordering 2026-02-28 23:06:27 -05:00
neuro.rs graph health: fix-categories, cap-degree, link-orphans 2026-03-01 08:18:07 -05:00
search.rs poc-memory v0.4.0: graph-structured memory with consolidation pipeline 2026-02-28 22:17:00 -05:00
similarity.rs fix NaN panics and eliminate redundant graph rebuilds 2026-03-01 00:33:53 -05:00