[PR #979] [CLOSED] Strengthen Lorebook Keeper source authority #1223

Closed
opened 2026-10-21 05:06:08 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/979
Author: @SirAdoni
Created: 9/20/2026
Status: ❌ Closed

Base: staging ← Head: contrib/a05-lorebook-source-authority


📝 Commits (1)

  • b42ef6d Strengthen Lorebook Keeper source authority

📊 Changes

11 files changed (+57 additions, -23 deletions)

View changed files

➕ artifacts/lorebook-keeper-1.0.6.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/notes.json (+10 -0)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v2/notes.json (+10 -0)
📝 catalog/v3/catalog.json (+6 -6)
📝 catalog/v3/notes.json (+10 -0)
➕ packages/lorebook-keeper/CHANGELOG.md (+4 -0)
📝 packages/lorebook-keeper/agents.json (+1 -1)
📝 packages/lorebook-keeper/manifest.json (+3 -3)
📝 tests/lorebook-keeper-routing.regression.mjs (+1 -1)

📄 Description

Linked issue

Closes #977

Why this change

Lorebook Keeper should preserve established state when evidence is uncertain instead of promoting unsupported inferences into campaign facts.

What changed

Treat assistant narration as candidate evidence instead of automatic canon. Save durable facts only with direct support, preserve attribution for beliefs and claims, reject uncertain/conflicting material, and prevent assistant-authored player thoughts, consent, choices, actions, morality, relationships or goals from becoming canon.

The existing category routing, exact writable-book selection, tools, duplicate handling and output contract remain unchanged. The routing regression retains its assertions and expects the new package version. This package change is separate from the planned Engine campaign-lorebook reuse/consolidation contribution.

Publish lorebook-keeper 1.0.6, its manifest and ZIP, and regenerated catalog entries and release notes. Existing lorebook functionality is upstream behavior; this contribution changes source-authority instructions only.

Package and security impact

  • Affected package: lorebook-keeper only.
  • No changed permissions, entrypoints, tools, Engine compatibility, storage or uninstall behavior.
  • No private campaign data, local paths, screenshots, credentials, or prompt logs are included.

Validation

Completed branch-local checks: npm run check (zero errors; existing warnings), catalog-lane tests, package-locale validation, catalog validation, release-note regression, prompt-contract and manifest-integrity assertions, and git diff --check. Privacy review found no outgoing private-data matches.

The ZIP contains only manifest.json and agents.json. Independent deterministic rebuild reproduced 2357 bytes and SHA-256 a1fe941d84deeb5bd1fc53259a6ce9a4d79bb71dabae335e68793ea170876243. Windows packaging used a temporary deterministic ZIP writer; the original builder was restored byte-for-byte and no tooling changes are included.

These checks verify packaging and prompt preservation, not model compliance. This AI-assisted PR remains draft pending manual validation and review. Test-plan boxes remain unchecked for the human contributor.

  • 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

  • Manually install/update the package and verify explicit supported changes, conflicting corrections, uncertain evidence and unsupported player-interiority claims.
  • Verify category routing, exact writable-book reuse, duplicate handling and tool output contracts.
  • Verify restart and uninstall behavior.
  • Complete CodeRabbit review and required GitHub checks before considering a merge.

Documentation impact

Package changelog and generated release notes are included. No Engine or translated documentation files change.

  • No further documentation changes needed
  • Review package changelog and generated release notes

UI evidence (if applicable)

No UI changes. Private campaign screenshots are excluded.


🔄 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/979 **Author:** [@SirAdoni](https://github.com/SirAdoni) **Created:** 9/20/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `contrib/a05-lorebook-source-authority` --- ### 📝 Commits (1) - [`b42ef6d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b42ef6dc0aa5198edee8e43e189981e596d1e722) Strengthen Lorebook Keeper source authority ### 📊 Changes **11 files changed** (+57 additions, -23 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/lorebook-keeper-1.0.6.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/notes.json` (+10 -0) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v2/notes.json` (+10 -0) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `catalog/v3/notes.json` (+10 -0) ➕ `packages/lorebook-keeper/CHANGELOG.md` (+4 -0) 📝 `packages/lorebook-keeper/agents.json` (+1 -1) 📝 `packages/lorebook-keeper/manifest.json` (+3 -3) 📝 `tests/lorebook-keeper-routing.regression.mjs` (+1 -1) </details> ### 📄 Description ## Linked issue Closes #977 ## Why this change Lorebook Keeper should preserve established state when evidence is uncertain instead of promoting unsupported inferences into campaign facts. ## What changed Treat assistant narration as candidate evidence instead of automatic canon. Save durable facts only with direct support, preserve attribution for beliefs and claims, reject uncertain/conflicting material, and prevent assistant-authored player thoughts, consent, choices, actions, morality, relationships or goals from becoming canon. The existing category routing, exact writable-book selection, tools, duplicate handling and output contract remain unchanged. The routing regression retains its assertions and expects the new package version. This package change is separate from the planned Engine campaign-lorebook reuse/consolidation contribution. Publish `lorebook-keeper` 1.0.6, its manifest and ZIP, and regenerated catalog entries and release notes. Existing lorebook functionality is upstream behavior; this contribution changes source-authority instructions only. ## Package and security impact - Affected package: `lorebook-keeper` only. - No changed permissions, entrypoints, tools, Engine compatibility, storage or uninstall behavior. - No private campaign data, local paths, screenshots, credentials, or prompt logs are included. ## Validation Completed branch-local checks: `npm run check` (zero errors; existing warnings), catalog-lane tests, package-locale validation, catalog validation, release-note regression, prompt-contract and manifest-integrity assertions, and `git diff --check`. Privacy review found no outgoing private-data matches. The ZIP contains only `manifest.json` and `agents.json`. Independent deterministic rebuild reproduced 2357 bytes and SHA-256 `a1fe941d84deeb5bd1fc53259a6ce9a4d79bb71dabae335e68793ea170876243`. Windows packaging used a temporary deterministic ZIP writer; the original builder was restored byte-for-byte and no tooling changes are included. These checks verify packaging and prompt preservation, not model compliance. This AI-assisted PR remains draft pending manual validation and review. Test-plan boxes remain unchecked for the human contributor. - [ ] `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 - [ ] Manually install/update the package and verify explicit supported changes, conflicting corrections, uncertain evidence and unsupported player-interiority claims. - [ ] Verify category routing, exact writable-book reuse, duplicate handling and tool output contracts. - [ ] Verify restart and uninstall behavior. - [ ] Complete CodeRabbit review and required GitHub checks before considering a merge. ## Documentation impact Package changelog and generated release notes are included. No Engine or translated documentation files change. - [ ] No further documentation changes needed - [ ] Review package changelog and generated release notes ## UI evidence (if applicable) No UI changes. Private campaign screenshots are excluded. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:06:08 +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#1223
No description provided.