internal/

directory
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: MIT

Directories

Path Synopsis
Package chunker splits a message into sentence-sliding-window chunks.
Package chunker splits a message into sentence-sliding-window chunks.
Package clock provides a time abstraction so business logic can be tested deterministically.
Package clock provides a time abstraction so business logic can be tested deterministically.
Package config loads memmy's YAML configuration.
Package config loads memmy's YAML configuration.
Package embed defines the Embedder interface and concrete implementations in subpackages.
Package embed defines the Embedder interface and concrete implementations in subpackages.
fake
Package fake provides a deterministic Embedder for tests.
Package fake provides a deterministic Embedder for tests.
gemini
Package gemini implements the Embedder interface against Google's Gemini embeddings API via go-genai (google.golang.org/genai).
Package gemini implements the Embedder interface against Google's Gemini embeddings API via go-genai (google.golang.org/genai).
eval
corpus
Package corpus extracts plain-text turns from Claude Code session transcripts (`~/.claude/projects/<project>/<sessionUUID>.jsonl`).
Package corpus extracts plain-text turns from Claude Code session transcripts (`~/.claude/projects/<project>/<sessionUUID>.jsonl`).
dataset
Package dataset owns the on-disk layout for memmy-eval datasets.
Package dataset owns the on-disk layout for memmy-eval datasets.
embedcache
Package embedcache caches embedding vectors keyed by (model_id, dim, sha256(text)) so repeated ingest runs over the same corpus do not re-embed unchanged chunks.
Package embedcache caches embedding vectors keyed by (model_id, dim, sha256(text)) so repeated ingest runs over the same corpus do not re-embed unchanged chunks.
harness
Package harness is the composition layer that turns a Claude Code session directory into a memmy store, runs query batteries against it, and captures the per-node state changes that result.
Package harness is the composition layer that turns a Claude Code session directory into a memmy store, runs query batteries against it, and captures the per-node state changes that result.
inspect
Package inspect is a read-only window into a memmy Neo4j database used by the eval harness to capture per-node state (weight, last touch, edge degree) before and after a query.
Package inspect is a read-only window into a memmy Neo4j database used by the eval harness to capture per-node state (weight, last touch, edge degree) before and after a query.
manifest
Package manifest defines the on-disk metadata records that document what produced an eval dataset and what an eval run actually exercised.
Package manifest defines the on-disk metadata records that document what produced an eval dataset and what an eval run actually exercised.
metrics
Package metrics computes the IR + dynamics scores the eval harness reports per run.
Package metrics computes the IR + dynamics scores the eval harness reports per run.
queries
Package queries owns the labeled-query side of the eval framework.
Package queries owns the labeled-query side of the eval framework.
sweep
Package sweep runs an eval harness over a matrix of memmy configs to find a parameter setting that scores best on a labeled query set.
Package sweep runs an eval harness over a matrix of memmy configs to find a parameter setting that scores best on a labeled query set.
Package graph defines the Graph port-out interface used by the Memory Service to persist nodes, messages, and Hebbian memory edges.
Package graph defines the Graph port-out interface used by the Memory Service to persist nodes, messages, and Hebbian memory edges.
Package service implements the MemoryService — the transport-neutral input port (DESIGN.md §9.1).
Package service implements the MemoryService — the transport-neutral input port (DESIGN.md §9.1).
storage
neo4j
Package neo4jstore implements the Graph + VectorIndex ports (DESIGN.md §9.2) over a Neo4j database via the Bolt protocol.
Package neo4jstore implements the Graph + VectorIndex ports (DESIGN.md §9.2) over a Neo4j database via the Bolt protocol.
neo4j/neo4jtest
Package neo4jtest is the test helper that opens a per-test Storage handle against the developer's local Neo4j and registers a t.Cleanup that DETACH DELETEs every node carrying the test's unique tenant prefix.
Package neo4jtest is the test helper that opens a per-test Storage handle against the developer's local Neo4j and registers a t.Cleanup that DETACH DELETEs every node carrying the test's unique tenant prefix.
transport
mcp
Package mcp adapts the MemoryService onto an MCP server using the official github.com/modelcontextprotocol/go-sdk.
Package mcp adapts the MemoryService onto an MCP server using the official github.com/modelcontextprotocol/go-sdk.
Package types holds the domain entities used throughout memmy.
Package types holds the domain entities used throughout memmy.
Package vectorindex defines the VectorIndex port-out interface used by the Memory Service to store vectors and run top-N similarity search.
Package vectorindex defines the VectorIndex port-out interface used by the Memory Service to store vectors and run top-N similarity search.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL