mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #954] [MERGED] Slurp2 slice 12: slurp2 owns its vocabulary #1213
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#1213
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/954
Author: @Gunterlie
Created: 9/19/2026
Status: ✅ Merged
Merged: 9/19/2026
Merged by: @Gunterlie
Base:
staging← Head:slurp2-slice12-own-vocabulary📝 Commits (6)
775c08afix(slurp2): drop the leftover Noodle mention from the wizard intro copya41c8e4refactor(slurp2): own the social vocabulary instead of borrowing the Engine Noodle names5ba3d6crefactor(slurp2): rename the Slurp2-internal Noodle identifiers73be21drelease(slurp2): publish 0.1.12ee471dtest(slurp2): follow the renamed vocabulary in the source-reading regressions and ship 0.1.1 notes986cb00fix(slurp2): send SwarmUI prompt images and LoRAs without a custom workflow📊 Changes
303 files changed (+7152 additions, -5074 deletions)
View changed files
➕
artifacts/slurp2-0.1.1.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/slurp2/CHANGELOG.md(+7 -0)📝
packages/slurp2/client.js(+34 -34)📝
packages/slurp2/docs/architecture/DECISIONS.md(+42 -0)➕
packages/slurp2/docs/architecture/slurp2-owned-vocabulary.json(+192 -0)➕
packages/slurp2/docs/architecture/slurp2-vocabulary-rename-map.json(+204 -0)📝
packages/slurp2/manifest.json(+5 -5)📝
packages/slurp2/server.mjs(+256 -256)📝
packages/slurp2/src/engine/packages/client/src/slp/app/SlpHomeHost.tsx(+22 -22)📝
packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpHomeCreatorFlow.tsx(+27 -23)📝
packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpHomeDestinations.tsx(+11 -11)📝
packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpHomeHelpers.tsx(+49 -47)📝
packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpHubDiscover.tsx(+2 -2)📝
packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpProfileModals.tsx(+4 -4)...and 80 more files
📄 Description
Pull request
Linked issue
Closes #953
Why this change
slurp2_*rows and its own/api/slurp2payloads. The package could not build without the Engine's Noodle vocabulary, and its own user-visible copy still said Noodle where Slurp was meant.sources/engine/, and that snapshot predated the fix, so LoRAs and prompt images were silently dropped for every Slurp user.What changed
packages/shared/src/slp/root, renamedNoodle->SlpandNoodler->SlpCreator. No re-export shim, no alias back to the old name.useNoodler*hooks, the shell and chrome components, and the Drizzle symbols.slurp2-owned-vocabularyandslurp2-vocabulary-shape.0.1.0->0.1.1with matchingpackages/slurp2/CHANGELOG.mdand splash entries. Generated payloads, manifest, artifact and all three catalog lanes rebuilt by the builder.slurp2only.packages/slurp/,packages/noodle/and the rest ofsources/engine/have zero diff againststaging.Package and security impact
slurp2engine.minstays2.4.5,engine.maxExclusivestays4.0.0.slurp2_*table and column, stored JSON key, storage key, settings key, locale key, route path and theplatformvalue"noodler"is untouched. Proof: the multiset of string literals across the package source has zero removals.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run results, for the reviewer to confirm. The boxes above are deliberately left unticked.
npm run checkstaging)node scripts/typecheck-packages.mjs slurp2npm run test:noodle:regressionsstagingbaseline. No new failurenpm run test:browser:slurp2stagingbaseline. No new failure. CI job is red; see Browser suitenode scripts/test-catalog-lanes.mjsnode scripts/validate-package-locales.mjsnode scripts/validate-package-locale-keys.mjsnode scripts/validate-catalog.mjsnode scripts/tests/catalog-release-notes.regression.mjsgit diff --checkLive verification on a real Engine, by sideload over a running
0.1.0with real data:0.1.0->0.1.1. Container restarted and came up healthy; registry showsslurp2 0.1.1 enabled.slurp2_accounts, 285 inslurp2_posts, allslurp2_*tables present./api/slurp2/settingsand/api/slurp2/noodler/accountsboth answer 403, the auth guard, not 404. The/noodler/*paths are intact.slurp_*and 35noodle*tables intact,noodle 1.2.23still enabled.server.mjs.Documentation impact
Note for the reviewer:
packages/slurp2/docs/architecture/DECISIONS.mdgains the slice 12 entry, and the type classification is committed asslurp2-vocabulary-rename-map.jsonandslurp2-owned-vocabulary.json.UI evidence (if applicable)
No UI change. The only rendered difference is one wizard sentence and one validation message, both listed under Part 1.
Detail
Part 1 — user-visible copy
Only four locale values in the four Slurp2 catalogs mention Noodle. Three name Noodle the separate app on purpose and are unchanged.
ui.noodle.noodlerwizard.intro.what.help(en)Unchanged on purpose:
ui.slurp.settings.advanced.backupDetail(en, de, ko, pl)ui.slurp.settings.advanced.deleteAllDetail(en)ui.slurp.settings.advanced.deleteAllConfirmDetail(en)One more user-visible string moved with the copied schema: the handle validation message
"Enter a Noodle handle."became"Enter a Slurp handle.". It is the single recorded value delta in the shape proof.No key was added or removed. The de, ko and pl catalogs do not carry the changed key.
Gate — does Slurp2 ever receive Engine-produced Noodle data?
No. Every checked path is clear, so no Noodle-named symbol is an Engine contract.
grep -rn "noodle_" packages/slurp2/srcreturns nothing. Slurp2's Drizzle symbols all resolve to its ownslurp2_*schema. Engine Noodle tables (noodle_posts,noodler_reserve_state,noodle_refresh_runs, ...) are never named.slp-server-entry.ts, passes no Noodle-shaped value in or out. It isregisterService,registerPromptContext,registerPrivilegedRoutes,runInternalRouteandregisterTables.services/import/profile-import-noodle.tshas exactly one importer, Enginebackup.routes.ts. No Slurp2 file reaches either.noodle_*names and thenoodle:backupcapability. Slurp2 registers its ownslurp2:backup, a no-op pause carrying no data.slp-source-resolve.ts, crosses on EngineCharacterandPersona. ASlpAccountappears only asPick<…, "kind" | "entityId">: a Slurp2 row holding a pointer into Engine character storage. The pointer is the contract, not the containing type.Type classification
shared/src/slp/, renamedNoodle->Slp,Noodler->SlpCreatorEngine imports kept:
APIProvider,AvatarCrop,avatarCropSchema,normalizeAvatarCrop,Persona,PROFESSOR_MARI_ID,CSRF_HEADER,CSRF_HEADER_VALUE,LIMITS,isOpenAIGpt56Model.AvatarCropandavatarCropSchemastay because Engine avatar rendering consumes them.NoodlePostImageCropwas the closest call and is Slurp2-owned: it is read only out of Slurp2's ownslurp2_posts.metadata.imageCropby Slurp2's own editor. No Engine path touches it.The full name-by-name map is committed as
packages/slurp2/docs/architecture/slurp2-vocabulary-rename-map.json(202 entries) andslurp2-owned-vocabulary.json(the 190 exported ones). The decision is recorded inpackages/slurp2/docs/architecture/DECISIONS.md.New files in
packages/slurp2/src/engine/packages/shared/src/slp/:slp-social.types.ts,slp-social.schema.ts,slp-social-generation.schema.ts,slp-mentions.ts,slp-polls.ts,slp-post-images.ts,slp-creator-onboarding.ts,slp-interactions.ts. The schema is split in two only to stay under the 800-line architecture budget.Two imports that resolved to nothing
NoodlePostCardModelandNoodlerPostDraftImagewere imported from@marinara-engine/shared, but neither exists in the Engine. Both are declared locally in Slurp2. Those imports now point at the local modules. This was a pre-existing defect.Part 4 — SwarmUI prompt images and LoRAs (maintainer request)
Slurp2 bundles the Engine's
image-generation.tsfrom the checked-in snapshot insources/engine/. The snapshot predates Marinara-Engine PR #6359, sobuildSwarmUiGenerationBodyreturned the request body before it attached LoRAs or reference images whenever no custom ComfyUI workflow was set. Slurp2 users lost both. The snapshot does not refresh on its own.Backported from PR #6359, 18 insertions and 1 deletion in one file:
promptimagesblock on the no-workflow SwarmUI path;The helper signatures
collectComfyReferenceImages(request, defaults)anddecodeReferenceImage(reference)are identical in the snapshot and on Enginestaging, so the backport is exact. Verified present in the shippedserver.mjs.Not backported: the
donotsavechange from the same PR. It readsdefaults.saveToBackend, which the snapshot's shared types do not carry. With the field absent the expression yields the old literaltrue, so no behaviour is lost.The rest of the snapshot is untouched. It is 162 Engine commits behind
stagingand 187 of 363 vendored files differ; a wholesale refresh is not patch-release work. Legacy Slurp and Noodle still build from this branch with the patched snapshot, and neither package has any diff.Follow-up, now tracked: the copy exists only because image generation is not on the package host API, so it must be inlined at build time and then drifts.
sources/engine/drift and orphans, which would have caught this without waiting on the Engine work.Part 3 — internal identifiers
493 Slurp2-internal symbols renamed: the query-key factory
noodleKeys->slpKeys, theuseNoodler*hooks,NoodleShell,NoodlerFrame,NoodleAnchoredPopover,NoodleToolButton, and the Drizzle symbols for theslurp2_*tables.Nothing persisted moved. The rename touches identifiers only, never a string literal.
Deliberately not renamed:
createNoodlerPost, a public storage method. It is part of the 179-name storage surface.Part 3and includenoodleAccountId,noodlerAccountId,NOODLER_MEDIA_PREFIXand the prompt-instruction constants.Proof
slurp2-route-inventory)slurp2-storage-methods)staging;slpKeyshas one definitionnode scripts/typecheck-packages.mjs slurp2slurp2-owned-vocabulary, with a negative fixtureslurp2-vocabulary-shape, 202 declarations, one recorded value deltapackages/slurp/,packages/noodle/,sources/engine/staginggit diff --checkslurp2-vocabulary-shapeneedsMARINARA_ENGINE_ROOTand reports a skip without one. That is a known limitation, recorded inDECISIONS.md.Noodle hit counts in
packages/slurp2/srcBefore 11957, after 7146. Every remaining hit is classified, none unclassified:
Regression baseline
Re-derived at the merge base,
origin/staging: 23 pre-existing failures acrossnoodle*,noodler-*,slurp-*andslurp2-*. On this branch: 23. No new failure, none fixed.23 source-reading regressions assert on Slurp2 source by name and follow the rename. They read Slurp2 only.
Browser suite
npm run test:browser:slurp2, run on this branch and onorigin/stagingwith the same Engine worktree.origin/stagingbaselineNo new browser failure. Three cases that fail on the baseline pass here:
opens as an enabled pink Creator surfaceon desktop and mobile, andrequires the current release acknowledgementon desktop. The remaining ten fail identically on the baseline and are environmental: the Engine worktree used for the run is 162 commits behindstaging, so the host UI the suite drives is stale.Package proof
Rebuilt with the builder; no generated payload, manifest, ZIP, catalog, hash or size was hand-edited.
welcome-to-the-agentshop, commitfdb67d47bfb909f013346afdb3d2c23d72d7b399, clean. It is 4 commits ahead of and 162 commits behindorigin/staging. See Gaps.artifacts/slurp2-0.1.1.zip, sha256ed0b3e35bbd0e60b1af0ce1906d5404c15dc1fa14a8e6e161ebe04740fadfed0, 6782015 bytes.manifest.json. Every manifest hash and size matches the ZIP contents. All three catalog lanes carry the same0.1.1entry and the same hashes.Live proof
Done on the production Engine at the maintainer's explicit direction, by sideload over the running
0.1.0.0.1.0->0.1.1with real existing data. Container restarted and came up healthy.slurp2_accounts, 285 inslurp2_posts, allslurp2_*tables present./api/slurp2/settingsand/api/slurp2/noodler/accountsboth answer 403 (the auth guard), not 404, so the/noodler/*paths are intact.slurp2 0.1.1 enabled.slurp_*and 35noodle*tables intact,noodle 1.2.23still enabled.loraweightsis present in the deployedserver.mjs, data still 50 accounts and 285 posts, routes still 403.Gaps
dev-marinara2was unreachable, so there was no disposable box for UI passes.sources/engine/snapshot is 162 commits behindorigin/staging, with 187 of 363 files differing. Only the SwarmUI hunks were refreshed. Other Engine fixes since that point are still missing from Slurp2 and need their own refresh slice. Tracked in #955 and Pasta-Devs/Marinara-Engine#6385.slurp2-vocabulary-shapeskips withoutMARINARA_ENGINE_ROOT.Pending decisions
/noodler/*routes. Runtime-safe, because the client and the server ship in one bundle, but it deliberately rewrites the 179-route inventory baseline. It needs its own slice.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.