[PR #7352] [MERGED] fix(noodle): mirror the Noodle 1.5.2 image prompt default #7694

Closed
opened 2026-10-24 04:06:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7352
Author: @SpicyMarinara
Created: 10/9/2026
Status: ✅ Merged
Merged: 10/9/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/7318-noodle-prompt-mirror


📝 Commits (3)

  • 84409a5 fix(noodle): mirror the Noodle 1.5.2 image prompt default (#7318)
  • cdf44d8 Move the CHANGELOG entry away from other open PRs
  • a6f685e Merge origin/staging into fix/7318-noodle-prompt-mirror

📊 Changes

3 files changed (+19 additions, -13 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/server/src/services/prompt-overrides/registry/noodle.ts (+8 -11)
📝 scripts/regressions/noodle/prompt.regression.ts (+10 -2)

📄 Description

Important

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

Linked issue

Closes #7318

Package side: Pasta-Devs/Marinara-Agents#1279 (Noodle 1.5.2, closes Pasta-Devs/Marinara-Agents#1278). The Engine's own image paths were fixed by Pasta-Devs/Marinara-Engine#7342.

Why this change

  • In Pasta-Devs/Marinara-Engine#7318 a ComfyUI user with Danbooru-style tags (Illustrator 1.0.4, Noodle 1.5.1) found plain-English text meant for the prompt-writing model inside the prompt sent to ComfyUI. Pasta-Devs/Marinara-Engine#7342 fixed the Engine's paths and left Noodle to the package.
  • Noodle 1.5.2 (Pasta-Devs/Marinara-Agents#1279) stops pasting the poster's card Personality, their image habits and the connection's Image Prompting Instructions into the image prompt. It also keeps the built-in Auto instruction out of the image prompt, and a style profile's Style text now reaches the rewrite model once, as guidance, instead of also sitting in the prompt that model edits. When no rewrite runs, or it fails, Style text from the other profiles still applies, as in Pasta-Devs/Marinara-Engine#7342.
  • The Engine keeps a copy of Noodle's noodle.imagePost definition in packages/server/src/services/prompt-overrides/registry/noodle.ts. The prompt-override editor lists it (Settings → Generations → Prompt Overrides → Image Generation Prompt Overrides → Noodle Post Image), with its description, variables and default text. Without this PR that editor would still show the old default with Personality and image habits. Its description also says "no LLM pass runs after it", which isn't true for Noodle while Interpret image prompts is on.

What changed

  • packages/server/src/services/prompt-overrides/registry/noodle.ts: NOODLE_IMAGE_POST now matches the package's definition in Noodle 1.5.2 exactly (checked with a diff of the two files from NOODLE_IMAGE_POST down):
    • the default builder sends the visual idea and appearance notes only;
    • the description says what the package does: an agent text model rewrites the prompt, and without a rewrite the prompt is sent without the instructions;
    • the characterPersonality and characterImageInstructions variable notes say the default no longer adds them and that custom templates can still use them.
  • scripts/regressions/noodle/prompt.regression.ts: the existing noodle.imagePost case asserted that Personality and image habits are in the default prompt. That was the old intended behaviour, and Pasta-Devs/Marinara-Agents#1278 deliberately changes it. It now asserts that they are absent and that the default is exactly the visual idea plus the appearance block, with a comment that it mirrors the package-owned default. It fails on staging's mirror and passes with this change.
  • CHANGELOG.md: one [Unreleased] entry.

Not changed: the Engine's copy has no noodle.imageInterpret key (the package-only "Noodle Image Style Interpretation" instruction), so that one still cannot be edited in the prompt-override editor. That is outside this issue.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually verify in Settings → Generations → Prompt Overrides → Image Generation Prompt Overrides → Noodle Post Image that the default template preview shows the visual idea and appearance notes only, without the example personality ("precise, arrogant, …") or image habits ("Shares stark lab photography …").
  • Manually verify that the description there reads correctly and that the characterPersonality and characterImageInstructions variables still appear for custom templates.
  • Manually verify that a saved custom Noodle Post Image override is kept and still used after updating.
  • Manually verify, with Noodle 1.5.2 from Pasta-Devs/Marinara-Agents#1279 installed, that a Noodle image posted through a ComfyUI connection carries no Personality text, image habits or User image instructions: line in the ComfyUI queue.

Agent-run checks: pnpm check (through the shared slot limiter) passes. Targeted regressions all pass: scripts/regressions/noodle/prompt.regression.ts, scripts/regressions/prompt.regression.ts, and the regression:noodle set (deletion, feed-seen, image-claim, mentions, platform-migration, polls). The updated Noodle prompt case fails against staging's mirror and passes with this change. No browser check was run.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

CHANGELOG is updated. No docs/ page describes Personality or image habits being added to Noodle image prompts, so no docs or translation follow-up is needed.

UI evidence (if applicable)

No layout change. The Noodle Post Image entry in the prompt-override editor shows the new description and default text.

Summary by CodeRabbit

  • Improvements
    • Noodle’s image-prompt rewriting now uses poster personality, image habits, and Image Prompting Instructions as guidance for the rewriting AI instead of adding them directly to prompts sent to image services.
    • By default, image prompts contain the draft visual idea and the character’s appearance.

🔄 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-Engine/pull/7352 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/9/2026 **Status:** ✅ Merged **Merged:** 10/9/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/7318-noodle-prompt-mirror` --- ### 📝 Commits (3) - [`84409a5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/84409a5c24713d92e274dfad77c5027ea4f2cafe) fix(noodle): mirror the Noodle 1.5.2 image prompt default (#7318) - [`cdf44d8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cdf44d8206e7aa0ac1c57882f9bea08fd9b6dd69) Move the CHANGELOG entry away from other open PRs - [`a6f685e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a6f685eb549dfc4484cf102952700de53a4dcba5) Merge origin/staging into fix/7318-noodle-prompt-mirror ### 📊 Changes **3 files changed** (+19 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/server/src/services/prompt-overrides/registry/noodle.ts` (+8 -11) 📝 `scripts/regressions/noodle/prompt.regression.ts` (+10 -2) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Closes #7318 Package side: Pasta-Devs/Marinara-Agents#1279 (Noodle 1.5.2, closes Pasta-Devs/Marinara-Agents#1278). The Engine's own image paths were fixed by Pasta-Devs/Marinara-Engine#7342. ## Why this change - In Pasta-Devs/Marinara-Engine#7318 a ComfyUI user with Danbooru-style tags (Illustrator 1.0.4, Noodle 1.5.1) found plain-English text meant for the prompt-writing model inside the prompt sent to ComfyUI. Pasta-Devs/Marinara-Engine#7342 fixed the Engine's paths and left Noodle to the package. - Noodle 1.5.2 (Pasta-Devs/Marinara-Agents#1279) stops pasting the poster's card **Personality**, their image habits and the connection's **Image Prompting Instructions** into the image prompt. It also keeps the built-in **Auto** instruction out of the image prompt, and a style profile's **Style text** now reaches the rewrite model once, as guidance, instead of also sitting in the prompt that model edits. When no rewrite runs, or it fails, Style text from the other profiles still applies, as in Pasta-Devs/Marinara-Engine#7342. - The Engine keeps a copy of Noodle's `noodle.imagePost` definition in `packages/server/src/services/prompt-overrides/registry/noodle.ts`. The prompt-override editor lists it (**Settings → Generations → Prompt Overrides → Image Generation Prompt Overrides → Noodle Post Image**), with its description, variables and default text. Without this PR that editor would still show the old default with Personality and image habits. Its description also says "no LLM pass runs after it", which isn't true for Noodle while **Interpret image prompts** is on. ## What changed - `packages/server/src/services/prompt-overrides/registry/noodle.ts`: `NOODLE_IMAGE_POST` now matches the package's definition in Noodle 1.5.2 exactly (checked with a diff of the two files from `NOODLE_IMAGE_POST` down): - the default builder sends the visual idea and appearance notes only; - the description says what the package does: an agent text model rewrites the prompt, and without a rewrite the prompt is sent without the instructions; - the `characterPersonality` and `characterImageInstructions` variable notes say the default no longer adds them and that custom templates can still use them. - `scripts/regressions/noodle/prompt.regression.ts`: the existing `noodle.imagePost` case asserted that Personality and image habits are in the default prompt. That was the old intended behaviour, and Pasta-Devs/Marinara-Agents#1278 deliberately changes it. It now asserts that they are absent and that the default is exactly the visual idea plus the appearance block, with a comment that it mirrors the package-owned default. It fails on staging's mirror and passes with this change. - `CHANGELOG.md`: one `[Unreleased]` entry. Not changed: the Engine's copy has no `noodle.imageInterpret` key (the package-only "Noodle Image Style Interpretation" instruction), so that one still cannot be edited in the prompt-override editor. That is outside this issue. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Manually verify in **Settings → Generations → Prompt Overrides → Image Generation Prompt Overrides → Noodle Post Image** that the default template preview shows the visual idea and appearance notes only, without the example personality ("precise, arrogant, …") or image habits ("Shares stark lab photography …"). - Manually verify that the description there reads correctly and that the `characterPersonality` and `characterImageInstructions` variables still appear for custom templates. - Manually verify that a saved custom **Noodle Post Image** override is kept and still used after updating. - Manually verify, with Noodle 1.5.2 from Pasta-Devs/Marinara-Agents#1279 installed, that a Noodle image posted through a ComfyUI connection carries no Personality text, image habits or `User image instructions:` line in the ComfyUI queue. Agent-run checks: `pnpm check` (through the shared slot limiter) passes. Targeted regressions all pass: `scripts/regressions/noodle/prompt.regression.ts`, `scripts/regressions/prompt.regression.ts`, and the `regression:noodle` set (`deletion`, `feed-seen`, `image-claim`, `mentions`, `platform-migration`, `polls`). The updated Noodle prompt case fails against staging's mirror and passes with this change. No browser check was run. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) CHANGELOG is updated. No `docs/` page describes Personality or image habits being added to Noodle image prompts, so no docs or translation follow-up is needed. ## UI evidence (if applicable) No layout change. The **Noodle Post Image** entry in the prompt-override editor shows the new description and default text. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Improvements** * Noodle’s image-prompt rewriting now uses poster personality, image habits, and Image Prompting Instructions as guidance for the rewriting AI instead of adding them directly to prompts sent to image services. * By default, image prompts contain the draft visual idea and the character’s appearance. <!-- 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-24 04:06:37 +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-Engine#7694
No description provided.