[PR #1224] [MERGED] fix(noodle): 1.5.1 — switch to stop sending timeline images to the writer #1353

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1224
Author: @SpicyMarinara
Created: 10/4/2026
Status: ✅ Merged
Merged: 10/4/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/noodle-timeline-pictures-1223


📝 Commits (1)

  • b175e26 fix(noodle): 1.5.1 — switch to stop sending timeline images to the writer

📊 Changes

21 files changed (+455 additions, -175 deletions)

View changed files

📝 .github/workflows/pull-request-checks.yml (+4 -2)
➕ artifacts/noodle-1.5.1.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/noodle/CHANGELOG.md (+5 -0)
📝 packages/noodle/README.md (+2 -0)
📝 packages/noodle/client.js (+8 -8)
📝 packages/noodle/manifest.json (+5 -5)
📝 packages/noodle/server.mjs (+123 -123)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx (+7 -0)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/noodle-settings-defaults.ts (+4 -1)
📝 packages/noodle/src/engine/packages/client/src/localization/locales/en.json (+3 -1)
📝 packages/noodle/src/engine/packages/client/src/localization/locales/ko.json (+3 -1)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-prompt.service.ts (+16 -9)
📝 packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts (+2 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)

...and 1 more files

📄 Description

Pull request

Important

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

Linked issue

Closes #1223

Refs Pasta-Devs/Marinara-Engine#7031

Why this change

  • With Image captioning off, every Noodle timeline refresh (manual, automatic, and the correction retry) sends up to 8 recent timeline images to the writer model. Nothing could turn that off, and the only check for whether a model accepts images is NanoGPT-only, so local vision models (KoboldCpp + Gemma in Pasta-Devs/Marinara-Engine#7031) always got them.
  • The Image captioning help only described the "on" case, so people with captioning off thought the switch was broken when KoboldCpp showed Noodle processing images.

What changed

  • Noodle 1.5.1 (noodle): new Show images to the writer switch in Settings → Advanced → Image Understanding, saved with the other Noodle settings (showImagesToWriter). It is on by default, and settings saved before 1.5.1 resolve to on, so nothing changes for anyone who doesn't touch it.
  • When the switch is off, the writer request never carries images: not on the first request, the correction retry, or automatic refreshes. Images are only read when captioning needs them. Captioning stays a separate choice: captions still reach the writer as text, and a failed caption no longer falls back to attaching the raw picture.
  • Help text now matches both switches:
    • Show images to the writer: "When off, the writer model gets no timeline images. Image captioning, when on, still sends them to the captioning connection."
    • Image captioning: "When on, the writer model gets text descriptions of timeline images. When off, it gets up to 8 recent images, if Show images to the writer is on and the model accepts them." (Korean gets the new switch's label and help, and the updated captioning help uses the Korean label.)
  • New tests/noodle-writer-images.regression.ts runs the real image/message part of buildRefreshPrompt for both switch states and a failed caption. It is added to the PR checks next to the context budget regression.
  • Rebuilt packages/noodle/{manifest.json,server.mjs,client.js}, artifacts/noodle-1.5.1.zip, catalog entries and release notes. Built with MARINARA_ENGINE_ROOT at Engine ead04150a, which rebuilds published Noodle 1.5.0 byte for byte; a second 1.5.1 build is identical. Artifact sha256 14a108ad347e22b0841fdcea6a49716321eb5a798503e2f70718e161f29f3ca6. The two working commits were squashed into one, so the zip is in the history once.

Package and security impact

  • Affected package IDs: noodle (1.5.0 → 1.5.1)
  • Engine compatibility impact: none (>=2.4.6 <4.0.0, capability API 1.35 unchanged)
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: one new boolean in the stored Noodle settings; a missing value reads as on. No migration needed. Restart prompt unchanged.

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

Agent-run checks (for reference, not ticked):

  • Regression fails on staging code (no timeline image is read when nothing would use it) and passes with the fix.
  • Live run against a fake KoboldCpp-style server with Noodle 1.5.1 copied into a scratch Engine's packages folder:
    • Settings from 1.5.0: refresh sent 7 images.
    • Switch off: manual refresh, correction retry and an automatic scheduler refresh each sent 0 images.
    • Switch off + captioning on with one failed caption: 7 caption requests (1 image each) to the captioning connection, then the refresh sent 0 images.
    • Switch back on: 7 images on the refresh and its correction; with captioning on, a failed caption still attached its 1 image as before.
  • Playwright on the scratch Engine showed both new help tooltips.
  • Noodle/Slurp regressions run one by one show the same failures as untouched origin/staging, plus the new test passing.

Still needed from a human:

  • Manually verify that updating Noodle 1.5.0 → 1.5.1 through Agents → Download Agents works and that the restart prompt appears.
  • Manually verify in the browser that Settings → Advanced → Image Understanding shows Show images to the writer switched on, and that both help tooltips read correctly.
  • Manually verify with a local vision model (for example KoboldCpp) that turning the switch off, with Image captioning off, makes the KoboldCpp console show no images for a timeline refresh.
  • Manually verify that with the switch off and Image captioning on, the captioning connection still gets one image per caption request (by default this is the Noodle generation connection, so KoboldCpp still processes images there), captions still appear in the refresh (debug log shows "Added N generated timeline image caption(s)"), and the timeline request itself carries no images.
  • A Korean speaker should check the updated captioning help string.

Documentation impact

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

(packages/noodle/README.md and packages/noodle/CHANGELOG.md are updated. Engine docs/development/noodle-internals.md could mention the switch in a separate Engine PR.)

UI evidence (if applicable)

  • Screenshot: Image Understanding with Show images to the writer above Image captioning (to attach)
  • Screenshot: help tooltips for both switches (to attach)

Summary by CodeRabbit

  • New Features
    • Added a default-on Show images to the writer setting. Turn it off to prevent timeline images from being sent to the writer.
    • Image captioning remains separate: when enabled, images go to the captioning connection and the writer receives text descriptions. When captioning is off, the writer may receive up to 8 recent images if the setting is on and the model supports images.
  • Documentation
    • Updated Noodle 1.5.1 release notes and image-handling guidance.
  • Tests
    • Added checks for image handling across captioning and setting combinations.

🔄 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/1224 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/4/2026 **Status:** ✅ Merged **Merged:** 10/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/noodle-timeline-pictures-1223` --- ### 📝 Commits (1) - [`b175e26`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b175e26a9271bbbd3c8ad421220ca667ecc02ca7) fix(noodle): 1.5.1 — switch to stop sending timeline images to the writer ### 📊 Changes **21 files changed** (+455 additions, -175 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-checks.yml` (+4 -2) ➕ `artifacts/noodle-1.5.1.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/noodle/CHANGELOG.md` (+5 -0) 📝 `packages/noodle/README.md` (+2 -0) 📝 `packages/noodle/client.js` (+8 -8) 📝 `packages/noodle/manifest.json` (+5 -5) 📝 `packages/noodle/server.mjs` (+123 -123) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx` (+7 -0) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/noodle-settings-defaults.ts` (+4 -1) 📝 `packages/noodle/src/engine/packages/client/src/localization/locales/en.json` (+3 -1) 📝 `packages/noodle/src/engine/packages/client/src/localization/locales/ko.json` (+3 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-prompt.service.ts` (+16 -9) 📝 `packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts` (+2 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) _...and 1 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #1223 Refs Pasta-Devs/Marinara-Engine#7031 ## Why this change - With **Image captioning** off, every Noodle timeline refresh (manual, automatic, and the correction retry) sends up to 8 recent timeline images to the writer model. Nothing could turn that off, and the only check for whether a model accepts images is NanoGPT-only, so local vision models (KoboldCpp + Gemma in Pasta-Devs/Marinara-Engine#7031) always got them. - The Image captioning help only described the "on" case, so people with captioning off thought the switch was broken when KoboldCpp showed Noodle processing images. ## What changed - Noodle 1.5.1 (`noodle`): new **Show images to the writer** switch in Settings → Advanced → Image Understanding, saved with the other Noodle settings (`showImagesToWriter`). It is on by default, and settings saved before 1.5.1 resolve to on, so nothing changes for anyone who doesn't touch it. - When the switch is off, the writer request never carries images: not on the first request, the correction retry, or automatic refreshes. Images are only read when captioning needs them. Captioning stays a separate choice: captions still reach the writer as text, and a failed caption no longer falls back to attaching the raw picture. - Help text now matches both switches: - Show images to the writer: "When off, the writer model gets no timeline images. Image captioning, when on, still sends them to the captioning connection." - Image captioning: "When on, the writer model gets text descriptions of timeline images. When off, it gets up to 8 recent images, if Show images to the writer is on and the model accepts them." (Korean gets the new switch's label and help, and the updated captioning help uses the Korean label.) - New `tests/noodle-writer-images.regression.ts` runs the real image/message part of `buildRefreshPrompt` for both switch states and a failed caption. It is added to the PR checks next to the context budget regression. - Rebuilt `packages/noodle/{manifest.json,server.mjs,client.js}`, `artifacts/noodle-1.5.1.zip`, catalog entries and release notes. Built with `MARINARA_ENGINE_ROOT` at Engine `ead04150a`, which rebuilds published Noodle 1.5.0 byte for byte; a second 1.5.1 build is identical. Artifact sha256 `14a108ad347e22b0841fdcea6a49716321eb5a798503e2f70718e161f29f3ca6`. The two working commits were squashed into one, so the zip is in the history once. ## Package and security impact - Affected package IDs: `noodle` (1.5.0 → 1.5.1) - Engine compatibility impact: none (`>=2.4.6 <4.0.0`, capability API 1.35 unchanged) - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: one new boolean in the stored Noodle settings; a missing value reads as on. No migration needed. Restart prompt unchanged. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `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 Agent-run checks (for reference, not ticked): - Regression fails on staging code (`no timeline image is read when nothing would use it`) and passes with the fix. - Live run against a fake KoboldCpp-style server with Noodle 1.5.1 copied into a scratch Engine's packages folder: - Settings from 1.5.0: refresh sent 7 images. - Switch off: manual refresh, correction retry and an automatic scheduler refresh each sent 0 images. - Switch off + captioning on with one failed caption: 7 caption requests (1 image each) to the captioning connection, then the refresh sent 0 images. - Switch back on: 7 images on the refresh and its correction; with captioning on, a failed caption still attached its 1 image as before. - Playwright on the scratch Engine showed both new help tooltips. - Noodle/Slurp regressions run one by one show the same failures as untouched `origin/staging`, plus the new test passing. Still needed from a human: - Manually verify that updating Noodle 1.5.0 → 1.5.1 through **Agents → Download Agents** works and that the restart prompt appears. - Manually verify in the browser that **Settings → Advanced → Image Understanding** shows **Show images to the writer** switched on, and that both help tooltips read correctly. - Manually verify with a local vision model (for example KoboldCpp) that turning the switch off, with Image captioning off, makes the KoboldCpp console show no images for a timeline refresh. - Manually verify that with the switch off and Image captioning on, the captioning connection still gets one image per caption request (by default this is the Noodle generation connection, so KoboldCpp still processes images there), captions still appear in the refresh (debug log shows "Added N generated timeline image caption(s)"), and the timeline request itself carries no images. - A Korean speaker should check the updated captioning help string. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation (`packages/noodle/README.md` and `packages/noodle/CHANGELOG.md` are updated. Engine `docs/development/noodle-internals.md` could mention the switch in a separate Engine PR.) ## UI evidence (if applicable) - Screenshot: Image Understanding with **Show images to the writer** above **Image captioning** (to attach) - Screenshot: help tooltips for both switches (to attach) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a default-on **Show images to the writer** setting. Turn it off to prevent timeline images from being sent to the writer. * Image captioning remains separate: when enabled, images go to the captioning connection and the writer receives text descriptions. When captioning is off, the writer may receive up to 8 recent images if the setting is on and the model supports images. * **Documentation** * Updated Noodle 1.5.1 release notes and image-handling guidance. * **Tests** * Added checks for image handling across captioning and setting combinations. <!-- 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:09:24 +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#1353
No description provided.