[PR #494] [MERGED] Fix NovelAI v5 generation in Noodle and Slurp #998

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/494
Author: @SpicyMarinara
Created: 8/22/2026
Status: ✅ Merged
Merged: 8/22/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/493-novelai-v5-packages


📝 Commits (5)

  • 65a1979 chore: start NovelAI v5 package fix (#493)
  • d000654 fix(novelai): sync v5 package runtimes
  • f2c5751 test(novelai): exercise v5 bundle behavior
  • f826237 test(novelai): execute game v5 support
  • 43d8758 test(novelai): cover non-novelai game backend

📊 Changes

13 files changed (+639 additions, -468 deletions)

View changed files

➕ artifacts/noodle-1.2.12.zip (+0 -0)
➕ artifacts/slurp-1.0.15.zip (+0 -0)
📝 catalog/catalog.json (+12 -12)
📝 catalog/v2/catalog.json (+12 -12)
📝 catalog/v3/catalog.json (+12 -12)
📝 packages/noodle/manifest.json (+3 -3)
📝 packages/noodle/server.mjs (+199 -199)
📝 packages/slurp/manifest.json (+3 -3)
📝 packages/slurp/server.mjs (+255 -216)
📝 scripts/build-feature-packages.mjs (+2 -2)
📝 sources/engine/packages/server/src/services/game/game-asset-generation.ts (+3 -1)
📝 sources/engine/packages/server/src/services/image/image-generation.ts (+18 -8)
➕ tests/noodle-novelai-v5-runtime.regression.ts (+120 -0)

📄 Description

Pull request

Linked issue

Closes #493

Why this change

Noodle and Slurp bundle an older Engine image-generation snapshot, so NovelAI Diffusion v5 requests can fail with HTTP 500 and fall back to v4.5 even though current Engine supports v5.

What changed

  • Synced the current Engine NovelAI v5 model guards and Unicode prompt handling into the captured provider runtime.
  • Kept V5 out of the V4.5-only precise-reference payload path.
  • Bumped and rebuilt Noodle 1.2.12 and Slurp 1.0.15 server artifacts and catalog entries.
  • Preserved both existing client bundles because this is a server-only provider fix.
  • Added an executable regression over the captured runtime and both generated bundles.

Package and security impact

  • Affected package IDs: noodle, slurp
  • Engine compatibility impact: unchanged; Noodle remains >=2.4.4 <4.0.0, Slurp remains >=2.4.3 <4.0.0
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: normal package update and restart; no storage or uninstall changes

Validation

Automated evidence:

  • npx tsx tests/noodle-novelai-v5-runtime.regression.ts

  • npm run check — 0 errors; 70 pre-existing warnings

  • node scripts/test-catalog-lanes.mjs

  • node scripts/validate-package-locales.mjs

  • node scripts/validate-catalog.mjs

  • Noodle package browser suite — 20 passed, 12 platform-intentional skips

  • Slurp package browser suite — 3 passed, 1 platform-intentional skip

  • git diff --check

  • 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

The browser harness installed and exercised both rebuilt package artifacts. A live NovelAI provider request was not run because no provider credential was available; manually generate with V5 in both packages and confirm no V4.5 fallback.

Documentation impact

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

No user-facing documentation change is required for this provider compatibility repair.

UI evidence (if applicable)

Not applicable; existing client bundles are preserved.

Summary by CodeRabbit

  • New Features

    • Released Noodle version 1.2.12.
    • Released Slurp version 1.0.15.
    • Updated package downloads and server artifacts with refreshed version, checksum, and size information.
  • Tests

    • Added regression coverage for NovelAI model detection, precise references, Unicode prompt sanitization, token markers, structured character prompts, and bundled package runtime behavior.

🔄 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/494 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/22/2026 **Status:** ✅ Merged **Merged:** 8/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/493-novelai-v5-packages` --- ### 📝 Commits (5) - [`65a1979`](https://github.com/Pasta-Devs/Marinara-Agents/commit/65a197929e8309eb417ca1f492e51a9c227a9be2) chore: start NovelAI v5 package fix (#493) - [`d000654`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d0006547c2255e607076fdf0828dd70c26c674b7) fix(novelai): sync v5 package runtimes - [`f2c5751`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f2c57514b6b66eace90a010569cbe93a7cfcf3c4) test(novelai): exercise v5 bundle behavior - [`f826237`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f82623704f17abbcab46929889937d797a8f9ba3) test(novelai): execute game v5 support - [`43d8758`](https://github.com/Pasta-Devs/Marinara-Agents/commit/43d8758381c187b114a060db45d1777d4904af34) test(novelai): cover non-novelai game backend ### 📊 Changes **13 files changed** (+639 additions, -468 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/noodle-1.2.12.zip` (+0 -0) ➕ `artifacts/slurp-1.0.15.zip` (+0 -0) 📝 `catalog/catalog.json` (+12 -12) 📝 `catalog/v2/catalog.json` (+12 -12) 📝 `catalog/v3/catalog.json` (+12 -12) 📝 `packages/noodle/manifest.json` (+3 -3) 📝 `packages/noodle/server.mjs` (+199 -199) 📝 `packages/slurp/manifest.json` (+3 -3) 📝 `packages/slurp/server.mjs` (+255 -216) 📝 `scripts/build-feature-packages.mjs` (+2 -2) 📝 `sources/engine/packages/server/src/services/game/game-asset-generation.ts` (+3 -1) 📝 `sources/engine/packages/server/src/services/image/image-generation.ts` (+18 -8) ➕ `tests/noodle-novelai-v5-runtime.regression.ts` (+120 -0) </details> ### 📄 Description # Pull request ## Linked issue Closes #493 ## Why this change Noodle and Slurp bundle an older Engine image-generation snapshot, so NovelAI Diffusion v5 requests can fail with HTTP 500 and fall back to v4.5 even though current Engine supports v5. ## What changed - Synced the current Engine NovelAI v5 model guards and Unicode prompt handling into the captured provider runtime. - Kept V5 out of the V4.5-only precise-reference payload path. - Bumped and rebuilt Noodle 1.2.12 and Slurp 1.0.15 server artifacts and catalog entries. - Preserved both existing client bundles because this is a server-only provider fix. - Added an executable regression over the captured runtime and both generated bundles. ## Package and security impact - Affected package IDs: `noodle`, `slurp` - Engine compatibility impact: unchanged; Noodle remains `>=2.4.4 <4.0.0`, Slurp remains `>=2.4.3 <4.0.0` - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: normal package update and restart; no storage or uninstall changes ## Validation Automated evidence: - `npx tsx tests/noodle-novelai-v5-runtime.regression.ts` - `npm run check` — 0 errors; 70 pre-existing warnings - `node scripts/test-catalog-lanes.mjs` - `node scripts/validate-package-locales.mjs` - `node scripts/validate-catalog.mjs` - Noodle package browser suite — 20 passed, 12 platform-intentional skips - Slurp package browser suite — 3 passed, 1 platform-intentional skip - `git diff --check` - [ ] `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 The browser harness installed and exercised both rebuilt package artifacts. A live NovelAI provider request was not run because no provider credential was available; manually generate with V5 in both packages and confirm no V4.5 fallback. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation No user-facing documentation change is required for this provider compatibility repair. ## UI evidence (if applicable) Not applicable; existing client bundles are preserved. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Released Noodle version 1.2.12. * Released Slurp version 1.0.15. * Updated package downloads and server artifacts with refreshed version, checksum, and size information. * **Tests** * Added regression coverage for NovelAI model detection, precise references, Unicode prompt sanitization, token markers, structured character prompts, and bundled package runtime behavior. <!-- 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:33:05 +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#998
No description provided.