[PR #996] [MERGED] feat(slurp2): remove Classic runtime, add Classic prompt preset (slice 1) #1231

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/996
Author: @Gunterlie
Created: 9/20/2026
Status: ✅ Merged
Merged: 9/21/2026
Merged by: @Gunterlie

Base: producing-content ← Head: slice/01-classic-preset


📝 Commits (1)

  • 55ff870 feat(slurp2): remove Classic runtime, add Classic prompt preset

📊 Changes

40 files changed (+697 additions, -759 deletions)

View changed files

➕ artifacts/slurp2-0.1.23.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 (+7 -0)
📝 packages/slurp2/client.js (+22 -22)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+245 -245)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/backstage/slp-backstage-placement.ts (+1 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpPromptBlockBuilder.tsx (+12 -4)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpPromptPreviewInspector.tsx (+0 -2)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpPromptsPanel.tsx (+3 -4)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-contract.ts (+5 -8)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-defaults.ts (+0 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-hooks.ts (+3 -8)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+48 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/modules/chrome/SlpPulse.tsx (+4 -4)

...and 20 more files

📄 Description

Why

Slice 1 of plan/concept.md (Slurp content planner and continuity). Slurp should run one posting engine. Keeping Classic as a runtime mode meant every new planner decision needed a second, older code path. The old prompt wording is still worth keeping, so it survives as a prompt preset instead.

What changed

  • Removed the classic/produce runtime mode (slp-prompt-modes.ts, promptMode setting). Weighted variation, camera source, content type, production profile, and the performance block now apply to every post.
  • promptBlocks is one layout again. Flat 0.1.3 layouts and mode-keyed integration layouts both migrate. Blocks added since an old layout was saved are inserted at their inventory position, not appended after output.
  • New classicPromptBlocks setting keeps the Classic-era edits, written once by migration.
  • GET /settings/prompt-blocks returns classicPreset. The prompt studio has Load Classic prompts, which loads the preset into the draft. It restores old wording and turns off the five context blocks the overhaul added. It does not change runtime behavior.
  • Baseline fix: added the 40 missing Pulse English strings (the locale gate failed on the integration branch) and split four Pulse keys that carried two different texts.
  • Slurp2 0.1.23.

Validation

  • tests/slurp-prompt-blocks.regression.ts now proves the migration: flat edits survive and keep inventory order, Produce edits win over Classic ones, Classic-only edits are not lost, a second migration is idempotent, a later save cannot overwrite the preset, and the preset only turns blocks off.
  • Focused: content-type, performance, post-variation, production-profile, camera-source, shoot, image-brief regressions pass.
  • npm run check: 0 errors. No new warnings in changed files.
  • slurp2-architecture, typecheck-packages slurp2, locale, catalog lane, catalog, release-notes gates, git diff --check pass.
  • Full Slurp sweep: 139 pass / 25 fail. Every failing file also fails on the branch base. No new failure.
  • Not done: live dev-Engine run.

🔄 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/996 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/20/2026 **Status:** ✅ Merged **Merged:** 9/21/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `producing-content` ← **Head:** `slice/01-classic-preset` --- ### 📝 Commits (1) - [`55ff870`](https://github.com/Pasta-Devs/Marinara-Agents/commit/55ff870b472b59541c8b45d900ae5a777fff6db8) feat(slurp2): remove Classic runtime, add Classic prompt preset ### 📊 Changes **40 files changed** (+697 additions, -759 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.1.23.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` (+7 -0) 📝 `packages/slurp2/client.js` (+22 -22) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+245 -245) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/backstage/slp-backstage-placement.ts` (+1 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpPromptBlockBuilder.tsx` (+12 -4) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpPromptPreviewInspector.tsx` (+0 -2) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpPromptsPanel.tsx` (+3 -4) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-contract.ts` (+5 -8) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-defaults.ts` (+0 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-hooks.ts` (+3 -8) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+48 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/modules/chrome/SlpPulse.tsx` (+4 -4) _...and 20 more files_ </details> ### 📄 Description ## Why Slice 1 of `plan/concept.md` (Slurp content planner and continuity). Slurp should run one posting engine. Keeping Classic as a runtime mode meant every new planner decision needed a second, older code path. The old prompt wording is still worth keeping, so it survives as a prompt preset instead. ## What changed - Removed the `classic`/`produce` runtime mode (`slp-prompt-modes.ts`, `promptMode` setting). Weighted variation, camera source, content type, production profile, and the performance block now apply to every post. - `promptBlocks` is one layout again. Flat 0.1.3 layouts and mode-keyed integration layouts both migrate. Blocks added since an old layout was saved are inserted at their inventory position, not appended after `output`. - New `classicPromptBlocks` setting keeps the Classic-era edits, written once by migration. - `GET /settings/prompt-blocks` returns `classicPreset`. The prompt studio has **Load Classic prompts**, which loads the preset into the draft. It restores old wording and turns off the five context blocks the overhaul added. It does not change runtime behavior. - Baseline fix: added the 40 missing Pulse English strings (the locale gate failed on the integration branch) and split four Pulse keys that carried two different texts. - Slurp2 0.1.23. ## Validation - `tests/slurp-prompt-blocks.regression.ts` now proves the migration: flat edits survive and keep inventory order, Produce edits win over Classic ones, Classic-only edits are not lost, a second migration is idempotent, a later save cannot overwrite the preset, and the preset only turns blocks off. - Focused: content-type, performance, post-variation, production-profile, camera-source, shoot, image-brief regressions pass. - `npm run check`: 0 errors. No new warnings in changed files. - `slurp2-architecture`, `typecheck-packages slurp2`, locale, catalog lane, catalog, release-notes gates, `git diff --check` pass. - Full Slurp sweep: 139 pass / 25 fail. Every failing file also fails on the branch base. No new failure. - Not done: live dev-Engine run. --- <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#1231
No description provided.