[PR #4410] [MERGED] Prepare v2.4.0 release readiness #6365

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

📋 Pull Request Information

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

Base: staging ← Head: agent/v2.4.0-release-readiness


📝 Commits (10+)

  • 1fc4658 chore: define staging-first repository governance
  • 6ee6a21 docs: address governance review feedback
  • 1f9a5ce docs: keep runtime claims on staging
  • 3e7d160 ci: enforce pull request target policy
  • 68b967f ci: bind main PRs to trusted branches
  • 34abc75 ci: reserve outside PR approval for owner
  • 41d1fb2 Merge pull request #4245 from Pasta-Devs/agent/main-governance
  • 3790243 ci: fix review event filtering
  • e3e3fe7 ci: resolve PR membership from API
  • dc24613 Merge pull request #4252 from Pasta-Devs/hotfix/review-event-trigger

📊 Changes

17 files changed (+777 additions, -333 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 README.md (+3 -3)
📝 docs/agents/built-in-agents.md (+10 -1)
📝 docs/home/professor-mari.md (+1 -1)
📝 e2e/core-flows.e2e.ts (+15 -7)
📝 package.json (+17 -1)
📝 packages/client/package.json (+1 -1)
📝 packages/client/src/components/modals/WhatsNewModal.tsx (+227 -32)
📝 packages/client/src/localization/locales/en.json (+26 -0)
📝 packages/server/package.json (+6 -6)
📝 packages/server/src/app.ts (+2 -2)
📝 packages/server/src/config/client-static-config.ts (+7 -7)
📝 packages/server/src/config/env-watcher.ts (+2 -2)
📝 packages/server/src/services/professor-mari/official-agent-knowledge.ts (+17 -2)
📝 pnpm-lock.yaml (+431 -264)
📝 scripts/regressions/open-issues.regression.ts (+5 -1)
📝 scripts/regressions/prompt.regression.ts (+5 -3)

📄 Description

Closes #4409

Includes the merged staging fix from #4429 for Storyboard Roleplay/Game catalog badges and active-channel cover artwork.

Why

v2.4.0 already had synchronized release metadata and substantial release notes on staging, but the final release audit found stale official-Agent knowledge and documentation: Professor Mari omitted Long-Term Memory and Storyboard, public counts still said 29 instead of 31, Long-Term Memory compatibility stopped before v2.4.0, and her package-update guidance contradicted the current user-confirmed update flow.

The audit also found production dependency advisories across server, archive, networking, image, MCP transport, and browser sanitization paths. This pull request is the release-candidate gate before any promotion to main or v2.4.0 tag is created.

What changed

  • Cover all 31 current downloadable packages in Professor Mari knowledge, README, and the public Agent reference.
  • Add Long-Term Memory and Storyboard facts and current compatibility ranges.
  • Correct package update guidance to preserve explicit user confirmation.
  • Add regression coverage for catalog completeness and uniqueness.
  • Patch direct and transitive production dependencies and record the security refresh in the v2.4.0 changelog.
  • Follow the current Fastify static-header and request-log controller APIs after the server dependency update.
  • Repair a stale greeting source-shape regression after the greeting model moved into a shared helper.
  • Synchronize main governance ancestry so the eventual staging promotion is conflict-free while preserving the newer staging workflow.
  • Add the complete localized v2.4.0 What's New story with every supplied Imgur image/GIF rendered inline, a scrollable desktop/mobile layout, and sticky release controls.
  • Update the What's New browser smoke test to verify the final copy, all 12 media entries, scrolling, release link, and once-per-version behavior.
  • Link the companion reproducible-archive fix in Pasta-Devs/Marinara-Agents#175.
  • Link the ready Long-Term Memory 1.0.7 editor-header package update in Pasta-Devs/Marinara-Agents#177.
  • Track translated-document follow-up in #4411.
  • Confirm #4432 was already fixed by the targeted stale-source cleanup merged in #4422; close it with the exact affected paths documented.

Validation evidence

  • Exact synchronized head fbd5d9db9: pnpm version:check, pnpm credits:check, the chat-resource-drop and documentation-language regressions, pnpm check, the focused desktop/mobile What’s New Playwright flow, and git diff --check passed.
  • Release UI head 1812ae020: full pnpm smoke:ui passed with 183 tests and 95 intentional viewport/project skips across all 278 cases.
  • The focused What's New Playwright flow passed independently on desktop and mobile and verifies the final headline/copy, 12 media elements, scrollability, release URL, and once-per-version storage behavior.
  • Every supplied Imgur image/GIF endpoint returned HTTP 200 with the expected media content type.
  • Fresh GitHub clone of the earlier audited release head: pnpm install --frozen-lockfile, native dependency setup, version check, and full production build passed; 685 packages were installed and the native ONNX binding was verified for macOS/ARM64.
  • pnpm audit --prod reports no known vulnerabilities.
  • Earlier full pnpm regression passed on the patched dependency graph, including launcher/update, package lifecycle, storage recovery, security, prompt, roleplay, sprite, docs, and UI lanes.
  • After migrating the patched Fastify request-log API, pnpm check, request/Docker-proxy security, static-cache, open-issue, package-lifecycle, launcher/update, and dependency-audit gates passed again without the deprecation warning.
  • v2.4.0 release notes rendered successfully and include the Android bootstrap notice.
  • Installer-artifact and Windows installer-layout guards passed.
  • NSIS produced Marinara-Engine-Installer-2.4.0.exe pinned to the audited release branch.
  • Gradle 8.5 produced a valid release APK locally: package com.marinara.engine, versionName 2.4.0, versionCode 41, minSdk 24, targetSdk 34, and v2 signature verification passed.
  • Exact-head GitHub artifact-only Android run 30706934284 passed and uploaded the expected APK. The downloaded artifact verified with the production Pasta-Devs Marinara Engine certificate, APK v2 signature, and a 4096-bit RSA key; its SHA-256 is e67aea9968c5a2b58e35266860e0a044041d325d017a3759ca8974a2385bb59e.
  • Standard and Wolfi/Lite Docker images both built and booted from the audited release branch; /api/health reported v2.4.0, the exact commit, and healthy package state, while baked metadata reported branch: staging. Standard resolved native ONNX 1.24.3; Lite resolved Fastify/CORS/Sharp and correctly contained no ONNX runtime.
  • Docker workflow audit confirmed staging and main rolling tags, release semver tags (2.4.0, 2.4, 2, latest), and matching Lite tags. Existing GHCR staging, main, latest, and lite tags are multi-architecture.
  • Engine staging resolved the 31-package Agents v2 staging catalog, installed Prose Guardian, Character Tracker, and Storyboard from published archives, then loaded all three offline from disk.
  • Marinara-Agents v2, v3, and legacy catalog validation passed; all 28 rebuilt ordinary archives were byte-identical across two consecutive builds.
  • Long-Term Memory 1.0.7 in Pasta-Devs/Marinara-Agents#177 passed catalog lane/manifest validation, JavaScript syntax validation, diff validation, and a two-build reproducibility check with identical client, manifest, and ZIP SHA-256 hashes. CodeRabbit and required GitHub checks pass.
  • GitHub pnpm-validate and container-build-test checks pass on exact head fbd5d9db9.
  • Final CodeRabbit review passes, its one copy suggestion is applied, and the thread-aware audit reports zero current unresolved comments.
  • git merge-tree --write-tree origin/main HEAD passed on the audited release branch, proving the future promotion has no content conflict.

Still pending

  • Human review of the final signed/downloadable release assets before tagging.

Manual release verification

  • Review the final What's New story and GIFs on desktop and mobile.
  • Install or update Long-Term Memory 1.0.7 and compare its back button/stars icon with another Agent editor.
  • Install or update on Windows with the final signed release installer.
  • Install or update through macOS/Linux Git launchers.
  • Install or update through Android/Termux and open the final signed APK shell.
  • Pull and start the published standard and Lite v2.4.0 Docker tags.
  • Review final release notes and downloadable assets before tagging.

Summary by CodeRabbit

  • New Features

    • Added Long-Term Memory and Storyboard to the official downloadable agent catalog, expanding it to 31 packages.
    • Enhanced “What’s New” with localized release stories, captions, responsive media galleries, and improved navigation.
  • Bug Fixes

    • Corrected Professor Mari’s agent knowledge, package count, and update guidance.
    • Improved Long-Term Memory compatibility documentation and permissions.
  • Documentation

    • Updated the README and agent guides with the expanded catalog and Storyboard details.
  • Security

    • Patched production and transitive dependencies with no known production advisories.

🔄 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/4410 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/1/2026 **Status:** ✅ Merged **Merged:** 8/1/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/v2.4.0-release-readiness` --- ### 📝 Commits (10+) - [`1fc4658`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1fc46585b268907aa551b914caed614c1a140875) chore: define staging-first repository governance - [`6ee6a21`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6ee6a2121a1e12ce77b29a5177af4083ac59e161) docs: address governance review feedback - [`1f9a5ce`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1f9a5ce166e66766a84752bfc3ecb3ce23776aa3) docs: keep runtime claims on staging - [`3e7d160`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3e7d1605367b5a3e2d0c4a89be5603549ac80f07) ci: enforce pull request target policy - [`68b967f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/68b967f90a7dee006804e3a9360ba80bc65bb480) ci: bind main PRs to trusted branches - [`34abc75`](https://github.com/Pasta-Devs/Marinara-Engine/commit/34abc75f9527d44489aa092b8b43e476b45f80b2) ci: reserve outside PR approval for owner - [`41d1fb2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/41d1fb2a33766f4ba0ea769db93a4aace26881cf) Merge pull request #4245 from Pasta-Devs/agent/main-governance - [`3790243`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3790243ed44bf4e7b47bab57a6e01d7504d2e123) ci: fix review event filtering - [`e3e3fe7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e3e3fe7933728e190ce1d0ba1ef1ad1c6ee3f761) ci: resolve PR membership from API - [`dc24613`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dc2461384c0be9ca7bd28a3f88d71edb322b9bbf) Merge pull request #4252 from Pasta-Devs/hotfix/review-event-trigger ### 📊 Changes **17 files changed** (+777 additions, -333 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `README.md` (+3 -3) 📝 `docs/agents/built-in-agents.md` (+10 -1) 📝 `docs/home/professor-mari.md` (+1 -1) 📝 `e2e/core-flows.e2e.ts` (+15 -7) 📝 `package.json` (+17 -1) 📝 `packages/client/package.json` (+1 -1) 📝 `packages/client/src/components/modals/WhatsNewModal.tsx` (+227 -32) 📝 `packages/client/src/localization/locales/en.json` (+26 -0) 📝 `packages/server/package.json` (+6 -6) 📝 `packages/server/src/app.ts` (+2 -2) 📝 `packages/server/src/config/client-static-config.ts` (+7 -7) 📝 `packages/server/src/config/env-watcher.ts` (+2 -2) 📝 `packages/server/src/services/professor-mari/official-agent-knowledge.ts` (+17 -2) 📝 `pnpm-lock.yaml` (+431 -264) 📝 `scripts/regressions/open-issues.regression.ts` (+5 -1) 📝 `scripts/regressions/prompt.regression.ts` (+5 -3) </details> ### 📄 Description Closes #4409 Includes the merged staging fix from #4429 for Storyboard Roleplay/Game catalog badges and active-channel cover artwork. ## Why v2.4.0 already had synchronized release metadata and substantial release notes on `staging`, but the final release audit found stale official-Agent knowledge and documentation: Professor Mari omitted Long-Term Memory and Storyboard, public counts still said 29 instead of 31, Long-Term Memory compatibility stopped before v2.4.0, and her package-update guidance contradicted the current user-confirmed update flow. The audit also found production dependency advisories across server, archive, networking, image, MCP transport, and browser sanitization paths. This pull request is the release-candidate gate before any promotion to `main` or `v2.4.0` tag is created. ## What changed - Cover all 31 current downloadable packages in Professor Mari knowledge, README, and the public Agent reference. - Add Long-Term Memory and Storyboard facts and current compatibility ranges. - Correct package update guidance to preserve explicit user confirmation. - Add regression coverage for catalog completeness and uniqueness. - Patch direct and transitive production dependencies and record the security refresh in the v2.4.0 changelog. - Follow the current Fastify static-header and request-log controller APIs after the server dependency update. - Repair a stale greeting source-shape regression after the greeting model moved into a shared helper. - Synchronize `main` governance ancestry so the eventual `staging` promotion is conflict-free while preserving the newer staging workflow. - Add the complete localized v2.4.0 What's New story with every supplied Imgur image/GIF rendered inline, a scrollable desktop/mobile layout, and sticky release controls. - Update the What's New browser smoke test to verify the final copy, all 12 media entries, scrolling, release link, and once-per-version behavior. - Link the companion reproducible-archive fix in Pasta-Devs/Marinara-Agents#175. - Link the ready Long-Term Memory 1.0.7 editor-header package update in Pasta-Devs/Marinara-Agents#177. - Track translated-document follow-up in #4411. - Confirm #4432 was already fixed by the targeted stale-source cleanup merged in #4422; close it with the exact affected paths documented. ## Validation evidence - Exact synchronized head `fbd5d9db9`: `pnpm version:check`, `pnpm credits:check`, the chat-resource-drop and documentation-language regressions, `pnpm check`, the focused desktop/mobile What’s New Playwright flow, and `git diff --check` passed. - Release UI head `1812ae020`: full `pnpm smoke:ui` passed with 183 tests and 95 intentional viewport/project skips across all 278 cases. - The focused What's New Playwright flow passed independently on desktop and mobile and verifies the final headline/copy, 12 media elements, scrollability, release URL, and once-per-version storage behavior. - Every supplied Imgur image/GIF endpoint returned HTTP 200 with the expected media content type. - Fresh GitHub clone of the earlier audited release head: `pnpm install --frozen-lockfile`, native dependency setup, version check, and full production build passed; 685 packages were installed and the native ONNX binding was verified for macOS/ARM64. - `pnpm audit --prod` reports no known vulnerabilities. - Earlier full `pnpm regression` passed on the patched dependency graph, including launcher/update, package lifecycle, storage recovery, security, prompt, roleplay, sprite, docs, and UI lanes. - After migrating the patched Fastify request-log API, `pnpm check`, request/Docker-proxy security, static-cache, open-issue, package-lifecycle, launcher/update, and dependency-audit gates passed again without the deprecation warning. - v2.4.0 release notes rendered successfully and include the Android bootstrap notice. - Installer-artifact and Windows installer-layout guards passed. - NSIS produced `Marinara-Engine-Installer-2.4.0.exe` pinned to the audited release branch. - Gradle 8.5 produced a valid release APK locally: package `com.marinara.engine`, versionName `2.4.0`, versionCode `41`, minSdk 24, targetSdk 34, and v2 signature verification passed. - Exact-head GitHub artifact-only Android run [30706934284](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/30706934284) passed and uploaded the expected APK. The downloaded artifact verified with the production Pasta-Devs Marinara Engine certificate, APK v2 signature, and a 4096-bit RSA key; its SHA-256 is `e67aea9968c5a2b58e35266860e0a044041d325d017a3759ca8974a2385bb59e`. - Standard and Wolfi/Lite Docker images both built and booted from the audited release branch; `/api/health` reported v2.4.0, the exact commit, and healthy package state, while baked metadata reported `branch: staging`. Standard resolved native ONNX 1.24.3; Lite resolved Fastify/CORS/Sharp and correctly contained no ONNX runtime. - Docker workflow audit confirmed `staging` and `main` rolling tags, release semver tags (`2.4.0`, `2.4`, `2`, `latest`), and matching Lite tags. Existing GHCR `staging`, `main`, `latest`, and `lite` tags are multi-architecture. - Engine staging resolved the 31-package Agents v2 staging catalog, installed Prose Guardian, Character Tracker, and Storyboard from published archives, then loaded all three offline from disk. - Marinara-Agents v2, v3, and legacy catalog validation passed; all 28 rebuilt ordinary archives were byte-identical across two consecutive builds. - Long-Term Memory 1.0.7 in Pasta-Devs/Marinara-Agents#177 passed catalog lane/manifest validation, JavaScript syntax validation, diff validation, and a two-build reproducibility check with identical client, manifest, and ZIP SHA-256 hashes. CodeRabbit and required GitHub checks pass. - GitHub `pnpm-validate` and `container-build-test` checks pass on exact head `fbd5d9db9`. - Final CodeRabbit review passes, its one copy suggestion is applied, and the thread-aware audit reports zero current unresolved comments. - `git merge-tree --write-tree origin/main HEAD` passed on the audited release branch, proving the future promotion has no content conflict. ## Still pending - Human review of the final signed/downloadable release assets before tagging. ## Manual release verification - [ ] Review the final What's New story and GIFs on desktop and mobile. - [ ] Install or update Long-Term Memory 1.0.7 and compare its back button/stars icon with another Agent editor. - [ ] Install or update on Windows with the final signed release installer. - [ ] Install or update through macOS/Linux Git launchers. - [ ] Install or update through Android/Termux and open the final signed APK shell. - [ ] Pull and start the published standard and Lite v2.4.0 Docker tags. - [ ] Review final release notes and downloadable assets before tagging. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added Long-Term Memory and Storyboard to the official downloadable agent catalog, expanding it to 31 packages. - Enhanced “What’s New” with localized release stories, captions, responsive media galleries, and improved navigation. - **Bug Fixes** - Corrected Professor Mari’s agent knowledge, package count, and update guidance. - Improved Long-Term Memory compatibility documentation and permissions. - **Documentation** - Updated the README and agent guides with the expanded catalog and Storyboard details. - **Security** - Patched production and transitive dependencies with no known production advisories. <!-- 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:09:42 +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#6365
No description provided.