[PR #5244] [MERGED] Address SpicyMarinara assigned issue sweep #6687

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

📋 Pull Request Information

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

Base: staging ← Head: agent/assigned-issue-sweep-5235-5240


📝 Commits (5)

  • ddfc965 Start assigned issue sweep
  • b0521a7 fix: address assigned issue sweep
  • ba9822e fix: address issue sweep review feedback
  • f8a6101 fix: tighten issue sweep authorization review
  • d0609d3 fix: bind Professor Mari approvals to one operation

📊 Changes

17 files changed (+753 additions, -91 deletions)

View changed files

📝 CHANGELOG.md (+9 -0)
📝 e2e/core-flows.e2e.ts (+54 -0)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+22 -0)
📝 packages/client/src/components/chat/RoleplayHUD.tsx (+8 -0)
📝 packages/client/src/components/chat/RoleplayHUDActionsMenu.tsx (+28 -2)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+10 -7)
📝 packages/client/src/features/chat-settings/sections/ChatNameSection.tsx (+51 -23)
📝 packages/client/src/localization/locales/en.json (+10 -1)
📝 packages/server/src/routes/backup.routes.ts (+25 -24)
📝 packages/server/src/routes/generate.routes.ts (+39 -14)
📝 packages/server/src/routes/generate/conversation-history-runtime.ts (+125 -9)
📝 packages/server/src/services/professor-mari/workspace-agent.service.ts (+41 -6)
📝 packages/server/src/services/video/video-generation.ts (+27 -3)
📝 packages/shared/src/types/chat.ts (+2 -0)
📝 scripts/regressions/automatic-backup-retention.regression.ts (+24 -0)
📝 scripts/regressions/open-issues.regression.ts (+30 -2)
📝 scripts/regressions/prompt.regression.ts (+248 -0)

📄 Description

Why

Six open issues assigned to SpicyMarinara cover small but high-friction gaps in chat tooling, Agent control, ComfyUI video workflows, large-profile backups, long-running automatic summaries, and Professor Mari edit authorization. This combined sweep addresses the complete current assignment set with existing Engine patterns and shared infrastructure.

Scope

  • Add a copyable chat ID to Chat Settings.
  • Add a Stop Agents action for running parallel and post-processing work without blocking new replies or aborting a newer reply.
  • Bring singular and numbered Base64 reference-image placeholders to ComfyUI Video Generation.
  • Remove the artificial 8,192-entry profile ZIP failure while retaining byte, central-directory, path, and extraction safety bounds.
  • Add optional semantic retrieval for older automatic summaries while the two most recent weeks stay active.
  • Accept an explicit same-message authorization clause for Professor Mari character and lorebook edits while preserving operation, entity, and standalone-confirmation guards.

Closes #5235.
Closes #5237.
Closes #5238.
Closes #5239.
Closes #5240.
Closes #5245.

Test plan

  • Verify chat ID copy and semantic-summary setting persistence in Chat Settings on desktop and mobile.
  • Verify Stop Agents appears only while cancellable Agent work is running, stops detached Agent work, and does not abort a newer reply.
  • Verify ComfyUI video workflows replace singular and numbered Base64 and filename reference placeholders correctly.
  • Verify profile archives with 8,193+ entries succeed while byte, path, central-directory, and extraction safeguards still reject unsafe input.
  • Verify semantic automatic summaries retain recent context and retrieve relevant older summaries, including disabled and unavailable-embedding fallbacks.
  • Verify Professor Mari accepts an explicitly authorized same-message character or lorebook edit while entity mismatch and standalone generic authorization remain blocked.
  • Run pnpm check.
  • Run focused regression coverage and the complete Node regression lane using isolated test data.
  • Run the desktop and mobile browser UI regression scenario.
  • Confirm required checks and CodeRabbit complete with no unresolved actionable feedback.

Summary by CodeRabbit

  • New Features

    • Chat Settings now displays and copies chat IDs.
    • Automatic summaries can retrieve relevant older context while preserving recent summaries.
    • Agents can be stopped while processing.
    • ComfyUI video workflows support additional reference-image placeholders.
    • Professor Mari recognizes explicit authorization while maintaining safeguards.
  • Bug Fixes

    • Backup and export archives now support more than 8,192 entries.
    • Improved reference-image handling and summary retrieval fallbacks.
  • Tests

    • Added coverage for chat settings, summaries, agent cancellation, backups, workflows, and authorization.

