Skip to content

Simplify TinyMemory into api, tools and integrations crates - #193

Merged
senamakel merged 134 commits into
tinyhumansai:mainfrom
senamakel:memory-simplify
Oct 4, 2026
Merged

senamakel merged 134 commits into
tinyhumansai:mainfrom
senamakel:memory-simplify

Conversation

@senamakel

Copy link
Copy Markdown
Member

Summary

Reduces TinyMemory to three crates, one for each part of the memory layer:

  • tinymemory-api: the core contract. The conformance suite and reference engine move in behind a conformance feature.
  • tinymemory-tools (new): the agent-facing tool spec, MemoryTools, which works over any engine. The context.md compiler moves here too.
  • tinymemory-integrations: everything that talks to the outside world, each part a module behind its own feature:
    • cortex (default), which also pulls in registry and config
    • documents and documents-office
    • sources and sources-network
    • safety
    • legacy-import

The tinymemory facade and seven separate crates are gone:

  • tinymemory-cortex
  • tinymemory-documents
  • tinymemory-sources
  • tinymemory-safety
  • tinymemory-context
  • tinymemory-import
  • tinymemory-conformance

Code that nothing called is deleted, duplicated paths are merged, and the whole engine is documented in a new docs/architecture/.

Rust lines go from 38,750 to 39,426. About 3.6k lines of dead or duplicated code were removed. About 3.2k were added for the new tool layer, roughly half of that tests.

Related issue

None.

API or behavior changes

Breaking. No host uses the current layout yet: openhuman and opencompany still vendor the v1.22 tree. Both will need a migration when they bump.

Facade removed. Hosts now depend on the three crates directly:

Before After
tinymemory::{build_engine, list_engines, MemoryConfig, EngineCredential, BearerSource, StaticBearer} tinymemory_integrations::… (the same names)
tinymemory::cortex/documents/sources/safety/import tinymemory_integrations::…
tinymemory::conformance tinymemory_api::conformance, behind the conformance feature
tinymemory::context tinymemory_tools::context

Feature renames. office is now documents-office and network is now sources-network. Hosts can still use the legacy-import feature, so the v1 TinyCortex → CortexDB path stays available for backwards compatibility.

Versioning. The version lives in the root [workspace.package], and release.yml bumps it there. Lints come from [workspace.lints].

New: tinymemory_tools::MemoryTools. It defines seven JSON-schema tools: memory_recall, memory_fetch, memory_list, memory_get, memory_explore, memory_store and memory_forget. Their names and schemas are frozen in tests/fixtures/tool_contracts.json.

  • The host fixes namespace and reach. If the model passes either one anywhere in its arguments, the call is refused.
  • Stored items always land at the host's namespace.
  • Forget by id only deletes ids that get can see under the reach.

New: import::migrate / migrate_with. They migrate a v1 workspace into any engine in store_many batches. A checkpoint is recorded after each batch, and on error the last committed checkpoint is returned, so a re-run replays instead of duplicating.

Removed with no callers:

  • sources: the host sources.toml editor (SourceRegistry, reconcile, validation, MemorySourcePatch); raw_kind; the GitHub raw-archive helpers; the Composio email markdown/clean modules; and unused extractors and now_ms copies.
  • api: Namespace::{parent, child, shared_ancestor}, Facet::ALL and SegmentKind::ALL. Internal helpers became private, and MAX_BUCKETS, MAX_GET_IDS and MAX_SCAN_LIMIT are now exported from the crate root.
  • cortex: CortexEngine::with_request_timeout. INSUFFICIENT_CREDITS_CODE is now crate-private.

Simplified:

  • cortex: a single store now runs through the store_many path. The old single path already waited until readable, so its guarantees are unchanged.
  • registry: build_engine relies on the engine's own endpoint security check, and its duplicated branches are gone.
  • sources: the web-page and RSS readers fetch through fetch_url, so the SSRF guard lives in one place with one IP classifier. They reuse documents::html for titles and entities, and return typed errors instead of strings.
  • safety: the module is split into policy/, sanitize/, pii/, markers/ and item/, with no behaviour change.

Small behaviour changes in sources:

  • The SSRF benchmarking range is now the full 198.18.0.0/15. The old code only blocked a /16, although its comment said /15.
  • An empty <title> falls back to the page URL.
  • Feed text now decodes numeric and named HTML entities.
  • fetch_url sends the readers' user agent.

Validation

