Expand description
Durable facts agents share through ctx_memory, partitioned by project.
Each project has its own shared_context/<project hash>.jsonl in the
LeanCTX data directory, and every entry records the project it was stored
for; that stored root, not the file name, decides whether an entry is
served. Releases before 3.11.5 kept one installation-wide
~/.local/share/lean-ctx/shared_context.jsonl without a project. Those
entries carry no provable scope: the file is left in place, unread, and is
never served to any project.
Structs§
- Memory
Stats - Quality and contributor summary across shared-memory sessions.
- Shared
Context - Durable cross-agent memory backed by an appendable JSONL file.
- Shared
Context Entry - A fact shared between independent agent sessions.
- Shared
Context Stats - Summary of the contents of a
SharedContextstore.
Functions§
- session_
start_ hint - The newest shared facts of
project_rootas a context hint, re-admitted under the originless rule; nothing when the project has none or the hint may not be served now.
Type Aliases§
- Fact
Entry - Backward-compatible name for an entry in shared fact memory.