mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1536
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1539
Author: @Promansis
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @Promansis
Base:
staging← Head:chore(long-term-memory)/schema-split📝 Commits (2)
fab5bb2chore(long-term-memory): split the shared schema file into ten area files (#1536)d11d928Merge upstream/staging into chore(long-term-memory)/schema-split; release long-term-memory 1.4.72📊 Changes
25 files changed (+3573 additions, -3420 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.72.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/client.js(+24 -24)📝
packages/long-term-memory/docs/ARCHITECTURE.md(+20 -0)📝
packages/long-term-memory/manifest.json(+5 -5)📝
packages/long-term-memory/server.mjs(+64 -64)📝
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/constants.ts(+2 -2)📝
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema.ts(+10 -3282)➕
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema/backup.ts(+46 -0)➕
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema/debug.ts(+60 -0)➕
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema/drafts.ts(+604 -0)➕
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema/identity.ts(+210 -0)➕
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema/indexes.ts(+369 -0)➕
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema/notes.ts(+735 -0)...and 5 more files
📄 Description
Pull request
Linked issue
Closes #1536
Why this change
What changed
schema.tsbecomes a barrel that re-exports ten area files underschema/(primitives,settings,debug,recall,notes,indexes,identity,drafts,sources,backup), so every importer keeps its specifier.constants.tsreads its four types fromschema/primitivesinstead, which removes the type-only cycle betweenconstantsandschema.schema.tsby symbol name, writes it unchanged into its part in a fixed order (each part imports only from earlier parts, so every schema is defined before use and the parts cannot form a cycle), adds the imports each part needs, and runs Prettier on the touched files. A second script compared every moved statement with the unsplit file: 377 of 377 verbatim, ignoring an addedexport. A third found no unresolved import and no value cycle. Seven names that used to be file-private are now exported from their part:LTM_EXTRACTION_MODES,ltmStringRecordSchema,ltmIdentifierSchema,hasLocalCharacterSubject,allowedStoredNoteIdPrefixes,ltmPoliciesConfigSchema,ltmRetrievalConfigSchema.docs/ARCHITECTURE.mdlists the new folder and what each file defines; the changelog notes the internal change.long-term-memory1.4.72 on staging5ed4568e3, with the CHANGELOG entry, version, manifest, rebuiltserver.mjsandclient.js, artifact and catalog entries.Package and security impact
long-term-memoryzodimportsValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
5984f0784): the strict package typecheck (the ten new files are in its scope),npm run check, the package build, the missing-tsc typecheck regression and every Long-Term Memory regression suite pass. On the release head: the package rebuild leaves the tree clean, the catalog, locale and release-notes checks and the typecheck pass, and the storage, routes and installation suites pass. Hosted CI runs the full suite list on this head.server.mjs+554 bytes (oneimport { z } from "zod"per part, since zod is external in the server build),client.js+36 bytes (module order only).Documentation impact
UI evidence (if applicable)
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.