[PR #770] [MERGED] fix(slurp): pass image guidance to post generation #1128

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

📋 Pull Request Information

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

Base: staging ← Head: silent-treatment


📝 Commits (2)

  • b24faa2 fix(slurp): pass image guidance to post generation
  • 01763c3 style(slurp): format image prompt handoff

📊 Changes

13 files changed (+75 additions, -26 deletions)

View changed files

➕ artifacts/slurp-1.0.31.zip (+0 -0)
📝 catalog/preview/catalog.json (+6 -6)
📝 catalog/preview/notes.json (+6 -0)
📝 catalog/preview/v2/catalog.json (+6 -6)
📝 catalog/preview/v2/notes.json (+6 -0)
📝 catalog/preview/v3/catalog.json (+6 -6)
📝 catalog/preview/v3/notes.json (+6 -0)
📝 packages/slurp/CHANGELOG.md (+4 -0)
📝 packages/slurp/manifest.json (+3 -3)
📝 packages/slurp/server.mjs (+4 -3)
📝 packages/slurp/src/engine/packages/server/src/services/slurp/slurp-generation.service.ts (+11 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/slurp-generation-prompts.regression.ts (+16 -0)

📄 Description

Linked issue

Closes #769

Why this change

Slurp stored image generation guidance but omitted it from the main post-generation model prompt. The model could not use the configured image directions when it created imagePrompt. This also meant the optional interpretation handoff could be skipped because the image service received no active image instruction context.

What changed

  • Pass settings.imageGenerationPrompt into buildNoodlerPostMessages.
  • Include configured image directions in the image-enabled main model instruction.
  • Add regression assertions for the main prompt handoff.
  • Rebuild Slurp 1.0.31, including artifacts/slurp-1.0.31.zip and staging preview catalog entries.

Package and security impact

  • Affected package IDs: slurp
  • Engine compatibility impact: None. The existing range remains 2.4.3 through <4.0.0.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: Slurp update to 1.0.31; the package retains its existing restart requirement. No storage migration.

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

Focused regression tests passed:

  • tsx tests/slurp-generation-prompts.regression.ts
  • tsx tests/slurp-image-instructions.regression.ts
  • node scripts/test-catalog-lanes.mjs
  • node scripts/validate-package-locales.mjs
  • node scripts/validate-catalog.mjs
  • node scripts/tests/catalog-release-notes.regression.mjs
  • ZIP content verification

Live Engine installation and manual provider testing were not performed in this worktree. npm run check was initially blocked because local development dependencies were absent; the changed source was then formatted with Prettier before push.

Documentation impact

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

UI evidence (if applicable)

Not applicable. This change affects server-side prompt assembly and the generated package payload.


🔄 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/770 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/9/2026 **Status:** ✅ Merged **Merged:** 9/9/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `silent-treatment` --- ### 📝 Commits (2) - [`b24faa2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b24faa24cbdace37cdb865097dd66d9b9350b72e) fix(slurp): pass image guidance to post generation - [`01763c3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/01763c35bb4ca7d6a9fec30d808fdedd5d78ce82) style(slurp): format image prompt handoff ### 📊 Changes **13 files changed** (+75 additions, -26 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp-1.0.31.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+6 -6) 📝 `catalog/preview/notes.json` (+6 -0) 📝 `catalog/preview/v2/catalog.json` (+6 -6) 📝 `catalog/preview/v2/notes.json` (+6 -0) 📝 `catalog/preview/v3/catalog.json` (+6 -6) 📝 `catalog/preview/v3/notes.json` (+6 -0) 📝 `packages/slurp/CHANGELOG.md` (+4 -0) 📝 `packages/slurp/manifest.json` (+3 -3) 📝 `packages/slurp/server.mjs` (+4 -3) 📝 `packages/slurp/src/engine/packages/server/src/services/slurp/slurp-generation.service.ts` (+11 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/slurp-generation-prompts.regression.ts` (+16 -0) </details> ### 📄 Description ## Linked issue Closes #769 ## Why this change Slurp stored image generation guidance but omitted it from the main post-generation model prompt. The model could not use the configured image directions when it created `imagePrompt`. This also meant the optional interpretation handoff could be skipped because the image service received no active image instruction context. ## What changed - Pass `settings.imageGenerationPrompt` into `buildNoodlerPostMessages`. - Include configured image directions in the image-enabled main model instruction. - Add regression assertions for the main prompt handoff. - Rebuild Slurp `1.0.31`, including `artifacts/slurp-1.0.31.zip` and staging preview catalog entries. ## Package and security impact - Affected package IDs: `slurp` - Engine compatibility impact: None. The existing range remains `2.4.3` through `<4.0.0`. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: Slurp update to `1.0.31`; the package retains its existing restart requirement. No storage migration. ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] 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 - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes Focused regression tests passed: - `tsx tests/slurp-generation-prompts.regression.ts` - `tsx tests/slurp-image-instructions.regression.ts` - `node scripts/test-catalog-lanes.mjs` - `node scripts/validate-package-locales.mjs` - `node scripts/validate-catalog.mjs` - `node scripts/tests/catalog-release-notes.regression.mjs` - ZIP content verification Live Engine installation and manual provider testing were not performed in this worktree. `npm run check` was initially blocked because local development dependencies were absent; the changed source was then formatted with Prettier before push. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Not applicable. This change affects server-side prompt assembly and the generated package payload. --- <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: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#1128
No description provided.