mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1762] [MERGED] Extend prompt overrides to sprite and game image builders #5268
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#5268
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/1762
Author: @cha1latte
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @cha1latte
Base:
refactor← Head:feature/issue-1529-prompt-overrides📝 Commits (3)
abacd57Extend prompt overrides to image builders41ff7daMerge remote-tracking branch 'upstream/refactor' into feature/issue-1529-prompt-overrides7885d2eAddress CodeRabbit prompt override feedback📊 Changes
10 files changed (+1346 additions, -98 deletions)
View changed files
📝
src-tauri/src/commands/storage.rs(+2 -0)📝
src-tauri/src/commands/storage/profile.rs(+24 -10)📝
src-tauri/src/commands/storage/profile/legacy.rs(+11 -3)➕
src-tauri/src/commands/storage/prompt_overrides.rs(+336 -0)📝
src-tauri/src/commands/storage/sprites.rs(+357 -42)➕
src/engine/generation/prompt-overrides.manifest.json(+199 -0)➕
src/engine/generation/prompt-overrides.registry.test.tsx(+135 -0)📝
src/engine/generation/prompt-overrides.ts(+68 -40)📝
src/features/modes/game/api/game-api.ts(+61 -3)➕
src/features/modes/game/api/game-image-prompts.test.tsx(+153 -0)📄 Description
## Linked issue
Closes #1529
Why this change
Issue #1529 tracks the remaining prompt override parity gap after
conversation.selfie: sprite prompt builders and Game Mode image prompt builders had transient prompt-review edits, but no durable Settings-level registered templates.What changed
Refactor impact
Primary owner:
Game mode / runtime generation / engine generation / Rust storage.
Impact areas reviewed:
Boundary notes:
include_str!to avoid a separate supported-key list drifting from the TS registry.Pressure points touched:
src/features/modes/game/api/game-api.tssrc-tauri/src/commands/storage/sprites.rssrc-tauri/src/commands/storage/profile.rsandprofile/legacy.rssrc-tauri/src/commands/storage.rsValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyCodex proof run in clean worktree
C:\tmp\Marinara-Engine-1529:pnpm checkpassed.pnpm exec vitest run src/engine/generation/prompt-overrides.test.ts src/features/modes/game/api/game-api.test.tspassed: 31 tests.cargo test --manifest-path src-tauri\Cargo.toml prompt_override --libpassed: 8 tests.git diff --checkpassed.Manual verification notes
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs changes included; this is an implementation parity feature for an existing Settings surface.
UI evidence
N/A. No new UI component was added; the existing registry-driven Prompt Overrides Settings editor should list the new manifest entries.
Summary by CodeRabbit
Release Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.