[GH-ISSUE #1299] [Feature]: Preview/edit Illustrator image prompts for per-turn RP/Convo selfie generation (parity with GM/Sprite/background) #643

Closed
opened 2026-10-20 17:31:10 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @GetBeholder on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1299

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

The Illustrator Agent's generated positive/negative image prompts can be previewed
and edited for GM, Sprite, and background generation, but not for per-turn RP/Convo
selfie generation. Because per-turn selfie prompts cannot be reviewed or edited
before being sent to ComfyUI, users have no way to fix bad prompts — for example,
to work around the character-description leak in #1298.

Proposed behavior

Add a preview/edit step for the positive and negative image prompts generated for
per-turn RP/Convo selfie generation, matching the capability already available in
GM, Sprite, and background generation.

Expected owner or impact area

  • App shell, navigation, startup, or providers
  • Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Refactor branch considerations

From a quick scan (triage pointer, not from the reporter): prompt preview/edit
machinery exists (src/engine/generation/prompt-preview.ts,
src/engine/generation/prompt-reviewer.ts) and is surfaced for GM, Sprite, and
background generation. Extend it to the per-turn RP/Convo selfie path so the
positive/negative prompts can be reviewed/edited before being sent to the image
connection. Keep the preview/review logic in the engine and add the edit surface to
the RP/Convo per-turn flows.

Alternatives considered

Not specified by the reporter. (Today there is no way to edit per-turn RP/Convo
selfie prompts.)

Additional context

Source: forum thread by m;aemoifmpfmmafe (2-Star), 5/24/26 9:04 AM, raised in
response to maintainer Marinara [MARI] suggesting the prompt could be edited — the
reporter clarified there is no edit option for per-turn RP/Convo selfie generation,
only for GM/Sprite/background. Related: #1298 (description leak this would let users
work around), #1271 (agent-written image prompts with a two-stage preview), and
#1275 (reference image handling).

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @GetBeholder on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1299 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? The Illustrator Agent's generated positive/negative image prompts can be previewed and edited for GM, Sprite, and background generation, but not for per-turn RP/Convo selfie generation. Because per-turn selfie prompts cannot be reviewed or edited before being sent to ComfyUI, users have no way to fix bad prompts — for example, to work around the character-description leak in #1298. ## Proposed behavior Add a preview/edit step for the positive and negative image prompts generated for per-turn RP/Convo selfie generation, matching the capability already available in GM, Sprite, and background generation. ## Expected owner or impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge - [x] Chat mode - [x] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Refactor branch considerations From a quick scan (triage pointer, not from the reporter): prompt preview/edit machinery exists (`src/engine/generation/prompt-preview.ts`, `src/engine/generation/prompt-reviewer.ts`) and is surfaced for GM, Sprite, and background generation. Extend it to the per-turn RP/Convo selfie path so the positive/negative prompts can be reviewed/edited before being sent to the image connection. Keep the preview/review logic in the engine and add the edit surface to the RP/Convo per-turn flows. ## Alternatives considered Not specified by the reporter. (Today there is no way to edit per-turn RP/Convo selfie prompts.) ## Additional context Source: forum thread by m;aemoifmpfmmafe (2-Star), 5/24/26 9:04 AM, raised in response to maintainer Marinara [MARI] suggesting the prompt could be edited — the reporter clarified there is no edit option for per-turn RP/Convo selfie generation, only for GM/Sprite/background. Related: #1298 (description leak this would let users work around), #1271 (agent-written image prompts with a two-stage preview), and #1275 (reference image handling). ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:31:10 +07:00
Author
Owner

@cha1latte commented on GitHub (May 26, 2026):

Triage note: labeling this as scope-risk because it extends prompt preview/edit behavior into per-turn RP/Convo selfie generation, connecting existing engine preview machinery with additional chat/roleplay UI flows and related image-generation bugs.

Narrow the first slice to positive/negative prompt review for one per-turn path, then confirm parity requirements before expanding across RP and Convo.

<!-- gh-comment-id:4548818221 --> @cha1latte commented on GitHub (May 26, 2026): Triage note: labeling this as `scope-risk` because it extends prompt preview/edit behavior into per-turn RP/Convo selfie generation, connecting existing engine preview machinery with additional chat/roleplay UI flows and related image-generation bugs. Narrow the first slice to positive/negative prompt review for one per-turn path, then confirm parity requirements before expanding across RP and Convo.
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

We'll add it for other modes.

<!-- gh-comment-id:4556087148 --> @SpicyMarinara commented on GitHub (May 27, 2026): We'll add it for other modes.
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

Implemented on refactor in 981971c1: per-turn conversation/roleplay selfie generation now uses the shared image prompt review surface, including positive and negative prompt editing before the image request is sent. Validation: pnpm check, pnpm lint, and the targeted scene-service vitest run.

<!-- gh-comment-id:4556348267 --> @SpicyMarinara commented on GitHub (May 27, 2026): Implemented on refactor in 981971c1: per-turn conversation/roleplay selfie generation now uses the shared image prompt review surface, including positive and negative prompt editing before the image request is sent. Validation: pnpm check, pnpm lint, and the targeted scene-service vitest run.
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-Engine#643
No description provided.