[PR #3373] [MERGED] Fix active agent output format routing #5909

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

📋 Pull Request Information

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

Base: staging ← Head: agent/fix-active-agent-output-format-v2.1.2


📝 Commits (1)

  • 9cbbb9b Fix active agent output format routing

📊 Changes

15 files changed (+401 additions, -72 deletions)

View changed files

📝 CHANGELOG.md (+13 -0)
📝 README.md (+1 -1)
📝 android/app/build.gradle (+3 -3)
📝 package.json (+1 -1)
📝 packages/client/package.json (+1 -1)
📝 packages/client/public/manifest.json (+1 -1)
📝 packages/client/src/components/chat/HomeCreditsModal.tsx (+4 -4)
📝 packages/server/package.json (+1 -1)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+30 -4)
📝 packages/server/src/services/agents/agent-executor.ts (+150 -45)
📝 packages/shared/package.json (+1 -1)
📝 packages/shared/src/constants/defaults.ts (+1 -1)
📝 scripts/regressions/prompt.regression.ts (+190 -5)
📝 win/installer/install.bat (+2 -2)
📝 win/installer/installer.nsi (+2 -2)

📄 Description

Summary

  • Gate manual agent retry/rerun resolution to agents currently added to the chat.
  • Move concrete agent output-format contracts into the terminal user message using the selected chat prompt preset wrapper.
  • Hide active quest progress from non-Quest agent context while preserving compact quest state for Quest Tracker.
  • Bump release metadata to v2.1.2 and refresh Credits.

Why

Removed agents could still be requested through stale retry/rerun paths, and non-Quest agents could infer quest-like output from current game-state context. The output contract also needed to be the model's final user-facing instruction after chat history.

Validation

  • pnpm regression:prompt
  • pnpm version:check
  • pnpm credits:check
  • git diff --check
  • pnpm check

Manual Verification

Manual browser verification not run; this change is server prompt/routing plus release metadata.

Issue

No linked issue; one should be opened before PR submission per CONTRIBUTING.


🔄 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/3373 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/8/2026 **Status:** ✅ Merged **Merged:** 7/8/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/fix-active-agent-output-format-v2.1.2` --- ### 📝 Commits (1) - [`9cbbb9b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9cbbb9b91468870453192be27e5782911a056127) Fix active agent output format routing ### 📊 Changes **15 files changed** (+401 additions, -72 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+13 -0) 📝 `README.md` (+1 -1) 📝 `android/app/build.gradle` (+3 -3) 📝 `package.json` (+1 -1) 📝 `packages/client/package.json` (+1 -1) 📝 `packages/client/public/manifest.json` (+1 -1) 📝 `packages/client/src/components/chat/HomeCreditsModal.tsx` (+4 -4) 📝 `packages/server/package.json` (+1 -1) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+30 -4) 📝 `packages/server/src/services/agents/agent-executor.ts` (+150 -45) 📝 `packages/shared/package.json` (+1 -1) 📝 `packages/shared/src/constants/defaults.ts` (+1 -1) 📝 `scripts/regressions/prompt.regression.ts` (+190 -5) 📝 `win/installer/install.bat` (+2 -2) 📝 `win/installer/installer.nsi` (+2 -2) </details> ### 📄 Description ## Summary - Gate manual agent retry/rerun resolution to agents currently added to the chat. - Move concrete agent output-format contracts into the terminal user message using the selected chat prompt preset wrapper. - Hide active quest progress from non-Quest agent context while preserving compact quest state for Quest Tracker. - Bump release metadata to v2.1.2 and refresh Credits. ## Why Removed agents could still be requested through stale retry/rerun paths, and non-Quest agents could infer quest-like output from current game-state context. The output contract also needed to be the model's final user-facing instruction after chat history. ## Validation - pnpm regression:prompt - pnpm version:check - pnpm credits:check - git diff --check - pnpm check ## Manual Verification Manual browser verification not run; this change is server prompt/routing plus release metadata. ## Issue No linked issue; one should be opened before PR submission per CONTRIBUTING. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:05:02 +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#5909
No description provided.