[PR #1308] [MERGED] feat(slurp2): 0.3.21 — Stir follows a collab through to its joint post #1398

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1308
Author: @Gunterlie
Created: 10/11/2026
Status: ✅ Merged
Merged: 10/11/2026
Merged by: @Gunterlie

Base: staging ← Head: feat/slurp2-stir-follow-through


📝 Commits (3)

  • 98ed50b feat(slurp2): 0.3.21 — Stir follows a collab through to its joint post
  • 5446e8f fix(slurp2): Stir collab row offers Undo only when the server takes it back
  • de43666 fix(slurp2): Stir collab row keeps its status readable on phones

📊 Changes

23 files changed (+953 additions, -622 deletions)

View changed files

➕ artifacts/slurp2-0.3.21.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 (+75 -75)
📝 packages/slurp2/manifest.json (+11 -11)
📝 packages/slurp2/server.mjs (+356 -364)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+8 -1)
➕ packages/slurp2/src/engine/packages/client/src/slp/features/stir/SlpStirRecentPlays.tsx (+157 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/stir/SlpStirScreen.tsx (+12 -108)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/stir/slp-stir-screen-model.ts (+71 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/de.json (+2 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+2 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json (+2 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json (+2 -0)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/assist/slp-stir-service.ts (+22 -1)

...and 3 more files

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.

Linked issue

Closes #1307

Why this change

When a player suggests or pushes a collab in Slurp's Stir tab, Recent plays could not say what happened next. The collab left "Now showing" once it was posted, turned down or blocked, the row only opened the first Creator, and Undo was still offered after the joint post went up (the server then refused it). The player could start a collab but not follow it through.

What changed

  • Affected package: slurp2 0.3.20 → 0.3.21 (patch).
  • readSlpStirView returns playedCollabs: the collabs that the shown plays suggested or pushed (from the step's ref.collabId / input.collabId), finished ones included, after the existing persona filter. postId is sent only while the joint post still exists. No new storage; it reads the existing play ledger and creator-ties collab records.
  • slpStirPlayCollab (client model) words each collab play from that record only: waiting for an answer, agreed, coming up, turned down (recorded reason), blocked, posted, "the joint post was removed", or "Slurp no longer keeps this collab". No timing or success is inferred.
  • Recent plays (moved into SlpStirRecentPlays.tsx; SlpStirScreen.tsx was at the 800-line architecture limit) shows that line, opens the actual joint post for a posted collab, and offers one follow-up: Make it happen on a request still waiting, which opens the existing push-collab preview sheet before anything changes.
  • Undo on a collab row shows only when the server's slurpUndoTie would take it back (a suggestion until its post is on the way; a push only while still agreed). A published post is never offered as undoable. Plays with other steps keep their Undo.
  • Locales en/de/ko/pl: two new keys (ui.slurp.stir.follow.postGone, ui.slurp.stir.follow.gone); the rest reuses the existing Business collab wording (ui.slurp.ties.collab.*, ui.slurp.ties.decline.*).
  • Release notes: CHANGELOG.md and the in-app What's new entry for 0.3.21.
  • Generated outputs rebuilt by the builder: client.js, server.mjs, manifest.json, artifacts/slurp2-0.3.21.zip, catalogs.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none (engine.min unchanged)
  • New or changed permissions/entrypoints: none; one extra read-only field on the existing Stir view response
  • Restart, storage, update, or uninstall impact: none; no new settings keys or records

Validation

Agent-run checks (boxes left for human verification):

  • node scripts/build-feature-packages.mjs slurp2 with MARINARA_ENGINE_ROOT = a clean origin/staging Engine worktree (63006ab28) with pnpm install --frozen-lockfile. Note: no available Engine root reproduces the previously committed 0.3.20 bundle byte for byte (a clean rebuild of staging on the same root also changes client.js/server.mjs), so part of the bundle diff is dependency-tree drift; against a staging rebuild on the same root, this change adds ~1.7 KB client / ~0.4 KB server.

  • tests/slurp2-stir-follow-through.regression.ts (new): passes; fails without slpStirPlayCollab, and the previous version of the Undo rule fails its cross-check against the server's slurpUndoTie for every status and both play kinds.

  • Per-file Slurp regression comparison vs staging (a6cefea40): branch 238 pass / 45 fail, staging 237 pass / 45 fail; the 45 failing files are the same set on both sides (already failing on staging); no file changes result. Re-run after review fixes: slurp2-stir, slurp2-stir-undo, slurp2-creator-ties, slurp2-stir-follow-through pass.

  • tests/slurp2-architecture.regression.ts, node scripts/typecheck-packages.mjs slurp2, npm run check, node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/validate-catalog.mjs, node scripts/tests/catalog-release-notes.regression.mjs, git diff --check: pass.

  • Independent read-only review (Opus): one medium finding (Undo for a pushed collab after it was dropped/blocked) and three low ones (test mirrored the rule, phone truncation, button label) — all fixed in 5446e8f1e. UI proof then found the waiting row cramped at 390 px and a pushed play without names; fixed in de43666f4 (buttons wrap below the text on that row; the pair comes from the collab record). Gates above re-run green at de43666f4.

  • node scripts/validate-catalog.mjs passes locally

  • git diff --check passes locally

  • Rebuilt 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.md

Manual verification notes

Agent-run UI proof (scratch Engine, not a human check): clean origin/staging Engine 63006ab28 built natively with a fresh scratch data dir, slurp2 0.3.21 artifact from de43666f4 installed (served client bundle hash matched the built client.js), three test Creators, and seeded collab records + plays (no AI connection, no model calls). Playwright at 390/768/1440 px, light and dark, plus 390 px with reduced motion:

  • Empty (no plays): section hidden — pass.
  • Asked: "Waiting for Kai Moreno to answer", Make it happen + Undo below the text — pass at all widths (aria-label "Make it happen: Mira Vale & Kai Moreno").
  • Make it happen → sheet opens with that request picked → preview "Now · Free" → Do it: the row turns "Agreed, Mira Vale announces it next"; the new push play names the pair and shows Undo while agreed — pass.
  • Agreed (Undo), planned "Shooting it now" (no Undo), posted "Up on both pages" (no Undo; tap opens the host profile scrolled to the joint post), deleted post "The joint post was removed", declined "Mira Vale has too much on right now", blocked, collab missing "Slurp no longer keeps this collab" (no Undo), undone play (struck through) — pass.
  • Targets ≥ 44 px, lowest text contrast 5.48:1, keyboard focus rings present, no horizontal overflow, no console errors.

Not covered: pressing Undo on a collab row in the live UI (the Undo rule is covered by the regression against slurpUndoTie); install/update/restart/uninstall through the Engine UI; generation of a real joint post (seeded instead, to avoid model spend). Known low items left as is: at 768/1440 the waiting row's buttons also sit on a second line; a "no longer kept" row still opens the first Creator's profile; rows that open something have no visual tap cue (existing 0.3.1 pattern).

Documentation impact

  • No documentation changes needed (agent note: none expected)

UI evidence (if applicable)

Screenshots were taken on a local scratch instance (see Manual verification notes); they are not attached here yet.

Summary by CodeRabbit

  • New Features
    • Stir’s Recent plays now shows collaboration progress, participants, outcomes, and links to relevant posts.
    • Pending collaborations can be previewed before choosing “Make it happen.”
    • Undo is available only when a collaboration’s status allows it.
  • Updates
    • Released Slurp 0.3.21 with refreshed collaboration details in Recent plays.

🔄 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/1308 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/11/2026 **Status:** ✅ Merged **Merged:** 10/11/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `feat/slurp2-stir-follow-through` --- ### 📝 Commits (3) - [`98ed50b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/98ed50b22aaeae60e546d2383fe1c9f27d790778) feat(slurp2): 0.3.21 — Stir follows a collab through to its joint post - [`5446e8f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5446e8f1e9396e1e41c87ab7cf2b1fd34404a37b) fix(slurp2): Stir collab row offers Undo only when the server takes it back - [`de43666`](https://github.com/Pasta-Devs/Marinara-Agents/commit/de43666f4a5473ec27bfd5e16201a9fcebf55b3c) fix(slurp2): Stir collab row keeps its status readable on phones ### 📊 Changes **23 files changed** (+953 additions, -622 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.3.21.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` (+75 -75) 📝 `packages/slurp2/manifest.json` (+11 -11) 📝 `packages/slurp2/server.mjs` (+356 -364) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+8 -1) ➕ `packages/slurp2/src/engine/packages/client/src/slp/features/stir/SlpStirRecentPlays.tsx` (+157 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/stir/SlpStirScreen.tsx` (+12 -108) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/stir/slp-stir-screen-model.ts` (+71 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/de.json` (+2 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+2 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json` (+2 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json` (+2 -0) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/assist/slp-stir-service.ts` (+22 -1) _...and 3 more files_ </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. ## Linked issue Closes #1307 ## Why this change When a player suggests or pushes a collab in Slurp's Stir tab, Recent plays could not say what happened next. The collab left "Now showing" once it was posted, turned down or blocked, the row only opened the first Creator, and Undo was still offered after the joint post went up (the server then refused it). The player could start a collab but not follow it through. ## What changed - **Affected package:** `slurp2` 0.3.20 → 0.3.21 (patch). - `readSlpStirView` returns `playedCollabs`: the collabs that the shown plays suggested or pushed (from the step's `ref.collabId` / `input.collabId`), finished ones included, after the existing persona filter. `postId` is sent only while the joint post still exists. No new storage; it reads the existing play ledger and creator-ties collab records. - `slpStirPlayCollab` (client model) words each collab play from that record only: waiting for an answer, agreed, coming up, turned down (recorded reason), blocked, posted, "the joint post was removed", or "Slurp no longer keeps this collab". No timing or success is inferred. - Recent plays (moved into `SlpStirRecentPlays.tsx`; `SlpStirScreen.tsx` was at the 800-line architecture limit) shows that line, opens the actual joint post for a posted collab, and offers **one follow-up**: *Make it happen* on a request still waiting, which opens the existing push-collab preview sheet before anything changes. - Undo on a collab row shows only when the server's `slurpUndoTie` would take it back (a suggestion until its post is on the way; a push only while still agreed). A published post is never offered as undoable. Plays with other steps keep their Undo. - Locales en/de/ko/pl: two new keys (`ui.slurp.stir.follow.postGone`, `ui.slurp.stir.follow.gone`); the rest reuses the existing Business collab wording (`ui.slurp.ties.collab.*`, `ui.slurp.ties.decline.*`). - Release notes: `CHANGELOG.md` and the in-app What's new entry for 0.3.21. - Generated outputs rebuilt by the builder: `client.js`, `server.mjs`, `manifest.json`, `artifacts/slurp2-0.3.21.zip`, catalogs. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none (`engine.min` unchanged) - New or changed permissions/entrypoints: none; one extra read-only field on the existing Stir view response - Restart, storage, update, or uninstall impact: none; no new settings keys or records ## Validation Agent-run checks (boxes left for human verification): - `node scripts/build-feature-packages.mjs slurp2` with `MARINARA_ENGINE_ROOT` = a clean `origin/staging` Engine worktree (63006ab28) with `pnpm install --frozen-lockfile`. Note: no available Engine root reproduces the previously committed 0.3.20 bundle byte for byte (a clean rebuild of staging on the same root also changes `client.js`/`server.mjs`), so part of the bundle diff is dependency-tree drift; against a staging rebuild on the same root, this change adds ~1.7 KB client / ~0.4 KB server. - `tests/slurp2-stir-follow-through.regression.ts` (new): passes; fails without `slpStirPlayCollab`, and the previous version of the Undo rule fails its cross-check against the server's `slurpUndoTie` for every status and both play kinds. - Per-file Slurp regression comparison vs `staging` (a6cefea40): branch 238 pass / 45 fail, staging 237 pass / 45 fail; the 45 failing files are the same set on both sides (already failing on staging); no file changes result. Re-run after review fixes: `slurp2-stir`, `slurp2-stir-undo`, `slurp2-creator-ties`, `slurp2-stir-follow-through` pass. - `tests/slurp2-architecture.regression.ts`, `node scripts/typecheck-packages.mjs slurp2`, `npm run check`, `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs`, `node scripts/validate-catalog.mjs`, `node scripts/tests/catalog-release-notes.regression.mjs`, `git diff --check`: pass. - Independent read-only review (Opus): one medium finding (Undo for a pushed collab after it was dropped/blocked) and three low ones (test mirrored the rule, phone truncation, button label) — all fixed in 5446e8f1e. UI proof then found the waiting row cramped at 390 px and a pushed play without names; fixed in de43666f4 (buttons wrap below the text on that row; the pair comes from the collab record). Gates above re-run green at de43666f4. - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt 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.md` ### Manual verification notes Agent-run UI proof (scratch Engine, not a human check): clean `origin/staging` Engine 63006ab28 built natively with a fresh scratch data dir, slurp2 0.3.21 artifact from de43666f4 installed (served client bundle hash matched the built `client.js`), three test Creators, and seeded collab records + plays (no AI connection, no model calls). Playwright at 390/768/1440 px, light and dark, plus 390 px with reduced motion: - Empty (no plays): section hidden — pass. - Asked: "Waiting for Kai Moreno to answer", Make it happen + Undo below the text — pass at all widths (aria-label "Make it happen: Mira Vale & Kai Moreno"). - Make it happen → sheet opens with that request picked → preview "Now · Free" → Do it: the row turns "Agreed, Mira Vale announces it next"; the new push play names the pair and shows Undo while agreed — pass. - Agreed (Undo), planned "Shooting it now" (no Undo), posted "Up on both pages" (no Undo; tap opens the host profile scrolled to the joint post), deleted post "The joint post was removed", declined "Mira Vale has too much on right now", blocked, collab missing "Slurp no longer keeps this collab" (no Undo), undone play (struck through) — pass. - Targets ≥ 44 px, lowest text contrast 5.48:1, keyboard focus rings present, no horizontal overflow, no console errors. Not covered: pressing Undo on a collab row in the live UI (the Undo rule is covered by the regression against `slurpUndoTie`); install/update/restart/uninstall through the Engine UI; generation of a real joint post (seeded instead, to avoid model spend). Known low items left as is: at 768/1440 the waiting row's buttons also sit on a second line; a "no longer kept" row still opens the first Creator's profile; rows that open something have no visual tap cue (existing 0.3.1 pattern). ## Documentation impact - [ ] No documentation changes needed (agent note: none expected) ## UI evidence (if applicable) Screenshots were taken on a local scratch instance (see Manual verification notes); they are not attached here yet. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Stir’s Recent plays now shows collaboration progress, participants, outcomes, and links to relevant posts. * Pending collaborations can be previewed before choosing “Make it happen.” * Undo is available only when a collaboration’s status allows it. * **Updates** * Released Slurp 0.3.21 with refreshed collaboration details in Recent plays. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:10:25 +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#1398
No description provided.