[PR #316] [MERGED] fix(noodle): NoodleR generation, artwork, and creator wizard pass #907

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/316
Author: @Gunterlie
Created: 8/13/2026
Status: ✅ Merged
Merged: 8/13/2026
Merged by: @Gunterlie

Base: staging ← Head: novel-no-more


📝 Commits (4)

  • 2047d3a fix(noodle): NoodleR generation, artwork, and creator wizard pass (1.0.7)
  • 659c349 chore(noodle): bump to 1.0.8 and rebuild the artifact
  • 48cf939 fix(noodle): stop hinted creators inheriting the literal source photo
  • 26afad6 fix(noodle): address CodeRabbit findings on PR #316

📊 Changes

38 files changed (+1193 additions, -478 deletions)

View changed files

📝 artifacts/noodle-1.0.7.zip (+0 -0)
➕ artifacts/noodle-1.0.8.zip (+0 -0)
📝 catalog/catalog.json (+9 -9)
📝 catalog/v2/catalog.json (+9 -9)
📝 catalog/v3/catalog.json (+9 -9)
📝 packages/noodle/client.js (+24 -24)
📝 packages/noodle/manifest.json (+5 -5)
📝 packages/noodle/server.mjs (+241 -240)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx (+1 -1)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodlePostCard.tsx (+9 -2)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodleProfileSurface.tsx (+13 -10)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodleShell.tsx (+13 -7)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerBulkCreatePanel.tsx (+81 -57)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerHome.tsx (+16 -1)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerPostCard.tsx (+15 -5)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerPublishingSettings.tsx (+31 -7)
➕ packages/noodle/src/engine/packages/client/src/hooks/use-noodler-media-src.ts (+45 -0)
📝 packages/noodle/src/engine/packages/client/src/localization/locales/en.json (+1 -1)
📝 packages/noodle/src/engine/packages/server/src/routes/noodle.routes.ts (+49 -5)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-autopost-scheduler.service.ts (+6 -0)

...and 18 more files

📄 Description

Linked issue

Closes #315

Why this change

NoodleR posts ran novel-length with no image and no title, hinted-disclosure creators had no visual continuity with their source, new creators had no avatar/banner and creation could fail outright against non-schema-strict models, and generated images 404'd/403'd in the browser. See #315 for the full writeup and repro.

What changed

Affected package: noodle (NoodleR).

Generation

  • Per-format content caps enforced in the JSON response schema, not just prompt text (caption 320 / teaser 280 / announcement 1000 / long_form unchanged).
  • Every post now carries a title; imagePrompt is mandatory when images are enabled, with a body-derived fallback title if a model still omits one.
  • Fan/audience activity can react to locked posts (title only, no body — a reply can't restate paid content).
  • Hinted disclosure reworked into an "open secret": inherits appearance (avatar/gallery references) like open, posts tease the other life without naming it, never confirms or denies a guess.
  • Default NoodleR generation guidance made explicit by default, migrated for existing installs (their customizations are preserved; only the shipped default string is swapped).
  • Stage-profile draft parsing tolerates non-schema model answers (renamed/wrapped fields, missing handle) instead of failing the whole creator, with one corrective retry as last resort.

Artwork

  • New creators inherit avatar/banner from an open/hinted source; secret creators generate their own through the disclosure-aware image pipeline.
  • Scheduler-poll backfill fills in existing creators missing artwork, one image per tick.
  • New banner route + storage; avatar/banner lookups fall back across both prefixes so already-generated banners keep working.
  • Post/avatar/banner images now load through an authenticated fetch (they sit behind the package's X-Admin-Secret-gated media route, which a bare <img src> can't satisfy).
  • Tap-to-fullscreen for post/comment images in NoodleR.

Settings & limits

  • Prepared-post reserve preview (creator name + count) in publishing settings.
  • postsPerDay ceiling 24 → 100, default 4 → 8.

Creator wizard

  • Settings' "Add creator profiles" opens on the character list instead of a repurposed onboarding handoff screen, with a reachable "Fine-tune setup" toggle for the full four-step lane.
  • Fixed clamp-on-keystroke posts-per-day field, images toggle now matches its sibling switches, accent bands corrected to the modal's actual padding.

Package and security impact

  • Affected package IDs: noodle
  • Engine compatibility impact: none (manifest engine range unchanged)
  • New or changed permissions/entrypoints: none; one new server route (GET /noodler/accounts/:id/banner/:fileName), same auth gate as the existing avatar route
  • Restart, storage, update, or uninstall impact: existing NoodleR accounts gain a bannerUrl field in stored settings (additive); no migration required, backfill runs lazily on the scheduler poll

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

  • npm run test:noodle:regressions (includes new noodler-stage-profile-draft.regression.ts) passes.
  • node scripts/validate-package-locales.mjs, node scripts/test-catalog-lanes.mjs pass.
  • Deployed the rebuilt package to a live dev Engine (direct docker-copy, not catalog) across the whole session and re-verified after each change:
    • Confirmed a generated post has a real title, a body under the format cap, and an attached image (previously null/absent).
    • Confirmed fan activity now targets a locked post (title-only in the prompt).
    • Confirmed a hinted creator's generated image reuses the source's appearance.
    • Confirmed all 4 existing creators backfilled both avatar and banner via the scheduler poll; avatarUrl/bannerUrl both return 200 image/png through the authenticated route.
    • Confirmed the settings "Add creator profiles" wizard opens on the character list, the fine-tune toggle round-trips, and the posts-per-day field accepts a typed two-digit value.
    • Confirmed postsPerDay accepts 8 and 100 via the settings endpoint and is reflected in /noodler/auto-post/status.

Documentation impact

  • No documentation changes needed

UI evidence (if applicable)

Verified interactively against a live dev Engine throughout the session (avatar/banner render, image lightbox, wizard screens); no screenshots captured.

Template check

  • I DID NOT read this template and provide the requested details.

Summary by CodeRabbit

  • New Features

    • Added image lightboxes for posts, replies, drafts, and profile media.
    • Added authenticated loading for avatars and banners.
    • Added creator artwork generation and gallery-based banners.
    • Expanded audience activity to include locked posts and banner profiles.
    • Improved Noodler setup with easier editing, customization, and prepared-post counts.
  • Improvements

    • Improved generated content titles, length limits, image prompts, and profile handling.
    • Updated default generation guidance toward explicit creator content.
    • Refreshed package metadata and integrity information.

🔄 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/316 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/13/2026 **Status:** ✅ Merged **Merged:** 8/13/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `novel-no-more` --- ### 📝 Commits (4) - [`2047d3a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2047d3a9bff68f860c9fda356ab72b5dd3e23200) fix(noodle): NoodleR generation, artwork, and creator wizard pass (1.0.7) - [`659c349`](https://github.com/Pasta-Devs/Marinara-Agents/commit/659c34975ec0ca01bf59b08b89c49116fc7d5df7) chore(noodle): bump to 1.0.8 and rebuild the artifact - [`48cf939`](https://github.com/Pasta-Devs/Marinara-Agents/commit/48cf939278ef5103ae5e62da42bb2b5413d1bb4e) fix(noodle): stop hinted creators inheriting the literal source photo - [`26afad6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/26afad637840cfc8b0db51ab96a6c8a8f564ddb3) fix(noodle): address CodeRabbit findings on PR #316 ### 📊 Changes **38 files changed** (+1193 additions, -478 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/noodle-1.0.7.zip` (+0 -0) ➕ `artifacts/noodle-1.0.8.zip` (+0 -0) 📝 `catalog/catalog.json` (+9 -9) 📝 `catalog/v2/catalog.json` (+9 -9) 📝 `catalog/v3/catalog.json` (+9 -9) 📝 `packages/noodle/client.js` (+24 -24) 📝 `packages/noodle/manifest.json` (+5 -5) 📝 `packages/noodle/server.mjs` (+241 -240) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx` (+1 -1) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodlePostCard.tsx` (+9 -2) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodleProfileSurface.tsx` (+13 -10) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodleShell.tsx` (+13 -7) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerBulkCreatePanel.tsx` (+81 -57) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerHome.tsx` (+16 -1) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerPostCard.tsx` (+15 -5) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodlerPublishingSettings.tsx` (+31 -7) ➕ `packages/noodle/src/engine/packages/client/src/hooks/use-noodler-media-src.ts` (+45 -0) 📝 `packages/noodle/src/engine/packages/client/src/localization/locales/en.json` (+1 -1) 📝 `packages/noodle/src/engine/packages/server/src/routes/noodle.routes.ts` (+49 -5) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-autopost-scheduler.service.ts` (+6 -0) _...and 18 more files_ </details> ### 📄 Description ## Linked issue Closes #315 ## Why this change NoodleR posts ran novel-length with no image and no title, hinted-disclosure creators had no visual continuity with their source, new creators had no avatar/banner and creation could fail outright against non-schema-strict models, and generated images 404'd/403'd in the browser. See #315 for the full writeup and repro. ## What changed Affected package: `noodle` (NoodleR). **Generation** - Per-format content caps enforced in the JSON response schema, not just prompt text (caption 320 / teaser 280 / announcement 1000 / long_form unchanged). - Every post now carries a title; `imagePrompt` is mandatory when images are enabled, with a body-derived fallback title if a model still omits one. - Fan/audience activity can react to locked posts (title only, no body — a reply can't restate paid content). - Hinted disclosure reworked into an "open secret": inherits appearance (avatar/gallery references) like `open`, posts tease the other life without naming it, never confirms or denies a guess. - Default NoodleR generation guidance made explicit by default, migrated for existing installs (their customizations are preserved; only the shipped default string is swapped). - Stage-profile draft parsing tolerates non-schema model answers (renamed/wrapped fields, missing handle) instead of failing the whole creator, with one corrective retry as last resort. **Artwork** - New creators inherit avatar/banner from an open/hinted source; secret creators generate their own through the disclosure-aware image pipeline. - Scheduler-poll backfill fills in existing creators missing artwork, one image per tick. - New banner route + storage; avatar/banner lookups fall back across both prefixes so already-generated banners keep working. - Post/avatar/banner images now load through an authenticated fetch (they sit behind the package's `X-Admin-Secret`-gated media route, which a bare `<img src>` can't satisfy). - Tap-to-fullscreen for post/comment images in NoodleR. **Settings & limits** - Prepared-post reserve preview (creator name + count) in publishing settings. - `postsPerDay` ceiling 24 → 100, default 4 → 8. **Creator wizard** - Settings' "Add creator profiles" opens on the character list instead of a repurposed onboarding handoff screen, with a reachable "Fine-tune setup" toggle for the full four-step lane. - Fixed clamp-on-keystroke posts-per-day field, images toggle now matches its sibling switches, accent bands corrected to the modal's actual padding. ## Package and security impact - Affected package IDs: `noodle` - Engine compatibility impact: none (manifest engine range unchanged) - New or changed permissions/entrypoints: none; one new server route (`GET /noodler/accounts/:id/banner/:fileName`), same auth gate as the existing avatar route - Restart, storage, update, or uninstall impact: existing NoodleR accounts gain a `bannerUrl` field in stored settings (additive); no migration required, backfill runs lazily on the scheduler poll ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [x] Installed or updated the affected package through Marinara Engine - [x] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - `npm run test:noodle:regressions` (includes new `noodler-stage-profile-draft.regression.ts`) passes. - `node scripts/validate-package-locales.mjs`, `node scripts/test-catalog-lanes.mjs` pass. - Deployed the rebuilt package to a live dev Engine (direct docker-copy, not catalog) across the whole session and re-verified after each change: - Confirmed a generated post has a real title, a body under the format cap, and an attached image (previously null/absent). - Confirmed fan activity now targets a locked post (title-only in the prompt). - Confirmed a hinted creator's generated image reuses the source's appearance. - Confirmed all 4 existing creators backfilled both avatar and banner via the scheduler poll; `avatarUrl`/`bannerUrl` both return `200 image/png` through the authenticated route. - Confirmed the settings "Add creator profiles" wizard opens on the character list, the fine-tune toggle round-trips, and the posts-per-day field accepts a typed two-digit value. - Confirmed `postsPerDay` accepts 8 and 100 via the settings endpoint and is reflected in `/noodler/auto-post/status`. ## Documentation impact - [x] No documentation changes needed ## UI evidence (if applicable) Verified interactively against a live dev Engine throughout the session (avatar/banner render, image lightbox, wizard screens); no screenshots captured. ## Template check - [ ] I DID NOT read this template and provide the requested details. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added image lightboxes for posts, replies, drafts, and profile media. - Added authenticated loading for avatars and banners. - Added creator artwork generation and gallery-based banners. - Expanded audience activity to include locked posts and banner profiles. - Improved Noodler setup with easier editing, customization, and prepared-post counts. - **Improvements** - Improved generated content titles, length limits, image prompts, and profile handling. - Updated default generation guidance toward explicit creator content. - Refreshed package metadata and integrity information. <!-- 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:32:12 +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#907
No description provided.