[GH-ISSUE #939] Slurp2 modular refactor slice 10: final architecture and package proof #492

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

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

Originally assigned to: @Gunterlie on GitHub.

Final structural slice of the Slurp modular refactor (SLURP-MODULE-PLAN.md §7.10). Targets the modular-simping integration branch.

Scope

  • Report TS1xxx syntax diagnostics from scripts/typecheck-packages.mjs, proven with a fixture whose only defect is a syntax error.
  • Move every remaining live file out of packages/client/src/components/slurp/ into the slp roots, splitting the eight files that exceed the 800-line ceiling.
  • Move the Backstage migration debt out of SlurpBackstageWorkflow.tsx into slp/modules/.
  • De-duplicate the focusRing/quietButton constants Slice 9 left in three places.
  • Bring slurp2OwnedSourcePaths to its final list; leave slurpOwnedSourcePaths untouched.
  • Remove temporary migration accommodations from tests/slurp2-architecture.regression.ts.
  • Review tests/slurp2-source.ts and rebuild the package as one generated unit.

Approved scope decisions (2026-09-19)

Re-deriving the tree from the Slice 9 merge commit 14d27b4d showed the plan bullets and the slice acceptance criteria disagreed: 44 live files (~31,000 lines) plus server/src/db/schema/slurp.ts still sit outside the slp roots, and eight exceed the size ceiling. Two decisions were taken explicitly rather than silently:

  1. Full ownership completion in this slice, rather than deferring the client moves to a Slice 11.
  2. packages/server/src/db/schema/slurp.ts becomes a permanent sixth ownership exception. It is co-owned by the frozen legacy Slurp package; moving it would rewrite legacy table registration, which the plan forbids. Plan §5 is corrected to six entries.

Invariants

No change to the 179 HTTP routes, the 179 public storage method names, slurp2_* tables, persisted noodle* identifiers, ui.slurp.* locale keys, subscription semantics, platform-event defaults, package identity, or permissions. No blanket Noodle rename, no new product behaviour, no UI redesign.

Originally created by @Gunterlie on GitHub (Sep 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/939 Originally assigned to: @Gunterlie on GitHub. Final structural slice of the Slurp modular refactor (`SLURP-MODULE-PLAN.md` §7.10). Targets the `modular-simping` integration branch. ## Scope - Report TS1xxx syntax diagnostics from `scripts/typecheck-packages.mjs`, proven with a fixture whose only defect is a syntax error. - Move every remaining live file out of `packages/client/src/components/slurp/` into the `slp` roots, splitting the eight files that exceed the 800-line ceiling. - Move the Backstage migration debt out of `SlurpBackstageWorkflow.tsx` into `slp/modules/`. - De-duplicate the `focusRing`/`quietButton` constants Slice 9 left in three places. - Bring `slurp2OwnedSourcePaths` to its final list; leave `slurpOwnedSourcePaths` untouched. - Remove temporary migration accommodations from `tests/slurp2-architecture.regression.ts`. - Review `tests/slurp2-source.ts` and rebuild the package as one generated unit. ## Approved scope decisions (2026-09-19) Re-deriving the tree from the Slice 9 merge commit `14d27b4d` showed the plan bullets and the slice acceptance criteria disagreed: 44 live files (~31,000 lines) plus `server/src/db/schema/slurp.ts` still sit outside the `slp` roots, and eight exceed the size ceiling. Two decisions were taken explicitly rather than silently: 1. **Full ownership completion** in this slice, rather than deferring the client moves to a Slice 11. 2. **`packages/server/src/db/schema/slurp.ts` becomes a permanent sixth ownership exception.** It is co-owned by the frozen legacy Slurp package; moving it would rewrite legacy table registration, which the plan forbids. Plan §5 is corrected to six entries. ## Invariants No change to the 179 HTTP routes, the 179 public storage method names, `slurp2_*` tables, persisted `noodle*` identifiers, `ui.slurp.*` locale keys, subscription semantics, platform-event defaults, package identity, or permissions. No blanket Noodle rename, no new product behaviour, no UI redesign.
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#492
No description provided.