[GH-ISSUE #1063] [Feature]: Slurp2 Deep details generation map with recorded image runs #543

Closed
opened 2026-10-20 17:28:26 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Gunterlie on GitHub (Sep 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1063

Originally assigned to: @Gunterlie on GitHub.

What problem does this solve?

When a Slurp2 post picture looks wrong (a different person, grey or dark light, an unexpected art style), there is no way to see why. Deep details stored the writing prompt and the final provider prompt, but not the image pipeline in between: which appearance was used, which style profile was applied and by whose setting, whether the prompt rewrite ran and was accepted or discarded, which image connection was chosen and why, the provider attempts, fallbacks, and errors. Redraws and reviewed images never updated the record at all.

A second, smaller problem: the "AI writing" text connection (modelBudget.connectionId, used for replies, messages, and audience activity) is only reachable under World › Audiences › AI Writing and is missing from the Connections panel.

Proposed package or change

Slurp2 (packages/slurp2):

  • Record every image run for a post in the Creator-private Deep details record: trigger, image settings snapshot, appearance source and text, reference image count, rendered template, style profile (and whether the Creator or Slurp chose it), styled prompt, rewrite model + full chat + answer + accept/reject reason, final and negative prompt, which setting chose the image connection, the fallback connection, and each provider attempt in order with timing, route, served-by fallback, the prompt the provider actually received, and errors. No credentials are stored. Last 5 runs kept.
  • Record runs from every path that owns a Deep details record: first generation, prompt review, reviewed confirmation, automatic retry, and the post reserve.
  • Rebuild the Deep details view as a generation map:
    • Flowchart: numbered steps from plan to saved picture, each with what happens, why, input, output, and the exact text as expandable previews.
    • Canvas: the same graph as a pan-and-zoom diagram.
    • Where the data comes from: every value names its source (Creator profile, linked card, memory and schedule, Slurp settings, Prompt Studio, Engine settings) and where to change it.
    • Posts without a recorded run (reused pictures, text-only posts, older posts) still explain their picture half.
  • Add the AI writing connection to the Connections panel with the correct fallback text.

Why should this be optional?

It is part of the existing optional Slurp2 package; nothing moves into Engine core.

Alternatives considered

  • Showing current settings for old posts: rejected, because settings may have changed since the post was made. Missing data is shown as "Not recorded".
  • A graph library for the canvas: not needed; plain SVG and CSS cover it without a new dependency.

Additional context

Found while investigating grey, off-identity pictures on a production install. The live Engine already reports effectiveConnection / effectivePrompt for fallback renders; this change records them.

Template check

Please uncheck (untick) 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 @Gunterlie on GitHub (Sep 24, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1063 Originally assigned to: @Gunterlie on GitHub. ## What problem does this solve? When a Slurp2 post picture looks wrong (a different person, grey or dark light, an unexpected art style), there is no way to see why. Deep details stored the writing prompt and the final provider prompt, but not the image pipeline in between: which appearance was used, which style profile was applied and by whose setting, whether the prompt rewrite ran and was accepted or discarded, which image connection was chosen and why, the provider attempts, fallbacks, and errors. Redraws and reviewed images never updated the record at all. A second, smaller problem: the "AI writing" text connection (`modelBudget.connectionId`, used for replies, messages, and audience activity) is only reachable under World › Audiences › AI Writing and is missing from the Connections panel. ## Proposed package or change Slurp2 (`packages/slurp2`): - Record every image run for a post in the Creator-private Deep details record: trigger, image settings snapshot, appearance source and text, reference image count, rendered template, style profile (and whether the Creator or Slurp chose it), styled prompt, rewrite model + full chat + answer + accept/reject reason, final and negative prompt, which setting chose the image connection, the fallback connection, and each provider attempt in order with timing, route, served-by fallback, the prompt the provider actually received, and errors. No credentials are stored. Last 5 runs kept. - Record runs from every path that owns a Deep details record: first generation, prompt review, reviewed confirmation, automatic retry, and the post reserve. - Rebuild the Deep details view as a generation map: - **Flowchart**: numbered steps from plan to saved picture, each with what happens, why, input, output, and the exact text as expandable previews. - **Canvas**: the same graph as a pan-and-zoom diagram. - **Where the data comes from**: every value names its source (Creator profile, linked card, memory and schedule, Slurp settings, Prompt Studio, Engine settings) and where to change it. - Posts without a recorded run (reused pictures, text-only posts, older posts) still explain their picture half. - Add the AI writing connection to the Connections panel with the correct fallback text. ## Why should this be optional? It is part of the existing optional Slurp2 package; nothing moves into Engine core. ## Alternatives considered - Showing current settings for old posts: rejected, because settings may have changed since the post was made. Missing data is shown as "Not recorded". - A graph library for the canvas: not needed; plain SVG and CSS cover it without a new dependency. ## Additional context Found while investigating grey, off-identity pictures on a production install. The live Engine already reports `effectiveConnection` / `effectivePrompt` for fallback renders; this change records them. ## Template check Please **uncheck (untick)** 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:28:26 +07:00
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-Agents#543
No description provided.