[PR #940] [MERGED] refactor(slurp2): final architecture and package proof (slice 10) #1202

Closed
opened 2026-10-21 05:05:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/940
Author: @Gunterlie
Created: 9/19/2026
Status: ✅ Merged
Merged: 9/19/2026
Merged by: @Gunterlie

Base: modular-simping ← Head: slurp2-slice10-final-architecture


📝 Commits (10+)

  • 7c2432e test(slurp2): report TS1xxx syntax diagnostics from the package typecheck
  • 2443ef4 wip(slurp2): slice 10 batch 1 leaf moves into base and modules
  • bdf8949 refactor(slurp2): move audience, discovery, world and settings leaves into slp
  • 0582ca1 refactor(slurp2): split the Noodle shell into base chrome and a chrome module
  • 9373d7a refactor(slurp2): split the shared Backstage kit out of the workflow grab-bag
  • 14fedbd refactor(slurp2): move the remaining sub-ceiling client files into slp
  • a455df8 refactor(slurp2): split the Projects destination into feature-owned files
  • 7b77f3d chore(slurp2): rebuild 0.0.33 and expose the maintenance improvement contract
  • 6cfbc43 chore(slurp2): prune split leftovers, route two source readers through the helper, rebuild
  • 5ea415d style(slurp2): format the retargeted chrome regression

📊 Changes

162 files changed (+3732 additions, -3227 deletions)

View changed files

📝 SLURP-MODULE-PLAN.md (+7 -0)
📝 SLURP-MODULE-STATUS.md (+284 -20)
➕ artifacts/slurp2-0.0.33.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/slurp2/CHANGELOG.md (+6 -0)
📝 packages/slurp2/client.js (+35 -36)
📝 packages/slurp2/docs/architecture/DECISIONS.md (+30 -0)
📝 packages/slurp2/docs/architecture/README.md (+5 -2)
📝 packages/slurp2/manifest.json (+3 -3)
➖ packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpBackstageWorkflow.tsx (+0 -1717)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpCreatorPostCard.tsx (+7 -7)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpCreatorProfileEditor.tsx (+1 -1)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpHome.tsx (+19 -18)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpMessages.tsx (+4 -4)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpOnboardingPanel.tsx (+2 -2)

...and 80 more files

📄 Description

Closes #939. Targets modular-simping, not staging.

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

Why

The refactor is only safe to release once its boundaries are enforced by a check that cannot pass vacuously. Until this slice, the architecture regression only inspected files already moved into an slp root, so the ~31,000 lines still sitting in packages/client/src/components/slurp/ were invisible to every dependency, naming, and size rule. This slice moves that source in, then removes the migration accommodation so the rules apply to the whole package.

It also closes a gate that was actively lying. A file that fails to parse produces only TS1xxx diagnostics, so scripts/typecheck-packages.mjs reported it clean while every undefined name inside it went unmentioned — Slice 9 shipped past this with an unbalanced JSX fragment.

Approved scope decisions (2026-09-19)

Re-deriving the tree from 14d27b4d showed the plan bullets and the acceptance criteria disagreed. Two decisions were taken explicitly:

  1. Full ownership completion in this slice rather than a Slice 11.
  2. packages/server/src/db/schema/slurp.ts becomes a permanent sixth ownership exception, because it is co-owned by the frozen legacy Slurp package and moving it would rewrite legacy table registration. Plan §5 is corrected.

Preservation

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.

Validation

Recorded with evidence in SLURP-MODULE-STATUS.md. Draft until validation and self-review are complete.

Human verification

  • Architecture regression passes with no temporary allowlist
  • Route and storage preservation proofs pass
  • Generated outputs are builder-produced and internally consistent
  • Package lifecycle proof reviewed
  • Desktop, tablet, and mobile layouts reviewed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/940 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/19/2026 **Status:** ✅ Merged **Merged:** 9/19/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `modular-simping` ← **Head:** `slurp2-slice10-final-architecture` --- ### 📝 Commits (10+) - [`7c2432e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7c2432e1afd2c8b3b1d748ce80328d915fbe6707) test(slurp2): report TS1xxx syntax diagnostics from the package typecheck - [`2443ef4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2443ef430bfaf91194f2bbd58d33446ad783067d) wip(slurp2): slice 10 batch 1 leaf moves into base and modules - [`bdf8949`](https://github.com/Pasta-Devs/Marinara-Agents/commit/bdf8949c34d1dfef80b140bd4e94396ad21e009f) refactor(slurp2): move audience, discovery, world and settings leaves into slp - [`0582ca1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0582ca1f94a567e8a639ed3d83a854472e914dff) refactor(slurp2): split the Noodle shell into base chrome and a chrome module - [`9373d7a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9373d7a3d3c85e0bca460129422fa43c40f1128e) refactor(slurp2): split the shared Backstage kit out of the workflow grab-bag - [`14fedbd`](https://github.com/Pasta-Devs/Marinara-Agents/commit/14fedbdee079d251359cfb94c01b9a769ad20024) refactor(slurp2): move the remaining sub-ceiling client files into slp - [`a455df8`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a455df890997c35d4b0a341e8b55ffb5ac9f6c94) refactor(slurp2): split the Projects destination into feature-owned files - [`7b77f3d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7b77f3d884c0c4e1e1f9b2aa2166d81de0f6fd1a) chore(slurp2): rebuild 0.0.33 and expose the maintenance improvement contract - [`6cfbc43`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6cfbc4365a29d18b11390686cfe9a6780cb3c3cc) chore(slurp2): prune split leftovers, route two source readers through the helper, rebuild - [`5ea415d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5ea415d367ba63d8171116fef5a20b159ac8b4a0) style(slurp2): format the retargeted chrome regression ### 📊 Changes **162 files changed** (+3732 additions, -3227 deletions) <details> <summary>View changed files</summary> 📝 `SLURP-MODULE-PLAN.md` (+7 -0) 📝 `SLURP-MODULE-STATUS.md` (+284 -20) ➕ `artifacts/slurp2-0.0.33.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/slurp2/CHANGELOG.md` (+6 -0) 📝 `packages/slurp2/client.js` (+35 -36) 📝 `packages/slurp2/docs/architecture/DECISIONS.md` (+30 -0) 📝 `packages/slurp2/docs/architecture/README.md` (+5 -2) 📝 `packages/slurp2/manifest.json` (+3 -3) ➖ `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpBackstageWorkflow.tsx` (+0 -1717) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpCreatorPostCard.tsx` (+7 -7) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpCreatorProfileEditor.tsx` (+1 -1) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpHome.tsx` (+19 -18) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpMessages.tsx` (+4 -4) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpOnboardingPanel.tsx` (+2 -2) _...and 80 more files_ </details> ### 📄 Description Closes #939. Targets `modular-simping`, not `staging`. Final structural slice of the Slurp modular refactor (`SLURP-MODULE-PLAN.md` §7.10). ## Why The refactor is only safe to release once its boundaries are enforced by a check that cannot pass vacuously. Until this slice, the architecture regression only inspected files already moved into an `slp` root, so the ~31,000 lines still sitting in `packages/client/src/components/slurp/` were invisible to every dependency, naming, and size rule. This slice moves that source in, then removes the migration accommodation so the rules apply to the whole package. It also closes a gate that was actively lying. A file that fails to parse produces only TS1xxx diagnostics, so `scripts/typecheck-packages.mjs` reported it clean while every undefined name inside it went unmentioned — Slice 9 shipped past this with an unbalanced JSX fragment. ## Approved scope decisions (2026-09-19) Re-deriving the tree from `14d27b4d` showed the plan bullets and the acceptance criteria disagreed. Two decisions were taken explicitly: 1. **Full ownership completion** in this slice rather than a Slice 11. 2. **`packages/server/src/db/schema/slurp.ts` becomes a permanent sixth ownership exception**, because it is co-owned by the frozen legacy Slurp package and moving it would rewrite legacy table registration. Plan §5 is corrected. ## Preservation 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. ## Validation Recorded with evidence in `SLURP-MODULE-STATUS.md`. Draft until validation and self-review are complete. ## Human verification - [ ] Architecture regression passes with no temporary allowlist - [ ] Route and storage preservation proofs pass - [ ] Generated outputs are builder-produced and internally consistent - [ ] Package lifecycle proof reviewed - [ ] Desktop, tablet, and mobile layouts reviewed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:05:24 +07:00
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#1202
No description provided.