[PR #856] [MERGED] feat(slurp2): 0.0.10 pricing, haggling, nested replies, and image fixes #1163

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

📋 Pull Request Information

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

Base: staging ← Head: slurp-point-oh-ten


📝 Commits (10+)

  • 5e6be30 docs(slurp2): add audience simulation plan
  • 696a15d feat(slurp2): add tunable simulation settings
  • dd820a7 fix(slurp2): make follows, subscriptions and likes flow
  • 0ab1146 feat(slurp2): run the free simulation clock on a timer
  • 47c065f feat(slurp2): add simulation tuning settings and live estimate
  • f14f90a feat(slurp2): add configurable fan types
  • a84e1fc feat(slurp2): give fan types their own comment banks
  • f6fec4a feat(slurp2): add rhythm, word of mouth and visible churn
  • 162dca2 feat(slurp2): let fan types drive world events
  • 85f0dc7 feat(slurp2): add fan type editor

📊 Changes

96 files changed (+8250 additions, -1562 deletions)

View changed files

➕ SLURP-AUDIENCE-SIMULATION-PLAN.md (+416 -0)
➕ artifacts/slurp2-0.0.10.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/slurp2/CHANGELOG.md (+9 -0)
📝 packages/slurp2/client.js (+33 -32)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+198 -196)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/PostImageCropEditor.tsx (+5 -2)
➕ packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpAudienceConfigSettings.tsx (+359 -0)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpCreatorPostCard.tsx (+288 -210)
➕ packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpFanTypesSettings.tsx (+481 -0)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpHome.tsx (+35 -2)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpInlineAd.tsx (+2 -1)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpMessages.tsx (+93 -2)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpPostCard.tsx (+329 -219)

...and 76 more files

📄 Description

Pull request

Important

This contribution targets staging. Only SpicyMarinara may promote staging to main.

Linked issue

Closes #855

Why this change

