Skip to content

Memory v2 - #192

Merged
senamakel merged 275 commits into
mainfrom
memory-v2
Oct 4, 2026
Merged

senamakel merged 275 commits into
mainfrom
memory-v2

Conversation

@senamakel

@senamakel senamakel commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Summary

TinyMemory v2: one engine-neutral memory contract (tinymemory-api) with a CortexDB engine behind it, plus document, source, safety, context and import crates. This branch also adds a standard explorer surface, bulk writes, and namespaces, so each agent can have its own memory and still share some with others.

  • Contract. MemoryEngine covers recall, fetch, store, forget, list, plus explore and get (defaults built on listing) and store_many (bulk).
  • Namespaces. Memory is a tree of nodes: the root, which every agent shares, then agents, teams, users, workspaces and projects. Each item lives at one node (MemoryMeta.namespace). A reader names a Reach: its own node, plus its ancestors by default, plus its descendants optionally, and never a sibling.
  • CortexDB layout. Each node keeps one scope per kind: app:tinymemory/<node segments>/app:{learnings,documents,conversations}. The root keeps the original app:tinymemory/app:* scopes, so data stored before this change reads as root memory, with no migration. Reads always name their scopes exactly. A subtree read or an unscoped read discovers the nodes through v1/scopes/list / memory/scopes.
  • Context. ContextSpec.reach compiles a context.md from a single node's reach.

Related issue

None. Host side: tinyhumansai/openhuman#6949.

API or behavior changes

These are breaking changes to the v1 surface, which this crate set replaces.

New API:

  • Namespace, Segment, SegmentKind, Reach.
  • MemoryMeta.namespace, MetaFilter.reach, GetRequest.reach, ContextSpec.reach.
  • Facet::Namespace, MemoryEngine::{explore, get, store_many}, MAX_STORE_MANY.

Behaviour changes:

  • An item's fingerprint now includes its namespace, so the same text stored at two nodes is two items.
  • ForgetTarget::Ids is deliberately not scoped. A caller confined to a reach first runs get with that reach, then forgets the ids it gets back.
  • CortexDB list cursors now hold the scope path instead of an index. Cursors issued before this change are refused as malformed.

Validation

Commands actually run, with their outcome:

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo build --all-targets --all-features
  • cargo test --all-features: all pass.
  • ./scripts/cortexdb-live.sh: the conformance suite, including the new namespace check, passes against a real CortexDB v0.10.4.

Tests

The new conformance check namespaces runs against the reference engine, both CortexDB wires (through the HTTP double) and the live server. It covers:

  • sibling isolation;
  • inherited root memory;
  • exact and subtree reach;
  • get and fetch honouring the reach;
  • the same text at two nodes being two items;
  • the namespace facet counts;
  • a forget scoped to one node.

Two new reference faults, ListIgnoresReach and GetIgnoresReach, prove the check catches engines that ignore reach. There are also unit tests for namespace parsing and sanitizing, scope paths, scope resolution, the list cursor, and a reach-limited context.md.

Documentation

  • docs/specs/memory-v2.md: a new Namespaces section, plus updates to the Scope, Recall and Testing sections.
  • crates/tinymemory-cortex/README.md: the storage layout, list, fetch, recall and forget.

Checklist

  • Tests added
  • Docs updated
  • No secrets

senamakel and others added 30 commits October 2, 2026 18:25
Changed the score test in the reference implementation to use the correct comparison operator, ensuring that the test accurately validates the scoring logic. This fixes a bug where the test was checking the wrong condition, which could have masked scoring errors in the conformance suite.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Updated the reference implementation in the conformance test suite to align with the correct memory ordering semantics. The previous implementation had an incorrect barrier placement that could allow reordering of memory operations in ways not permitted by the specification.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The reference module tests were failing after the memory model refactor because they still used the old allocation and deallocation patterns. This change updates the test assertions and setup to align with the revised memory semantics, ensuring the conformance suite correctly validates the new behavior.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The conformance test fixture for the cortex target was referencing an incorrect memory region, causing test failures. This change updates the fixture to point to the proper memory region defined in the cortex crate.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Introduce the core key management module with key generation, validation, and serialization support, along with an import source abstraction that defines how external data is ingested. These modules form the foundation for the tinymemory-import crate, enabling structured key handling and flexible import pipelines.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The conformance test fixture now correctly handles the case where a memory region is absent, preventing a panic when importing from a cortex source. This resolves a crash that occurred during conformance testing with incomplete memory maps.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The error module now correctly handles zero-length memory regions by returning an appropriate error instead of panicking or producing undefined behavior. This change ensures that operations on empty memory regions are properly validated and reported to the caller.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…heckpoint

Updated the conformance test suite to properly handle error cases in the cortex module tests and the import checkpoint functionality. The changes ensure that error conditions are correctly propagated and tested, improving the reliability of error handling across these components.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Introduce new fetch and ingest modules for the tinymemory-documents crate, along with corresponding test modules and type definitions. This change establishes the core data pipeline for retrieving and processing documents, enabling future integration with the import checkpoint system.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When the credential file does not exist, the module now returns a clear error instead of panicking. This improves robustness for systems where the credential file may not be present at startup.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add unit tests covering the credential module's core functionality, including credential creation, validation, and lifecycle management. These tests ensure the module behaves correctly under normal and edge case conditions.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When converting a document error to a string, the implementation now correctly handles the case where the document body is empty by returning a generic error message instead of an empty string. This ensures that error reporting remains informative even when no body content is available.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Prevent a panic when converting an empty document by returning an appropriate error instead of attempting to process missing content.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The conformance check suite now correctly handles empty input by returning early instead of panicking, ensuring robust behavior when no data is provided for validation.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Updated the test in mod_tests.rs to properly assert the expected behavior when handling a specific edge condition, ensuring the test validates the correct outcome rather than a previously incorrect assumption.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The memory barrier in the descriptor module was using incorrect ordering semantics, which could lead to visibility issues in concurrent access patterns. This change updates the barrier to use the proper acquire-release ordering to ensure correct synchronization between cores.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The test module in the descriptor directory was not being used and contained no active tests, so it has been removed to keep the codebase clean and avoid confusion.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When parsing a document that lacks a language field, the system now defaults to an empty string instead of panicking. This change ensures robustness when processing documents from external sources that may omit optional metadata.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Fixed a test assertion in the language module tests where the expected value was incorrect, ensuring the test properly validates the language detection behavior.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When a document has an empty body, the format detection logic now correctly returns an empty result instead of attempting to process the missing content. This prevents a panic that occurred when the system tried to access the first character of an empty string slice.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The transport body parser now correctly returns an empty body when the length field is zero, instead of attempting to read from an empty buffer. This prevents a potential panic or undefined behavior when processing messages with no payload.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When importing a workspace, the code now creates the workspace directory if it does not already exist, preventing a panic when the directory is absent.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Introduce a new `Code` variant to `DocumentFormat` that detects source files by extension and name, and add tests verifying detection from filenames, content sniffing, and MIME type display. Also rename the test modules in the HTML entity and HTML mod files from `test` to `tests` for consistency with Rust conventions.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When the schema file does not exist, the workspace now returns an empty schema instead of panicking. This allows the system to recover from missing or corrupted schema files without crashing.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When converting documents, the system now gracefully handles cases where the document type is not specified by defaulting to a plain text type instead of failing. This improves robustness when processing documents with incomplete metadata.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When a section is absent from the import file, the parser now returns a default empty structure instead of failing with an error. This allows the import to proceed with partial data, which is necessary for files that legitimately omit optional sections.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The test module declaration in mod_tests.rs was referencing a non-existent path, causing compilation failures when running tests. This change updates the path to point to the correct module location, ensuring the test suite can be built and executed successfully.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The transport layer now correctly processes packets with zero payload length instead of treating them as errors. This change fixes a protocol compliance issue where valid empty messages were being rejected, ensuring proper interoperability with devices that send zero-length data frames.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When an item has an empty name, the display implementation now shows a placeholder instead of an empty string. This prevents confusion in user interfaces where a missing name could appear as a bug or incomplete data.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…ation

This change introduces a new section module for handling memory documentation during import, enabling the extraction and processing of memory-related documentation from source files. The module provides the necessary structure to support future memory documentation import functionality.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
senamakel and others added 12 commits October 3, 2026 22:41
Add a test that verifies the cursor correctly moves from the end of one line to the beginning of the next when advancing forward, and similarly moves backward from the start of a line to the end of the previous line. This ensures the cursor navigation logic handles multi-line content as expected.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Refines the testing utilities in the cortex module by adjusting log formatting and route definitions to align with current conventions, ensuring test output remains clear and routes are correctly scoped for validation.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Replace the per-iteration filter construction with a single cloned filter that uses an exact reach, ensuring each list call triggers exactly one request and making the bearer resolution test more precise.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The memory ordering for atomic fence operations in the markers module was incorrectly specified, using `Acquire` instead of `AcqRel` for the release fence. This change updates the fence to use the correct `AcqRel` ordering to ensure proper synchronization semantics between threads, preventing potential data races in concurrent memory safety checks.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
New rule set (redact_credential_markers) ported from OpenCompany's
redact_secrets with its full test matrix; sanitize_text applies it ahead of
the shape regexes, so the default scrubber only gets stricter.

Co-authored-by: Medulla <medulla@tinyhumans.ai>
… crates

