[GH-ISSUE #924] Slurp2 refactor slice 5: server services, contracts, and workflows #484

Closed
opened 2026-10-20 17:27:58 +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/924

Originally assigned to: @Gunterlie on GitHub.

Slice 5 of the Slurp2 modular refactor (parent #914). Plan: SLURP-MODULE-PLAN.md §7 "5. Server services, contracts, and workflows". Target branch: modular-simping.

Scope

  • Move the Slurp2 server service files (services/slurp/, 147 live files plus one Slice 4 duplicate) into packages/server/src/slp/, renamed to slp-*.
  • Maintainer-approved layer change: server layers become base <- modules <- data <- features <- workflows <- entry (pure rules in modules/, persistence in data/).
  • Add feature contracts only for existing cross-feature calls; workflows import contracts only.
  • Split the three service files above 800 lines along domain boundaries.
  • Keep Garnish separate; the six Slurp adapters live in features/ads/.
  • Restore two Slice 4 regressions found by the Slice 5 build (profile-tip payment helpers undefined at runtime; per-instance in-flight message state).
  • Rebuild Slurp2 as integration version 0.0.28.

Out of scope

Slice 6 (event and modifier seam) and all client work.

Human verification

  • Review the layer change in packages/slurp2/docs/architecture/DECISIONS.md
  • Live install/update/restart of 0.0.28 on a dev Engine
  • Profile tip with the wallet enabled succeeds
Originally created by @Gunterlie on GitHub (Sep 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/924 Originally assigned to: @Gunterlie on GitHub. Slice 5 of the Slurp2 modular refactor (parent #914). Plan: `SLURP-MODULE-PLAN.md` §7 "5. Server services, contracts, and workflows". Target branch: `modular-simping`. ## Scope - Move the Slurp2 server service files (`services/slurp/`, 147 live files plus one Slice 4 duplicate) into `packages/server/src/slp/`, renamed to `slp-*`. - Maintainer-approved layer change: server layers become `base <- modules <- data <- features <- workflows <- entry` (pure rules in `modules/`, persistence in `data/`). - Add feature contracts only for existing cross-feature calls; workflows import contracts only. - Split the three service files above 800 lines along domain boundaries. - Keep Garnish separate; the six Slurp adapters live in `features/ads/`. - Restore two Slice 4 regressions found by the Slice 5 build (profile-tip payment helpers undefined at runtime; per-instance in-flight message state). - Rebuild Slurp2 as integration version `0.0.28`. ## Out of scope Slice 6 (event and modifier seam) and all client work. ## Human verification - [ ] Review the layer change in `packages/slurp2/docs/architecture/DECISIONS.md` - [ ] Live install/update/restart of `0.0.28` on a dev Engine - [ ] Profile tip with the wallet enabled succeeds
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#484
No description provided.