[PR #279] [MERGED] feat(quest): fix quest-slot lockup and add selectable modes #888

Closed
opened 2026-10-20 17:32:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/279
Author: @Gunterlie
Created: 8/8/2026
Status: ✅ Merged
Merged: 8/8/2026
Merged by: @Gunterlie

Base: staging ← Head: quests-agent-features


📝 Commits (4)

  • 79bff44 feat(quest): fix quest-slot lockup and add selectable modes
  • 3f50e72 chore(quest): trigger CI checks
  • 35b841b Merge remote-tracking branch 'origin/staging' into quests-agent-features
  • 4bc7a93 chore(quest): localize new prompt-template names/descriptions

📊 Changes

7 files changed (+84 additions, -26 deletions)

View changed files

➕ artifacts/quest-1.0.4.zip (+0 -0)
📝 catalog/catalog.json (+7 -7)
📝 catalog/v2/catalog.json (+7 -7)
📝 catalog/v3/catalog.json (+7 -7)
📝 packages/quest/agents.json (+37 -1)
📝 packages/quest/locales/en.json (+23 -1)
📝 packages/quest/manifest.json (+3 -3)

📄 Description

Pull request

Linked issue

Closes #280

Why this change

  • A user reported the Quest Tracker stops updating after a few turns. The 3 active-quest slots silently fill and never drain: quests were matched by exact name (so Find the Amulet vs find the amulet created duplicates), and nothing told the model to clear finished/abandoned quests. Once full, the agent goes quiet.

What changed

  • Affected package: quest (Quest Tracker), bumped to 1.0.4.
  • Reworked the default prompt to reuse an existing questName verbatim (no duplicates), always resend the complete objective list on update (the engine merge does a full replace, so partial lists wiped objectives), and complete/fail resolved or abandoned quests so slots free up.
  • Added selectable per-chat modes via promptTemplates: Epic Campaign, Real-Life Goals, Single Focus, Mystery Board, and an editable Custom starter. Story Quests stays the default.
  • Rebuilt generated outputs: packages/quest/manifest.json, artifacts/quest-1.0.4.zip, and catalog/{catalog,v2/catalog,v3/catalog}.json.

Package and security impact

  • Affected package IDs: quest
  • Engine compatibility impact: none (unchanged engine.min 2.3.0 / maxExclusive 4.0.0); prompt/text only, no schema change.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: no restart required; existing chats keep working, default behavior changes only by the bug fix.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Ran scripts/build-agent-catalog.mjs quest, then validate-catalog.mjs and test-catalog-lanes.mjs (both pass). Verified the catalog artifact sha256/bytes match the built ZIP and the manifest agents.json hash matches source; ZIP contains exactly manifest.json + agents.json with deterministic entries.
  • Not tested through a running Marinara Engine instance (no Engine checkout available in this environment).

Documentation impact

  • No documentation changes needed

UI evidence (if applicable)

  • N/A (prompt/config only).

🔄 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-Agents/pull/279 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/8/2026 **Status:** ✅ Merged **Merged:** 8/8/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `quests-agent-features` --- ### 📝 Commits (4) - [`79bff44`](https://github.com/Pasta-Devs/Marinara-Agents/commit/79bff442fb510ae87d7c5357372109047f4e4399) feat(quest): fix quest-slot lockup and add selectable modes - [`3f50e72`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3f50e72fecbaf866c4264cf9286fe7404a445e48) chore(quest): trigger CI checks - [`35b841b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/35b841b51fce862ae4460f1a47124e1acd13860b) Merge remote-tracking branch 'origin/staging' into quests-agent-features - [`4bc7a93`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4bc7a930d6c6882ecdd59669e10905fcd5570072) chore(quest): localize new prompt-template names/descriptions ### 📊 Changes **7 files changed** (+84 additions, -26 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/quest-1.0.4.zip` (+0 -0) 📝 `catalog/catalog.json` (+7 -7) 📝 `catalog/v2/catalog.json` (+7 -7) 📝 `catalog/v3/catalog.json` (+7 -7) 📝 `packages/quest/agents.json` (+37 -1) 📝 `packages/quest/locales/en.json` (+23 -1) 📝 `packages/quest/manifest.json` (+3 -3) </details> ### 📄 Description # Pull request ## Linked issue Closes #280 ## Why this change - A user reported the Quest Tracker **stops updating after a few turns**. The 3 active-quest slots silently fill and never drain: quests were matched by **exact name** (so `Find the Amulet` vs `find the amulet` created duplicates), and nothing told the model to clear finished/abandoned quests. Once full, the agent goes quiet. ## What changed - **Affected package:** `quest` (Quest Tracker), bumped to **1.0.4**. - Reworked the default prompt to reuse an existing `questName` **verbatim** (no duplicates), always resend the **complete objective list** on update (the engine merge does a full replace, so partial lists wiped objectives), and **complete/fail** resolved or abandoned quests so slots free up. - Added selectable per-chat modes via `promptTemplates`: **Epic Campaign**, **Real-Life Goals**, **Single Focus**, **Mystery Board**, and an editable **Custom** starter. **Story Quests** stays the default. - Rebuilt generated outputs: `packages/quest/manifest.json`, `artifacts/quest-1.0.4.zip`, and `catalog/{catalog,v2/catalog,v3/catalog}.json`. ## Package and security impact - Affected package IDs: `quest` - Engine compatibility impact: none (unchanged `engine.min` 2.3.0 / `maxExclusive` 4.0.0); prompt/text only, no schema change. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: no restart required; existing chats keep working, default behavior changes only by the bug fix. ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Ran `scripts/build-agent-catalog.mjs quest`, then `validate-catalog.mjs` and `test-catalog-lanes.mjs` (both pass). Verified the catalog artifact `sha256`/bytes match the built ZIP and the manifest `agents.json` hash matches source; ZIP contains exactly `manifest.json` + `agents.json` with deterministic entries. - Not tested through a running Marinara Engine instance (no Engine checkout available in this environment). ## Documentation impact - [x] No documentation changes needed ## UI evidence (if applicable) - N/A (prompt/config only). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:32:00 +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-Agents#888
No description provided.