[PR #5532] [MERGED] Fix Memory Nag reruns and add v2.4.4 What’s New #6802

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

📋 Pull Request Information

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

Base: staging ← Head: fix/5531-capability-retry-context


📝 Commits (3)

  • 79edec3 chore: start capability Agent retry context fix
  • 6f379a6 fix(agents): prepare capability context on retries
  • cc6b4d7 feat(ui): add v2.4.4 What's New announcement

📊 Changes

5 files changed (+135 additions, -7 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 packages/client/src/components/modals/WhatsNewModal.tsx (+67 -0)
📝 packages/client/src/localization/locales/en.json (+16 -0)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+26 -7)
📝 scripts/regressions/capability-agent-runtime.regression.ts (+24 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository’s staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issues

Closes #5528
Closes #5531

Why this change

  • Manual and tracker reruns used /generate/retry-agents, which bypassed downloadable capability Agent runtime preparation and finalization. Memory Nag therefore received no bounded vault candidates even when its vault was populated.
  • Give v2.4.4 a tailored in-app announcement so users can discover its main onboarding, Agent, Roleplay, UI/UX, and Game Mode improvements without reading the entire changelog first.

What changed

  • Prepare capability runtime context for each exact retry execution group before its provider request.
  • Reuse that prepared context for batched, isolated, image-prompt, and tool-using retry Agents.
  • Finalize capability results against the matching prepared context before SSE emission, persistence, or result effects.
  • Add the maintainer-approved v2.4.4 release story to the existing What’s New modal.
  • Present the supplied Help overlay video as a muted autoplaying inline loop and show the two supplied screenshots inline with accessible descriptions.
  • Add focused regression coverage, localization, and changelog entries.

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

  • Server TypeScript check completed with tsc --noEmit.
  • Focused capability Agent runtime regression passed, including the manual retry preparation/finalization route contract.
  • Client ESLint, TypeScript, localization, Prettier, and git diff --check passed for the changed files.
  • Supplied media URLs were verified as an MP4 and two PNG images; the existing inline video renderer has autoplay, muted, loop, controls, and plays-inline enabled.
  • Manually verify one Memory Nag rerun includes <agent_runtime_context> and recalls only an ID supplied inside it.
  • Manually verify the v2.4.4 What’s New modal on desktop and mobile, including inline media loading, video looping, scrolling, and the release link.

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 (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Maintainer-supplied release media is embedded inline by URL.

Summary by CodeRabbit

  • New Features

    • Added a new in-app “What’s New” announcement for version 2.4.4.
    • Highlights include UI/UX updates, Help overlay improvements, Memory, thinking indicators, Agent Library, Game Mode, preview agents, and other enhancements.
    • Added localized English content for the release announcement.
  • Bug Fixes

    • Improved reliability when retrying capability-enabled agents, ensuring required context and results are handled correctly during reruns.
  • Documentation

    • Updated the Unreleased changelog with runtime and package-output validation fixes and the v2.4.4 release highlights.

🔄 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/5532 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/25/2026 **Status:** ✅ Merged **Merged:** 8/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5531-capability-retry-context` --- ### 📝 Commits (3) - [`79edec3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/79edec37df0f00847410e972d81d4aff4be2e2fd) chore: start capability Agent retry context fix - [`6f379a6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6f379a64c0155b9cea2e09393513fa52db5d8b52) fix(agents): prepare capability context on retries - [`cc6b4d7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cc6b4d78ed8065e92771affb038b6642ad449dc3) feat(ui): add v2.4.4 What's New announcement ### 📊 Changes **5 files changed** (+135 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `packages/client/src/components/modals/WhatsNewModal.tsx` (+67 -0) 📝 `packages/client/src/localization/locales/en.json` (+16 -0) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+26 -7) 📝 `scripts/regressions/capability-agent-runtime.regression.ts` (+24 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository’s `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issues Closes #5528 Closes #5531 ## Why this change - Manual and tracker reruns used `/generate/retry-agents`, which bypassed downloadable capability Agent runtime preparation and finalization. Memory Nag therefore received no bounded vault candidates even when its vault was populated. - Give v2.4.4 a tailored in-app announcement so users can discover its main onboarding, Agent, Roleplay, UI/UX, and Game Mode improvements without reading the entire changelog first. ## What changed - Prepare capability runtime context for each exact retry execution group before its provider request. - Reuse that prepared context for batched, isolated, image-prompt, and tool-using retry Agents. - Finalize capability results against the matching prepared context before SSE emission, persistence, or result effects. - Add the maintainer-approved v2.4.4 release story to the existing What’s New modal. - Present the supplied Help overlay video as a muted autoplaying inline loop and show the two supplied screenshots inline with accessible descriptions. - Add focused regression coverage, localization, and changelog entries. ## 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 - Server TypeScript check completed with `tsc --noEmit`. - Focused capability Agent runtime regression passed, including the manual retry preparation/finalization route contract. - Client ESLint, TypeScript, localization, Prettier, and `git diff --check` passed for the changed files. - Supplied media URLs were verified as an MP4 and two PNG images; the existing inline video renderer has autoplay, muted, loop, controls, and plays-inline enabled. - Manually verify one Memory Nag rerun includes `<agent_runtime_context>` and recalls only an ID supplied inside it. - Manually verify the v2.4.4 What’s New modal on desktop and mobile, including inline media loading, video looping, scrolling, and the release link. ## 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 (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Maintainer-supplied release media is embedded inline by URL. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a new in-app “What’s New” announcement for version 2.4.4. - Highlights include UI/UX updates, Help overlay improvements, Memory, thinking indicators, Agent Library, Game Mode, preview agents, and other enhancements. - Added localized English content for the release announcement. - **Bug Fixes** - Improved reliability when retrying capability-enabled agents, ensuring required context and results are handled correctly during reruns. - **Documentation** - Updated the Unreleased changelog with runtime and package-output validation fixes and the v2.4.4 release highlights. <!-- 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:13:51 +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#6802
No description provided.