Skip to content

Commit 79ff75e

Browse files
authored
Merge pull request #714 from AdaWorldAPI/claude/happy-hamilton-0azlw4
graphrag + doc-retrieval on the V3 SoA — plan v1.2 + arigraph community detection (D-GR-3a)
2 parents b23fffc + 2d45279 commit 79ff75e

4 files changed

Lines changed: 995 additions & 0 deletions

File tree

.claude/board/INTEGRATION_PLANS.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
## 2026-07-17 — graphrag-doc-retrieval-soa-integration v1 — DESIGN + FIRST CODE (probe-gated)
2+
3+
**Plan:** `.claude/plans/graphrag-doc-retrieval-soa-integration-v1.md`
4+
**v1.2 (2026-07-17, operator-directed):** (a) the base is a *meaning measurement*
5+
COCA + NARS are co-equal core faculties; agnosticism is scoped to raw data +
6+
consumer modelling only; the 12-byte facet is `6×2×8bit` (CLAM), never f32; 256 =
7+
ranking (needs cosine-replacement), 256² = distribution (as accurate as
8+
content-blind f32); the `6×(8:8)` register is polymorphically `part_of:is_a`
9+
family-identity OR palette256² centroid (§3a). (b) Leiden community synergies —
10+
distributional-meaning modes, NARS-truth-weighted (§3b). (c) the DocumentID-KV /
11+
witness-handle seam (§4a). **FIRST CODE SHIPPED (D-GR-3a):** `arigraph/community.rs`
12+
`TripletGraph::communities()`, multi-level Louvain, deterministic, 5 tests.
13+
**v1.1 (2026-07-17, operator-directed):** NO standalone `crates/graphrag`
14+
**expand AriGraph in place** (`arigraph/community.rs` Leiden + PPR into the
15+
existing `arigraph/retrieval.rs`), complementing the episodic-witness basins
16+
AriGraph already owns (`witness_corpus.rs`/`episodic.rs`). A crate would be a
17+
free-function-on-carrier's-state (litmus reject) + a parallel retrieval layer
18+
beside the existing one; AriGraph has no community/partition type today, so
19+
Leiden fills the gap. Dissolves the §10 dep-weight feature-gate. The
20+
`DocGraphQuery` contract trait + a small out-of-graph BM25 leg are the only
21+
zero-dep additions.
22+
**Scope (v1):** evaluation + wave plan for a query-side retrieval surface + a
23+
`DocGraphQuery` contract surface, both reading the *calcified*
24+
document-graph substrate. Reframes the task's "lance-graph feeds ogar-doc": OGAR
25+
owns doc ingestion + the `document 0x080B` mint (`ogar-from-docv1`
26+
`ogar-doc-ir``ogar-doc`, all built); lance-graph provides the contract types
27+
OGAR consumes + query capability. graphrag is query-side ONLY — never ingests
28+
(door-knocking-compiler test; assembler-vs-storage boundary). REUSE:
29+
`causal_edge::CausalEdge64` (SPO edge), native NARS `(freq,conf)`,
30+
`WitnessTable`/`EpisodicEdges64` (provenance; `EpisodicWitness64` = a *queued*
31+
column), AriGraph `TripletGraph`+`spo_bridge` (fact store), `MailboxSoaView`,
32+
CAM-PQ, `lance-graph-arm-discovery` (extraction proposer). BUILD only the 3
33+
gaps: hierarchical Leiden, HippoRAG-PPR reset-distribution, BM25. **Retrieval =
34+
rung ascent** (#708 / D-TRI-6 `RungElevator` + canonical `RungLevel` +
35+
predicate-plane widen; BLOCK ascends, FLOW at base) up the §3a Maslow pyramid.
36+
Probe-first: **G0 P-GRAPH-LOADBEARING** (graph beats vector-only?) gates all
37+
Leiden/PPR code. graphrag-rs (automataIA) = REUSE-AS-REFERENCE
38+
(`E-V3-GRAPHRAG-INV-1`). Composes atop
39+
`oxigraph-arigraph-cognitive-shader-soa-merge-v1`. D-GR-1..5; D-GR-5 (OGAR seam)
40+
mint-gated + baton-audited. No bytes land.
41+
142
## 2026-07-17 — triangle-tenants-gestalt-separation v1 — DESIGN (mint-gated)
243

344
**Plan:** `.claude/plans/triangle-tenants-gestalt-separation-v1.md`

0 commit comments

Comments
 (0)