release: Memmy v1.1.4 - #382
Merged
Merged
Conversation
# Conflicts: # App/backend/src/infrastructure/memmy-config/index.ts # App/backend/src/infrastructure/memmy-config/tests/account-model-projection.test.ts
fix: memory scan
Collaborator
Author
|
Project Harness review handoff marker. Only reviews submitted strictly after this GitHub timestamp qualify. |
splitTurn cut a turn on every blank line without repacking, so a single agentic turn fanned out into hundreds of near-empty tool-call fragments (one observed turn produced 640 parts, 639 of them a 67-character "Tool calls: - tool_1"). A codex scan of 1,000 selected turns wrote 19,413 memories. Restore one turn == one memory. Oversized turns are now clipped on a UTF-8 boundary via renderTurnClipped so the add-memory request stays under the wire limit instead of inventing extra memories. Both ingest call sites (memory runtime and desktop backend) use the same helper and keep the pre-split legacyTurnRequestId / legacyTurnId idempotency keys, so watermarks and dedup stay aligned with pre-4eea5f52 memories. Also bundles AgentSourceCore/dist into the packaged memory runtime and rewrites workspace deps to file: with --install-links, so the packaged runtime can resolve @memmy/agent-source-core. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
fix(scan): keep one agent-source turn as one memory
Collaborator
Author
|
Project Harness review handoff marker. Only reviews submitted strictly after this GitHub timestamp qualify. |
syzsunshine219
marked this pull request as ready for review
September 8, 2026 13:43
syzsunshine219
requested review from
Wang-Daoji,
ZongYue99,
hijzy and
wustzdy
as code owners
September 8, 2026 13:43
Merged
This branch was successfully deployed
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.
Prepare Memmy 1.1.4, with bundled Memory, viewer and CLI 2.1.2, against the published v1.1.3 baseline
1807e3a5.Agent-history scans preserve installation-scoped checkpoints and deduplication across account changes, respect incremental turn boundaries, and store each turn as one memory. Tool-heavy exchanges no longer fan out into many small memories. Oversized content is truncated at UTF-8 boundaries; both the 512 KiB raw-content limit and a 1 MiB JSON-string limit are enforced so escaped control characters cannot overflow Memory's 2 MiB HTTP body limit.
Account mode applies its dedicated Memory models and clears stale BYOK connections while preserving local embedding selection. The
process.pkgSQLite path uses content-addressed, verified, atomically published native assets. macOS runtime staging resolves the local AgentSourceCore dependency into a real installed directory that remains loadable after the runtime is moved away from the source checkout. English and Chinese release notes describe these changes and the truncation behavior.Validation is bound to candidate
e967fc3bf7b2b3112c104aedbdc93a491d6030a0:1807e3a5explicitly supplied. Nine checks executed; changed ESLint, the dedicated local-API matrix and renderer/interface assertions were conditionally not applicable.request body is too large; the bounded request now succeeds. The production storage service is replaced by an isolated fixture in that test.--install-links. Those assertions now require the flag; the focused boundary suite and subsequent complete Full pass. Both the failed and successful runs are retained in the local evidence package.current=true.Release handoff: the packaging machines must build and accept Windows x64 CN/INTL and macOS arm64 CN/INTL signed installers from this exact candidate. After the four versioned assets are ready and the independent release review passes, merging
release/v1.1.4intomaintriggers the existing full Draft Release preflight. Review the Draft notes, installers and checksums before publishing; publication triggers the Linux release upload. Local source tests, simulated pkg loading and Windows temporary-task checks do not substitute for signed-package installation acceptance.