mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #960] [MERGED] DONT MERGE: refactor(slurp2): rename HTTP routes to Slurp #1212
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#1212
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/960
Author: @Gunterlie
Created: 9/19/2026
Status: ✅ Merged
Merged: 9/20/2026
Merged by: @Gunterlie
Base:
staging← Head:slurp2-slice13-route-renames📝 Commits (10+)
4f22bcarefactor(slurp2): rename HTTP routes to Slurpc3457a5Merge remote-tracking branch 'origin/staging' into slurp2-slice13-route-renamesd485ef4release(slurp2): publish route rename 0.1.3884a77etest(slurp2): prove route mapping against staging2020b25docs(slurp2): record slice 13 proof8f69f0adocs(slurp2): record legacy proof gap799cc54docs(slurp2): record final build provenance571f030fix(slurp2): accept manual post formats41c77b4docs(slurp2): record manual post fixf5069f6fix(slurp2): accept guided post formats📊 Changes
79 files changed (+1305 additions, -776 deletions)
View changed files
➕
SLURP-MODULE-STATUS.md(+123 -0)➕
artifacts/slurp2-0.1.3.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(+4 -0)📝
packages/slurp2/client.js(+25 -25)📝
packages/slurp2/docs/architecture/DECISIONS.md(+12 -3)📝
packages/slurp2/docs/architecture/README.md(+4 -4)📝
packages/slurp2/manifest.json(+5 -5)📝
packages/slurp2/server.mjs(+211 -211)📝
packages/slurp2/src/engine/packages/client/src/slp/app/slp-home-state.ts(+1 -1)📝
packages/slurp2/src/engine/packages/client/src/slp/features/ads/SlpAdsPanel.tsx(+1 -1)📝
packages/slurp2/src/engine/packages/client/src/slp/features/ads/slp-ads-hooks.ts(+16 -16)📝
packages/slurp2/src/engine/packages/client/src/slp/features/audience/slp-audience-hooks.ts(+3 -3)📝
packages/slurp2/src/engine/packages/client/src/slp/features/audience/slp-fan-activity-hooks.ts(+2 -2)📝
packages/slurp2/src/engine/packages/client/src/slp/features/creators/slp-creator-profile-hooks.ts(+10 -10)...and 59 more files
📄 Description
Why this change
Slurp2 exposed operation routes under the permanent NoodleR name. This made the last public naming
surface inconsistent with Slurp. Existing stored media URLs must continue to work without a data
migration.
What changed
Slurp2 operation routes and matching client requests now use
/api/slurp2/slurp/*. Four old GETmedia routes remain for persisted avatar, banner, ad image, and post image URLs. The fix also accepts
the existing
formatfield for manual and guided post requests.Summary
Closes #958. Slurp2 operation routes now use
/api/slurp2/slurp/*. The client and server changed together. Stored names and media URLs remain compatible.Gate results
origin/staging. Nocomponents/slurp/directory or reclassified shared import remains. The staging route inventory has 179 routes.restartRequired: true./api/slurp2.Route Mapping
/api/slurp2/noodler/accounts/*/api/slurp2/slurp/accounts/*GET /api/slurp2/noodler/accounts/:id/avatar/:fileName;GET /api/slurp2/noodler/accounts/:id/banner/:fileName/api/slurp2/noodler/ads/*/api/slurp2/slurp/ads/*GET /api/slurp2/noodler/ads/:id/image/:fileName/api/slurp2/noodler/audience/*/api/slurp2/slurp/audience/*/api/slurp2/noodler/auto-post/*/api/slurp2/slurp/auto-post/*/api/slurp2/noodler/creator-metrics/api/slurp2/slurp/creator-metrics/api/slurp2/noodler/fan-activity/*/api/slurp2/slurp/fan-activity/*/api/slurp2/noodler/first-posts/*/api/slurp2/slurp/first-posts/*/api/slurp2/noodler/image-connections/api/slurp2/slurp/image-connections/api/slurp2/noodler/notifications/*/api/slurp2/slurp/notifications/*/api/slurp2/noodler/post-guidance*/api/slurp2/slurp/post-guidance*/api/slurp2/noodler/posts/*/api/slurp2/slurp/posts/*GET /api/slurp2/noodler/posts/:id/media/api/slurp2/noodler/refresh/images/api/slurp2/slurp/refresh/images/api/slurp2/noodler/stage-profile-draft/api/slurp2/slurp/stage-profile-draft/api/slurp2/noodler/stories/*/api/slurp2/slurp/stories/*/api/slurp2/noodler/studio/api/slurp2/slurp/studio/api/slurp2/noodler/viewer/*/api/slurp2/slurp/viewer/*All methods, parameters, queries, bodies, response shapes, status codes, and handlers remain unchanged.
Proof
DELETE 11,GET 59,PATCH 14,POST 90, andPUT 5. Handler counts per feature remain unchanged. The proof uses a staticorigin/stagingfixture and has negative missing-route and changed-method fixtures.origin/stagingrequest fixture. Only the mapped path prefix changes. All eleven wiring counts remain unchanged.Package
0.1.3.artifacts/slurp2-0.1.3.zip.85fb8d871568ba8bf6dea7e9a2d3d5df0c75b2b7d57b167faab1d4ea5a80e9d3.6783886bytes.manifest.json,agents.json,server.mjs,client.js,slurp2-logo.png,slurp2agent.png./home/dev/.paseo/worktrees/1432mxa9/shy-lionfish, branchwelcome-to-the-agentshop, commit92f3eaa5fdd18ba6e56bb2f7548a6cfd66258670, clean at final inspection. Itsorigin/stagingis57499fcb2b2b9f2f470b7ae6155266ff42046eff; the merge base isc324acfdda22475e743c8d026860d38ee3700452. No reset or clean was used.Validation
npm run check: pass with existing warnings and zero errors.node scripts/typecheck-packages.mjs slurp2: pass.git diff --checkgates: pass.173/196pass and23fail. Branch173/196pass and23fail. No new regression failure.Live Proof
0.1.2with existing data.0.1.3and restarted successfully./api/slurp2/slurp/*routes passed./api/slurp2/noodler/*media routes passed.0.1.3: 34 creators, 233 posts, and 222 media files./api/noodle/accountsremained healthy.Gaps
Follow-up Fix Included
format, but the strict shared schema rejected it as an unrecognized key.caption,announcement, andlong_formand still reject unknown values.tests/slurp2-manual-post-format.regression.ts.0.1.3. Rebuilt the same package version in place.533ac3160a89488d7a4a459caec0649ac83cc7f22bf244a196d9d7d2053cba2b.6784038bytes.noodlerContentFormatmetadata.Human verification checkboxes remain unchecked. The PR is draft and is not merged.
Permanent NoodleR Names
Remaining names are permanent for Engine contracts, persisted names, locale keys, the
"noodler"platform value, and the four retained media routes required by stored URLs and backups.Follow-up fix: Creator profile controls were all dead
Reported: every control on a Creator profile threw
Uncaught TypeError: K is not a functiononclick — Back on mobile, Message, Subscribe, and Unsubscribe.
Root cause. A stray edit placed
onNavigateinside theupdateNoodlerPostDraftsetStateobject in
slp-home-state.ts, so the Home model never returned it.SlpHomeCreatorFlowdestructures
onNavigatefrom that model, so every control that navigates calledundefined.TypeScript does not catch this: the destructured key is inferred from the return object, so a
missing key is silently
undefinedrather than a compile error.Fix. Return
onNavigatefrom the Home model and drop the stray key from the drafts map.Proof.
tests/slurp2-home-model-keys.regression.tsasserts the model exposesonNavigate,that the drafts map carries no navigation callback, and that every model key each Home screen
destructures exists in the model's return. Removing
onNavigateagain makes it fail.Version stays
0.1.3; the package was rebuilt in place. Artifact SHA-2567a189c7f4bf2490b6702851ceb90c1d7315182024570084df7f56436f406ed65.Production runs the rebuilt
0.1.3, and the served client bundle is byte-identical to the builtpackages/slurp2/client.js. Clicking the controls in a browser could not be verified from thishost — see the browser gap in the status notes.
Out of scope: Claude Agent SDK native binary
A separate report on Windows: Slurp2 subscription calls fail with
Native CLI binary for win32-x64 not found.server.mjsbundles@anthropic-ai/claude-agent-sdk, so itscreateRequire(import.meta.url)lookup starts in thepackage version directory and finds an
@anthropic-aitree without the optional platformpackage. The likely fix mirrors the existing
--external:undiciprecedent in the builder, butthat changes package runtime resolution and needs Windows validation, so it does not belong in
this PR.
Browser suite
The
Slurp Remastered package browserjob passes on this branch in CI. The earlier browserfailure was environmental: the dev host runs a full 7.8 GB
/tmptmpfs with swap exhausted, soChromium cannot load the Engine there. It is not a package defect, and the suite is green.
Summary by CodeRabbit
New Features
/api/slurp2/slurp/*namespace.caption,announcement, andlong_formformats with validation.Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.