[PR #301] [MERGED] fix(noodle): interpret post image art styles #900

Closed
opened 2026-10-20 17:32:07 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: fix/4764-noodle-image-style


📝 Commits (2)

  • 9b1b873 fix(noodle): interpret post image art styles
  • e671f5c docs(noodle): add image prompt docstrings

📊 Changes

13 files changed (+285 additions, -239 deletions)

View changed files

📝 artifacts/noodle-1.0.2.zip (+0 -0)
📝 catalog/catalog.json (+7 -7)
📝 catalog/v2/catalog.json (+7 -7)
📝 catalog/v3/catalog.json (+7 -7)
📝 packages/noodle/client.js (+1 -1)
📝 packages/noodle/manifest.json (+4 -4)
📝 packages/noodle/server.mjs (+200 -200)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-image-prompt-rewrite.ts (+19 -7)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-noodler-images.service.ts (+10 -2)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-images.service.ts (+10 -2)
📝 packages/noodle/src/engine/packages/server/src/services/prompt-overrides/registry/noodle.ts (+14 -0)
📝 sources/engine/packages/server/src/services/prompt-overrides/index.ts (+2 -0)
📝 sources/engine/packages/server/src/services/prompt-overrides/registry.ts (+4 -2)

📄 Description

Linked issue

Fixes #4764 (source issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4764)

Why this change

Noodle post prompts previously went from raw timeline output to the image model. Stylized characters could therefore receive photorealistic post images while conversation selfies used the correct character style.

What changed

  • Add the editable noodle.imageInterpret prompt override.
  • Pass the selected image style profile guidance to the existing Noodle image prompt rewrite helper.
  • Run the rewrite when style guidance exists, even when connection-specific image instructions are empty.
  • Preserve explicit styles in the source prompt and keep the existing fallback when prompt resolution fails.
  • Rebuild the Noodle package artifact and all catalog lanes.

Package and security impact

  • Affected package IDs: noodle
  • Engine compatibility impact: None. The existing 2.4.2 <= version < 4.0.0 range remains unchanged.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: Existing package update and restart behavior only.

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

Local catalog, lane, locale, and diff checks passed. Package installation and browser checks remain for human verification.

Documentation impact

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

UI evidence (if applicable)

No UI source changed. The preview/review prompt still needs manual verification.

Proof gap

The package prompt-safety regression runner could not start because its direct TypeScript imports omit .js extensions and the repository has no configured TypeScript runtime for that script.

Summary by CodeRabbit

  • New Features

    • Image generation now incorporates configured style guidance when refining prompts.
    • Character-appropriate visual styling is applied while preserving styles explicitly requested in prompts.
    • Image prompt refinement can use provider instructions, style guidance, or both.
    • Added support for customizing image interpretation behavior through prompt overrides.
  • Chores

    • Refreshed package and catalog metadata to reflect the latest artifact contents.

🔄 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/301 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/10/2026 **Status:** ✅ Merged **Merged:** 8/10/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/4764-noodle-image-style` --- ### 📝 Commits (2) - [`9b1b873`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9b1b873ce7b90b9cd8447716f9f56c464968c03f) fix(noodle): interpret post image art styles - [`e671f5c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e671f5c0029609916e0f11b89a045287c5795ef6) docs(noodle): add image prompt docstrings ### 📊 Changes **13 files changed** (+285 additions, -239 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/noodle-1.0.2.zip` (+0 -0) 📝 `catalog/catalog.json` (+7 -7) 📝 `catalog/v2/catalog.json` (+7 -7) 📝 `catalog/v3/catalog.json` (+7 -7) 📝 `packages/noodle/client.js` (+1 -1) 📝 `packages/noodle/manifest.json` (+4 -4) 📝 `packages/noodle/server.mjs` (+200 -200) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-image-prompt-rewrite.ts` (+19 -7) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-noodler-images.service.ts` (+10 -2) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-images.service.ts` (+10 -2) 📝 `packages/noodle/src/engine/packages/server/src/services/prompt-overrides/registry/noodle.ts` (+14 -0) 📝 `sources/engine/packages/server/src/services/prompt-overrides/index.ts` (+2 -0) 📝 `sources/engine/packages/server/src/services/prompt-overrides/registry.ts` (+4 -2) </details> ### 📄 Description ## Linked issue Fixes #4764 (source issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4764) ## Why this change Noodle post prompts previously went from raw timeline output to the image model. Stylized characters could therefore receive photorealistic post images while conversation selfies used the correct character style. ## What changed - Add the editable `noodle.imageInterpret` prompt override. - Pass the selected image style profile guidance to the existing Noodle image prompt rewrite helper. - Run the rewrite when style guidance exists, even when connection-specific image instructions are empty. - Preserve explicit styles in the source prompt and keep the existing fallback when prompt resolution fails. - Rebuild the Noodle package artifact and all catalog lanes. ## Package and security impact - Affected package IDs: `noodle` - Engine compatibility impact: None. The existing `2.4.2 <= version < 4.0.0` range remains unchanged. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: Existing package update and restart behavior only. ## 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 Local catalog, lane, locale, and diff checks passed. Package installation and browser checks remain for human verification. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) No UI source changed. The preview/review prompt still needs manual verification. ## Proof gap The package prompt-safety regression runner could not start because its direct TypeScript imports omit `.js` extensions and the repository has no configured TypeScript runtime for that script. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Image generation now incorporates configured style guidance when refining prompts. - Character-appropriate visual styling is applied while preserving styles explicitly requested in prompts. - Image prompt refinement can use provider instructions, style guidance, or both. - Added support for customizing image interpretation behavior through prompt overrides. - **Chores** - Refreshed package and catalog metadata to reflect the latest artifact contents. <!-- 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-20 17:32:07 +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#900
No description provided.