[PR #758] [MERGED] fix(slurp): preserve selected image styles after rewrite #1120

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

📋 Pull Request Information

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

Base: staging ← Head: stairway-to-style


📝 Commits (3)

  • 0fa0630 fix(slurp): preserve selected image styles after rewrite
  • 55f713f fix(slurp): strengthen style prompt regression
  • ab6413d Merge remote-tracking branch 'origin/staging' into stairway-to-style

📊 Changes

15 files changed (+206 additions, -107 deletions)

View changed files

➕ artifacts/slurp-1.0.30.zip (+0 -0)
📝 catalog/preview/catalog.json (+6 -6)
📝 catalog/preview/notes.json (+10 -0)
📝 catalog/preview/v2/catalog.json (+6 -6)
📝 catalog/preview/v2/notes.json (+10 -0)
📝 catalog/preview/v3/catalog.json (+6 -6)
📝 catalog/preview/v3/notes.json (+10 -0)
➕ packages/slurp/CHANGELOG.md (+5 -0)
📝 packages/slurp/manifest.json (+3 -3)
📝 packages/slurp/server.mjs (+79 -79)
📝 packages/slurp/src/engine/packages/server/src/services/slurp/slurp-image-prompt.ts (+17 -0)
📝 packages/slurp/src/engine/packages/server/src/services/slurp/slurp-images.service.ts (+9 -2)
📝 packages/slurp/src/engine/packages/server/src/services/slurp/slurp-public-images.service.ts (+9 -2)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/slurp-image-instructions.regression.ts (+35 -2)

📄 Description

Fixes #757

Why this change

Slurp and Noodle could lose the selected image style after image prompt interpretation. The original prompt was compiled with the selected style, but the successful interpretation path sent the rewritten prompt directly to the provider. Fallback paths were compiled, which made the issue appear intermittent.

What changed

  • Recompile successful rewritten prompts in public Noodle generation.
  • Recompile successful rewritten prompts in private Slurp generation.
  • Add a regression for a selected Anime style with empty connection prompt fields.
  • Bump Slurp to 1.0.30.
  • Rebuild the Slurp server bundle, artifact, manifest hashes, and preview catalog notes.

Validation

  • npx tsx tests/slurp-image-instructions.regression.ts
  • node scripts/validate-catalog.mjs
  • node scripts/test-catalog-lanes.mjs
  • node scripts/validate-package-locales.mjs
  • node scripts/tests/catalog-release-notes.regression.mjs
  • git diff --check

Known validation gaps

  • npm run check could not start because this worktree has no local Prettier executable.
  • The broad Noodle/Slurp regression loop stops in an earlier unrelated test because @marinara-engine/shared is unavailable in this worktree module resolution.
  • Manual Engine installation and browser testing have not been performed in this worktree.

Generated package

  • artifacts/slurp-1.0.30.zip
  • Preview catalog entries updated for v2, v3, and the legacy v2 alias.

Summary by CodeRabbit

  • Bug Fixes

    • Rewritten image prompts now preserve the selected illustration style profile.
    • Configured style guidance and negative prompts are retained when interpreting image requests.
  • Tests

    • Added regression coverage to verify style settings remain applied to prompts without explicit style guidance.
  • Release

    • Updated the Slurp package to version 1.0.30.

🔄 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/758 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/8/2026 **Status:** ✅ Merged **Merged:** 9/8/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `stairway-to-style` --- ### 📝 Commits (3) - [`0fa0630`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0fa063034239c8784463179c419d5082c2555dcc) fix(slurp): preserve selected image styles after rewrite - [`55f713f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/55f713f312fc8b93c02882088ff0a95df3c0aeee) fix(slurp): strengthen style prompt regression - [`ab6413d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ab6413d71d4d457cc02ef13fc8d06a2bfadc0631) Merge remote-tracking branch 'origin/staging' into stairway-to-style ### 📊 Changes **15 files changed** (+206 additions, -107 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp-1.0.30.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+6 -6) 📝 `catalog/preview/notes.json` (+10 -0) 📝 `catalog/preview/v2/catalog.json` (+6 -6) 📝 `catalog/preview/v2/notes.json` (+10 -0) 📝 `catalog/preview/v3/catalog.json` (+6 -6) 📝 `catalog/preview/v3/notes.json` (+10 -0) ➕ `packages/slurp/CHANGELOG.md` (+5 -0) 📝 `packages/slurp/manifest.json` (+3 -3) 📝 `packages/slurp/server.mjs` (+79 -79) 📝 `packages/slurp/src/engine/packages/server/src/services/slurp/slurp-image-prompt.ts` (+17 -0) 📝 `packages/slurp/src/engine/packages/server/src/services/slurp/slurp-images.service.ts` (+9 -2) 📝 `packages/slurp/src/engine/packages/server/src/services/slurp/slurp-public-images.service.ts` (+9 -2) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/slurp-image-instructions.regression.ts` (+35 -2) </details> ### 📄 Description Fixes #757 ## Why this change Slurp and Noodle could lose the selected image style after image prompt interpretation. The original prompt was compiled with the selected style, but the successful interpretation path sent the rewritten prompt directly to the provider. Fallback paths were compiled, which made the issue appear intermittent. ## What changed - Recompile successful rewritten prompts in public Noodle generation. - Recompile successful rewritten prompts in private Slurp generation. - Add a regression for a selected Anime style with empty connection prompt fields. - Bump Slurp to `1.0.30`. - Rebuild the Slurp server bundle, artifact, manifest hashes, and preview catalog notes. ## Validation - `npx tsx tests/slurp-image-instructions.regression.ts` - `node scripts/validate-catalog.mjs` - `node scripts/test-catalog-lanes.mjs` - `node scripts/validate-package-locales.mjs` - `node scripts/tests/catalog-release-notes.regression.mjs` - `git diff --check` ## Known validation gaps - `npm run check` could not start because this worktree has no local Prettier executable. - The broad Noodle/Slurp regression loop stops in an earlier unrelated test because `@marinara-engine/shared` is unavailable in this worktree module resolution. - Manual Engine installation and browser testing have not been performed in this worktree. ## Generated package - `artifacts/slurp-1.0.30.zip` - Preview catalog entries updated for v2, v3, and the legacy v2 alias. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Rewritten image prompts now preserve the selected illustration style profile. - Configured style guidance and negative prompts are retained when interpreting image requests. - **Tests** - Added regression coverage to verify style settings remain applied to prompts without explicit style guidance. - **Release** - Updated the Slurp package to version 1.0.30. <!-- 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:03:10 +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#1120
No description provided.