[PR #1811] [MERGED] feat(slurp2): Creator niches and post jobs (0.4.6) #1976

Closed
opened 2026-11-07 16:38:27 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: feat/slurp-post-jobs


📝 Commits (4)

  • 61e2717 feat(slurp2): niche + post jobs (0.4.6)
  • 03f2838 fix(slurp2): place-free niche jobs, placed implied-setting jobs, keep stored niches on anchor save
  • deb9831 fix(slurp2): keep fresh niches when the player empties the card
  • c7a39c6 Merge remote-tracking branch 'origin/staging' into feat/slurp-post-jobs

📊 Changes

22 files changed (+679 additions, -258 deletions)

View changed files

➕ artifacts/slurp2-0.4.6.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 (+8 -0)
📝 packages/slurp2/client.js (+3 -3)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+194 -194)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/creators/SlpCanonAnchorsEditor.tsx (+1 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/creators/slp-canon-anchor-text.ts (+9 -2)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+9 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/data/creators/slp-canon-anchor-storage.ts (+9 -3)
📝 packages/slurp2/src/engine/packages/server/src/slp/data/feed/slp-opportunity-storage.ts (+6 -0)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-post-beat-service.ts (+15 -3)
📝 packages/slurp2/src/engine/packages/server/src/slp/modules/feed/slp-post-beat.ts (+7 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/modules/feed/slp-post-brief.ts (+12 -2)
➕ packages/slurp2/src/engine/packages/server/src/slp/modules/feed/slp-post-jobs.ts (+235 -0)

...and 2 more files

📄 Description

Linked issue

Closes #1810

Why this change

The production content audit showed Creator pages with no identity that repeat themselves. A post only had an abstract beat, so nothing said what kind of post it is. Real creator pages mix try-on hauls, workout sets, commissions, fan requests and teasers. This gives each page a niche and each ordinary post a concrete job, so pages differ from each other and a single page stays varied. The player's spice level is unchanged: the dial and card heat still decide how much is shown.

What changed

Package: slurp2 0.4.5 → 0.4.6 (patch). Generated: packages/slurp2/{client.js,server.mjs,manifest.json}, artifacts/slurp2-0.4.6.zip, catalog/*.json, catalog/v2/*, catalog/v3/*.

  • Niche. The canon-anchor reading now returns niches (main + up to 2 side, from a fixed list of 12). Cache version v3 → v4, so every card is read once more (one background model call per Creator). Player edits are merged as before; the Backstage anchor editor passes niches through.
  • Post jobs (modules/feed/slp-post-jobs.ts, 30 jobs). selectSlurpPostJob weighs main niche ×3, side ×2, everyday ×1. The main niche gets at most 4 of the last 8 posts, none of the last 3 jobs repeats, and there is a soft feed-wide cap.
  • Fit rules (from pre-PR review). A job with its own place (gym, kitchen, stage …) only goes on a post with no place, and then sets that place. Intimate jobs (bed, shower, lingerie, teaser, tip reward) need card heat ≥ 1 (flirty). Topics on the player's avoid list drop matching jobs. Poll and progress jobs ask for one photo, not a collage.
  • Wiring. Jobs go on condition, life and deck beats only. Nudge, tie, drama, trend, occasion, steered and bond beats keep their own content. SlurpBeat.job is stored with the beat. The beat history adds recent and global jobs. The brief adds a "Kind of post" line.
  • CHANGELOG and What's new entries.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none (built against Engine staging a942740e6)
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: the anchors cache bump re-reads each card once in the background. On cards the player never edited, the new reading may shift heat and palette slightly (noted in the CHANGELOG). No schema or storage format change beyond an optional job on stored beats and an optional niches on anchors.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuild 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 runs (not a human check): npm run check, node scripts/typecheck-packages.mjs slurp2, the catalog validations from AGENTS.md, and npm run test:slurp:regressions (323/323). The new tests/slurp2-post-jobs.regression.ts covers niche normalizing, no repeat of the last 3 jobs, the main-niche share, the fit rules (heat, place, avoid), parse of stored jobs, and that jobs do not touch the spice level. A pre-PR review found 3 medium and 3 low items; 5 are fixed and 1 is accepted (a card with niches but no concrete anchors gets everyday jobs only). Not tested on a live Engine yet.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

No layout change; the only client changes are the What's new text and the anchor editor keeping niches on save.


🔄 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/1811 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `feat/slurp-post-jobs` --- ### 📝 Commits (4) - [`61e2717`](https://github.com/Pasta-Devs/Marinara-Agents/commit/61e271760f5d9a2de59d6c73cfa2576cc446bdc5) feat(slurp2): niche + post jobs (0.4.6) - [`03f2838`](https://github.com/Pasta-Devs/Marinara-Agents/commit/03f2838f061a12640255850d0d028c69ed5f9e30) fix(slurp2): place-free niche jobs, placed implied-setting jobs, keep stored niches on anchor save - [`deb9831`](https://github.com/Pasta-Devs/Marinara-Agents/commit/deb98312776ba84ebc395ff73ae0d4726e291acc) fix(slurp2): keep fresh niches when the player empties the card - [`c7a39c6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c7a39c678a1c2f7f7cdb4ec08d2c92ba8686b610) Merge remote-tracking branch 'origin/staging' into feat/slurp-post-jobs ### 📊 Changes **22 files changed** (+679 additions, -258 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.4.6.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` (+8 -0) 📝 `packages/slurp2/client.js` (+3 -3) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+194 -194) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/creators/SlpCanonAnchorsEditor.tsx` (+1 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/creators/slp-canon-anchor-text.ts` (+9 -2) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+9 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/data/creators/slp-canon-anchor-storage.ts` (+9 -3) 📝 `packages/slurp2/src/engine/packages/server/src/slp/data/feed/slp-opportunity-storage.ts` (+6 -0) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-post-beat-service.ts` (+15 -3) 📝 `packages/slurp2/src/engine/packages/server/src/slp/modules/feed/slp-post-beat.ts` (+7 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/modules/feed/slp-post-brief.ts` (+12 -2) ➕ `packages/slurp2/src/engine/packages/server/src/slp/modules/feed/slp-post-jobs.ts` (+235 -0) _...and 2 more files_ </details> ### 📄 Description ## Linked issue Closes #1810 ## Why this change The production content audit showed Creator pages with no identity that repeat themselves. A post only had an abstract beat, so nothing said what *kind* of post it is. Real creator pages mix try-on hauls, workout sets, commissions, fan requests and teasers. This gives each page a niche and each ordinary post a concrete job, so pages differ from each other and a single page stays varied. The player's spice level is unchanged: the dial and card heat still decide how much is shown. ## What changed Package: `slurp2` 0.4.5 → 0.4.6 (patch). Generated: `packages/slurp2/{client.js,server.mjs,manifest.json}`, `artifacts/slurp2-0.4.6.zip`, `catalog/*.json`, `catalog/v2/*`, `catalog/v3/*`. - **Niche.** The canon-anchor reading now returns `niches` (main + up to 2 side, from a fixed list of 12). Cache version v3 → v4, so every card is read once more (one background model call per Creator). Player edits are merged as before; the Backstage anchor editor passes niches through. - **Post jobs** (`modules/feed/slp-post-jobs.ts`, 30 jobs). `selectSlurpPostJob` weighs main niche ×3, side ×2, everyday ×1. The main niche gets at most 4 of the last 8 posts, none of the last 3 jobs repeats, and there is a soft feed-wide cap. - **Fit rules (from pre-PR review).** A job with its own place (gym, kitchen, stage …) only goes on a post with no place, and then sets that place. Intimate jobs (bed, shower, lingerie, teaser, tip reward) need card heat ≥ 1 (flirty). Topics on the player's avoid list drop matching jobs. Poll and progress jobs ask for one photo, not a collage. - **Wiring.** Jobs go on condition, life and deck beats only. Nudge, tie, drama, trend, occasion, steered and bond beats keep their own content. `SlurpBeat.job` is stored with the beat. The beat history adds recent and global jobs. The brief adds a "Kind of post" line. - CHANGELOG and What's new entries. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none (built against Engine staging a942740e6) - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: the anchors cache bump re-reads each card once in the background. On cards the player never edited, the new reading may shift heat and palette slightly (noted in the CHANGELOG). No schema or storage format change beyond an optional `job` on stored beats and an optional `niches` on anchors. ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuild 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 runs (not a human check): `npm run check`, `node scripts/typecheck-packages.mjs slurp2`, the catalog validations from `AGENTS.md`, and `npm run test:slurp:regressions` (323/323). The new `tests/slurp2-post-jobs.regression.ts` covers niche normalizing, no repeat of the last 3 jobs, the main-niche share, the fit rules (heat, place, avoid), parse of stored jobs, and that jobs do not touch the spice level. A pre-PR review found 3 medium and 3 low items; 5 are fixed and 1 is accepted (a card with niches but no concrete anchors gets everyday jobs only). Not tested on a live Engine yet. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) No layout change; the only client changes are the What's new text and the anchor editor keeping niches on save. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:38:27 +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#1976
No description provided.