Uncap the open-source engine + event-time/bi-temporal ingest - #2
Merged
Conversation
Mirrors the engine fix: `occurred_at` on ObserveRequest, the MCP memory_save/memory_observe tools, and the CLI (--occurred-at), so a back-dated observe lands on `valid_from` rather than being stamped with ingest time. Without it, importing historical data produced behavior patterns describing the import run instead of the events. Also exposes `offset` on the memory_list MCP tool — the handler already honored it, but it was missing from the input schema, so agents had no way to know they could page. Carries the in-progress temporal/storage work already staged in the tree. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The local engine defaulted to a 500-memory write cap (lifted only when connected to the hosted SaaS) — an inverted incentive for an Apache-2.0 project and unenforceable in open source anyway. Flip the default to unlimited while keeping the enforcement mechanism intact so commercial embedders (desktop plan tiers, hosted SaaS) can still opt into a cap via a signed license claim or a positive free_tier.entry_cap. - DEFAULT_FREE_TIER_CAP: 500 -> 0 (0 = unlimited) - FREE_TIER_MEMORY_CAP: 500 -> u64::MAX (maps to None in License::cap) - effective_cap: None unless a positive cap is explicitly configured - ignore runtime fastembed model cache Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings
maincurrent for the public release.Changes
7d34deb): the local engine defaulted to a 500-memory write cap (lifted only when connected to the hosted SaaS) — an inverted incentive for an Apache-2.0 project, and unenforceable in open source. Default is now unlimited; the enforcement mechanism stays intact so commercial embedders (desktop tiers, hosted SaaS) can still opt in via a signed license claim or a positivefree_tier.entry_cap.0a535af): record when an observation happened in the world vs when it was stored.Verification
cargo checkcleanmemory-license19/19,memory-core17/17 tests green🤖 Generated with Claude Code