Commands run in the worktree, with their outcome:

  • cargo fmt --all -- --check: clean
  • cargo clippy --all-targets --all-features -- -D warnings: clean
  • cargo build --all-targets --all-features: ok
  • cargo test --all-features: 932 passed, 0 failed
  • cargo test (default features): 273 passed, 0 failed
  • cargo clippy -p tinymemory-integrations --no-default-features --features <each of: none, cortex, documents, documents-office, sources, sources-network, safety, legacy-import> --all-targets -- -D warnings: all clean
  • RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features: clean
  • cargo run -p tinymemory-integrations --example basic: lists both engines, builds tinyhumans, refuses cortexdb without a credential
  • cargo tree -p tinymemory-api -e normal,build: no rusqlite, reqwest, regex or tokio

The live CortexDB tests (live_*) were not run, because they need a server. scripts/cortexdb-live.sh now points at -p tinymemory-integrations.

Tests

  • tools: 65 unit tests, 11 round-trip tests, 7 scoping tests and a frozen contract test (regenerate with BLESS_TOOL_CONTRACTS=1).
    • The scoping tests try to escape the reach: namespace in the arguments, reading a sibling node, forgetting a sibling's id.
  • legacy import: 8 migrate tests on a 250-item v1 fixture: a full run, an idempotent re-run, resuming from a checkpoint, the checkpoint callback, a failure on the first and on the Nth batch, an empty workspace, and a check that the future is Send.
  • cortex: a test that a single store is listed and settled on return, like a batch of one, on both wires.
  • Tests that covered only deleted code were deleted with it. The safety tests are unchanged at 180.

Documentation

  • New docs/architecture/ with these pages:
    • README, overview, api, api-items, operations, namespaces
    • cortex, cortex-wire, cortex-flows
    • tools, integrations, integrations-sources, testing
  • docs/specs/memory-v2.md is updated for the three-crate layout, with a new Tools section and migrate.
  • The root README.md is rewritten, and AGENTS.md's structure and release sections are updated.
  • New crate READMEs for tinymemory-api, tinymemory-tools and tinymemory-integrations. The cortex, documents, sources, safety and import module READMEs are refreshed.
  • Every Markdown file is ≤ 500 lines.

Points for reviewers (found during the audit, not changed here)

  1. Forget reaches shared memory. Under the default Reach::of(place), memory_forget can delete memory the agent shares with its team or the root. Confining forgets to Reach::exact(place) is a one-line change, if we want it.
  2. Segment collision. Segment::sanitized("") and Segment::sanitized("_") both produce _, which contradicts "distinct ids stay distinct".
  3. Filter with only a reach. A ForgetTarget::Filter that sets only reach is not treated as empty, so it forgets the whole reach. The tools guard against this; raw engine callers do not.
  4. IPv6 literals. Every IPv6 literal URL is refused by the SSRF guard, public ones included. This fails closed, but it is a limitation.
  5. User agent. The network readers still send the openhuman user agent.
  6. Out of scope: redesigning multi-scope recall (it builds one pack per scope and answers from the largest), the CSS selector and RSS parsers, and choosing a single GitHub transport.

Checklist

  • The change is focused on one logical change (simplifying the memory engine into three crates, with docs)
  • No new blanket #[allow(...)], #[ignore], or relaxed lints. There is one scoped #[allow(clippy::expect_used, reason = …)] on the safety regex helper, plus per-helper unwrap_used allows in tools integration-test helpers.
  • No secrets, tokens, or .env contents. The safety test fixtures are fake credential-shaped strings that were already on main.

senamakel and others added 30 commits October 4, 2026 13:33
Moved the source code from several standalone crates (tinymemory-conformance, tinymemory-cortex, tinymemory-documents, tinymemory-import, tinymemory-safety, tinymemory-sources, tinymemory-context, and parts of tinymemory) into the tinymemory-integrations crate, removing the now-empty source files from the original crates. This consolidation reduces the number of crates and simplifies the build graph by colocating related integration code.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The workspace contained several crates that were no longer depended on by any consumer, including the top-level `tinymemory` facade crate and its associated sub-crates for conformance, context, cortex, documents, import, safety, and sources. These crates were removed along with the facade's `lib.rs` to simplify the workspace and eliminate dead code that was not being built or tested.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Move shared package fields (version, edition, rust-version, license, repository, publish) and lint tables into `[workspace.package]` and `[workspace.lints]` so the three crates inherit them uniformly, and add the new `tinymemory-tools` crate to the workspace. The per-crate `Cargo.toml` files now use `workspace = true` for these fields and opt into the workspace lint table, eliminating duplication and ensuring a single version bump applies to all crates.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add the thiserror crate as a dependency to support the `context::Error` type, which is needed for error handling in the tools crate.

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