🔄 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/5244 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/19/2026 **Status:** ✅ Merged **Merged:** 8/19/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/assigned-issue-sweep-5235-5240` --- ### 📝 Commits (5) - [`ddfc965`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ddfc965235206391967445e7187ee9643187a607) Start assigned issue sweep - [`b0521a7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b0521a7a92cc7c0143711d6bc1f6887170061999) fix: address assigned issue sweep - [`ba9822e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ba9822e274642654d95998a5ac438f6e97f65c9e) fix: address issue sweep review feedback - [`f8a6101`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f8a610155f4d58f9095585d760c1eb71f77d5773) fix: tighten issue sweep authorization review - [`d0609d3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d0609d33e7b0eb23286d8eea2178554ae78c932b) fix: bind Professor Mari approvals to one operation ### 📊 Changes **17 files changed** (+753 additions, -91 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+9 -0) 📝 `e2e/core-flows.e2e.ts` (+54 -0) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+22 -0) 📝 `packages/client/src/components/chat/RoleplayHUD.tsx` (+8 -0) 📝 `packages/client/src/components/chat/RoleplayHUDActionsMenu.tsx` (+28 -2) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+10 -7) 📝 `packages/client/src/features/chat-settings/sections/ChatNameSection.tsx` (+51 -23) 📝 `packages/client/src/localization/locales/en.json` (+10 -1) 📝 `packages/server/src/routes/backup.routes.ts` (+25 -24) 📝 `packages/server/src/routes/generate.routes.ts` (+39 -14) 📝 `packages/server/src/routes/generate/conversation-history-runtime.ts` (+125 -9) 📝 `packages/server/src/services/professor-mari/workspace-agent.service.ts` (+41 -6) 📝 `packages/server/src/services/video/video-generation.ts` (+27 -3) 📝 `packages/shared/src/types/chat.ts` (+2 -0) 📝 `scripts/regressions/automatic-backup-retention.regression.ts` (+24 -0) 📝 `scripts/regressions/open-issues.regression.ts` (+30 -2) 📝 `scripts/regressions/prompt.regression.ts` (+248 -0) </details> ### 📄 Description ## Why Six open issues assigned to SpicyMarinara cover small but high-friction gaps in chat tooling, Agent control, ComfyUI video workflows, large-profile backups, long-running automatic summaries, and Professor Mari edit authorization. This combined sweep addresses the complete current assignment set with existing Engine patterns and shared infrastructure. ## Scope - Add a copyable chat ID to Chat Settings. - Add a Stop Agents action for running parallel and post-processing work without blocking new replies or aborting a newer reply. - Bring singular and numbered Base64 reference-image placeholders to ComfyUI Video Generation. - Remove the artificial 8,192-entry profile ZIP failure while retaining byte, central-directory, path, and extraction safety bounds. - Add optional semantic retrieval for older automatic summaries while the two most recent weeks stay active. - Accept an explicit same-message authorization clause for Professor Mari character and lorebook edits while preserving operation, entity, and standalone-confirmation guards. Closes #5235. Closes #5237. Closes #5238. Closes #5239. Closes #5240. Closes #5245. ## Test plan - [ ] Verify chat ID copy and semantic-summary setting persistence in Chat Settings on desktop and mobile. - [ ] Verify Stop Agents appears only while cancellable Agent work is running, stops detached Agent work, and does not abort a newer reply. - [ ] Verify ComfyUI video workflows replace singular and numbered Base64 and filename reference placeholders correctly. - [ ] Verify profile archives with 8,193+ entries succeed while byte, path, central-directory, and extraction safeguards still reject unsafe input. - [ ] Verify semantic automatic summaries retain recent context and retrieve relevant older summaries, including disabled and unavailable-embedding fallbacks. - [ ] Verify Professor Mari accepts an explicitly authorized same-message character or lorebook edit while entity mismatch and standalone generic authorization remain blocked. - [ ] Run `pnpm check`. - [ ] Run focused regression coverage and the complete Node regression lane using isolated test data. - [ ] Run the desktop and mobile browser UI regression scenario. - [ ] Confirm required checks and CodeRabbit complete with no unresolved actionable feedback. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Chat Settings now displays and copies chat IDs. * Automatic summaries can retrieve relevant older context while preserving recent summaries. * Agents can be stopped while processing. * ComfyUI video workflows support additional reference-image placeholders. * Professor Mari recognizes explicit authorization while maintaining safeguards. * **Bug Fixes** * Backup and export archives now support more than 8,192 entries. * Improved reference-image handling and summary retrieval fallbacks. * **Tests** * Added coverage for chat settings, summaries, agent cancellation, backups, workflows, and authorization. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:12:45 +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#6687
No description provided.