Reformatted several function calls, struct literals, and chained method invocations that exceeded the project's line length limit, breaking them into multiple lines for consistency with the established coding style. Also removed a stray blank line in a test module. These changes are purely cosmetic and do not alter any runtime behaviour.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The test for malformed paths used `vec!` to create an array that was immediately joined into a string, but a plain array literal is sufficient and avoids an unnecessary heap allocation.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Replace mutable field assignment with struct update syntax when setting the namespace on MemoryMeta in the test `an_item_is_written_to_its_namespace_scope`. This makes the test more idiomatic by constructing the struct in a single expression rather than mutating it after creation.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The test `fingerprints_ignore_when_an_item_was_observed` was using `chrono::Utc::now()` for the second item's `observed_at`, which could produce a timestamp different from the first item's `UNIX_EPOCH` when the test runs near a second boundary. Changed it to `UNIX_EPOCH + 1 second` to ensure both timestamps are deterministic and equal, making the fingerprint comparison reliable.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
fix(sources): refuse IPv4-compatible IPv6 internal addresses
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add OfficeConverter and credential-marker redaction (OpenCompany pushdown)
@tinysweeper

tinysweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Tiny Sweeper review

⚠️ Review failed for 345b1183eaf9. pull request exceeds review limits: 920 changed files (limit 500), 192188 changed lines (limit 50000)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-04T09:53:14.936565Z 345b118 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 918 files, which is 818 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9c22297f-fbc3-4944-ac9c-e43fd4d93d74
📥 Commits

Reviewing files that changed from the base of the PR and between ddabd24 and 345b118.

