mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1330] [MERGED] feat(slurp2): 0.3.27 — Page style in plain words, with Suggest from card #1408
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#1408
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/1330
Author: @Gunterlie
Created: 10/12/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/slurp2-suggest-page-style📝 Commits (9)
5b071a8feat(slurp2): 0.3.27 — Suggest page stylecd92ad4fix(slurp2): keep the Slurp regression inventories in step with Suggest page stylefc89274feat(slurp2): one Page style home with a plain summary and Suggest from cardf0ab4b9fix(slurp2): show what a page style really changes, and keep current values out of the promptf1d6a96fix(slurp2): review fixes for Page style879d0b4chore(slurp2): rebuild 0.3.27 with the review fixes2bd6596fix(slurp2): keep raw ids out of the page style explanation; pad the changes summary7d3017efix(slurp2): plain words in the page style explanation, padded changes summary, rebuild1d449f0Merge remote-tracking branch 'origin/staging' into feat/slurp2-suggest-page-style📊 Changes
35 files changed (+1782 additions, -613 deletions)
View changed files
➕
artifacts/slurp2-0.3.27.zip(+0 -0)📝
catalog/catalog.json(+14 -14)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+14 -14)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+14 -14)📝
catalog/v3/notes.json(+6 -6)📝
packages/slurp2/CHANGELOG.md(+6 -0)📝
packages/slurp2/client.js(+90 -90)📝
packages/slurp2/manifest.json(+11 -11)📝
packages/slurp2/server.mjs(+373 -361)📝
packages/slurp2/src/engine/packages/client/src/slp/features/creators/SlpCreatorStrategyGroup.tsx(+114 -63)➕
packages/slurp2/src/engine/packages/client/src/slp/features/creators/SlpPageStyleSuggest.tsx(+253 -0)📝
packages/slurp2/src/engine/packages/client/src/slp/features/creators/settings/SlpCreatorOverviewSection.tsx(+7 -0)📝
packages/slurp2/src/engine/packages/client/src/slp/features/creators/settings/SlpCreatorSettingsSections.tsx(+2 -1)📝
packages/slurp2/src/engine/packages/client/src/slp/features/creators/slp-creators-hooks.ts(+20 -2)📝
packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts(+8 -1)📝
packages/slurp2/src/engine/packages/client/src/slp/locales/de.json(+41 -1)📝
packages/slurp2/src/engine/packages/client/src/slp/locales/en.json(+28 -1)📝
packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json(+41 -1)...and 15 more files
📄 Description
Linked issue
Closes #1329
Why this change
A Creator's page style (production style, lean towards words, post mix, page note) was assigned from the account id and could only be changed through a dropdown and raw number fields low in the Posting tab. A player had to understand production styles and intent weights to make a page fit its character, and nothing said in plain words what the current style is. On the scratch test, the automatic assignment had given a candid park ranger the "theatrical" style.
What changed
slurp20.3.26 → 0.3.27 (patch).POST /slurp/accounts/:id/strategy/suggest). It reads the card canon and stage voice and returns a proposal over the existing strategy fields only:style,textOnlyRate,intentWeights,strategyText. The player sees a short reason, the result in plain words, a proposed page note, and "See exact changes" (before → after as the planner would use them, including defaults a new style moves). "Use this page style" applies; "Keep current" discards.PATCH /accounts/:id/settingsstrategy save with a new optionalexpect(the values saved when the suggestion was made). The merge moved into the puremergeSlurpCreatorStrategy; a key saved differently in the meantime throws inside the transaction and the route answers 409. Only proposed keys are written; unrelated keys stay.slp-page-style-suggestion.ts: unknown fields are dropped, out-of-range values are dropped (not clamped), an answer without a reason or without any usable field is refused. Only real changes are proposed: the lean is compared with what it becomes under the proposed style, the mix is compared as shares, and a note the player wrote is never replaced. The card is in the user message as evidence; the current settings are not in the prompt (the model copied them back when they were). Text for a hinted Creator goes through the existing identity protection.textOnlyRateonly scales small per-intent rates, so most posts have a picture at any value. The field is now "Lean towards words" without a percent sign, and the summary never claims "mostly words".pageStyle.*keys inen,de,ko,pl;de/ko/plalso get the style, intent and label names the summary uses.tests/slurp2-page-style.regression.ts;slurp-creator-strategynow checks the merge by behaviour; route, client-hook and vocabulary-shape inventories record the new route, hook andexpect.client.js,server.mjs,manifest.json,artifacts/slurp2-0.3.27.zip, catalogs.CHANGELOG.mdand in-app What's new updated.Package and security impact
slurp2engine.minunchanged)POST /slurp/accounts/:id/strategy/suggest(reads only; one outbound call to the player's own text connection). The strategy variant ofPATCH /accounts/:id/settingsaccepts an optionalexpectand can answer 409.settings.strategy; existing Creators are unchanged until a player accepts a suggestion. Model text reaches post prompts only as the existing page note ("How you run your page"), bounded to 400 characters, shown to the player before it is saved, and editable afterwards.Validation
Agent-run checks (boxes left for human verification):
tests/slurp2-page-style.regression.ts(pure, stub model answers): card only in the user message; three contrasting answers give three different proposals; unknown and out-of-range values dropped; lean, share and note rules; apply keeps unrelated keys; staleexpectthrows; key order does not matter; applied strategies change the planner's intent and delivery draws and the camera preference.All Slurp regressions (
npm run test:slurp:regressions, isolated staging Engine checkout for dependencies): 286 passed, 0 failed, on7d3017eab. After mergingstaging(1d449f0e8) the rebuild produced no diff;npm run check(0 errors), catalog lanes, locales, catalog validation, release notes and the new regression passed again.tests/slurp2-architecture.regression.ts,node scripts/typecheck-packages.mjs slurp2,git diff --check: pass. A fulltscin a scratch overlay of the staging Engine showed no new server errors and none in the new client files (the repository gate itself only checks names and syntax).Live, scratch dev Engine, real model (
glm-4.7-flashthrough the box's default-for-agents connection), three adult test cards at the same heat:strategy.savedunchanged. Apply persisted, survived an Engine restart, and changed the real post prompt preview (production block and page note).Independent read-only review (Opus): no blocking or high findings; five medium (misleading "mostly words" copy, a suggestion replacing the player's note, 502 messages not shown, missing
de/ko/plnames, lean threshold against the old style) and low items. All five medium and the focus, 409 dead-end, proportional-weights and "set by you" items are fixed.node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyRebuilt every affected manifest, payload, artifact, and catalog entry
Installed or updated the affected package through Marinara Engine
Checked supported modes, restart behavior, and uninstall cleanup
Read and followed
CONTRIBUTING.mdManual verification notes
Agent-run UI proof (not a human check), built 0.3.27 sideloaded on a scratch dev Engine, headless Chromium at 390 / 768 / 1440 px:
aria-busy), result panel, Keep current (nothing saved), Use (toast, line "set by you", unrelatedskipRatekept), no horizontal overflow at 390, targets at least 44 px, no console errors.Known limits:
Documentation impact
UI evidence (if applicable)
Screenshots were taken by the agent run (390 / 768 / 1440) and are not attached here; the maintainer can add their own after a manual check.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.