This change introduces the tinymemory-integrations crate with a comprehensive set of modules for document processing, source ingestion, safety policies, and Cortex integration. The crate provides the foundational architecture for handling various document formats, importing data from multiple sources, and managing memory storage operations.

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

Introduce a conformance testing framework for the tinymemory API, including a reference implementation, test suites for bulk operations, checks, exploration, fixtures, and namespaces, along with error handling and scoring modules. This provides a structured way to validate API behavior against a known reference.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Introduce the tinymemory-api crate with a basic Cargo.toml and lib.rs to establish the foundation for the memory API module. This provides the necessary scaffolding for future development of the API layer.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The error module was re-exporting the `Error` type from an incorrect path, causing compilation failures in dependent crates. This change updates the re-export to point to the correct location within the crate's module structure.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Renamed the `office` feature flag to `documents-office` and the `network` feature flag to `sources-network` across the tinymemory-integrations crate to avoid ambiguity and align with the crate's module naming conventions. The Cargo.lock was also updated to reflect the removal of several unused dependencies and version adjustments.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Removed the unused PII safety module and its re-export to clean up the codebase and eliminate dead code that was no longer referenced anywhere.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Replace nested `if let` blocks with the more concise let-chain syntax (`&& let`) throughout the composio sources, readers, safety, and registry modules. This change also adds a new `pattern` module to the safety crate and imports its `literal` function for use in PII redaction, improving code readability and reducing unnecessary nesting.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Replaced the separate filter and map calls with a single filter_map that directly converts ASCII digits to their numeric values, removing an unnecessary expect call and making the code more idiomatic.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Re-export the `BearerSource` and `StaticBearer` types from the `cortex` module under the `cortex` feature flag, making them available to downstream consumers of the crate.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Reorganised import statements to follow a consistent convention of grouping external crate imports before internal crate imports, and reformatted several multi-line expressions and chained method calls to improve readability without changing any runtime behaviour. This includes adjusting the layout of assert macros, regex pattern definitions, and conditional let-else blocks to reduce line lengths and align with project formatting standards.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…ture gates

Register a basic example and three integration tests, each gated behind the appropriate Cargo feature so they are only built when the required dependencies are available. This ensures the example and tests are exercised as part of the feature-specific compilation rather than unconditionally.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The test module now requires both the `documents-office` and `cortex` features to be enabled, preventing compilation failures when only one of them is available.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Updated the doc comment in the conformance module to use an intra-doc link (`crate::MemoryEngine`) instead of a fully qualified path, improving documentation consistency and making the link work correctly within the crate's documentation.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…ce-level versioning

The CI workflow was updated to test individual packages (tinymemory-integrations, tinymemory-api, tinymemory-tools) instead of the monolithic tinymemory crate, adding new matrix entries for api and tools packages while removing the context and conformance entries that are now covered by the api conformance test. The release workflow was changed to bump the workspace-level version in Cargo.toml rather than the facade crate's version, and now verifies the version update took effect across all workspace members.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Introduce new modules for processing composio email sources, including email cleaning functionality and markdown conversion. These additions enable structured handling of email content within the composio integration, with corresponding test modules to ensure correctness.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When the GitHub token is not set in the environment, the reader now returns an appropriate error instead of panicking or silently failing. This ensures clear feedback to users about missing configuration.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Introduce a new composio source module for tinymemory integrations, enabling data ingestion from composio services. This includes the source implementation and its registration in the sources module, along with corresponding test updates for the GitHub reader to validate the integration.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Update the AGENTS.md file to reflect the current workspace structure, which now has three crates instead of the previous facade-based layout. The new descriptions clarify the role of each crate and the rule against adding a fourth one, and the release workflow section is updated to point to the workspace-level version field.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Updated the description of how `unsafe` is forbidden to reflect the current workspace-level lint configuration, where the restriction is set in the root `Cargo.toml` via `[workspace.lints]` and inherited by each crate, rather than being configured per-crate.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
… and Notion sources

Removed several utility functions that were no longer called anywhere in the codebase, including `now_ms()`, `extract_user_id()`, `extract_workspace_ids()` from the ClickUp source, `extract_viewer()`, `extract_viewer_id()`, `extract_pagination_cursor()`, and `now_ms()` from the Linear source, and `extract_notion_cursor()` and `now_ms()` from the Notion source. These functions were left over from earlier iterations of the integration and their removal reduces dead code and maintenance burden.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Removed the `extract_user_login` and `now_ms` functions from the GitHub source module, as they were no longer used anywhere in the codebase.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Replaced deprecated or incorrect assertion macros in the ClickUp, GitHub, Linear, and Notion test files with the appropriate equivalents to ensure tests compile and run correctly.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The spec module import path was incorrect, causing a compilation error when building the tinymemory-tools crate. This change updates the path to point to the correct location within the crate's module hierarchy.

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

