Skip to main content

Crate kimetsu_brain

Crate kimetsu_brain 

Source

Modules§

ambient
v0.4.4: ambient workspace context for the pre-turn hook.
analytics
C1–C4: read-only proof-of-value analytics.
answerability
A bounded, local check for explicit configuration facts, not an entailment model.
backend_bench
S5.4: cross-backend benchmark harness (flat / graph-lite / petgraph). S5.4: Cross-backend benchmark harness.
benchmark
bitemporal
v2.6: asking the brain what it believed at a point in time.
blame
Per-run memory attribution (blame) + usefulness leaderboard (top). Split out of project.rs (v2.5.1); re-exported by crate::project.
conflict
v0.5.2: conflict detection at ingest. v2.5 Pass B (Story 1.3): automatic contradiction RESOLUTION.
conflicts
Conflict listing + resolution across project and user brains. Split out of project.rs (v2.5.1); re-exported by crate::project.
consolidate
Memory consolidation: near-duplicate merge (Story 3.1) and cluster distillation (Story 3.2).
context
digest
Flagship 1 / Pass B / Story 1.1+1.2+1.6: repo digest builder + cache + ROI. Flagship 1 / Pass B / Story 1.1 + 1.2: repo digest builder.
drift
v2.6: has this session wandered off the thing it set out to do?
dropped_capsule
v1.5: dropped-capsule sidecar for the retrieval.regret signal.
embeddings
Embeddings + hybrid retrieval scaffolding (v0.4.2).
episode
Flagship 1 / Story 1.3: episodic work-resume capture, storage, and surface. Episodic work-resume: capture, store, and surface per-repo work episodes so the next session resumes instead of re-deriving state.
eval
Retrieval quality metrics for kimetsu brain eval.
fact_query
Scope-bound requests and evidence accounting for explicit configuration facts.
fact_store
Rebuildable evidence derived only from redacted memory text.
fact_values
Exact equivalence keys for bounded numeric configuration values.
facts
Bounded deterministic extraction of explicitly scoped configuration evidence.
feedback
Outcome feedback surfaces: abort, telemetry, citations, regret, set-age. Split out of project.rs (v2.5.1); re-exported by crate::project.
framing
v2.6: how injected memory is framed to the reader.
fusion
#2 knowledge graph: rule-based relation-edge extraction for memory_edges. How the broker combines candidate lists from different retrieval strategies.
graph
#2 knowledge graph: rule-based relation-edge extraction.
graph_build
Knowledge-graph edge building over active memories. Split out of project.rs (v2.5.1); re-exported by crate::project.
ingest
inject_policy
v2.6: deciding whether a proactive recall is worth interrupting for.
lifecycle
F3 Flagship 3: Lifecycle & forgetting — Stories 3.1–3.4. F3 Lifecycle & forgetting — Stories 3.1–3.4.
lock
maintain
v2.6: the brain’s background upkeep.
maintenance
Brain maintenance: prune, compact, projection rebuild, lock clearing. Split out of project.rs (v2.5.1); re-exported by crate::project.
migrate
ordering
v2.6: answering “which came first”.
packs
Portable brain packs: security-scrubbed export, merge/replace import, and the gzip’d pack envelope. Split out of project.rs (v2.5.1); the public API is unchanged — everything here is re-exported by crate::project.
project
projector
redact
v0.4.5: secret redaction at ingest.
reindex
Embedding backfill (kimetsu brain reindex) for v0.4.3.
reinforce
Consolidation v1 (v2.5.2): model-free reinforcement structures built from citation outcomes. Two mechanisms, both $0 / no LLM:
roi
ROI ledger — v1.5 story “kimetsu pays for itself”.
schema
serving
Canonical brain-context retrieval and final MCP delivery policy. Evaluators supply the same request/configuration and measure this complete renderer.
skill_synthesis
Flagship 2 — Memory → Skill synthesis: candidate detection.
sync
Epic S3: personal brain sync — event-log replication.
trace
trust
v2.6: how much a memory’s origin is worth.
tune
v1.5 / S2: Self-Tuning Brain sweep engine.
tuneset
Personal weak reliance labels from exact delivered exposure + claim revision. Uncited observations are unknown, never negative gold. Raw queries exist only after learning.store_queries opt-in at the producer. Legacy time joins are ignored.
user_brain
User-scope brain at ~/.kimetsu/brain.db (v0.4.1).
user_profile
v2.6: the user’s standing preferences, delivered unconditionally.