You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DESIGN.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -495,8 +495,6 @@ interface Edge {
495
495
#### Semantic Neighbor (Proximity Edge)
496
496
Sparse radius-graph edge connecting pages with high cosine similarity. Used for subgraph expansion during retrieval.
497
497
498
-
> **Note:** The current codebase names this type `MetroidNeighbor` — this is an architectural naming error introduced by early conceptual drift. The correct term is `SemanticNeighbor` (or equivalent). A code-level rename is tracked in the TODO. The edge is a proximity concept, not a Metroid concept.
499
-
500
498
**Critical distinction — two edge types, two roles:**
501
499
502
500
| Edge type | Storage | Role |
@@ -525,8 +523,6 @@ interface SemanticNeighbor {
525
523
#### Semantic Neighbor Subgraph
526
524
Induced subgraph for BFS-based coherence path expansion.
527
525
528
-
> **Note:** Currently named `MetroidSubgraph` in the codebase — same renaming correction applies.
-`hotpath_index` (periodic HOT-membership checkpoint, keyed by `entityId`; loaded on startup to reconstruct the RAM resident index; written by Daydreamer each maintenance cycle)
@@ -789,7 +785,7 @@ Matryoshka dimensional unwinding. Runs the thesis→freeze→antithesis→synthe
789
785
search; m2 via cosine-opposite medoid; c computed once and frozen; subsequent candidates evaluated
790
786
relative to frozen c. Planned module: `cortex/MetroidBuilder.ts`.
791
787
792
-
**Semantic neighbor graph** (also: proximity graph, neighbor graph): The sparse radius-graph of cosine-similarity edges between pages, used for subgraph expansion during retrieval. This is **not** the same as a Metroid. The edges connect pages with high cosine similarity and are used for BFS expansion. Currently named `MetroidNeighbor` / `metroid_neighbors` in the codebase — this is a naming error that must be corrected (tracked in TODO as P0-X).
788
+
**Semantic neighbor graph** (also: proximity graph, neighbor graph): The sparse radius-graph of cosine-similarity edges between pages, used for subgraph expansion during retrieval. This is **not** the same as a Metroid. The edges connect pages with high cosine similarity and are used for BFS expansion.
793
789
794
790
**Hotpath**: The in-memory resident index of H(t) entries spanning all four hierarchy tiers. The hotpath is the first lookup target for every query; misses spill to WARM/COLD storage. HOT membership and salience are checkpointed to the `hotpath_index` IndexedDB store by Daydreamer each maintenance cycle, allowing the RAM index to be restored after a page reload or machine reboot without full corpus replay.
0 commit comments