The clickup and linear source implementations now use optional field access with `and_then` and `unwrap_or_default` to gracefully handle missing or null fields in API responses, preventing panics when optional metadata like assignee names or status values are absent. This change also adds a test for the linear source to verify correct parsing of partial data.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…d parsing

Remove several public methods and constants that are no longer needed outside the crate, and replace the `SegmentKind::ALL` array lookup with a direct match expression for parsing. The `child`, `parent`, and `shared_ancestor` methods were unused externally, while `ancestors_and_self` and `is_within` are now crate-internal. The `MAX_DEPTH`, `MAX_SEGMENT_ID`, and `ROOT_LABEL` constants are also restricted to `pub(crate)` visibility.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
senamakel and others added 27 commits October 4, 2026 13:57
When a URL with an empty host is passed to the SSRF protection, the validation now correctly rejects it instead of panicking. This ensures that malformed URLs are handled gracefully and do not cause unexpected crashes.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add a new document explaining the architecture and usage of namespaces in the project, providing clarity for developers on how namespaces are structured and intended to be used.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Two doc comments in the context module were updated to accurately describe their scope: the token estimate function now refers to "every context budget" instead of "every budget in this crate", and the result alias is now described as belonging to the context module rather than the entire crate.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When the context is empty, the memory tools now return an appropriate response instead of panicking or producing undefined behavior. This ensures robust handling of edge cases where no context has been provided.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Updated the architecture documentation for the cortex component to provide a clearer explanation of its responsibilities and interactions with other system components, improving developer understanding of the system's design.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add the memory-v2 specification document to the docs directory and update the tinymemory-tools README to reference the new specification, providing a complete reference for the updated memory model.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Added README documentation for the import and sources modules within the tinymemory-integrations crate to clarify their purpose and usage for developers working with external data ingestion.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Added a paragraph to the safety module's README clarifying that no engine automatically scrubs items, so the host must invoke the scrub step explicitly in the write pipeline. This helps callers understand the integration contract without having to dig into the architecture docs.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add a link to the new architecture documentation directory in the docs README index, including a brief description of the topics covered in that section.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add a README file to the tinymemory-integrations crate to document how to use the integration examples and provide context for developers working with the crate.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Added a table row linking to the new cortex-wire.md and cortex-flows.md documents, which describe the CortexDB wire formats and step-by-step request flows, to complete the architecture documentation index.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Added a README file to the tinymemory-integrations crate to document how to use the library with various external systems and frameworks, providing users with clear guidance on integration patterns and usage examples.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add a new document covering the testing strategy and architecture for the project, providing guidance on test structure, tools, and best practices for contributors.

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

The README now describes the workspace as three crates split by dependency
concerns, introduces the agent tools that let a model use memory without
choosing whose memory it touches, and replaces the old feature table with
one scoped to the integrations crate. The quickstart example is updated to
show tool registration and invocation, and the migration section is restored
with a working example.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Update the v1 migration documentation to better describe how the `migrate` function works, explaining that it takes a checkpoint from a previous run and returns the new position, and clarify that `migrate_with` provides checkpoints for the host to persist.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Added a README file to document the cortex module within the tinymemory-integrations crate, providing users with an overview of its purpose and usage.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add default values for optional configuration fields in the Cortex integration to prevent panics when the configuration file omits certain keys. This change ensures that the system continues to operate with sensible defaults instead of failing on startup.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Updated the module-level documentation to remove an outdated reference to the re-exported error type, and reworded the `Result` type alias doc comment to accurately describe its scope as module-level rather than crate-wide.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The README now reflects the new crate and module paths after the `tinymemory-cortex` crate was renamed to `tinymemory-integrations` and its internal structure was reorganised, keeping the documentation accurate for developers running the live test harness.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Added a new architecture documentation file that describes the tools used in the project, providing clarity on the technology stack and development environment for contributors.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The documentation for the facet-count endpoint now explains that `total` refers to items admitted by the filter, `more_buckets` indicates values beyond the limit, and `truncated` means the engine stopped its scan early so counts are a lower bound.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…ts to integrations crate

