[PR #997] [MERGED] feat(slurp2): split post intent, delivery, and workflow (slice 2) #1232

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

📋 Pull Request Information

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

Base: producing-content ← Head: slice/02-content-axes


📝 Commits (1)

  • 0f85e7c feat(slurp2): split post intent, delivery, and workflow

📊 Changes

22 files changed (+713 additions, -444 deletions)

View changed files

➕ artifacts/slurp2-0.1.24.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+6 -6)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/slurp2/CHANGELOG.md (+6 -0)
📝 packages/slurp2/manifest.json (+3 -3)
📝 packages/slurp2/server.mjs (+197 -197)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/feed/reserve/slp-reserve-operation.ts (+1 -0)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-generation-service.ts (+19 -14)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-post-prompt.ts (+1 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-prompt-preview-service.ts (+7 -3)
➕ packages/slurp2/src/engine/packages/server/src/slp/modules/feed/slp-content-axes.ts (+232 -0)
➖ packages/slurp2/src/engine/packages/server/src/slp/modules/feed/slp-content-type.ts (+0 -124)
➕ packages/slurp2/src/engine/packages/shared/src/slp/slp-content-axes.ts (+61 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)
➕ tests/slurp-content-axes.regression.ts (+146 -0)
➖ tests/slurp-content-type.regression.ts (+0 -62)

...and 2 more files

📄 Description

Why

Slice 2 of plan/concept.md. The planner in slice 3 has to choose separately what a post is for, how it is delivered, and what happens to the plan. The shipped list mixed all three: story sat beside teaser and boundary, so a Story could never also be a thank-you, and a text-only post was only ever what happened when image generation failed.

What changed

  • New shared/src/slp/slp-content-axes.ts: intent, delivery, and workflow value sets with guards.
  • New server/src/slp/modules/feed/slp-content-axes.ts replaces slp-content-type.ts: per-intent caption jobs, per-delivery notes, compatibility rules (slurpDeliveryFits), workflow transitions (slurpWorkflowCanMove), and which states publish (slurpWorkflowPublishes).
  • slurpPostAxes draws intent and delivery together. Intent weights are unchanged from the old type weights, so an existing Creator's distribution does not shift.
  • Text-only is a real choice: no image brief, no image call, and no gallery stand-in, on the direct path and the scheduled path. contentIntent and contentDelivery are stamped on post metadata.
  • existing_media, multi_image_set, and cropped_preview are contract-only until slice 5 adds media selection. Marked with a ponytail: note and asserted in the test.
  • Slurp2 0.1.24.

Validation

  • tests/slurp-content-axes.regression.ts (replaces the content-type regression): story and teaser stay decided elsewhere, every drawn pair is compatible, draws are stable and may repeat, casual stays the most common intent, text-only appears but does not take over, sets and callbacks are never text-only, no pictures means every post is text-only, only the two implemented deliveries are drawn, a skipped or declined slot can never publish, a delay reopens, and every job keeps the no-habitual-invitation line.
  • Source assertions pin the text-only wiring in slp-generation-service.ts and slp-reserve-operation.ts.
  • Focused: prompt-blocks, performance, post-variation, production-profile, camera-source, shoot, image-brief, gallery-mari pass.
  • npm run check: 0 errors, no new warnings. Architecture, typecheck, locale, catalog lane, catalog, release-notes, git diff --check pass.
  • Full Slurp sweep: no failure that the branch base does not already have.
  • Known red: the Slurp Remastered browser suite. It was already failing on this branch before slice 1 — tests/package-slurp2.e2e.ts expects Prompt Studio, splash, and mobile chrome text that the in-flight baseline work removed. Not touched by this slice.

🔄 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/997 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/21/2026 **Status:** ✅ Merged **Merged:** 9/21/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `producing-content` ← **Head:** `slice/02-content-axes` --- ### 📝 Commits (1) - [`0f85e7c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0f85e7c9bc0759a21b77e6c44f985b4efb8c33a5) feat(slurp2): split post intent, delivery, and workflow ### 📊 Changes **22 files changed** (+713 additions, -444 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.1.24.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/slurp2/CHANGELOG.md` (+6 -0) 📝 `packages/slurp2/manifest.json` (+3 -3) 📝 `packages/slurp2/server.mjs` (+197 -197) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/feed/reserve/slp-reserve-operation.ts` (+1 -0) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-generation-service.ts` (+19 -14) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-post-prompt.ts` (+1 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/feed/slp-prompt-preview-service.ts` (+7 -3) ➕ `packages/slurp2/src/engine/packages/server/src/slp/modules/feed/slp-content-axes.ts` (+232 -0) ➖ `packages/slurp2/src/engine/packages/server/src/slp/modules/feed/slp-content-type.ts` (+0 -124) ➕ `packages/slurp2/src/engine/packages/shared/src/slp/slp-content-axes.ts` (+61 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) ➕ `tests/slurp-content-axes.regression.ts` (+146 -0) ➖ `tests/slurp-content-type.regression.ts` (+0 -62) _...and 2 more files_ </details> ### 📄 Description ## Why Slice 2 of `plan/concept.md`. The planner in slice 3 has to choose separately what a post is for, how it is delivered, and what happens to the plan. The shipped list mixed all three: `story` sat beside `teaser` and `boundary`, so a Story could never also be a thank-you, and a text-only post was only ever what happened when image generation failed. ## What changed - New `shared/src/slp/slp-content-axes.ts`: intent, delivery, and workflow value sets with guards. - New `server/src/slp/modules/feed/slp-content-axes.ts` replaces `slp-content-type.ts`: per-intent caption jobs, per-delivery notes, compatibility rules (`slurpDeliveryFits`), workflow transitions (`slurpWorkflowCanMove`), and which states publish (`slurpWorkflowPublishes`). - `slurpPostAxes` draws intent and delivery together. Intent weights are unchanged from the old type weights, so an existing Creator's distribution does not shift. - Text-only is a real choice: no image brief, no image call, and no gallery stand-in, on the direct path and the scheduled path. `contentIntent` and `contentDelivery` are stamped on post metadata. - `existing_media`, `multi_image_set`, and `cropped_preview` are contract-only until slice 5 adds media selection. Marked with a `ponytail:` note and asserted in the test. - Slurp2 0.1.24. ## Validation - `tests/slurp-content-axes.regression.ts` (replaces the content-type regression): story and teaser stay decided elsewhere, every drawn pair is compatible, draws are stable and may repeat, casual stays the most common intent, text-only appears but does not take over, sets and callbacks are never text-only, no pictures means every post is text-only, only the two implemented deliveries are drawn, a skipped or declined slot can never publish, a delay reopens, and every job keeps the no-habitual-invitation line. - Source assertions pin the text-only wiring in `slp-generation-service.ts` and `slp-reserve-operation.ts`. - Focused: prompt-blocks, performance, post-variation, production-profile, camera-source, shoot, image-brief, gallery-mari pass. - `npm run check`: 0 errors, no new warnings. Architecture, typecheck, locale, catalog lane, catalog, release-notes, `git diff --check` pass. - Full Slurp sweep: no failure that the branch base does not already have. - Known red: the Slurp Remastered browser suite. It was already failing on this branch before slice 1 — `tests/package-slurp2.e2e.ts` expects Prompt Studio, splash, and mobile chrome text that the in-flight baseline work removed. Not touched by this slice. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:06:20 +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#1232
No description provided.