Slurp2 0.0.10 is the audience simulation release. It was not public yet (latest public is 0.0.9), so this PR ships everything as 0.0.10:

  • Images failed with 403 "Invalid or missing X-Admin-Secret header" on remote installs, and Slurp ignored image connection custom parameters such as LoRA (Pasta-Devs/Marinara-Engine#6167).
  • Creators could not set their own prices, and every audience commission had the same price.
  • Long comment lists and long posts made the feed hard to read.
  • Subscriber and follower counts could be wrong.

What changed

Image fixes (#855)

  • New SlurpMediaImg loads package media through the API client, which sends X-Admin-Secret. The post image frame, comment images, profile banner, inline ads, the Settings ad list, and project partner avatars use it.
  • The vendored Engine image generation (sources/engine/.../image/) now has the custom parameters support from Pasta-Devs/Marinara-Engine#6168, so LoRA fields are sent with Slurp image requests.

Creator pricing

  • Persona Creators: own locked post price, commission base, min, and max, auto-quote toggle, and suggested prices from audience size with "Use suggestions". The post composer has a per-post price for locked posts.
  • Commission quotes follow the brief (sketch cheaper; detailed, multi-person, set, or rush briefs more expensive), inside the Creator's range.
  • Haggling: fans can make up to 3 lower offers. Character Creators accept, meet halfway (never under their minimum), or hold. Persona Creators accept or re-quote. Audience fans counter within their budget or walk away.
  • Character Creators: weekly dynamic prices from popularity and paying share, capped by a Settings percentage (default 15%). Existing subscribers keep their price.

Posts and comments

  • Long post text collapses behind "Show more"; the action bar is tighter.
  • Comments show the newest two threads; replies nest two levels, and each thread collapses on its own.

Accounting

  • A persona subscriber counts once, not twice.
  • An ended subscription keeps a still-following viewer as a follower.
  • Backups include slurpWorldClaims.

Release and tests

  • Folded the unreleased 0.0.11 work into 0.0.10; notes kept under the 1,000-character cap.
  • New tests/slurp2-creator-pricing.regression.ts.
  • Updated stale regex regressions that pointed at code moved on purpose earlier (removed reposts, removed subscriber badge in 0.0.8, durable tip effects, pending-text priority sort, lapse stage argument, suggested commission quotes).

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: unchanged
  • New or changed permissions/entrypoints: none. New routes inside the existing package route prefix: POST /api/slurp2/messages/commissions/:id/counter; extended Creator messaging settings fields.
  • Restart, storage, update, or uninstall impact: two new nullable/defaulted columns on slurp2_commissions (counter_price, haggle_rounds); new Settings keys with defaults (pricingDynamicCharacters, pricingMaxWeeklyChangePercent). Normal update from 0.0.9.

Validation

Run on commit 81e409a1:

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry (slurp2 0.0.10)
  • npm run typecheck:packages — 0 errors
  • npm run check — 0 errors (repository baseline warnings)
  • node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/tests/catalog-release-notes.regression.mjs — passed
  • All tests/slurp2-*.regression.ts — passed
  • tests/slurp-*.regression.ts — 11 still fail, and the same 11 fail on the base commit before this PR: slurp-alive, slurp-feed-layout, slurp-identity, slurp-lifecycle-safety, slurp-onboarding-failure-reasons, slurp-payment-clarity, slurp-phase1-durability, slurp-ppv-paywall, slurp-relationship-panel, slurp-stance, slurp-studio. No new failures.

Not done: no browser or live Engine test, and no live image API request with LoRA parameters.

Summary by CodeRabbit

  • New Features
    • Rebuilt the audience simulation with deterministic behavior, editable fan types, presets, seven-day estimates, and JSON import/export.
    • Added separate free-simulation and AI-text clocks with configurable limits and usage tracking.
    • Added Creator pricing controls for subscriptions, post unlocks, commissions, suggestions, dynamic pricing, and commission negotiation.
    • Added collapsible long posts and threaded comments.
  • Bug Fixes
    • Improved subscriber and follower totals, tips, subscription lapses, like pacing, remote-install images, and image-generation custom parameters.
  • Release
    • Updated Slurp Remastered to version 0.0.10.

🔄 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/856 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/14/2026 **Status:** ✅ Merged **Merged:** 9/14/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `slurp-point-oh-ten` --- ### 📝 Commits (10+) - [`5e6be30`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5e6be30e1b2f6463bc0e53d7b93c6a8e85e6f522) docs(slurp2): add audience simulation plan - [`696a15d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/696a15d88a0e35869f5c32de78832fd1bdb0d957) feat(slurp2): add tunable simulation settings - [`dd820a7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/dd820a786556f725a20c49db4abcc1395e700c36) fix(slurp2): make follows, subscriptions and likes flow - [`0ab1146`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0ab1146d3ca5183b7a5ad155b7c860343364e176) feat(slurp2): run the free simulation clock on a timer - [`47c065f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/47c065f31ef024a5b07a3d98cb4186d4d1db769e) feat(slurp2): add simulation tuning settings and live estimate - [`f14f90a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f14f90a99a01d5371f23fabb954b61c5b8092254) feat(slurp2): add configurable fan types - [`a84e1fc`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a84e1fcd841db93cda1283cb292238f155f839dc) feat(slurp2): give fan types their own comment banks - [`f6fec4a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f6fec4a568e18c227e5f78a18077ad3cf04f8ddc) feat(slurp2): add rhythm, word of mouth and visible churn - [`162dca2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/162dca275b7ba3e3386928c99bc272f87fb9c97a) feat(slurp2): let fan types drive world events - [`85f0dc7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/85f0dc767af2dfa691df108b9d45d5b59da78972) feat(slurp2): add fan type editor ### 📊 Changes **96 files changed** (+8250 additions, -1562 deletions) <details> <summary>View changed files</summary> ➕ `SLURP-AUDIENCE-SIMULATION-PLAN.md` (+416 -0) ➕ `artifacts/slurp2-0.0.10.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/slurp2/CHANGELOG.md` (+9 -0) 📝 `packages/slurp2/client.js` (+33 -32) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+198 -196) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/PostImageCropEditor.tsx` (+5 -2) ➕ `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpAudienceConfigSettings.tsx` (+359 -0) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpCreatorPostCard.tsx` (+288 -210) ➕ `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpFanTypesSettings.tsx` (+481 -0) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpHome.tsx` (+35 -2) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpInlineAd.tsx` (+2 -1) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpMessages.tsx` (+93 -2) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/SlurpPostCard.tsx` (+329 -219) _...and 76 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > This contribution targets `staging`. Only `SpicyMarinara` may promote `staging` to `main`. ## Linked issue Closes #855 ## Why this change Slurp2 0.0.10 is the audience simulation release. It was not public yet (latest public is 0.0.9), so this PR ships everything as **0.0.10**: - Images failed with 403 "Invalid or missing X-Admin-Secret header" on remote installs, and Slurp ignored image connection custom parameters such as LoRA (Pasta-Devs/Marinara-Engine#6167). - Creators could not set their own prices, and every audience commission had the same price. - Long comment lists and long posts made the feed hard to read. - Subscriber and follower counts could be wrong. ## What changed **Image fixes (#855)** - New `SlurpMediaImg` loads package media through the API client, which sends `X-Admin-Secret`. The post image frame, comment images, profile banner, inline ads, the Settings ad list, and project partner avatars use it. - The vendored Engine image generation (`sources/engine/.../image/`) now has the custom parameters support from Pasta-Devs/Marinara-Engine#6168, so LoRA fields are sent with Slurp image requests. **Creator pricing** - Persona Creators: own locked post price, commission base, min, and max, auto-quote toggle, and suggested prices from audience size with "Use suggestions". The post composer has a per-post price for locked posts. - Commission quotes follow the brief (sketch cheaper; detailed, multi-person, set, or rush briefs more expensive), inside the Creator's range. - Haggling: fans can make up to 3 lower offers. Character Creators accept, meet halfway (never under their minimum), or hold. Persona Creators accept or re-quote. Audience fans counter within their budget or walk away. - Character Creators: weekly dynamic prices from popularity and paying share, capped by a Settings percentage (default 15%). Existing subscribers keep their price. **Posts and comments** - Long post text collapses behind "Show more"; the action bar is tighter. - Comments show the newest two threads; replies nest two levels, and each thread collapses on its own. **Accounting** - A persona subscriber counts once, not twice. - An ended subscription keeps a still-following viewer as a follower. - Backups include `slurpWorldClaims`. **Release and tests** - Folded the unreleased 0.0.11 work into 0.0.10; notes kept under the 1,000-character cap. - New `tests/slurp2-creator-pricing.regression.ts`. - Updated stale regex regressions that pointed at code moved on purpose earlier (removed reposts, removed subscriber badge in 0.0.8, durable tip effects, pending-text priority sort, lapse stage argument, suggested commission quotes). ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: unchanged - New or changed permissions/entrypoints: none. New routes inside the existing package route prefix: `POST /api/slurp2/messages/commissions/:id/counter`; extended Creator messaging settings fields. - Restart, storage, update, or uninstall impact: two new nullable/defaulted columns on `slurp2_commissions` (`counter_price`, `haggle_rounds`); new Settings keys with defaults (`pricingDynamicCharacters`, `pricingMaxWeeklyChangePercent`). Normal update from 0.0.9. ## Validation Run on commit `81e409a1`: - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry (`slurp2` 0.0.10) - `npm run typecheck:packages` — 0 errors - `npm run check` — 0 errors (repository baseline warnings) - `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs`, `node scripts/tests/catalog-release-notes.regression.mjs` — passed - All `tests/slurp2-*.regression.ts` — passed - `tests/slurp-*.regression.ts` — 11 still fail, and the same 11 fail on the base commit before this PR: `slurp-alive`, `slurp-feed-layout`, `slurp-identity`, `slurp-lifecycle-safety`, `slurp-onboarding-failure-reasons`, `slurp-payment-clarity`, `slurp-phase1-durability`, `slurp-ppv-paywall`, `slurp-relationship-panel`, `slurp-stance`, `slurp-studio`. No new failures. Not done: no browser or live Engine test, and no live image API request with LoRA parameters. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Rebuilt the audience simulation with deterministic behavior, editable fan types, presets, seven-day estimates, and JSON import/export. * Added separate free-simulation and AI-text clocks with configurable limits and usage tracking. * Added Creator pricing controls for subscriptions, post unlocks, commissions, suggestions, dynamic pricing, and commission negotiation. * Added collapsible long posts and threaded comments. * **Bug Fixes** * Improved subscriber and follower totals, tips, subscription lapses, like pacing, remote-install images, and image-generation custom parameters. * **Release** * Updated Slurp Remastered to version 0.0.10. <!-- 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:04:17 +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#1163
No description provided.