⛔ Files ignored due to path filters (2)
  • Cargo.lock is excluded by !**/*.lock
  • crates/tinymemory-module/Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (918)
  • .github/workflows/ci.yml
  • .github/workflows/release.yml
  • .gitignore
  • .gitmodules
  • AGENTS.md
  • Cargo.toml
  • README.md
  • clippy.toml
  • crates/tinymemory-api/Cargo.toml
  • crates/tinymemory-api/src/drivers.rs
  • crates/tinymemory-api/src/engine/mod.rs
  • crates/tinymemory-api/src/engine/mod_tests.rs
  • crates/tinymemory-api/src/error/mod.rs
  • crates/tinymemory-api/src/error/mod_tests.rs
  • crates/tinymemory-api/src/events.rs
  • crates/tinymemory-api/src/events_test_support.rs
  • crates/tinymemory-api/src/explore/mod.rs
  • crates/tinymemory-api/src/explore/mod_tests.rs
  • crates/tinymemory-api/src/host/cloud_providers.rs
  • crates/tinymemory-api/src/host/cloud_providers_tests.rs
  • crates/tinymemory-api/src/host/config.rs
  • crates/tinymemory-api/src/host/config_tests.rs
  • crates/tinymemory-api/src/host/embedding_host.rs
  • crates/tinymemory-api/src/host/embeddings.rs
  • crates/tinymemory-api/src/host/embeddings_embedding_signature_tests.rs
  • crates/tinymemory-api/src/host/error_reporter.rs
  • crates/tinymemory-api/src/host/events.rs
  • crates/tinymemory-api/src/host/local_ai.rs
  • crates/tinymemory-api/src/host/local_ai_tests.rs
  • crates/tinymemory-api/src/host/mod.rs
  • crates/tinymemory-api/src/host/nlp.rs
  • crates/tinymemory-api/src/host/routes.rs
  • crates/tinymemory-api/src/host/scheduler_gate.rs
  • crates/tinymemory-api/src/host/scheduler_gate_decide.rs
  • crates/tinymemory-api/src/host/scheduler_gate_decide_tests.rs
  • crates/tinymemory-api/src/host/scheduler_gate_tests.rs
  • crates/tinymemory-api/src/host/storage_memory.rs
  • crates/tinymemory-api/src/host/storage_memory_tests.rs
  • crates/tinymemory-api/src/host/subsystems.rs
  • crates/tinymemory-api/src/host/subsystems_tests.rs
  • crates/tinymemory-api/src/host/test_support.rs
  • crates/tinymemory-api/src/item/mod.rs
  • crates/tinymemory-api/src/item/mod_tests.rs
  • crates/tinymemory-api/src/lib.rs
  • crates/tinymemory-api/src/mandatory/mod.rs
  • crates/tinymemory-api/src/mandatory/mod_tests.rs
  • crates/tinymemory-api/src/mandatory/provider.rs
  • crates/tinymemory-api/src/meta/filter.rs
  • crates/tinymemory-api/src/meta/filter_tests.rs
  • crates/tinymemory-api/src/meta/mod.rs
  • crates/tinymemory-api/src/meta/mod_tests.rs
  • crates/tinymemory-api/src/namespace/mod.rs
  • crates/tinymemory-api/src/namespace/mod_tests.rs
  • crates/tinymemory-api/src/null.rs
  • crates/tinymemory-api/src/null_tests.rs
  • crates/tinymemory-api/src/provider/audit.rs
  • crates/tinymemory-api/src/provider/audit_tests.rs
  • crates/tinymemory-api/src/provider/chunks.rs
  • crates/tinymemory-api/src/provider/content.rs
  • crates/tinymemory-api/src/provider/driver.rs
  • crates/tinymemory-api/src/provider/episodic.rs
  • crates/tinymemory-api/src/provider/knowledge.rs
  • crates/tinymemory-api/src/provider/mandatory.rs
  • crates/tinymemory-api/src/provider/mod.rs
  • crates/tinymemory-api/src/provider/operations.rs
  • crates/tinymemory-api/src/provider/people.rs
  • crates/tinymemory-api/src/provider/profile.rs
  • crates/tinymemory-api/src/provider/records.rs
  • crates/tinymemory-api/src/provider/retrieval.rs
  • crates/tinymemory-api/src/provider/scoring.rs
  • crates/tinymemory-api/src/provider/sessions.rs
  • crates/tinymemory-api/src/provider/sync.rs
  • crates/tinymemory-api/src/query/mod.rs
  • crates/tinymemory-api/src/query/mod_tests.rs
  • crates/tinymemory-api/src/sync_events.rs
  • crates/tinymemory-api/src/sync_events_tests.rs
  • crates/tinymemory-api/src/traits.rs
  • crates/tinymemory-api/src/traits_tests.rs
  • crates/tinymemory-api/tests/graph_view.rs
  • crates/tinymemory-bus/Cargo.toml
  • crates/tinymemory-bus/README.md
  • crates/tinymemory-bus/src/capabilities.rs
  • crates/tinymemory-bus/src/capabilities_tests.rs
  • crates/tinymemory-bus/src/chunks.rs
  • crates/tinymemory-bus/src/chunks_tests.rs
  • crates/tinymemory-bus/src/composio/catalogs/README.md
  • crates/tinymemory-bus/src/composio/catalogs/business.rs
  • crates/tinymemory-bus/src/composio/catalogs/clickup.rs
  • crates/tinymemory-bus/src/composio/catalogs/descriptions.rs
  • crates/tinymemory-bus/src/composio/catalogs/descriptions_tests.rs
  • crates/tinymemory-bus/src/composio/catalogs/github.rs
  • crates/tinymemory-bus/src/composio/catalogs/gmail.rs
  • crates/tinymemory-bus/src/composio/catalogs/google.rs
  • crates/tinymemory-bus/src/composio/catalogs/linear.rs
  • crates/tinymemory-bus/src/composio/catalogs/messaging.rs
  • crates/tinymemory-bus/src/composio/catalogs/microsoft.rs
  • crates/tinymemory-bus/src/composio/catalogs/microsoft_tests.rs
  • crates/tinymemory-bus/src/composio/catalogs/mod.rs
  • crates/tinymemory-bus/src/composio/catalogs/mod_tests.rs
  • crates/tinymemory-bus/src/composio/catalogs/notion.rs
  • crates/tinymemory-bus/src/composio/catalogs/productivity.rs
  • crates/tinymemory-bus/src/composio/catalogs/productivity_tests.rs
  • crates/tinymemory-bus/src/composio/catalogs/social_media.rs
  • crates/tinymemory-bus/src/composio/mod.rs
  • crates/tinymemory-bus/src/composio/profile.rs
  • crates/tinymemory-bus/src/composio/profile_tests.rs
  • crates/tinymemory-bus/src/composio/runs.rs
  • crates/tinymemory-bus/src/composio/runs_tests.rs
  • crates/tinymemory-bus/src/composio/scopes.rs
  • crates/tinymemory-bus/src/composio/scopes_tests.rs
  • crates/tinymemory-bus/src/composio/state.rs
  • crates/tinymemory-bus/src/composio/state_tests.rs
  • crates/tinymemory-bus/src/composio/tasks.rs
  • crates/tinymemory-bus/src/composio/tasks_tests.rs
  • crates/tinymemory-bus/src/error.rs
  • crates/tinymemory-bus/src/error_tests.rs
  • crates/tinymemory-bus/src/evidence.rs
  • crates/tinymemory-bus/src/evidence_tests.rs
  • crates/tinymemory-bus/src/goals.rs
  • crates/tinymemory-bus/src/goals_tests.rs
  • crates/tinymemory-bus/src/graph.rs
  • crates/tinymemory-bus/src/graph_tests.rs
  • crates/tinymemory-bus/src/health.rs
  • crates/tinymemory-bus/src/health_tests.rs
  • crates/tinymemory-bus/src/learning.rs
  • crates/tinymemory-bus/src/learning_tests.rs
  • crates/tinymemory-bus/src/lib.rs
  • crates/tinymemory-bus/src/names.rs
  • crates/tinymemory-bus/src/names_tests.rs
  • crates/tinymemory-bus/src/namespace.rs
  • crates/tinymemory-bus/src/namespace_tests.rs
  • crates/tinymemory-bus/src/operations.rs
  • crates/tinymemory-bus/src/operations_tests.rs
  • crates/tinymemory-bus/src/provider/chunks.rs
  • crates/tinymemory-bus/src/provider/chunks_tests.rs
  • crates/tinymemory-bus/src/provider/diagnosis.rs
  • crates/tinymemory-bus/src/provider/diagnosis_tests.rs
  • crates/tinymemory-bus/src/provider/episodic.rs
  • crates/tinymemory-bus/src/provider/episodic_portability.rs
  • crates/tinymemory-bus/src/provider/episodic_portability_tests.rs
  • crates/tinymemory-bus/src/provider/episodic_tests.rs
  • crates/tinymemory-bus/src/provider/mod.rs
  • crates/tinymemory-bus/src/provider/people.rs
  • crates/tinymemory-bus/src/provider/profile.rs
  • crates/tinymemory-bus/src/provider/retrieval.rs
  • crates/tinymemory-bus/src/provider/sessions.rs
  • crates/tinymemory-bus/src/provider/sessions_tests.rs
  • crates/tinymemory-bus/src/provider/sync.rs
  • crates/tinymemory-bus/src/provider/sync_tests.rs
  • crates/tinymemory-bus/src/provider/types.rs
  • crates/tinymemory-bus/src/provider/types_tests.rs
  • crates/tinymemory-bus/src/recall.rs
  • crates/tinymemory-bus/src/recall_tests.rs
  • crates/tinymemory-bus/src/tool_memory.rs
  • crates/tinymemory-bus/src/tool_memory_tests.rs
  • crates/tinymemory-bus/src/tree.rs
  • crates/tinymemory-bus/src/tree_tests.rs
  • crates/tinymemory-bus/src/types.rs
  • crates/tinymemory-bus/src/types_tests.rs
  • crates/tinymemory-bus/src/version.rs
  • crates/tinymemory-bus/src/version_tests.rs
  • crates/tinymemory-bus/src/wire.rs
  • crates/tinymemory-bus/src/wire_tests.rs
  • crates/tinymemory-conformance/Cargo.toml
  • crates/tinymemory-conformance/src/error/mod.rs
  • crates/tinymemory-conformance/src/lib.rs
  • crates/tinymemory-conformance/src/parity/corpus.rs
  • crates/tinymemory-conformance/src/parity/mod.rs
  • crates/tinymemory-conformance/src/parity/mod_tests.rs
  • crates/tinymemory-conformance/src/reference/fixed.rs
  • crates/tinymemory-conformance/src/reference/fixed_tests.rs
  • crates/tinymemory-conformance/src/reference/full.rs
  • crates/tinymemory-conformance/src/reference/mod.rs
  • crates/tinymemory-conformance/src/reference/mod_tests.rs
  • crates/tinymemory-conformance/src/reference/score.rs
  • crates/tinymemory-conformance/src/reference/score_tests.rs
  • crates/tinymemory-conformance/src/suite/bulk.rs
  • crates/tinymemory-conformance/src/suite/checks.rs
  • crates/tinymemory-conformance/src/suite/explore.rs
  • crates/tinymemory-conformance/src/suite/fixtures.rs
  • crates/tinymemory-conformance/src/suite/ingest.rs
  • crates/tinymemory-conformance/src/suite/mod.rs
  • crates/tinymemory-conformance/src/suite/namespaces.rs
  • crates/tinymemory-conformance/tests/reference.rs
  • crates/tinymemory-conformance/tests/reference_drivers.rs
  • crates/tinymemory-context/Cargo.toml
  • crates/tinymemory-context/src/compile/mod.rs
  • crates/tinymemory-context/src/compile/mod_tests.rs
  • crates/tinymemory-context/src/compile/render.rs
  • crates/tinymemory-context/src/compile/render_tests.rs
  • crates/tinymemory-context/src/error/mod.rs
  • crates/tinymemory-context/src/lib.rs
  • crates/tinymemory-context/src/spec.rs
  • crates/tinymemory-context/src/spec_tests.rs
  • crates/tinymemory-conversations/Cargo.toml
  • crates/tinymemory-conversations/src/bus.rs
  • crates/tinymemory-conversations/src/bus_tests.rs
  • crates/tinymemory-conversations/src/inverted_index.rs
  • crates/tinymemory-conversations/src/inverted_index_tests.rs
  • crates/tinymemory-conversations/src/lib.rs
  • crates/tinymemory-conversations/src/store.rs
  • crates/tinymemory-conversations/src/store_concurrency_tests.rs
  • crates/tinymemory-conversations/src/store_index.rs
  • crates/tinymemory-conversations/src/store_locks.rs
  • crates/tinymemory-conversations/src/store_ops.rs
  • crates/tinymemory-conversations/src/store_tests.rs
  • crates/tinymemory-conversations/src/store_tests_late.rs
  • crates/tinymemory-conversations/src/store_tests_more.rs
  • crates/tinymemory-conversations/src/tokenize.rs
  • crates/tinymemory-conversations/src/tokenize_tests.rs
  • crates/tinymemory-conversations/src/types.rs
  • crates/tinymemory-conversations/src/types_tests.rs
  • crates/tinymemory-core/Cargo.toml
  • crates/tinymemory-core/src/backfill.rs
  • crates/tinymemory-core/src/backfill_tests.rs
  • crates/tinymemory-core/src/chat.rs
  • crates/tinymemory-core/src/chat_host.rs
  • crates/tinymemory-core/src/chat_runtime_override.rs
  • crates/tinymemory-core/src/chat_test_support.rs
  • crates/tinymemory-core/src/chat_tests.rs
  • crates/tinymemory-core/src/config_loader.rs
  • crates/tinymemory-core/src/corruption/mod.rs
  • crates/tinymemory-core/src/corruption/mod_tests.rs
  • crates/tinymemory-core/src/diff/mod.rs
  • crates/tinymemory-core/src/diff/ops.rs
  • crates/tinymemory-core/src/diff/ops_tests.rs
  • crates/tinymemory-core/src/diff/source.rs
  • crates/tinymemory-core/src/diff/source_tests.rs
  • crates/tinymemory-core/src/diff/stub.rs
  • crates/tinymemory-core/src/embedding_adapter.rs
  • crates/tinymemory-core/src/embedding_host.rs
  • crates/tinymemory-core/src/embedding_host_test_support.rs
  • crates/tinymemory-core/src/engine/backend.rs
  • crates/tinymemory-core/src/engine/chat.rs
  • crates/tinymemory-core/src/engine/chat_tests.rs
  • crates/tinymemory-core/src/engine/config.rs
  • crates/tinymemory-core/src/engine/config_tests.rs
  • crates/tinymemory-core/src/engine/embeddings.rs
  • crates/tinymemory-core/src/engine/embeddings_tests.rs
  • crates/tinymemory-core/src/engine/ingest.rs
  • crates/tinymemory-core/src/engine/mod.rs
  • crates/tinymemory-core/src/engine/parity.rs
  • crates/tinymemory-core/src/engine/parity_tests.rs
  • crates/tinymemory-core/src/engine/persona.rs
  • crates/tinymemory-core/src/engine/persona_tests.rs
  • crates/tinymemory-core/src/engine/queue_driver.rs
  • crates/tinymemory-core/src/engine/queue_driver_tests.rs
  • crates/tinymemory-core/src/engine/seal.rs
  • crates/tinymemory-core/src/engine/seal_tests.rs
  • crates/tinymemory-core/src/engine/summariser.rs
  • crates/tinymemory-core/src/engine/sync.rs
  • crates/tinymemory-core/src/engine/sync_tests.rs
  • crates/tinymemory-core/src/events_test_support.rs
  • crates/tinymemory-core/src/global.rs
  • crates/tinymemory-core/src/global_tests.rs
  • crates/tinymemory-core/src/ingest_pipeline.rs
  • crates/tinymemory-core/src/ingest_pipeline_tests.rs
  • crates/tinymemory-core/src/ingestion/README.md
  • crates/tinymemory-core/src/ingestion/mod.rs
  • crates/tinymemory-core/src/ingestion/queue.rs
  • crates/tinymemory-core/src/ingestion/queue_tests.rs
  • crates/tinymemory-core/src/ingestion/state.rs
  • crates/tinymemory-core/src/ingestion/state_test_support.rs
  • crates/tinymemory-core/src/ingestion/state_tests.rs
  • crates/tinymemory-core/src/ingestion/tests.rs
  • crates/tinymemory-core/src/learning_candidate.rs
  • crates/tinymemory-core/src/learning_candidate_tests.rs
  • crates/tinymemory-core/src/lib.rs
  • crates/tinymemory-core/src/nlp_host.rs
  • crates/tinymemory-core/src/observability.rs
  • crates/tinymemory-core/src/people/README.md
  • crates/tinymemory-core/src/people/mod.rs
  • crates/tinymemory-core/src/preferences.rs
  • crates/tinymemory-core/src/preferences_tests.rs
  • crates/tinymemory-core/src/queue/README.md
  • crates/tinymemory-core/src/queue/mod.rs
  • crates/tinymemory-core/src/queue/ops.rs
  • crates/tinymemory-core/src/queue/ops_tests.rs
  • crates/tinymemory-core/src/queue/scheduler.rs
  • crates/tinymemory-core/src/queue/scheduler_tests.rs
  • crates/tinymemory-core/src/queue/store.rs
  • crates/tinymemory-core/src/queue/testing.rs
  • crates/tinymemory-core/src/queue/testing_tests.rs
  • crates/tinymemory-core/src/queue/types.rs
  • crates/tinymemory-core/src/queue/worker.rs
  • crates/tinymemory-core/src/queue/worker_tests.rs
  • crates/tinymemory-core/src/remember.rs
  • crates/tinymemory-core/src/scheduler_gate.rs
  • crates/tinymemory-core/src/scheduler_gate_override_tests.rs
  • crates/tinymemory-core/src/search/mod.rs
  • crates/tinymemory-core/src/shutdown.rs
  • crates/tinymemory-core/src/source_scope.rs
  • crates/tinymemory-core/src/source_scope_tests.rs
  • crates/tinymemory-core/src/sources/README.md
  • crates/tinymemory-core/src/sources/mod.rs
  • crates/tinymemory-core/src/sources/readers/mod.rs
  • crates/tinymemory-core/src/sources/reconcile.rs
  • crates/tinymemory-core/src/sources/reconcile_tests.rs
  • crates/tinymemory-core/src/sources/registry.rs
  • crates/tinymemory-core/src/sources/registry_tests.rs
  • crates/tinymemory-core/src/sources/status.rs
  • crates/tinymemory-core/src/sources/status_tests.rs
  • crates/tinymemory-core/src/sources/sync.rs
  • crates/tinymemory-core/src/sources/sync_tests.rs
  • crates/tinymemory-core/src/sources/types.rs
  • crates/tinymemory-core/src/store/README.md
  • crates/tinymemory-core/src/store/chunks/connection.rs
  • crates/tinymemory-core/src/store/chunks/embeddings.rs
  • crates/tinymemory-core/src/store/chunks/mod.rs
  • crates/tinymemory-core/src/store/chunks/raw_refs.rs
  • crates/tinymemory-core/src/store/chunks/semantic.rs
  • crates/tinymemory-core/src/store/chunks/store.rs
  • crates/tinymemory-core/src/store/chunks/store_tests.rs
  • crates/tinymemory-core/src/store/chunks/types.rs
  • crates/tinymemory-core/src/store/client.rs
  • crates/tinymemory-core/src/store/client_tests.rs
  • crates/tinymemory-core/src/store/content/README.md
  • crates/tinymemory-core/src/store/content/mod.rs
  • crates/tinymemory-core/src/store/content/read.rs
  • crates/tinymemory-core/src/store/content/tags.rs
  • crates/tinymemory-core/src/store/content/tags_tests.rs
  • crates/tinymemory-core/src/store/entities.rs
  • crates/tinymemory-core/src/store/entities_tests.rs
  • crates/tinymemory-core/src/store/factories.rs
  • crates/tinymemory-core/src/store/factories_provider_tests.rs
  • crates/tinymemory-core/src/store/factories_tests.rs
  • crates/tinymemory-core/src/store/identity.rs
  • crates/tinymemory-core/src/store/kinds.rs
  • crates/tinymemory-core/src/store/kinds_tests.rs
  • crates/tinymemory-core/src/store/kv.rs
  • crates/tinymemory-core/src/store/kv_tests.rs
  • crates/tinymemory-core/src/store/memory_trait.rs
  • crates/tinymemory-core/src/store/memory_trait_tests.rs
  • crates/tinymemory-core/src/store/mod.rs
  • crates/tinymemory-core/src/store/namespace_store/README.md
  • crates/tinymemory-core/src/store/namespace_store/documents.rs
  • crates/tinymemory-core/src/store/namespace_store/documents_deferred.rs
  • crates/tinymemory-core/src/store/namespace_store/documents_deferred_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/documents_document_id_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/documents_identity_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/documents_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/episodic_portability.rs
  • crates/tinymemory-core/src/store/namespace_store/episodic_portability_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/events.rs
  • crates/tinymemory-core/src/store/namespace_store/events_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/fts5.rs
  • crates/tinymemory-core/src/store/namespace_store/fts5_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/graph.rs
  • crates/tinymemory-core/src/store/namespace_store/graph_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/helpers.rs
  • crates/tinymemory-core/src/store/namespace_store/helpers_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/init.rs
  • crates/tinymemory-core/src/store/namespace_store/init_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/mod.rs
  • crates/tinymemory-core/src/store/namespace_store/profile.rs
  • crates/tinymemory-core/src/store/namespace_store/profile_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/query.rs
  • crates/tinymemory-core/src/store/namespace_store/query_tests.rs
  • crates/tinymemory-core/src/store/namespace_store/segments.rs
  • crates/tinymemory-core/src/store/namespace_store/segments_tests.rs
  • crates/tinymemory-core/src/store/profile_store.rs
  • crates/tinymemory-core/src/store/profile_store_tests.rs
  • crates/tinymemory-core/src/store/recall_policy.rs
  • crates/tinymemory-core/src/store/recall_policy_tests.rs
  • crates/tinymemory-core/src/store/retrieval/mod.rs
  • crates/tinymemory-core/src/store/retrieval/retrieval_tests.rs
  • crates/tinymemory-core/src/store/safety/mod.rs
  • crates/tinymemory-core/src/store/safety/pii.rs
  • crates/tinymemory-core/src/store/safety/safety_tests.rs
  • crates/tinymemory-core/src/store/store_tests.rs
  • crates/tinymemory-core/src/store/traits.rs
  • crates/tinymemory-core/src/store/traits_tests.rs
  • crates/tinymemory-core/src/store/trees/hotness.rs
  • crates/tinymemory-core/src/store/trees/mod.rs
  • crates/tinymemory-core/src/store/trees/registry.rs
  • crates/tinymemory-core/src/store/trees/store.rs
  • crates/tinymemory-core/src/store/trees/store_tests.rs
  • crates/tinymemory-core/src/store/trees/trees_tests.rs
  • crates/tinymemory-core/src/store/trees/types.rs
  • crates/tinymemory-core/src/store/types.rs
  • crates/tinymemory-core/src/store/write_gate.rs
  • crates/tinymemory-core/src/store/write_gate_tests.rs
  • crates/tinymemory-core/src/sync/README.md
  • crates/tinymemory-core/src/sync/audit.rs
  • crates/tinymemory-core/src/sync/audit_tests.rs
  • crates/tinymemory-core/src/sync/mcp/mod.rs
  • crates/tinymemory-core/src/sync/mod.rs
  • crates/tinymemory-core/src/sync/sync_status/mod.rs
  • crates/tinymemory-core/src/sync/sync_status/sync_status_tests.rs
  • crates/tinymemory-core/src/sync/usage.rs
  • crates/tinymemory-core/src/sync/workspace/cadence.rs
  • crates/tinymemory-core/src/sync/workspace/mod.rs
  • crates/tinymemory-core/src/sync/workspace/periodic.rs
  • crates/tinymemory-core/src/sync/workspace/periodic_tests.rs
  • crates/tinymemory-core/src/sync/workspace/watcher.rs
  • crates/tinymemory-core/src/sync/workspace/watcher_tests.rs
  • crates/tinymemory-core/src/sync/workspace/watcher_vault_watcher_integration_tests.rs
  • crates/tinymemory-core/src/test_env_lock.rs
  • crates/tinymemory-core/src/test_seams.rs
  • crates/tinymemory-core/src/thread_context.rs
  • crates/tinymemory-core/src/thread_context_tests.rs
  • crates/tinymemory-core/src/tool_memory/README.md
  • crates/tinymemory-core/src/tool_memory/mod.rs
  • crates/tinymemory-core/src/tool_memory/store.rs
  • crates/tinymemory-core/src/tool_memory/test_helpers.rs
  • crates/tinymemory-core/src/tool_memory/test_helpers_tests.rs
  • crates/tinymemory-core/src/traits.rs
  • crates/tinymemory-core/src/traits_tests.rs
  • crates/tinymemory-core/src/tree/README.md
  • crates/tinymemory-core/src/tree/graph/bfs.rs
  • crates/tinymemory-core/src/tree/graph/graph_tests.rs
  • crates/tinymemory-core/src/tree/graph/mod.rs
  • crates/tinymemory-core/src/tree/graph/store.rs
  • crates/tinymemory-core/src/tree/health/doctor.rs
  • crates/tinymemory-core/src/tree/health/doctor_tests.rs
  • crates/tinymemory-core/src/tree/health/health_test_support.rs
  • crates/tinymemory-core/src/tree/health/health_tests.rs
  • crates/tinymemory-core/src/tree/health/mod.rs
  • crates/tinymemory-core/src/tree/health/user_error.rs
  • crates/tinymemory-core/src/tree/ingest.rs
  • crates/tinymemory-core/src/tree/ingest_tests.rs
  • crates/tinymemory-core/src/tree/mod.rs
  • crates/tinymemory-core/src/tree/nlp/mod.rs
  • crates/tinymemory-core/src/tree/nlp/nlp_tests.rs
  • crates/tinymemory-core/src/tree/retrieval/README.md
  • crates/tinymemory-core/src/tree/retrieval/benchmarks.rs
  • crates/tinymemory-core/src/tree/retrieval/cover.rs
  • crates/tinymemory-core/src/tree/retrieval/drill_down.rs
  • crates/tinymemory-core/src/tree/retrieval/engine.rs
  • crates/tinymemory-core/src/tree/retrieval/fast.rs
  • crates/tinymemory-core/src/tree/retrieval/fast_tests.rs
  • crates/tinymemory-core/src/tree/retrieval/fetch.rs
  • crates/tinymemory-core/src/tree/retrieval/integration_tests.rs
  • crates/tinymemory-core/src/tree/retrieval/mod.rs
  • crates/tinymemory-core/src/tree/retrieval/search.rs
  • crates/tinymemory-core/src/tree/retrieval/source.rs
  • crates/tinymemory-core/src/tree/retrieval/source_scope_tests.rs
  • crates/tinymemory-core/src/tree/retrieval/types.rs
  • crates/tinymemory-core/src/tree/score/README.md
  • crates/tinymemory-core/src/tree/score/embed/README.md
  • crates/tinymemory-core/src/tree/score/embed/embed_tests.rs
  • crates/tinymemory-core/src/tree/score/embed/factory.rs
  • crates/tinymemory-core/src/tree/score/embed/factory_tests.rs
  • crates/tinymemory-core/src/tree/score/embed/inert.rs
  • crates/tinymemory-core/src/tree/score/embed/inert_tests.rs
  • crates/tinymemory-core/src/tree/score/embed/mod.rs
  • crates/tinymemory-core/src/tree/score/embed/openai_compat.rs
  • crates/tinymemory-core/src/tree/score/embed/openai_compat_tests.rs
  • crates/tinymemory-core/src/tree/score/extract/README.md
  • crates/tinymemory-core/src/tree/score/extract/extract_tests.rs
  • crates/tinymemory-core/src/tree/score/extract/mod.rs
  • crates/tinymemory-core/src/tree/score/mod.rs
  • crates/tinymemory-core/src/tree/score/score_tests.rs
  • crates/tinymemory-core/src/tree/score/signals/README.md
  • crates/tinymemory-core/src/tree/score/store.rs
  • crates/tinymemory-core/src/tree/score/store_tests.rs
  • crates/tinymemory-core/src/tree/summarise.rs
  • crates/tinymemory-core/src/tree/summarise_tests.rs
  • crates/tinymemory-core/src/tree/tree/bucket_seal.rs
  • crates/tinymemory-core/src/tree/tree/bucket_seal_tests.rs
  • crates/tinymemory-core/src/tree/tree/factory.rs
  • crates/tinymemory-core/src/tree/tree/factory_tests.rs
  • crates/tinymemory-core/src/tree/tree/flush.rs
  • crates/tinymemory-core/src/tree/tree/flush_tests.rs
  • crates/tinymemory-core/src/tree/tree/mod.rs
  • crates/tinymemory-core/src/tree/tree/registry.rs
  • crates/tinymemory-core/src/tree/tree/registry_tests.rs
  • crates/tinymemory-core/src/tree/tree_runtime/engine.rs
  • crates/tinymemory-core/src/tree/tree_runtime/engine_tests.rs
  • crates/tinymemory-core/src/tree/tree_runtime/mod.rs
  • crates/tinymemory-core/src/tree/tree_runtime/store.rs
  • crates/tinymemory-core/src/tree/tree_runtime/store_tests.rs
  • crates/tinymemory-core/src/tree_policy.rs
  • crates/tinymemory-core/src/tree_policy_tests.rs
  • crates/tinymemory-core/src/tree_source/file.rs
  • crates/tinymemory-core/src/tree_source/file_tests.rs
  • crates/tinymemory-core/src/tree_source/mod.rs
  • crates/tinymemory-core/src/tree_source/registry.rs
  • crates/tinymemory-core/src/tree_source/registry_tests.rs
  • crates/tinymemory-core/src/util/README.md
  • crates/tinymemory-core/src/util/mod.rs
  • crates/tinymemory-core/src/util/redact.rs
  • crates/tinymemory-core/src/util/redact_tests.rs
  • crates/tinymemory-core/tests/fixtures/ingestion/README.md
  • crates/tinymemory-core/tests/fixtures/ingestion/gmail_thread_example.txt
  • crates/tinymemory-core/tests/fixtures/ingestion/notion_page_example.txt
  • crates/tinymemory-core/tests/health_globals.rs
  • crates/tinymemory-core/tests/host_seams.rs
  • crates/tinymemory-core/tests/sync_events.rs
  • crates/tinymemory-cortex/Cargo.toml
  • crates/tinymemory-cortex/README.md
  • crates/tinymemory-cortex/src/conformance_tests.rs
  • crates/tinymemory-cortex/src/credential/mod.rs
  • crates/tinymemory-cortex/src/credential/mod_tests.rs
  • crates/tinymemory-cortex/src/descriptor/mod.rs
  • crates/tinymemory-cortex/src/descriptor/mod_tests.rs
  • crates/tinymemory-cortex/src/engine/cursor.rs
  • crates/tinymemory-cortex/src/engine/cursor_tests.rs
  • crates/tinymemory-cortex/src/engine/engine_test_support.rs
  • crates/tinymemory-cortex/src/engine/fetch.rs
  • crates/tinymemory-cortex/src/engine/fetch_tests.rs
  • crates/tinymemory-cortex/src/engine/forget.rs
  • crates/tinymemory-cortex/src/engine/items.rs
  • crates/tinymemory-cortex/src/engine/list.rs
  • crates/tinymemory-cortex/src/engine/mod.rs
  • crates/tinymemory-cortex/src/engine/mod_direct_tests.rs
  • crates/tinymemory-cortex/src/engine/mod_hosted_tests.rs
  • crates/tinymemory-cortex/src/engine/mod_list_tests.rs
  • crates/tinymemory-cortex/src/engine/mod_tests.rs
  • crates/tinymemory-cortex/src/engine/recall.rs
  • crates/tinymemory-cortex/src/engine/recall_tests.rs
  • crates/tinymemory-cortex/src/engine/scopes.rs
  • crates/tinymemory-cortex/src/engine/scopes_tests.rs
  • crates/tinymemory-cortex/src/engine/store.rs
  • crates/tinymemory-cortex/src/engine/store_tests.rs
  • crates/tinymemory-cortex/src/envelope/labels.rs
  • crates/tinymemory-cortex/src/envelope/labels_tests.rs
  • crates/tinymemory-cortex/src/envelope/mod.rs
  • crates/tinymemory-cortex/src/envelope/mod_tests.rs
  • crates/tinymemory-cortex/src/envelope/rebuild.rs
  • crates/tinymemory-cortex/src/error/mod.rs
  • crates/tinymemory-cortex/src/error/mod_tests.rs
  • crates/tinymemory-cortex/src/lib.rs
  • crates/tinymemory-cortex/src/log/forget.rs
  • crates/tinymemory-cortex/src/log/mod.rs
  • crates/tinymemory-cortex/src/log/read.rs
  • crates/tinymemory-cortex/src/log/visibility.rs
  • crates/tinymemory-cortex/src/log/write.rs
  • crates/tinymemory-cortex/src/testing/log.rs
  • crates/tinymemory-cortex/src/testing/mod.rs
  • crates/tinymemory-cortex/src/testing/routes.rs
  • crates/tinymemory-cortex/src/transport/actor.rs
  • crates/tinymemory-cortex/src/transport/actor_tests.rs
  • crates/tinymemory-cortex/src/transport/body.rs
  • crates/tinymemory-cortex/src/transport/failure.rs
  • crates/tinymemory-cortex/src/transport/failure_tests.rs
  • crates/tinymemory-cortex/src/transport/mod.rs
  • crates/tinymemory-cortex/src/transport/mod_tests.rs
  • crates/tinymemory-cortex/src/transport/transport_test_support.rs
  • crates/tinymemory-cortex/tests/live_cortexdb.rs
  • crates/tinymemory-documents/Cargo.toml
  • crates/tinymemory-documents/README.md
  • crates/tinymemory-documents/src/convert/mod.rs
  • crates/tinymemory-documents/src/convert/mod_tests.rs
  • crates/tinymemory-documents/src/convert/types.rs
  • crates/tinymemory-documents/src/error/mod.rs
  • crates/tinymemory-documents/src/error/mod_tests.rs
  • crates/tinymemory-documents/src/fetch/mod.rs
  • crates/tinymemory-documents/src/format/mod.rs
  • crates/tinymemory-documents/src/format/mod_tests.rs
  • crates/tinymemory-documents/src/format/ooxml.rs
  • crates/tinymemory-documents/src/format/ooxml_tests.rs
  • crates/tinymemory-documents/src/html/entity.rs
  • crates/tinymemory-documents/src/html/mod.rs
  • crates/tinymemory-documents/src/html/mod_tests.rs
  • crates/tinymemory-documents/src/ingest/mod.rs
  • crates/tinymemory-documents/src/ingest/mod_tests.rs
  • crates/tinymemory-documents/src/ingest/types.rs
  • crates/tinymemory-documents/src/item/mod.rs
  • crates/tinymemory-documents/src/item/mod_tests.rs
  • crates/tinymemory-documents/src/language/mod.rs
  • crates/tinymemory-documents/src/language/mod_tests.rs
  • crates/tinymemory-documents/src/lib.rs
  • crates/tinymemory-documents/src/office/mod.rs
  • crates/tinymemory-documents/src/office/mod_tests.rs
  • crates/tinymemory-documents/src/office/normalize.rs
  • crates/tinymemory-documents/src/office/ooxml.rs
  • crates/tinymemory-documents/src/office/pdf.rs
  • crates/tinymemory-documents/src/office/xlsx.rs
  • crates/tinymemory-gate/Cargo.toml
  • crates/tinymemory-gate/src/gate.rs
  • crates/tinymemory-gate/src/gate_tests.rs
  • crates/tinymemory-gate/src/lib.rs
  • crates/tinymemory-gate/src/signals.rs
  • crates/tinymemory-gate/src/signals_tests.rs
  • crates/tinymemory-guard/Cargo.toml
  • crates/tinymemory-guard/src/audit.rs
  • crates/tinymemory-guard/src/budget.rs
  • crates/tinymemory-guard/src/budget_tests.rs
  • crates/tinymemory-guard/src/families.rs
  • crates/tinymemory-guard/src/families/episodic_portability.rs
  • crates/tinymemory-guard/src/families/graph_and_bookkeeping.rs
  • crates/tinymemory-guard/src/families/ingest_and_tree.rs
  • crates/tinymemory-guard/src/families/retrieval_and_profile.rs
  • crates/tinymemory-guard/src/families/typed_ingest_and_answer.rs
  • crates/tinymemory-guard/src/families/types.rs
  • crates/tinymemory-guard/src/lib.rs
  • crates/tinymemory-guard/src/mandatory.rs
  • crates/tinymemory-guard/src/policy.rs
  • crates/tinymemory-guard/src/provider.rs
  • crates/tinymemory-guard/tests/guard.rs
  • crates/tinymemory-import/Cargo.toml
  • crates/tinymemory-import/README.md
  • crates/tinymemory-import/src/checkpoint/mod.rs
  • crates/tinymemory-import/src/checkpoint/mod_tests.rs
  • crates/tinymemory-import/src/convert/mod.rs
  • crates/tinymemory-import/src/convert/mod_tests.rs
  • crates/tinymemory-import/src/error/mod.rs
  • crates/tinymemory-import/src/import_tests.rs
  • crates/tinymemory-import/src/items/mod.rs
  • crates/tinymemory-import/src/keys.rs
  • crates/tinymemory-import/src/keys_tests.rs
  • crates/tinymemory-import/src/lib.rs
  • crates/tinymemory-import/src/sections/chunks.rs
  • crates/tinymemory-import/src/sections/chunks_tests.rs
  • crates/tinymemory-import/src/sections/episodic.rs
  • crates/tinymemory-import/src/sections/memory_docs.rs
  • crates/tinymemory-import/src/sections/memory_docs_tests.rs
  • crates/tinymemory-import/src/sections/mod.rs
  • crates/tinymemory-import/src/sections/profile.rs
  • crates/tinymemory-import/src/source.rs
  • crates/tinymemory-import/src/workspace/mod.rs
  • crates/tinymemory-import/src/workspace/mod_tests.rs
  • crates/tinymemory-import/src/workspace/schema.rs
  • crates/tinymemory-import/tests/legacy_import.rs
  • crates/tinymemory-import/tests/support/mod.rs
  • crates/tinymemory-module/Cargo.toml
  • crates/tinymemory-module/src/chat.rs
  • crates/tinymemory-module/src/chat_tests.rs
  • crates/tinymemory-module/src/config.rs
  • crates/tinymemory-module/src/config_loader.rs
  • crates/tinymemory-module/src/config_loader_tests.rs
  • crates/tinymemory-module/src/config_tests.rs
  • crates/tinymemory-module/src/embedding.rs
  • crates/tinymemory-module/src/embedding_tests.rs
  • crates/tinymemory-module/src/host.rs
  • crates/tinymemory-module/src/host_tests.rs
  • crates/tinymemory-module/src/lib.rs
  • crates/tinymemory-module/src/provider.rs
  • crates/tinymemory-module/src/provider_tests.rs
  • crates/tinymemory-module/src/seam_lock.rs
  • crates/tinymemory-module/src/seam_lock_tests.rs
  • crates/tinymemory-module/src/service/instrumentation.rs
  • crates/tinymemory-module/src/service/instrumentation_tests.rs
  • crates/tinymemory-module/src/service/mod.rs
  • crates/tinymemory-module/src/service/mod_tests.rs
  • crates/tinymemory-module/tests/module_e2e.rs
  • crates/tinymemory-module/tests/static_link.rs
  • crates/tinymemory-remote/Cargo.toml
  • crates/tinymemory-remote/examples/conformance.rs
  • crates/tinymemory-remote/examples/cortex_simulation.rs
  • crates/tinymemory-remote/src/agentmemory.rs
  • crates/tinymemory-remote/src/agentmemory_tests.rs
  • crates/tinymemory-remote/src/cognee.rs
  • crates/tinymemory-remote/src/cognee_graph.rs
  • crates/tinymemory-remote/src/cognee_tests.rs
  • crates/tinymemory-remote/src/common.rs
  • crates/tinymemory-remote/src/common_credential_header_tests.rs
  • crates/tinymemory-remote/src/common_transport_tests.rs
  • crates/tinymemory-remote/src/conformance_tests.rs
  • crates/tinymemory-remote/src/cortex.rs
  • crates/tinymemory-remote/src/cortex_labels.rs
  • crates/tinymemory-remote/src/cortex_labels_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/README.md
  • crates/tinymemory-remote/src/cortex_provider/families/capabilities_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/documents.rs
  • crates/tinymemory-remote/src/cortex_provider/families/documents_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/episodic.rs
  • crates/tinymemory-remote/src/cortex_provider/families/episodic_portability.rs
  • crates/tinymemory-remote/src/cortex_provider/families/episodic_portability_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/episodic_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/goals.rs
  • crates/tinymemory-remote/src/cortex_provider/families/goals_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/ingest.rs
  • crates/tinymemory-remote/src/cortex_provider/families/ingest_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/maintenance.rs
  • crates/tinymemory-remote/src/cortex_provider/families/maintenance_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/mod.rs
  • crates/tinymemory-remote/src/cortex_provider/families/profile.rs
  • crates/tinymemory-remote/src/cortex_provider/families/profile_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/records.rs
  • crates/tinymemory-remote/src/cortex_provider/families/records_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/relevance.rs
  • crates/tinymemory-remote/src/cortex_provider/families/relevance_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/retrieval.rs
  • crates/tinymemory-remote/src/cortex_provider/families/retrieval_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/scopes.rs
  • crates/tinymemory-remote/src/cortex_provider/families/scopes_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/scoring.rs
  • crates/tinymemory-remote/src/cortex_provider/families/scoring_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/sources.rs
  • crates/tinymemory-remote/src/cortex_provider/families/sources_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/test_support.rs
  • crates/tinymemory-remote/src/cortex_provider/families/tool_rules.rs
  • crates/tinymemory-remote/src/cortex_provider/families/tool_rules_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/tree.rs
  • crates/tinymemory-remote/src/cortex_provider/families/tree_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/families/understanding.rs
  • crates/tinymemory-remote/src/cortex_provider/families/understanding_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/mod.rs
  • crates/tinymemory-remote/src/cortex_provider/mod_tests.rs
  • crates/tinymemory-remote/src/cortex_provider/operations.rs
  • crates/tinymemory-remote/src/cortex_provider/portability.rs
  • crates/tinymemory-remote/src/cortex_provider/test_support.rs
  • crates/tinymemory-remote/src/cortex_provider/types.rs
  • crates/tinymemory-remote/src/cortex_test_support.rs
  • crates/tinymemory-remote/src/cortex_tests.rs
  • crates/tinymemory-remote/src/failure_tests.rs
  • crates/tinymemory-remote/src/graph_provider.rs
  • crates/tinymemory-remote/src/hosted.rs
  • crates/tinymemory-remote/src/hosted_test_support.rs
  • crates/tinymemory-remote/src/hosted_tests.rs
  • crates/tinymemory-remote/src/lib.rs
  • crates/tinymemory-remote/src/livingbrain/README.md
  • crates/tinymemory-remote/src/livingbrain/mod.rs
  • crates/tinymemory-remote/src/livingbrain/mod_tests.rs
  • crates/tinymemory-remote/src/livingbrain/types.rs
  • crates/tinymemory-remote/src/mem0.rs
  • crates/tinymemory-remote/src/mem0_graph.rs
  • crates/tinymemory-remote/src/mem0_provider.rs
  • crates/tinymemory-remote/src/mem0_search_body_tests.rs
  • crates/tinymemory-remote/src/mem0_tests.rs
  • crates/tinymemory-remote/src/supermemory.rs
  • crates/tinymemory-remote/src/supermemory_tests.rs
  • crates/tinymemory-remote/tests/live_remote_engines.rs
  • crates/tinymemory-safety/Cargo.toml
  • crates/tinymemory-safety/src/item.rs
  • crates/tinymemory-safety/src/item_tests.rs
  • crates/tinymemory-safety/src/lib.rs
  • crates/tinymemory-safety/src/markers.rs
  • crates/tinymemory-safety/src/markers_tests.rs
  • crates/tinymemory-safety/src/safety_tests.rs
  • crates/tinymemory-sources/Cargo.toml
  • crates/tinymemory-sources/README.md
  • crates/tinymemory-sources/src/composio/clickup.rs
  • crates/tinymemory-sources/src/composio/clickup_tests.rs
  • crates/tinymemory-sources/src/composio/documents.rs
  • crates/tinymemory-sources/src/composio/documents_tests.rs
  • crates/tinymemory-sources/src/composio/email_clean.rs
  • crates/tinymemory-sources/src/composio/email_clean_tests.rs
  • crates/tinymemory-sources/src/composio/email_markdown.rs
  • crates/tinymemory-sources/src/composio/email_markdown_tests.rs
  • crates/tinymemory-sources/src/composio/github.rs
  • crates/tinymemory-sources/src/composio/github_tests.rs
  • crates/tinymemory-sources/src/composio/gmail_post_process.rs
  • crates/tinymemory-sources/src/composio/gmail_post_process_tests.rs
  • crates/tinymemory-sources/src/composio/helpers.rs
  • crates/tinymemory-sources/src/composio/helpers_tests.rs
  • crates/tinymemory-sources/src/composio/linear.rs
  • crates/tinymemory-sources/src/composio/linear_tests.rs
  • crates/tinymemory-sources/src/composio/mod.rs
  • crates/tinymemory-sources/src/composio/notion.rs
  • crates/tinymemory-sources/src/composio/notion_tests.rs
  • crates/tinymemory-sources/src/composio/slack_post_process.rs
  • crates/tinymemory-sources/src/composio/slack_post_process_tests.rs
  • crates/tinymemory-sources/src/error/mod.rs
  • crates/tinymemory-sources/src/error/mod_tests.rs
  • crates/tinymemory-sources/src/fetch/mod.rs
  • crates/tinymemory-sources/src/fetch/mod_tests.rs
  • crates/tinymemory-sources/src/items/mod.rs
  • crates/tinymemory-sources/src/items/mod_tests.rs
  • crates/tinymemory-sources/src/lib.rs
  • crates/tinymemory-sources/src/readers/composio.rs
  • crates/tinymemory-sources/src/readers/composio_tests.rs
  • crates/tinymemory-sources/src/readers/conversation.rs
  • crates/tinymemory-sources/src/readers/conversation_tests.rs
  • crates/tinymemory-sources/src/readers/file.rs
  • crates/tinymemory-sources/src/readers/file_tests.rs
  • crates/tinymemory-sources/src/readers/folder.rs
  • crates/tinymemory-sources/src/readers/folder_tests.rs
  • crates/tinymemory-sources/src/readers/github.rs
  • crates/tinymemory-sources/src/readers/github_tests.rs
  • crates/tinymemory-sources/src/readers/local_file.rs
  • crates/tinymemory-sources/src/readers/mod.rs
  • crates/tinymemory-sources/src/readers/rss.rs
  • crates/tinymemory-sources/src/readers/rss/types.rs
  • crates/tinymemory-sources/src/readers/rss_tests.rs
  • crates/tinymemory-sources/src/readers/ssrf.rs
  • crates/tinymemory-sources/src/readers/ssrf_tests.rs
  • crates/tinymemory-sources/src/readers/twitter.rs
  • crates/tinymemory-sources/src/readers/twitter_tests.rs
  • crates/tinymemory-sources/src/readers/web_page.rs
  • crates/tinymemory-sources/src/readers/web_page/types.rs
  • crates/tinymemory-sources/src/readers/web_page_tests.rs
  • crates/tinymemory-sources/src/reconcile_tests.rs
  • crates/tinymemory-sources/src/registry.rs
  • crates/tinymemory-sources/src/registry_tests.rs
  • crates/tinymemory-sources/src/types.rs
  • crates/tinymemory-sources/src/types_tests.rs
  • crates/tinymemory-sources/src/validation.rs
  • crates/tinymemory-sources/src/validation_tests.rs
  • crates/tinymemory-sources/tests/reader_dispatch.rs
  • crates/tinymemory-sync/Cargo.toml
  • crates/tinymemory-sync/src/lib.rs
  • crates/tinymemory-testing-ui/Cargo.toml
  • crates/tinymemory-testing-ui/README.md
  • crates/tinymemory-testing-ui/src/main.rs
  • crates/tinymemory-testing-ui/src/main_tests.rs
  • crates/tinymemory-testing-ui/tests/server_e2e.rs
  • crates/tinymemory-testing-ui/web/index.html
  • crates/tinymemory-testing-ui/web/workflows.js
  • crates/tinymemory-testing-ui/web/workflows.test.js
  • crates/tinymemory-tinycortex/Cargo.toml
  • crates/tinymemory-tinycortex/src/conformance_tests.rs
  • crates/tinymemory-tinycortex/src/document_provider.rs
  • crates/tinymemory-tinycortex/src/engine/episodic_portability.rs
  • crates/tinymemory-tinycortex/src/engine/episodic_portability_tests.rs
  • crates/tinymemory-tinycortex/src/engine/mod.rs
  • crates/tinymemory-tinycortex/src/engine/mod_tests.rs
  • crates/tinymemory-tinycortex/src/lib.rs
  • crates/tinymemory-tinycortex/src/memory.rs
  • crates/tinymemory-tinycortex/src/memory_tests.rs
  • crates/tinymemory-tinycortex/tests/full_provider_conformance.rs
  • crates/tinymemory-tools/Cargo.toml
  • crates/tinymemory-tools/src/host.rs
  • crates/tinymemory-tools/src/lib.rs
  • crates/tinymemory-tools/src/query/backend.rs
  • crates/tinymemory-tools/src/query/cover_window.rs
  • crates/tinymemory-tools/src/query/cover_window_tests.rs
  • crates/tinymemory-tools/src/query/drill_down.rs
  • crates/tinymemory-tools/src/query/drill_down_tests.rs
  • crates/tinymemory-tools/src/query/fast_walk.rs
  • crates/tinymemory-tools/src/query/fast_walk_tests.rs
  • crates/tinymemory-tools/src/query/fetch_leaves.rs
  • crates/tinymemory-tools/src/query/fetch_leaves_tests.rs
  • crates/tinymemory-tools/src/query/mod.rs
  • crates/tinymemory-tools/src/query/mod_tests.rs
  • crates/tinymemory-tools/src/query/query_source.rs
  • crates/tinymemory-tools/src/query/query_source_tests.rs
  • crates/tinymemory-tools/src/query/search_entities.rs
  • crates/tinymemory-tools/src/query/search_entities_tests.rs
  • crates/tinymemory-tools/src/raw_store/kinds.rs
  • crates/tinymemory-tools/src/raw_store/kinds_tests.rs
  • crates/tinymemory-tools/src/raw_store/mod.rs
  • crates/tinymemory-tools/src/raw_store/mod_tests.rs
  • crates/tinymemory-tools/src/raw_store/raw_chunks.rs
  • crates/tinymemory-tools/src/raw_store/raw_chunks_tests.rs
  • crates/tinymemory-tools/src/raw_store/raw_search.rs
  • crates/tinymemory-tools/src/raw_store/raw_search_tests.rs
  • crates/tinymemory-tools/src/requests.rs
  • crates/tinymemory-tools/src/search/chunk_context.rs
  • crates/tinymemory-tools/src/search/hybrid_search.rs
  • crates/tinymemory-tools/src/search/hybrid_search_tests.rs
  • crates/tinymemory-tools/src/search/mod.rs
  • crates/tinymemory-tools/src/search/vector_search.rs
  • crates/tinymemory-tools/src/test_host.rs
  • crates/tinymemory-tools/src/tool_memory/list.rs
  • crates/tinymemory-tools/src/tool_memory/list_tests.rs
  • crates/tinymemory-tools/src/tool_memory/mod.rs
  • crates/tinymemory-tools/src/tool_memory/mod_tests.rs
  • crates/tinymemory-tools/src/tool_memory/put.rs
  • crates/tinymemory-tools/src/tool_memory/put_tests.rs
  • crates/tinymemory-tools/tests/common/mod.rs
  • crates/tinymemory-tools/tests/dispatch.rs
  • crates/tinymemory-tools/tests/fixtures/tool_contracts.json
  • crates/tinymemory-tools/tests/tool_contracts.rs
  • crates/tinymemory/Cargo.toml
  • crates/tinymemory/examples/basic.rs
  • crates/tinymemory/examples/recall_parity.rs
  • crates/tinymemory/examples/tinycortex.rs
  • crates/tinymemory/src/config/mod.rs
  • crates/tinymemory/src/config/mod_tests.rs
  • crates/tinymemory/src/factory/build.rs
  • crates/tinymemory/src/factory/mod.rs
  • crates/tinymemory/src/factory/mod_tests.rs
  • crates/tinymemory/src/factory/types.rs
  • crates/tinymemory/src/lib.rs
  • crates/tinymemory/src/migrate/content.rs
  • crates/tinymemory/src/migrate/episodic.rs
  • crates/tinymemory/src/migrate/families.rs
  • crates/tinymemory/src/migrate/mod.rs
  • crates/tinymemory/src/migrate/mod_tests.rs
  • crates/tinymemory/src/migrate/test_steps.rs
  • crates/tinymemory/src/migrate/test_support.rs
  • crates/tinymemory/src/registry/class.rs
  • crates/tinymemory/src/registry/mod.rs
  • crates/tinymemory/src/registry/mod_tests.rs
  • crates/tinymemory/src/routing.rs
  • crates/tinymemory/src/routing_tests.rs
  • crates/tinymemory/src/sections/README.md
  • crates/tinymemory/src/sections/mod.rs
  • crates/tinymemory/src/sections/mod_tests.rs
  • crates/tinymemory/src/sections/recall.rs
  • crates/tinymemory/src/sections/types.rs
  • crates/tinymemory/src/sections/view.rs
  • crates/tinymemory/tests/capability_negotiation.rs
  • crates/tinymemory/tests/documents_office.rs
  • crates/tinymemory/tests/driver_selection.rs
  • crates/tinymemory/tests/feature_surface.rs
  • crates/tinymemory/tests/null_provider.rs
  • crates/tinymemory/tests/office_live.rs
  • crates/tinymemory/tests/sections.rs
  • crates/tinymemory/tests/sync_on_a_foreign_driver.rs
  • crates/tinymemory/tests/taint_end_to_end.rs
  • deny.toml
  • docs/plans/README.md
  • docs/plans/cortexdb-full-integration.md
  • docs/plans/memory-section-api.md
  • docs/plans/tinyhumans-hosted-families.md
  • docs/specs/README.md
  • docs/specs/cortexdb-full-integration.md
  • docs/specs/graph-view-and-document-intake.md
  • docs/specs/ingestion-retrieval-api.md
  • docs/specs/livingbrain-remote-api.md
  • docs/specs/memory-section-api.md
  • docs/specs/memory-v2.md
  • docs/specs/store-migration.md
  • docs/specs/tinybus-module.md
  • docs/specs/tinyhumans-hosted-cortex.md
  • docs/specs/tinyhumans-hosted-families.md
  • integration/cortexdb/README.md
  • integration/cortexdb/cortex.toml
  • integration/cortexdb/docker-compose.yml
  • integration/cortexdb/mock-inference.Dockerfile
  • integration/cortexdb/mock_inference.py
  • integration/remote-engines/README.md
  • integration/remote-engines/agentmemory-iii-config.yaml
  • integration/remote-engines/docker-compose.yml
  • integration/remote-engines/supermemory.Dockerfile
  • scripts/ci/agentmemory-e2e.sh
  • scripts/ci/cortexdb-e2e.sh
  • scripts/ci/dependency-budget.sh
  • scripts/ci/engine-containment.sh
  • scripts/cortexdb-live.sh
  • scripts/cortexdb-simulation.sh
  • vendor/tinybus
  • vendor/tinycortex
  • vendor/tinyinference

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 35d72b9fe6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +79 to +82
let events = end
.saturating_add(1)
.saturating_mul(EVENTS_PER_HIT)
.min(MAX_PACK_EVENTS);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep fetch pagination alive at the pack ceiling

When a single-kind query has more than 1,000 matching one-event items, the event budget stops growing at MAX_PACK_EVENTS, so later requests repeatedly retrieve only the same first 1,000 events. At end == 1000, merged.len() > end becomes false and returns no cursor even though more backend results exist; multi-turn conversations or client-side filtering can hit this truncation sooner. The accepted fetch contract exposes cursors without such a limit, so this should continue through a backend cursor or report an explicit limit rather than silently ending the result set.

AGENTS.md reference: AGENTS.md:L16-L19

Useful? React with 👍 / 👎.

Comment on lines +178 to +180
let path = content_dir.join(relative);
match std::fs::read_to_string(&path) {
Ok(text) => Ok(Some(text)),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Containment-check chunk bodies after resolving symlinks

When a legacy workspace's content_path names a normal-looking path whose final component or parent is a symlink, this lexical component check passes and read_to_string follows the link outside memory_tree/content. Importing such a workspace can therefore ingest an arbitrary readable local file—potentially persisting it to the configured remote memory engine. Canonicalize both the content root and target and verify containment before reading, as the local source readers already do.

Useful? React with 👍 / 👎.

senamakel and others added 2 commits October 4, 2026 13:56
The script now exports the CORTEXDB_PORT environment variable so that Docker Compose can read the published port from the environment, ensuring the correct port is used when starting the container.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
# Conflicts:
#	crates/tinymemory-api/src/item/mod_tests.rs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f38718973d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +145 to +147
let citations = per_pack
.into_iter()
.flatten()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restrict citations to the pack used for answering

When an explicit Reach spans multiple namespace/kind scopes, the answer request uses only packs[chosen], but this pipeline flattens every pack into the returned citations. The response can therefore cite items the answer model never received, producing false grounding and causing downstream context documents to record unrelated refs; build citations from the chosen pack or combine the evidence into the pack actually sent for answering.

AGENTS.md reference: AGENTS.md:L18-L19

Useful? React with 👍 / 👎.

Comment on lines +136 to +140
pub(crate) async fn scopes(&self, prefix: &str) -> Result<Vec<String>> {
let path = format!(
"{base}?prefix={prefix}&limit={SCOPES_LIMIT}",
base = self.client.wire().path(Route::Scopes),
prefix = urlencode(prefix),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Page through every registered scope

For an unscoped read or a reach including descendants, scope discovery makes only this limit=1000 request and ignores any continuation information. Once the account has more than 1,000 matching registered scopes, scopes_for never sees the remainder, so list, get, fetch, and filter-based forget silently omit items in those namespaces; follow scope pagination or return an explicit limit error instead of treating the first page as complete.

AGENTS.md reference: AGENTS.md:L18-L19

Useful? React with 👍 / 👎.

senamakel and others added 8 commits October 4, 2026 14:22
The memory barrier ordering in the compile module was incorrectly specified as Acquire instead of Release for store operations, which could lead to visibility issues in concurrent contexts. This change updates the barrier semantics to ensure proper memory ordering guarantees for the memory model implementation.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The compile function now returns an empty result when given an empty input string, preventing a panic that occurred when trying to process no tokens. This ensures the function behaves gracefully for edge cases where no code is provided.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Adds a test verifying that when a context spec includes a reach filter for a specific agent, the compiled document only contains memories belonging to that agent and shared memories, excluding memories from other agents.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Reformatted the assert! macro invocations in the reach test to use multi-line style, improving code readability without changing any test logic or behavior.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The memory-v2 specification now defines a tree of namespace nodes that scopes every stored item, replacing the previous flat scope model. Each agent, team, user, workspace, or project gets its own node under the root, and items placed at different nodes are distinct even with identical text. The new `Reach` filter controls which nodes a read operation sees, supporting inheritance from ancestors and optional descent into descendants, while a sibling is never admitted. The TinyMemory backend maps namespace segments to CortexDB's built-in scope types so that reads remain exact and server-side traversal is avoided.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The specification for the memory-v2 backend now includes test scenarios covering namespace behaviour, such as reach-based listing, scoped get and fetch operations, distinct items for identical text at different nodes, namespace facet counting, and scoped forget operations.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…h semantics

The storage layout section now documents the namespace hierarchy with concrete examples for root, agent, and team member scopes, and explains how `MetaFilter.reach` controls scope discovery. The list operation description clarifies that scopes are paged by kind then namespace, and that the cursor includes the scope path to prevent shifts from newly created scopes.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…behaviour

The README now describes that a reach over several scopes builds one pack per scope and selects the answer from the pack with the most admitted events, rather than assuming a single kind scope. The forget section clarifies that Ids look up labels in every engine scope and Filter walks the scopes it reads, matching the full filter. These changes align the documentation with the current multi-scope implementation.

Auto-committed-on: macbook
Co-authored-by: Medulla <medulla@tinyhumans.ai>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 345b1183ea

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +172 to +174
async fn pack(&self, req: &RecallRequest, scope: &str, descend: bool) -> Result<Value> {
let mut body = recall_body(scope, &req.question, 0, &req.filter);
body["budgets"]["per_layer_limits"] = pack_budgets(req.limit);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Honor all recall filters in the answer pack

When a recall uses a filter that CortexDB cannot express as a label—such as tags_any, folder/file prefixes, URL, commit, tool call, or an observation window—this pack still contains excluded items; ranked applies the full filter only later while constructing citations. The answer model can therefore disclose or rely on content outside RecallRequest::filter even though the returned citations look filtered. An unscoped multi-scope recall with a kind restriction has the same problem because the descending root pack spans every kind. Build the answer from an actually filtered pack, or avoid this server-side answer path for filters it cannot enforce.

AGENTS.md reference: AGENTS.md:L16-L19

Useful? React with 👍 / 👎.

Self::Thread => one(meta.thread_id.as_ref()),
Self::Agent => one(meta.agent_id.as_ref()),
Self::ToolCall => one(meta.tool_call.as_ref().map(|call| &call.name)),
Self::Tag => meta.tags.clone(),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Deduplicate tags before incrementing facet counts

When a public StoreItem carries duplicate tags such as ["urgent", "urgent"], Facet::Tag returns both copies and explore_by_listing increments the same bucket twice for that one item. Neither item validation nor MemoryMeta prevents duplicate tags, while the accepted explorer contract says an item counts once per tag, so tag bucket counts can exceed total and disagree with narrowing the bucket through list. Return unique tag values before aggregation.

AGENTS.md reference: AGENTS.md:L16-L19

Useful? React with 👍 / 👎.

Comment on lines +29 to +30
/// Most learnings pages read before sorting; a ceiling, not a target.
const LEARNINGS_MAX_PAGES: usize = 50;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Rank learnings across the complete listing

When a reach contains more than 5,000 learnings, this fixed page ceiling stops with an unconsumed cursor and then ranks only the prefix already read. Since engines are not required to list globally by observation time—and Cortex lists scope by scope—a newer or more confident learning in a later namespace can be omitted even when learnings_limit is only 20, producing a stale context document without any truncation indication. Continue paging while maintaining the best limit candidates, or surface truncation explicitly.

AGENTS.md reference: AGENTS.md:L16-L19

Useful? React with 👍 / 👎.

@senamakel
senamakel merged commit 3637653 into main Oct 4, 2026
31 of 32 checks passed
@senamakel
senamakel deleted the memory-v2 branch October 4, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant