[GH-ISSUE #918] refactor(slurp2): split server storage into feature modules (slice 4) #483

Closed
opened 2026-10-20 17:27:57 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Gunterlie on GitHub (Sep 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/918

Originally assigned to: @Gunterlie on GitHub.

Why

createSlurpStorage is the remaining Slurp2 server storage monolith. Slice 4 moves its storage facets and satellite storage into feature-owned server/src/slp/features/ modules while preserving the public storage API and persisted data contracts.

Scope

  • Split slurp.storage.ts and its ten satellite storage files into feature-owned storage facets.
  • Compose one createSlurpStorage(db) object with the exact previous public method-name set.
  • Preserve transactions, duplicate-key behavior, authorization, validation, cleanup, ordering, pagination, tables, columns, and serialized values.
  • Keep settings schema/defaults and legacy prompt defaults together.
  • Add focused method-set, facet behavior, transaction, persisted-name, authorization, and cleanup regressions.
  • Rebuild Slurp2 as the next integration-only patch version.

Part of #914. Targets the modular-simping integration branch. Slice 5 is out of scope.

Originally created by @Gunterlie on GitHub (Sep 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/918 Originally assigned to: @Gunterlie on GitHub. ## Why `createSlurpStorage` is the remaining Slurp2 server storage monolith. Slice 4 moves its storage facets and satellite storage into feature-owned `server/src/slp/features/` modules while preserving the public storage API and persisted data contracts. ## Scope - Split `slurp.storage.ts` and its ten satellite storage files into feature-owned storage facets. - Compose one `createSlurpStorage(db)` object with the exact previous public method-name set. - Preserve transactions, duplicate-key behavior, authorization, validation, cleanup, ordering, pagination, tables, columns, and serialized values. - Keep settings schema/defaults and legacy prompt defaults together. - Add focused method-set, facet behavior, transaction, persisted-name, authorization, and cleanup regressions. - Rebuild Slurp2 as the next integration-only patch version. Part of #914. Targets the `modular-simping` integration branch. Slice 5 is out of scope.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#483
No description provided.