[PR #4677] [MERGED] fix: preserve summary history and group selfie references #6464

Closed
opened 2026-10-23 04:10:40 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4677
Author: @SpicyMarinara
Created: 8/6/2026
Status: ✅ Merged
Merged: 8/6/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/4676-group-selfies-summary-history


📝 Commits (2)

  • 46211f5 chore: start issue 4676 fixes
  • 8708ae9 fix group selfie references and summary history visibility

📊 Changes

6 files changed (+89 additions, -3 deletions)

View changed files

📝 CHANGELOG.md (+2 -1)
📝 packages/client/src/components/chat/SummaryPopover.tsx (+1 -0)
📝 packages/server/src/routes/generate.routes.ts (+1 -0)
📝 packages/server/src/services/generation/conversation-selfie-command-runtime.ts (+28 -1)
📝 scripts/regressions/open-issues.regression.ts (+39 -1)
📝 scripts/regressions/prompt.regression.ts (+18 -0)

📄 Description

Linked issue

Closes #4676

Why this change

  • A guided group-selfie request was not carried from /guided into Conversation selfie reference selection. The runtime therefore started from only the speaking character, so another participant could appear in generated prose without receiving their saved appearance or avatar reference.
  • Roleplay summary combining already retained selected sources as inactive metadata, but the popover hid them immediately. On a summary-of-summaries combine, every prior summary therefore looked deleted even though it was still stored.

What changed

  • Detect guided group-selfie intent from the guide, selfie context, or generated image prompt and request the existing reference resolver for the active Conversation cast. Ordinary selfies continue to request only the speaking character.
  • Reveal inactive Chat Summary entries after a successful combine so the retained sources remain visibly present and deactivated.
  • Add positive and negative group-selfie coverage plus a second-generation summary-combine regression that proves both generations remain inactive history.
  • Update the Unreleased changelog.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Automated: pnpm check passed (Impeccable context, localization, lint/type checks, server/client production builds).
  • Automated: pnpm regression:prompt passed, including guided group-selfie selection and the ordinary-selfie negative control.
  • Automated: the new summary-of-summaries and UI reveal assertions pass in open-issues.regression.ts. The broader script later stops on a pre-existing staging source assertion for the current Summary Prompt editor layout; the same assertion does not match origin/staging.
  • No live-provider group selfie was generated, and no browser screenshot was captured. Manual verification should combine two summaries twice in Roleplay and generate a guided two-character Conversation group selfie with avatar references and appearance descriptions enabled.

Risk boundary

  • Entrypoints: Conversation [selfie] command execution and Roleplay Chat Summary combine success state.
  • Positive proof: /guided group selfie selects the active cast; combining a combined summary retains every older entry as inactive.
  • Negative proof: an ordinary single-character selfie still selects only its speaker.
  • Untested: provider-specific reference-image limits and a live image-generation request.

Docs and release impact

  • No docs changes needed

  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed

  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] <paths> follow-up issue opened

  • Version/release files updated (only if this PR includes a version bump)

  • No documentation, translation, or version metadata changes are needed. CHANGELOG.md is updated.

UI evidence (if applicable)

  • No screenshot captured. The UI change uses the existing inactive-summary rows and Show/Hide inactive control; it adds no new layout or copy.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/4677 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/6/2026 **Status:** ✅ Merged **Merged:** 8/6/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/4676-group-selfies-summary-history` --- ### 📝 Commits (2) - [`46211f5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/46211f5d6be0cb039b7b8b9378242a5451cd5bd2) chore: start issue 4676 fixes - [`8708ae9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8708ae9d9d1dba3a8cf7e7bc81dde31d3cfcb631) fix group selfie references and summary history visibility ### 📊 Changes **6 files changed** (+89 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -1) 📝 `packages/client/src/components/chat/SummaryPopover.tsx` (+1 -0) 📝 `packages/server/src/routes/generate.routes.ts` (+1 -0) 📝 `packages/server/src/services/generation/conversation-selfie-command-runtime.ts` (+28 -1) 📝 `scripts/regressions/open-issues.regression.ts` (+39 -1) 📝 `scripts/regressions/prompt.regression.ts` (+18 -0) </details> ### 📄 Description ## Linked issue Closes #4676 ## Why this change - A guided group-selfie request was not carried from `/guided` into Conversation selfie reference selection. The runtime therefore started from only the speaking character, so another participant could appear in generated prose without receiving their saved appearance or avatar reference. - Roleplay summary combining already retained selected sources as inactive metadata, but the popover hid them immediately. On a summary-of-summaries combine, every prior summary therefore looked deleted even though it was still stored. ## What changed - Detect guided group-selfie intent from the guide, selfie context, or generated image prompt and request the existing reference resolver for the active Conversation cast. Ordinary selfies continue to request only the speaking character. - Reveal inactive Chat Summary entries after a successful combine so the retained sources remain visibly present and deactivated. - Add positive and negative group-selfie coverage plus a second-generation summary-combine regression that proves both generations remain inactive history. - Update the Unreleased changelog. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Automated: `pnpm check` passed (Impeccable context, localization, lint/type checks, server/client production builds). - Automated: `pnpm regression:prompt` passed, including guided group-selfie selection and the ordinary-selfie negative control. - Automated: the new summary-of-summaries and UI reveal assertions pass in `open-issues.regression.ts`. The broader script later stops on a pre-existing `staging` source assertion for the current Summary Prompt editor layout; the same assertion does not match `origin/staging`. - No live-provider group selfie was generated, and no browser screenshot was captured. Manual verification should combine two summaries twice in Roleplay and generate a guided two-character Conversation group selfie with avatar references and appearance descriptions enabled. ## Risk boundary - Entrypoints: Conversation `[selfie]` command execution and Roleplay Chat Summary combine success state. - Positive proof: `/guided group selfie` selects the active cast; combining a combined summary retains every older entry as inactive. - Negative proof: an ordinary single-character selfie still selects only its speaker. - Untested: provider-specific reference-image limits and a live image-generation request. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n] <paths>` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) - No documentation, translation, or version metadata changes are needed. `CHANGELOG.md` is updated. ## UI evidence (if applicable) - No screenshot captured. The UI change uses the existing inactive-summary rows and Show/Hide inactive control; it adds no new layout or copy. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:10:40 +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-Engine#6464
No description provided.