mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3984] [MERGED] (feat)noodler Slice 8a: text-only automatic creator posting #6184
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6184
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-Engine/pull/3984
Author: @Gunterlie
Created: 7/23/2026
Status: ✅ Merged
Merged: 7/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:noodl-split/slice-8📝 Commits (5)
d88fce0Slice 8a: text-only automatic creator posting4118e6eMerge branch 'staging' into noodl-split/slice-8ed97817Address PR #3984 review: freshness polling, error feedback, intensity-safe claimf287e62Address CodeRabbit review on PR #3984cc2d3aeMerge branch 'staging' into noodl-split/slice-8📊 Changes
13 files changed (+534 additions, -13 deletions)
View changed files
📝
package.json(+1 -1)📝
packages/client/src/components/noodle/NoodlerHome.tsx(+117 -0)📝
packages/client/src/hooks/use-noodle.ts(+41 -0)📝
packages/server/src/app.ts(+4 -0)📝
packages/server/src/routes/noodle.routes.ts(+15 -0)➕
packages/server/src/services/noodle/noodle-autopost-cadence.ts(+33 -0)➕
packages/server/src/services/noodle/noodle-autopost-scheduler.service.ts(+105 -0)📝
packages/server/src/services/storage/noodle.storage.ts(+103 -4)📝
packages/shared/src/schemas/noodle.schema.ts(+31 -2)📝
packages/shared/src/types/noodle.ts(+14 -1)➕
scripts/regressions/noodle-autopost.regression.ts(+63 -0)📝
scripts/regressions/noodle-prompt.regression.ts(+1 -1)📝
scripts/regressions/noodle-settings.regression.ts(+6 -4)📄 Description
Small basic feature, gets better with time.
Slice / capability
Slice 8a — text-only automatic creator posting. Adds a per-creator NoodleR scheduler so stage-profile creators post autonomously while Marinara runs, plus the per-creator control surface. Builds on the merged Slice 1A–7 foundation (typed private-account settings, atomic patching, the
generateNoodlePrivatePostapplication seam, and the Slice 7 creator profile page).Why
The release-candidate bar requires autonomous posting: characters producing content on their own, per-creator toggleable and safe to stop. Until now NoodleR could only generate a private post on demand. This delivers the autonomy core.
This is the first step of NoodleR automation and will get refined later. It intentionally ships the minimum safe autonomous loop (text-only, subscriber access, per-creator cadence) so the behavior can be exercised and tuned in real use. Expect follow-ups to refine cadence/jitter, the control plane (8b), generated images (8b+), and fan activity (Slice 9). The scheduler seam and settings shape here are the foundation those iterations build on.
What changed
NoodleAutoPostingSettings/ scheduler-subtree placeholders (types + zod). Default = disabled, intensity 1,nextRunAt: null. The client patch schema excludes the server-ownednextRunAt.scheduler-subtree patches on private accounts; deep-merge preservesnextRunAtand clears it transactionally on enable/intensity change. New server-owned mutators:advanceAutoPostRun(seed / claim / skip),rescheduleAutoPostRun,listAutoPostEnabledAccounts.autoPostingexposed on the managed stage profile.noodle-autopost-scheduler.service.ts): polls enabled creators, claims a due run by advancingnextRunAtbefore provider work (at-most-once; no catch-up burst), bounded concurrency, subscriber-access text-only posts viagenerateNoodlePrivatePost(never routes).onClosedrains active runs before storage closes. Wired inapp.ts.noodle-autopost-cadence.ts): pure 1/3/6 → interval math with ±25% jitter and an anti-burst floor.PUT /noodle/noodler/accounts/:id/auto-post/schedule(future-time validated); Automation panel on the creator profile (enable toggle, Low/Med/High cadence, next-run status + reschedule) withuseUpdateNoodlerAutoPosting/useRescheduleNoodlerAutoPost.Explicit non-scope
enableNoodlertoggle UI, and the global Refresh NoodleR now action. The release-candidate control plane is not fully closed until 8b lands.Validation status
pnpm checkpnpm regression:noodle(incl. newnoodle-autopostcadence/schema check)pnpm guard:installer-artifactsIssue
No linked issue found — one should be opened before this PR is submitted per
CONTRIBUTING.md § Before You Open a Pull Request.🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.