[PR #1056] [MERGED] feat(slurp2): centralize connections and harden generation #1271

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

📋 Pull Request Information

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

Base: staging ← Head: fix/slurp2-restart-safe-autopost


📝 Commits (4)

  • f3adfdb feat(slurp2): centralize connections and harden generation
  • bc0b777 build(slurp2): add 0.2.34 artifact
  • 95c5f8e Merge origin/staging into fix/slurp2-restart-safe-autopost
  • ae9c498 fix(slurp2): address follow-up review findings

📊 Changes

35 files changed (+845 additions, -606 deletions)

View changed files

➕ artifacts/slurp2-0.2.34.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 (+6 -0)
📝 packages/slurp2/client.js (+45 -44)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+290 -337)
📝 packages/slurp2/src/engine/packages/client/src/slp/app/backstage/slp-backstage-registry.ts (+2 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/base/navigation/slp-backstage-target.ts (+3 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpMessageTools.tsx (+1 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+10 -1)
➕ packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpConnectionsPanel.tsx (+125 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/de.json (+14 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+14 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json (+14 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json (+14 -0)

...and 15 more files

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #1055
Related: #1054

Why this change

  • Slurp users need one clear place to manage model connections.
  • Prompt Studio must describe the actual output contract without hidden image-camera rules.
  • Valid model responses with harmless extra fields should not fail.
  • Disabling appearance descriptions must prevent appearance text from reaching image prompts.
  • Future automatic posts must survive restart and source snapshot changes.

What changed

  • Added the Settings > Connections page for text, image context, image generation, and ad image connections.
  • Added same-type default fallback status for unavailable selections.
  • Simplified Creator post Output instructions.
  • Added production-style-aware image brief guidance.
  • Fixed appearance suppression in private and public image generation paths.
  • Changed generated structured response schemas to strip unknown fields while preserving required-field validation and retry behavior.
  • Preserved future automatic post rows during reserve reconciliation when source or policy snapshots change.
  • Bumped Slurp2 to 0.2.34 and rebuilt payloads, manifests, artifact, catalogs, and release notes.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none; remains Engine >=2.4.6 <4.0.0
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: package update requires the normal Engine restart; existing Slurp data remains in place

Validation

  • 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

  • Slurp2 typecheck passed.
  • Slurp2 architecture regression passed.
  • Catalog lane validation passed.
  • Catalog validation passed.
  • Prettier and git diff --check passed.
  • A custom contract check passed for Connections routing, output cleanup, production image guidance, and appearance suppression.
  • The full automatic-posting regression has an unrelated existing failure for an older notification hook assertion.
  • Production verification used the documented sideload script for earlier Slurp2 0.2.33; the final 0.2.34 artifact was built and pushed but not deployed during this PR turn.

Documentation impact

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

UI evidence (if applicable)

  • The Connections page is implemented in Slurp2 Settings. No screenshot was captured in this turn.

Summary by CodeRabbit

  • New Features

    • Added a Connections page for managing text and image providers, with retry options for loading errors and visibility into unavailable saved connections.
    • Creator post images now reflect the selected production style, and Prompt Studio provides clearer image guidance.
  • Bug Fixes

    • Image appearance descriptions now respect the appearance setting.
    • Future automatic posts are preserved across Engine restarts and changes to source snapshots or settings.
    • Valid model responses with extra fields no longer fail validation.

🔄 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/1056 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/23/2026 **Status:** ✅ Merged **Merged:** 9/24/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/slurp2-restart-safe-autopost` --- ### 📝 Commits (4) - [`f3adfdb`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f3adfdb4ba141fe335ff2fe1b9b116d825ec8151) feat(slurp2): centralize connections and harden generation - [`bc0b777`](https://github.com/Pasta-Devs/Marinara-Agents/commit/bc0b777fedef79926152189df31bf389ef491ea7) build(slurp2): add 0.2.34 artifact - [`95c5f8e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/95c5f8e11e4d10f7afd164ad88f20cefd5aa6847) Merge origin/staging into fix/slurp2-restart-safe-autopost - [`ae9c498`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ae9c4984c5ec0c9b529793aa50000564cbe35537) fix(slurp2): address follow-up review findings ### 📊 Changes **35 files changed** (+845 additions, -606 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.2.34.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` (+6 -0) 📝 `packages/slurp2/client.js` (+45 -44) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+290 -337) 📝 `packages/slurp2/src/engine/packages/client/src/slp/app/backstage/slp-backstage-registry.ts` (+2 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/base/navigation/slp-backstage-target.ts` (+3 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpMessageTools.tsx` (+1 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+10 -1) ➕ `packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpConnectionsPanel.tsx` (+125 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/de.json` (+14 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+14 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json` (+14 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json` (+14 -0) _...and 15 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #1055 Related: #1054 ## Why this change - Slurp users need one clear place to manage model connections. - Prompt Studio must describe the actual output contract without hidden image-camera rules. - Valid model responses with harmless extra fields should not fail. - Disabling appearance descriptions must prevent appearance text from reaching image prompts. - Future automatic posts must survive restart and source snapshot changes. ## What changed - Added the Settings > Connections page for text, image context, image generation, and ad image connections. - Added same-type default fallback status for unavailable selections. - Simplified Creator post Output instructions. - Added production-style-aware image brief guidance. - Fixed appearance suppression in private and public image generation paths. - Changed generated structured response schemas to strip unknown fields while preserving required-field validation and retry behavior. - Preserved future automatic post rows during reserve reconciliation when source or policy snapshots change. - Bumped Slurp2 to `0.2.34` and rebuilt payloads, manifests, artifact, catalogs, and release notes. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none; remains Engine `>=2.4.6 <4.0.0` - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: package update requires the normal Engine restart; existing Slurp data remains in place ## Validation - [ ] `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 - Slurp2 typecheck passed. - Slurp2 architecture regression passed. - Catalog lane validation passed. - Catalog validation passed. - Prettier and `git diff --check` passed. - A custom contract check passed for Connections routing, output cleanup, production image guidance, and appearance suppression. - The full automatic-posting regression has an unrelated existing failure for an older notification hook assertion. - Production verification used the documented sideload script for earlier Slurp2 `0.2.33`; the final `0.2.34` artifact was built and pushed but not deployed during this PR turn. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - The Connections page is implemented in Slurp2 Settings. No screenshot was captured in this turn. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a Connections page for managing text and image providers, with retry options for loading errors and visibility into unavailable saved connections. - Creator post images now reflect the selected production style, and Prompt Studio provides clearer image guidance. - **Bug Fixes** - Image appearance descriptions now respect the appearance setting. - Future automatic posts are preserved across Engine restarts and changes to source snapshots or settings. - Valid model responses with extra fields no longer fail validation. <!-- 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:07:26 +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#1271
No description provided.