[PR #453] [MERGED] Add optional multi-book Lorebook Keeper routing #977

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

📋 Pull Request Information

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

Base: staging ← Head: feat/lorebook-routing-439


📝 Commits (2)

  • 20af599 feat: add Lorebook Keeper routing contract
  • a3cd52b Merge remote-tracking branch 'origin/staging' into feat/lorebook-routing-439

📊 Changes

6 files changed (+34 additions, -26 deletions)

View changed files

➕ artifacts/lorebook-keeper-1.0.4.zip (+0 -0)
📝 catalog/catalog.json (+7 -7)
📝 catalog/v2/catalog.json (+7 -7)
📝 catalog/v3/catalog.json (+7 -7)
📝 packages/lorebook-keeper/agents.json (+9 -1)
📝 packages/lorebook-keeper/manifest.json (+4 -4)

📄 Description

Linked issue

Closes #439
Refs Pasta-Devs/Marinara-Engine#5303

Why this change

  • Lorebook Keeper currently writes every durable fact to one book, which can mix reusable world lore with playthrough-specific NPC, scene, and player facts.

What changed

  • Added optional targetLorebook guidance for exact writable-book names and configured aliases.
  • Added default world/NPC/scene/player naming aliases while preserving one-book behavior when the field is omitted.
  • Rebuilt Lorebook Keeper 1.0.4 and every generated catalog lane.
  • Engine routing support is complete in the linked Engine PR.

Package and security impact

  • Affected package IDs: lorebook-keeper
  • Engine compatibility impact: minimum Engine 2.4.4; host routing arrives in Pasta-Devs/Marinara-Engine#5303
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: package-only update; no restart or new storage

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

Automated proof completed locally, including after merging current staging:

  • npm run check (0 errors; 67 existing warnings)
  • node scripts/test-catalog-lanes.mjs
  • node scripts/validate-package-locales.mjs
  • node scripts/validate-catalog.mjs
  • git diff --check

Manual verification notes

  • Manually verify fallback writes with no targetLorebook.
  • Manually verify exact-name routing, configured aliases, and missing-alias book creation in Roleplay.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

  • No package UI change.

Summary by CodeRabbit

  • Updates
    • Released Lorebook Keeper version 1.0.4.
    • Updated the minimum required engine version to 2.4.4.
    • Refreshed package metadata to ensure downloads and integrity checks use the latest artifact information.

🔄 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/453 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/20/2026 **Status:** ✅ Merged **Merged:** 8/20/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/lorebook-routing-439` --- ### 📝 Commits (2) - [`20af599`](https://github.com/Pasta-Devs/Marinara-Agents/commit/20af599235ce605078ea30ed175f929f122e96fb) feat: add Lorebook Keeper routing contract - [`a3cd52b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a3cd52b654582e5b471ae7fe02b5ddd84a8145aa) Merge remote-tracking branch 'origin/staging' into feat/lorebook-routing-439 ### 📊 Changes **6 files changed** (+34 additions, -26 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/lorebook-keeper-1.0.4.zip` (+0 -0) 📝 `catalog/catalog.json` (+7 -7) 📝 `catalog/v2/catalog.json` (+7 -7) 📝 `catalog/v3/catalog.json` (+7 -7) 📝 `packages/lorebook-keeper/agents.json` (+9 -1) 📝 `packages/lorebook-keeper/manifest.json` (+4 -4) </details> ### 📄 Description ## Linked issue Closes #439 Refs Pasta-Devs/Marinara-Engine#5303 ## Why this change - Lorebook Keeper currently writes every durable fact to one book, which can mix reusable world lore with playthrough-specific NPC, scene, and player facts. ## What changed - Added optional `targetLorebook` guidance for exact writable-book names and configured aliases. - Added default world/NPC/scene/player naming aliases while preserving one-book behavior when the field is omitted. - Rebuilt Lorebook Keeper 1.0.4 and every generated catalog lane. - Engine routing support is complete in the linked Engine PR. ## Package and security impact - Affected package IDs: `lorebook-keeper` - Engine compatibility impact: minimum Engine 2.4.4; host routing arrives in Pasta-Devs/Marinara-Engine#5303 - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: package-only update; no restart or new storage ## 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` Automated proof completed locally, including after merging current `staging`: - `npm run check` (0 errors; 67 existing warnings) - `node scripts/test-catalog-lanes.mjs` - `node scripts/validate-package-locales.mjs` - `node scripts/validate-catalog.mjs` - `git diff --check` ### Manual verification notes - Manually verify fallback writes with no `targetLorebook`. - Manually verify exact-name routing, configured aliases, and missing-alias book creation in Roleplay. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - No package UI change. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Updates** * Released Lorebook Keeper version 1.0.4. * Updated the minimum required engine version to 2.4.4. * Refreshed package metadata to ensure downloads and integrity checks use the latest artifact information. <!-- 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-20 17:32:55 +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#977
No description provided.