mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1279] [MERGED] fix(noodle): 1.5.2 — keep prompt-writer instructions out of image prompts #1380
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1380
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1279
Author: @SpicyMarinara
Created: 10/9/2026
Status: ✅ Merged
Merged: 10/9/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/1278-noodle-image-prompt-instructions📝 Commits (1)
14294a8fix(noodle): 1.5.2 — keep prompt-writer instructions out of image prompts (#1278)📊 Changes
16 files changed (+514 additions, -214 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+2 -1)➕
artifacts/noodle-1.5.2.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -0)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -0)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -0)📝
packages/noodle/CHANGELOG.md(+5 -0)📝
packages/noodle/manifest.json(+3 -3)📝
packages/noodle/server.mjs(+157 -158)📝
packages/noodle/src/engine/packages/server/src/services/noodle/noodle-image-prompt.ts(+30 -0)📝
packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-images.service.ts(+36 -22)📝
packages/noodle/src/engine/packages/server/src/services/prompt-overrides/registry/noodle.ts(+8 -11)📝
scripts/build-feature-packages.mjs(+1 -1)➕
tests/noodle-image-prompt-instructions.regression.ts(+236 -0)📄 Description
Pull request
Linked issue
Closes #1278
Reported in Pasta-Devs/Marinara-Engine#7318. The Engine side landed in Pasta-Devs/Marinara-Engine#7342; the Engine's mirror of the
noodle.imagePostdefault follows in a separate Engine PR.Why this change
<quality tags> <model output> <instructions>. Tag-only prompts break when sentences end up in them.noodle.imagePostdefault template pasted the poster's card Personality and opted-in image habits into the image prompt, although the rewrite model already gets both as character context;User image instructions: <connection Image Prompting Instructions>;compileImagePromptran withoutomitProfileStyleText. A style profile's Style text stayed in the prompt the rewrite model edits, although that model also gets it as style guidance. The built-in Auto instruction ("Infer a consistent visual style from the character, game, scene, and selected image model.") ended up in every Noodle image prompt.What changed
noodle1.5.1 → 1.5.2 (above every version the staging catalog has published).prompt-overrides/registry/noodle.ts: thenoodle.imagePostdefault sends the visual idea and appearance notes only.characterPersonalityandcharacterImageInstructionsstay available to custom templates; the key's and variables' descriptions say so.noodle/noodle-image-prompt.ts: newcompileNoodleImagePromptscompiles the prompt in the two forms the image service needs:noodle/noodle-public-images.service.ts: uses that helper and no longer appendsUser image instructions: …. Without a rewrite the image model gets the base prompt. A failed rewrite is logged withlogger.warn, and instructions skipped because Interpret image prompts is off are logged in debug mode.tests/noodle-image-prompt-instructions.regression.tsruns the realgenerateNoodlePostImage(sliced from the source, with storage, providers and the rewrite model stubbed) for rewrite off, rewrite on, rewrite failed, the Auto profile and a reviewed prompt. It also checks the default template and the helper, including an Auto copy with its own Style text. It fails on staging code and passes with the fix, and it is added to the PR checks next to the other Noodle regressions.packages/noodle/{manifest.json,server.mjs},artifacts/noodle-1.5.2.zip, catalog entries and release notes (packages/noodle/CHANGELOG.md, marked[highlight]).client.jsis unchanged.MARINARA_ENGINE_ROOTat Engineead04150a(detached worktree,pnpm install --frozen-lockfile). Rebuilding the unchanged package there reproduces the committed 1.5.1 artifact byte for byte (sha25614a108ad…f3ca6,git statusclean).7fa52d296a76456c73767369bdc06cb9567b46203496b8d7e8c01f990975ec3d.Package and security impact
noodle(1.5.1 → 1.5.2)>=2.4.6 <4.0.0, capability API 1.35 unchanged)noodle.imagePostoverride keeps it.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run checks:
npm run check(0 errors; no warnings in the changed files),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,git diff --check,node scripts/validate-pr-triage.mjsandnode scripts/typecheck-packages.mjs noodleall pass. The new regression fails against the staging versions of the service and template and passes with the fix. All Noodle, Noodler and Slurp regressions were run one by one on this branch and on a pristineorigin/stagingworktree: the same 53 fail on both, and the new test is the only difference. No live install or image generation was run.Still needed from a human:
[debug/noodle/image] final image prompt). It should hold tags without the Personality text, the image habits, the connection's instructions or the Danbooru profile's Style sentence.User image instructions:line, no Personality and no image habits, and the server log (debug mode) says the image connection's instructions were not applied.Documentation impact
packages/noodle/CHANGELOG.mdhas the 1.5.2 entry. The README does not describe how image prompts are assembled. The Engine mirror of thenoodle.imagePostdefault, its regression and an Engine CHANGELOG entry follow in a Pasta-Devs/Marinara-Engine PR for Pasta-Devs/Marinara-Engine#7318.UI evidence (if applicable)
Not a UI change. The prompt-override editor (Settings → Generations → Prompt Overrides → Image Generation Prompt Overrides → Noodle Post Image) lists the Engine's copy of this key, so its description and default text change with the Engine PR, not this one.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.