[PR #299] [MERGED] Rewrite Noodle image prompts before review #899

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/299
Author: @snpNEXT
Created: 8/10/2026
Status: ✅ Merged
Merged: 8/10/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/noodle-image-prompt-instructions


📝 Commits (3)

  • 50dfbbb Rewrite Noodle image prompts before review
  • 0285562 Merge branch 'staging' into feat/noodle-image-prompt-instructions
  • bc7710f fix(noodle): synchronize prompt rewrite package

📊 Changes

11 files changed (+403 additions, -243 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 (+228 -214)
➕ packages/noodle/src/engine/packages/server/src/services/noodle/noodle-image-prompt-rewrite.ts (+102 -0)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-noodler-images.service.ts (+23 -1)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-images.service.ts (+23 -1)
📝 packages/noodle/src/engine/packages/server/src/services/prompt-overrides/registry/noodle.ts (+1 -1)

📄 Description

Pull request

Important

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

Linked issue

Closes #300

Why this change

  • Make Noodle image-connection instructions usable with smaller and local image providers.
  • Show a provider-ready rewritten prompt in the image review modal.
  • Keep confirmed prompts from being rewritten or receiving instruction text a second time.

This complements Pasta-Devs/Marinara-Engine#4842.

What changed

  • Affected package ID: noodle.
  • Added a bounded agent-text-model rewrite for public Noodle and private NoodleR image prompts.
  • Used the default agent text connection with the configured agent fallback.
  • Kept explicit reviewed prompt overrides unchanged.
  • Documented the normalized direct-instruction fallback when rewriting is unavailable.
  • Rebuilt the Noodle server/client payloads, ZIP artifact, manifest, and all catalog lanes.

Package and security impact

  • Affected package IDs: noodle
  • Engine compatibility impact: Requires Marinara Engine 2.4.2 or later, matching the existing manifest.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: Existing restart behavior is unchanged; no storage migration is required.

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

  • Contributor manually tested Noodle prompt review with built-in Professor Mari context and confirmed that reviewed prompts are not rewritten twice.
  • Maintainer repair ran node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/validate-catalog.mjs, generated-bundle syntax checks, and git diff --check.
  • npm run test:browser:noodle completed with 20 passing tests and 12 project-specific skips.
  • The rebuilt ZIP contains the same Noodle manifest, server, client, and asset hashes recorded in the catalogs.
  • Required SpicyMarinara approval was submitted against the current head.

Documentation impact

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

UI evidence (if applicable)

No visual layout changes.


🔄 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/299 **Author:** [@snpNEXT](https://github.com/snpNEXT) **Created:** 8/10/2026 **Status:** ✅ Merged **Merged:** 8/10/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/noodle-image-prompt-instructions` --- ### 📝 Commits (3) - [`50dfbbb`](https://github.com/Pasta-Devs/Marinara-Agents/commit/50dfbbbb638d942c9c00b5a334376de4d1f0413f) Rewrite Noodle image prompts before review - [`0285562`](https://github.com/Pasta-Devs/Marinara-Agents/commit/028556231f3ba540c5700a9e1f03a19e80df961d) Merge branch 'staging' into feat/noodle-image-prompt-instructions - [`bc7710f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/bc7710fb3dbbf3339648555a6fbc1c23d06e1582) fix(noodle): synchronize prompt rewrite package ### 📊 Changes **11 files changed** (+403 additions, -243 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` (+228 -214) ➕ `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-image-prompt-rewrite.ts` (+102 -0) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-noodler-images.service.ts` (+23 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-images.service.ts` (+23 -1) 📝 `packages/noodle/src/engine/packages/server/src/services/prompt-overrides/registry/noodle.ts` (+1 -1) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository staging branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #300 ## Why this change - Make Noodle image-connection instructions usable with smaller and local image providers. - Show a provider-ready rewritten prompt in the image review modal. - Keep confirmed prompts from being rewritten or receiving instruction text a second time. This complements Pasta-Devs/Marinara-Engine#4842. ## What changed - Affected package ID: `noodle`. - Added a bounded agent-text-model rewrite for public Noodle and private NoodleR image prompts. - Used the default agent text connection with the configured agent fallback. - Kept explicit reviewed prompt overrides unchanged. - Documented the normalized direct-instruction fallback when rewriting is unavailable. - Rebuilt the Noodle server/client payloads, ZIP artifact, manifest, and all catalog lanes. ## Package and security impact - Affected package IDs: `noodle` - Engine compatibility impact: Requires Marinara Engine 2.4.2 or later, matching the existing manifest. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: Existing restart behavior is unchanged; no storage migration is required. ## 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 - Contributor manually tested Noodle prompt review with built-in Professor Mari context and confirmed that reviewed prompts are not rewritten twice. - Maintainer repair ran `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs`, `node scripts/validate-catalog.mjs`, generated-bundle syntax checks, and `git diff --check`. - `npm run test:browser:noodle` completed with 20 passing tests and 12 project-specific skips. - The rebuilt ZIP contains the same Noodle manifest, server, client, and asset hashes recorded in the catalogs. - Required SpicyMarinara approval was submitted against the current head. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) No visual layout changes. --- <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#899
No description provided.