Register the new office_live test in the tinymemory-integrations crate and update the live test script to run both live_cortexdb and office_live tests from the integrations crate instead of their previous locations, consolidating all live integration tests in one place.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Added a new documentation file covering the architecture of system integrations, providing a reference for how different components connect and interact within the system.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The table row for XLSX format contained unescaped pipe characters that were being interpreted as table delimiters, breaking the markdown table rendering. The pipes are now properly escaped with backslashes so they display as literal characters in the cell content.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
When a conversation has no messages, the reader now returns an empty result instead of panicking or producing undefined behavior. This ensures robustness when processing incomplete or empty conversation data.

Auto-committed-on: dragonfly
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Add a new architecture document describing the integration sources used in the system, covering their purpose and how they connect to the overall integration framework. This provides developers with a clear reference for understanding and extending the integration layer.

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

tinysweeper Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Tiny Sweeper review

⚠️ Review failed for dbcbdcacdacd. the review of #193 did not finish within 900s

@coderabbitai

coderabbitai Bot commented Oct 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 286 billable files and costs up to $71.50.

View limit details

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0512546b-4d69-4156-a581-811e02c76133
📥 Commits

Reviewing files that changed from the base of the PR and between 3637653 and dbcbdca.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (286)
  • .github/workflows/ci.yml
  • .github/workflows/release.yml
  • AGENTS.md
  • Cargo.toml
  • README.md
  • crates/tinymemory-api/Cargo.toml
  • crates/tinymemory-api/README.md
  • crates/tinymemory-api/src/conformance/error/mod.rs
  • crates/tinymemory-api/src/conformance/mod.rs
  • crates/tinymemory-api/src/conformance/reference/mod.rs
  • crates/tinymemory-api/src/conformance/reference/mod_tests.rs
  • crates/tinymemory-api/src/conformance/reference/score.rs
  • crates/tinymemory-api/src/conformance/reference/score_tests.rs
  • crates/tinymemory-api/src/conformance/suite/bulk.rs
  • crates/tinymemory-api/src/conformance/suite/checks.rs
  • crates/tinymemory-api/src/conformance/suite/explore.rs
  • crates/tinymemory-api/src/conformance/suite/fixtures.rs
  • crates/tinymemory-api/src/conformance/suite/mod.rs
  • crates/tinymemory-api/src/conformance/suite/namespaces.rs
  • crates/tinymemory-api/src/explore/mod.rs
  • crates/tinymemory-api/src/explore/mod_tests.rs
  • crates/tinymemory-api/src/lib.rs
  • crates/tinymemory-api/src/meta/filter.rs
  • crates/tinymemory-api/src/namespace/mod.rs
  • crates/tinymemory-api/src/namespace/mod_tests.rs
  • crates/tinymemory-api/tests/conformance_reference.rs
  • crates/tinymemory-conformance/Cargo.toml
  • crates/tinymemory-context/Cargo.toml
  • crates/tinymemory-cortex/Cargo.toml
  • crates/tinymemory-documents/Cargo.toml
  • crates/tinymemory-import/Cargo.toml
  • crates/tinymemory-import/src/error/mod.rs
  • crates/tinymemory-integrations/Cargo.toml
  • crates/tinymemory-integrations/README.md
  • crates/tinymemory-integrations/examples/basic.rs
  • crates/tinymemory-integrations/src/config/mod.rs
  • crates/tinymemory-integrations/src/config/mod_tests.rs
  • crates/tinymemory-integrations/src/cortex/README.md
  • crates/tinymemory-integrations/src/cortex/conformance_tests.rs
  • crates/tinymemory-integrations/src/cortex/credential/mod.rs
  • crates/tinymemory-integrations/src/cortex/credential/mod_tests.rs
  • crates/tinymemory-integrations/src/cortex/descriptor/mod.rs
  • crates/tinymemory-integrations/src/cortex/descriptor/mod_tests.rs
  • crates/tinymemory-integrations/src/cortex/engine/cursor.rs
  • crates/tinymemory-integrations/src/cortex/engine/cursor_tests.rs
  • crates/tinymemory-integrations/src/cortex/engine/engine_test_support.rs
  • crates/tinymemory-integrations/src/cortex/engine/fetch.rs
  • crates/tinymemory-integrations/src/cortex/engine/fetch_tests.rs
  • crates/tinymemory-integrations/src/cortex/engine/forget.rs
  • crates/tinymemory-integrations/src/cortex/engine/items.rs
  • crates/tinymemory-integrations/src/cortex/engine/list.rs
  • crates/tinymemory-integrations/src/cortex/engine/mod.rs
  • crates/tinymemory-integrations/src/cortex/engine/mod_direct_tests.rs
  • crates/tinymemory-integrations/src/cortex/engine/mod_hosted_tests.rs
  • crates/tinymemory-integrations/src/cortex/engine/mod_list_tests.rs
  • crates/tinymemory-integrations/src/cortex/engine/mod_tests.rs
  • crates/tinymemory-integrations/src/cortex/engine/recall.rs
  • crates/tinymemory-integrations/src/cortex/engine/recall_tests.rs
  • crates/tinymemory-integrations/src/cortex/engine/scopes.rs
  • crates/tinymemory-integrations/src/cortex/engine/scopes_tests.rs
  • crates/tinymemory-integrations/src/cortex/engine/store.rs
  • crates/tinymemory-integrations/src/cortex/engine/store_tests.rs
  • crates/tinymemory-integrations/src/cortex/envelope/labels.rs
  • crates/tinymemory-integrations/src/cortex/envelope/labels_tests.rs
  • crates/tinymemory-integrations/src/cortex/envelope/mod.rs
  • crates/tinymemory-integrations/src/cortex/envelope/mod_tests.rs
  • crates/tinymemory-integrations/src/cortex/envelope/rebuild.rs
  • crates/tinymemory-integrations/src/cortex/error/mod.rs
  • crates/tinymemory-integrations/src/cortex/error/mod_tests.rs
  • crates/tinymemory-integrations/src/cortex/log/forget.rs
  • crates/tinymemory-integrations/src/cortex/log/mod.rs
  • crates/tinymemory-integrations/src/cortex/log/read.rs
  • crates/tinymemory-integrations/src/cortex/log/visibility.rs
  • crates/tinymemory-integrations/src/cortex/log/write.rs
  • crates/tinymemory-integrations/src/cortex/mod.rs
  • crates/tinymemory-integrations/src/cortex/testing/log.rs
  • crates/tinymemory-integrations/src/cortex/testing/mod.rs
  • crates/tinymemory-integrations/src/cortex/testing/routes.rs
  • crates/tinymemory-integrations/src/cortex/transport/actor.rs
  • crates/tinymemory-integrations/src/cortex/transport/actor_tests.rs
  • crates/tinymemory-integrations/src/cortex/transport/body.rs
  • crates/tinymemory-integrations/src/cortex/transport/failure.rs
  • crates/tinymemory-integrations/src/cortex/transport/failure_tests.rs
  • crates/tinymemory-integrations/src/cortex/transport/mod.rs
  • crates/tinymemory-integrations/src/cortex/transport/mod_tests.rs
  • crates/tinymemory-integrations/src/cortex/transport/transport_test_support.rs
  • crates/tinymemory-integrations/src/documents/README.md
  • crates/tinymemory-integrations/src/documents/convert/mod.rs
  • crates/tinymemory-integrations/src/documents/convert/mod_tests.rs
  • crates/tinymemory-integrations/src/documents/convert/types.rs
  • crates/tinymemory-integrations/src/documents/error/mod.rs
  • crates/tinymemory-integrations/src/documents/error/mod_tests.rs
  • crates/tinymemory-integrations/src/documents/format/mod.rs
  • crates/tinymemory-integrations/src/documents/format/mod_tests.rs
  • crates/tinymemory-integrations/src/documents/format/ooxml.rs
  • crates/tinymemory-integrations/src/documents/format/ooxml_tests.rs
  • crates/tinymemory-integrations/src/documents/html/entity.rs
  • crates/tinymemory-integrations/src/documents/html/entity_tests.rs
  • crates/tinymemory-integrations/src/documents/html/mod.rs
  • crates/tinymemory-integrations/src/documents/html/mod_tests.rs
  • crates/tinymemory-integrations/src/documents/item/mod.rs
  • crates/tinymemory-integrations/src/documents/item/mod_tests.rs
  • crates/tinymemory-integrations/src/documents/language/mod.rs
  • crates/tinymemory-integrations/src/documents/language/mod_tests.rs
  • crates/tinymemory-integrations/src/documents/mod.rs
  • crates/tinymemory-integrations/src/documents/office/mod.rs
  • crates/tinymemory-integrations/src/documents/office/mod_tests.rs
  • crates/tinymemory-integrations/src/documents/office/normalize.rs
  • crates/tinymemory-integrations/src/documents/office/ooxml.rs
  • crates/tinymemory-integrations/src/documents/office/pdf.rs
  • crates/tinymemory-integrations/src/documents/office/xlsx.rs
  • crates/tinymemory-integrations/src/error/mod.rs
  • crates/tinymemory-integrations/src/import/README.md
  • crates/tinymemory-integrations/src/import/checkpoint/mod.rs
  • crates/tinymemory-integrations/src/import/checkpoint/mod_tests.rs
  • crates/tinymemory-integrations/src/import/convert/mod.rs
  • crates/tinymemory-integrations/src/import/convert/mod_tests.rs
  • crates/tinymemory-integrations/src/import/error/mod.rs
  • crates/tinymemory-integrations/src/import/items/mod.rs
  • crates/tinymemory-integrations/src/import/migrate/mod.rs
  • crates/tinymemory-integrations/src/import/mod.rs
  • crates/tinymemory-integrations/src/import/sections/chunks.rs
  • crates/tinymemory-integrations/src/import/sections/chunks_tests.rs
  • crates/tinymemory-integrations/src/import/sections/episodic.rs
  • crates/tinymemory-integrations/src/import/sections/memory_docs.rs
  • crates/tinymemory-integrations/src/import/sections/memory_docs_tests.rs
  • crates/tinymemory-integrations/src/import/sections/mod.rs
  • crates/tinymemory-integrations/src/import/sections/profile.rs
  • crates/tinymemory-integrations/src/import/workspace/mod.rs
  • crates/tinymemory-integrations/src/import/workspace/mod_tests.rs
  • crates/tinymemory-integrations/src/import/workspace/schema.rs
  • crates/tinymemory-integrations/src/lib.rs
  • crates/tinymemory-integrations/src/registry/mod.rs
  • crates/tinymemory-integrations/src/registry/mod_tests.rs
  • crates/tinymemory-integrations/src/safety/README.md
  • crates/tinymemory-integrations/src/safety/item/mod.rs
  • crates/tinymemory-integrations/src/safety/item/mod_tests.rs
  • crates/tinymemory-integrations/src/safety/markers/mod.rs
  • crates/tinymemory-integrations/src/safety/markers/mod_tests.rs
  • crates/tinymemory-integrations/src/safety/mod.rs
  • crates/tinymemory-integrations/src/safety/pattern/mod.rs
  • crates/tinymemory-integrations/src/safety/pii/checks.rs
  • crates/tinymemory-integrations/src/safety/pii/checks_tests.rs
  • crates/tinymemory-integrations/src/safety/pii/mod.rs
  • crates/tinymemory-integrations/src/safety/pii/mod_prefilter_tests.rs
  • crates/tinymemory-integrations/src/safety/pii/mod_tests.rs
  • crates/tinymemory-integrations/src/safety/pii/normalize.rs
  • crates/tinymemory-integrations/src/safety/pii/prefilter.rs
  • crates/tinymemory-integrations/src/safety/policy/mod.rs
  • crates/tinymemory-integrations/src/safety/sanitize/mod.rs
  • crates/tinymemory-integrations/src/safety/sanitize/mod_default_policy_tests.rs
  • crates/tinymemory-integrations/src/safety/sanitize/mod_tests.rs
  • crates/tinymemory-integrations/src/safety/sanitize/patterns.rs
  • crates/tinymemory-integrations/src/sources/README.md
  • crates/tinymemory-integrations/src/sources/composio/clickup/mod.rs
  • crates/tinymemory-integrations/src/sources/composio/clickup/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/composio/documents/mod.rs
  • crates/tinymemory-integrations/src/sources/composio/documents/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/composio/fields/mod.rs
  • crates/tinymemory-integrations/src/sources/composio/fields/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/composio/github/mod.rs
  • crates/tinymemory-integrations/src/sources/composio/github/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/composio/gmail_post_process/mod.rs
  • crates/tinymemory-integrations/src/sources/composio/gmail_post_process/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/composio/linear/mod.rs
  • crates/tinymemory-integrations/src/sources/composio/linear/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/composio/mod.rs
  • crates/tinymemory-integrations/src/sources/composio/notion/mod.rs
  • crates/tinymemory-integrations/src/sources/composio/notion/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/composio/slack_post_process/mod.rs
  • crates/tinymemory-integrations/src/sources/composio/slack_post_process/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/error/mod.rs
  • crates/tinymemory-integrations/src/sources/error/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/fetch/mod.rs
  • crates/tinymemory-integrations/src/sources/fetch/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/fetch/ssrf/mod.rs
  • crates/tinymemory-integrations/src/sources/fetch/ssrf/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/items/mod.rs
  • crates/tinymemory-integrations/src/sources/items/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/composio/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/composio/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/conversation/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/conversation/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/file/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/file/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/folder/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/folder/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/github/api/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/github/api/transport_override.rs
  • crates/tinymemory-integrations/src/sources/readers/github/api/transport_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/github/git/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/github/git/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/github/issues/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/github/issues/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/github/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/github/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/github/types.rs
  • crates/tinymemory-integrations/src/sources/readers/local_file/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/local_file/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/rss/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/rss/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/rss/types.rs
  • crates/tinymemory-integrations/src/sources/readers/web_page/mod.rs
  • crates/tinymemory-integrations/src/sources/readers/web_page/mod_tests.rs
  • crates/tinymemory-integrations/src/sources/readers/web_page/types.rs
  • crates/tinymemory-integrations/src/sources/types/mod.rs
  • crates/tinymemory-integrations/src/sources/types/mod_tests.rs
  • crates/tinymemory-integrations/tests/documents_office.rs
  • crates/tinymemory-integrations/tests/feature_surface.rs
  • crates/tinymemory-integrations/tests/legacy_import.rs
  • crates/tinymemory-integrations/tests/live_cortexdb.rs
  • crates/tinymemory-integrations/tests/office_live.rs
  • crates/tinymemory-integrations/tests/reader_dispatch.rs
  • crates/tinymemory-integrations/tests/support/mod.rs
  • crates/tinymemory-safety/Cargo.toml
  • crates/tinymemory-safety/src/default_policy_tests.rs
  • crates/tinymemory-safety/src/lib.rs
  • crates/tinymemory-sources/Cargo.toml
  • crates/tinymemory-sources/README.md
  • crates/tinymemory-sources/src/composio/clickup.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/helpers.rs
  • crates/tinymemory-sources/src/composio/linear.rs
  • crates/tinymemory-sources/src/raw_kind.rs
  • crates/tinymemory-sources/src/raw_kind_tests.rs
  • crates/tinymemory-sources/src/reconcile.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/validation.rs
  • crates/tinymemory-sources/src/validation_tests.rs
  • crates/tinymemory-tools/Cargo.toml
  • crates/tinymemory-tools/README.md
  • crates/tinymemory-tools/src/context/compile/mod.rs
  • crates/tinymemory-tools/src/context/compile/mod_tests.rs
  • crates/tinymemory-tools/src/context/compile/render.rs
  • crates/tinymemory-tools/src/context/compile/render_tests.rs
  • crates/tinymemory-tools/src/context/error/mod.rs
  • crates/tinymemory-tools/src/context/mod.rs
  • crates/tinymemory-tools/src/context/spec.rs
  • crates/tinymemory-tools/src/context/spec_tests.rs
  • crates/tinymemory-tools/src/lib.rs
  • crates/tinymemory-tools/src/tools/args/filter.rs
  • crates/tinymemory-tools/src/tools/args/filter_tests.rs
  • crates/tinymemory-tools/src/tools/args/mod.rs
  • crates/tinymemory-tools/src/tools/args/mod_tests.rs
  • crates/tinymemory-tools/src/tools/mod.rs
  • crates/tinymemory-tools/src/tools/mod_tests.rs
  • crates/tinymemory-tools/src/tools/read/mod.rs
  • crates/tinymemory-tools/src/tools/read/mod_tests.rs
  • crates/tinymemory-tools/src/tools/render/mod.rs
  • crates/tinymemory-tools/src/tools/render/mod_tests.rs
  • crates/tinymemory-tools/src/tools/spec/mod.rs
  • crates/tinymemory-tools/src/tools/spec/mod_tests.rs
  • crates/tinymemory-tools/src/tools/spec/schema.rs
  • crates/tinymemory-tools/src/tools/write/mod.rs
  • crates/tinymemory-tools/src/tools/write/mod_tests.rs
  • crates/tinymemory-tools/tests/fixtures/tool_contracts.json
  • crates/tinymemory-tools/tests/tool_contracts.rs
  • crates/tinymemory-tools/tests/tools_roundtrip.rs
  • crates/tinymemory-tools/tests/tools_scoping.rs
  • crates/tinymemory/Cargo.toml
  • crates/tinymemory/src/lib.rs
  • crates/tinymemory/src/registry/mod.rs
  • docs/README.md
  • docs/architecture/README.md
  • docs/architecture/api-items.md
  • docs/architecture/api.md
  • docs/architecture/cortex-flows.md
  • docs/architecture/cortex-wire.md
  • docs/architecture/cortex.md
  • docs/architecture/integrations-sources.md
  • docs/architecture/integrations.md
  • docs/architecture/namespaces.md
  • docs/architecture/operations.md
  • docs/architecture/overview.md
  • docs/architecture/testing.md
  • docs/architecture/tools.md
  • docs/specs/memory-v2.md
  • integration/cortexdb/README.md
  • scripts/cortexdb-live.sh
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@senamakel
senamakel merged commit 2c7cbbf into tinyhumansai:main Oct 4, 2026
18 of 19 checks passed
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