mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8010] fix(conversation): plain video history notes, notes in Peek Prompt, and group video requests #8056
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#8056
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/8010
Author: @JamesMowery
Created: 10/21/2026
Status: 🔄 Open
Base:
staging← Head:fix/conversation-video-notes📝 Commits (10+)
daf2badfix(conversation): plainer video notes, notes in Peek Prompt, group videosc18c513fix(conversation): nested JSON video prompts keep their words in the history note5d6fce4fix(conversation): the video note leaves out negative prompts and reads JSON inside a stringe83d045fix(conversation): the video note drops every bracketed cue and keeps prose labels86ef1b6fix(conversation): an unclosed cue's words leave the video note toobe5018dfix(conversation): an unclosed cue in one JSON field leaves the next field in the notee86902dfix(conversation): the video note's cue strip runs in one pass, and catches plain labels94c9cc2refactor(conversation): the video note relies on videoPromptWords leaving no bracketa7cd84afix(conversation): strip technical labels in any case from video notes8c00a12fix(conversation): more technical label words in video notes📊 Changes
7 files changed (+429 additions, -27 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+13 -13)📝
packages/server/src/routes/generate/conversation-prompt-formatting.ts(+152 -4)📝
packages/server/src/routes/generate/dry-run-route.ts(+20 -8)📝
packages/server/src/routes/generate/generate-route-utils.ts(+21 -0)📝
packages/server/src/services/generation/conversation-selfie-command-runtime.ts(+1 -1)📝
scripts/regressions/convo-video-command.regression.ts(+213 -1)📝
scripts/regressions/prompt.regression.ts(+9 -0)📄 Description
Linked issue
Closes #8009
Part of #7545 (a follow-up). @SpicyMarinara
Why this change
[Shot 1] …), characters copied that format into their own[video: …]tags, whose inner brackets then broke the tag: it showed as text and made no clip.What changed
conversation-prompt-formatting.ts): JSON fields are read one per line (nested objects and JSON inside a string too, negative prompts left out), field labels are stripped where they start a line (camera:,shot_1:,OVERALL_SOUNDSCAPE:; a name likeAna:or a link stays), and every bracketed cue ([Shot 1: close-up],[cut to window], nested ones, an unclosed one through the end of its line or field) goes in one pass (stripBracketedCues), so the note holds exactly one bracket pair.appendSentMediaNotesused by both (generate.routes.ts,dry-run-route.ts).GROUP_SELFIE_REQUEST_RE, like group selfies.[video]tag reader itself tolerate brackets; the two touch some of the same files, so whichever merges second may need a small rebase.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated runs on 2026-10-21 on
staging5e7468ab4, Node 24.21.0:pnpm check: passes. Its one lint warning, inHomeProfessorMariChat.tsx, is not from this PR.pnpm localization:check: passes.convo-video-command: the history note for a JSON prompt, a labelled[Shot 1]prompt and a nested-JSON shot list reads as plain words; the sharedappendSentMediaNotesthat generation and Peek Prompt both use adds video and selfie notes; "Send me a group video of you two!" names both characters for the selfie first frame. These check the helpers directly, not Peek Prompt's route.prompt: its source checks follow the shared note helper.pnpm regressiononc18c51381(before the CodeRabbit fix): 960/960 pass. On5d6fce492: server type check,convo-video-commandandpromptpass.5d6fce492: anegative_promptread in the note as if the clip showed it, and JSON kept inside a string field leaked its syntax. Negative-prompt keys are skipped and JSON inside a string is read as JSON;convo-video-commandcovers both and fails without the fix. A review of that commit: 0 findings.pnpm smoke:uiandpnpm regression:ui(server-only change).Manual verification notes
[Shot N].Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
No UI changes; Peek Prompt shows notes it already showed for real generations.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.