mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1432] [MERGED] chore(long-term-memory): split server routes.ts by area (1.4.43) #1459
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#1459
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/1432
Author: @Promansis
Created: 10/16/2026
Status: ✅ Merged
Merged: 10/16/2026
Merged by: @Promansis
Base:
staging← Head:chore(long-term-memory)/1419-routes-split📝 Commits (2)
8ddb5ccchore(long-term-memory): split server routes.ts by area (#1419)b2b1356Merge upstream/staging into chore(long-term-memory)/1419-routes-split; release long-term-memory 1.4.43📊 Changes
21 files changed (+1880 additions, -1730 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.43.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/docs/ARCHITECTURE.md(+4 -2)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/server.mjs(+57 -57)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes.ts(+12 -1630)➕
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes/drafts.ts(+192 -0)➕
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes/imports.ts(+83 -0)➕
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes/maintenance.ts(+309 -0)➕
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes/notes.ts(+962 -0)➕
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes/settings.ts(+60 -0)➕
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes/shared.ts(+89 -0)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-routes.regression.ts(+67 -0)...and 1 more files
📄 Description
Pull request
Linked issue
Closes #1419
Why this change
All 56 Long-Term Memory endpoints and about 470 lines of request schemas lived in one 1,635-line
routes.ts. Every server change to notes, drafts, imports, maintenance or settings touched that file, which made reviews large and parallel work conflict. This splits it by area as a pure move, with no behaviour change.What changed
long-term-memory1.4.43 (patch). Rebuiltserver.mjs,artifacts/long-term-memory-1.4.43.zip, manifest and catalog entries.rebuildAfterMutationbecoming a function that takesroot.tests/long-term-memory-routes.regression.tsnow pins the sorted list of 56 method and path pairs through anonRoutehook. It passed on the unsplit file before the move.tests/long-term-memory-source-paths.mjspoints the loading regression atroutes/notes.ts, where/scope-targetsand/local-charactersnow live.docs/ARCHITECTURE.mddescribes the new layout./scope-targetslogic into a service, deeper folders.Package and security impact
long-term-memoryengine.min/engine.maxExclusiveunchangedValidation
Run locally on the pushed HEAD, with
MARINARA_ENGINE_ROOTset (these are my results, not ticked boxes):test-ltm.sh all(includes routes, routes-*, runtime, storage, loading, installation, engine-fields),npm run check(0 errors),git diff --check,node scripts/typecheck-packages.mjs long-term-memoryvalidate-catalog.mjs,test-catalog-lanes.mjs,validate-package-locales.mjs,tests/catalog-release-notes.regression.mjsnode scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyRebuilt every affected manifest, payload, artifact, and catalog entry
Installed or updated the affected package through Marinara Engine
Checked supported modes, restart behavior, and uninstall cleanup
Read and followed
CONTRIBUTING.mdManual verification notes
Documentation impact
Merge danger
Door: two-way. Revert restores the single file.
Blast radius: LTM server routes only. A missed or renamed route would break the LTM screens, which the 56-route pin and the routes regression catch. The routes regression does not run in CI yet (#1414), so it was run locally.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.