Semantic-lattice + embedding builder for git repositories — the symbolic half of a neuro-symbolic retrieval stack. It lifts a repo from raw commits/blobs to a typed, hierarchical, embeddable structure you can zoom into, so an LLM gets the minimal relevant context instead of the whole tree.
Important
Maturity: experimental. The Rust reference engine is real
(SCC condensation, partial order, LOD zoom, containment meet) and the
build→query dogfood loop works end-to-end: reticulate build persists
a lattice file, reticulate query returns token-budgeted context
packs (see docs/DOGFOOD.adoc). The AffineScript core in
src/lattice/affine/*.affine is aspirational (deferred behind the
ADR-006 bridge); postgres/embeddings are feature-gated off;
mechanized proofs cover abstract order theory only, not yet the Rust
graph (see PROOF-NEEDS). Read
.machine_readable/6a2/STATE.a2ml for the honest status before
relying on anything here.
Existing git-analysis tools work at the raw commit/blob level.
git-reticulator lifts the analysis to a navigable semantic
structure with two faculties fused at every node: an order
position (symbolic) and an embedding (neural). That fusion is the
basis for:
-
Token-bounded retrieval —
zoom_to_node(node,level)returns the minimal relevant sub-structure (Level-of-Detail) for an LLM prompt. -
Refactoring-impact / blast-radius — weighted reachability (pgRouting Dijkstra/A*) over typed edges.
-
Authorship + time queries — "who owns this concept", "when did it enter the codebase" (maps onto verisim’s provenance + temporal modalities).
[git-reticulator] [RAG] [verisim octad] [vcl-ut]
symbolic lattice -> embeddings -> 8-modal substrate -> proof-carrying
+ per-node vector similarity (graph=lattice, queries
(LOD zoom) search vector=embeddings, (FRESHNESS,
provenance=authorship) PROVENANCE…)
The payoff is proof-carrying retrieval: neural search proposes
context; the symbolic lattice + verisim + vcl-ut dispose, so a
retrieved snippet can carry a machine-checked certificate that it really
exists at HEAD (FRESHNESS), was authored by X (PROVENANCE), and isn’t
hallucinated (EXISTENCE). See .machine_readable/6a2/NEUROSYM.a2ml and
.machine_readable/6a2/PLAYBOOK.a2ml.
cargo build --features git-integration # git-aware ingest (plain `cargo build` = filesystem walk)
# CLI binary is `reticulate` (subcommands: build | query | api):
./target/debug/reticulate build --repo /path/to/repo
# → ingests the repo, writes /path/to/repo/.git-reticulator/lattice.json
./target/debug/reticulate query --repo /path/to/repo --zoom auth --level definition --budget-tokens 800
# → token-budgeted context pack (add --format json for machine consumption)
./target/debug/reticulate --helpNote
build and query are real end-to-end (ingest → lattice file →
budgeted context pack; see docs/DOGFOOD.adoc). The api server and
the VeriSimDB store (--features verisim) remain thin.
-
src/lib.rs,src/cli/main.rs,src/api/app.rs— Rust host (CLI + REST shell). -
src/lattice/affine/*.affine— intended lattice core (AffineScript; aspirational). -
benches/,tests/— criterion + smoke/contract tests. -
.machine_readable/6a2/— canonical project state, ecosystem, neuro-symbolic design, playbooks.
-
Licence: MPL-2.0.
-
Maturity: research / skeleton. API not stable.
-
Formal status: zero proofs; see PROOF-NEEDS for the obligations the "lattice" claim incurs.
-
Honest state:
.machine_readable/6a2/STATE.a2ml(IMPLEMENTED|SKELETON|ASPIRATIONAL legend).
See CONTRIBUTING. Commits must
be GPG-signed; conventional-commits required (CHANGELOG generated via
standards changelog-reusable.yml).
-
affinescript— the intended core language (compiles to Wasm). -
verisimdb— the octad substrate this can feed. -
vcl-ut— proof-carrying query layer over verisim. -
standards— canonical estate standards. -
k9— metadata-extraction tooling (k9iser.tomlconsumed here).