mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4425] [CLOSED] AFTER UPDATE: feat(noodler): collapse post access to public|locked, add creator replies and reserve #6374
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#6374
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/4425
Author: @Gunterlie
Created: 8/1/2026
Status: ❌ Closed
Base:
stack/2-docs← Head:stack/3-server📝 Commits (2)
13382a9feat(noodler): collapse post access to public|locked, add creator replies and post reserveda09ee0Merge branch 'stack/2-docs' into stack/3-server📊 Changes
31 files changed (+2280 additions, -533 deletions)
View changed files
📝
package.json(+1 -1)📝
packages/server/src/db/file-backed-store.ts(+51 -7)➕
packages/server/src/db/noodle-access-migration.ts(+13 -0)📝
packages/server/src/db/schema/noodle.ts(+48 -2)📝
packages/server/src/routes/agents.routes.ts(+1 -0)📝
packages/server/src/routes/backup.routes.ts(+2 -0)📝
packages/server/src/routes/noodle.routes.ts(+135 -68)➖
packages/server/src/services/noodle/noodle-autopost-cadence.ts(+0 -33)📝
packages/server/src/services/noodle/noodle-autopost-scheduler.service.ts(+29 -87)📝
packages/server/src/services/noodle/noodle-image-retry.ts(+2 -2)➕
packages/server/src/services/noodle/noodle-noodler-creator-reply.operation.ts(+53 -0)📝
packages/server/src/services/noodle/noodle-noodler-generation.service.ts(+89 -12)📝
packages/server/src/services/noodle/noodle-noodler-images.service.ts(+12 -4)📝
packages/server/src/services/noodle/noodle-noodler-media.ts(+12 -0)📝
packages/server/src/services/noodle/noodle-noodler-post.operation.ts(+43 -21)➕
packages/server/src/services/noodle/noodle-noodler-reply-generation.service.ts(+145 -0)➕
packages/server/src/services/noodle/noodle-noodler-reserve.operation.ts(+179 -0)📝
packages/server/src/services/noodle/noodle-response-format.ts(+15 -3)📝
packages/server/src/services/noodle/noodle-stage-profile-draft.service.ts(+11 -3)📝
packages/server/src/services/noodle/noodler-access.ts(+1 -3)...and 11 more files
📄 Description
Why
The NoodleR access model had grown three overlapping concepts —
subscriber,ppv,ppvPrice,subscriptionIncludesPpv— that users experienced as one question: can this viewer read this post. This collapses post access topublic | lockedwith a data migration, and builds the two features that depend on that settled model: creators replying to the viewer, and a front-loaded reserve of scheduled posts so a creator's feed does not go silent when generation is slow.Carries Slices 8f-1, 8f-2, 8g, and 8f-3 from the living plan.
Why these four slices are one PR
The living plan orders them as separate slices, and that was the right build order. They cannot be separated after the fact at file granularity: all four turn on the same access and settings type collapse, which ripples through
noodle.routes.ts, the autopost scheduler, and the generation service. Splitting them here would mean cutting those three files hunk-by-hunk and hand-repairing each intermediate state so it compiles — real risk of subtly wrong intermediate commits, for no reviewer benefit.The client surface for this work is deliberately held back to layer 4.
Stack
Layer 3 of 4. Base:
stack/2-docs(#4424).Notes
noodle-autopost-cadence.tsis deleted; the reserve operation replaces it.noodle_postsrows off the retired access values. Reviewers should look hardest here — it rewrites stored user data on first boot.Test plan
pnpm checkpnpm regression:noodle(15 regressions, including the newnoodle-creator-replyand reserve coverage)subscriber/ppvposts land aslocked, and no post becomes readable that was not readable before🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.