[PR #978] [CLOSED] Strengthen Inventory Tracker source authority #1221

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

📋 Pull Request Information

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

Base: staging ← Head: contrib/a04-inventory-source-authority


📝 Commits (1)

  • 51b9186 Strengthen Inventory Tracker source authority

📊 Changes

10 files changed (+43 additions, -22 deletions)

View changed files

➕ artifacts/inventory-tracker-1.2.1.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+6 -6)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/inventory-tracker/CHANGELOG.md (+3 -0)
📝 packages/inventory-tracker/agents.json (+1 -1)
📝 packages/inventory-tracker/manifest.json (+3 -3)

📄 Description

Linked issue

Closes #976

Why this change

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

What changed

Record only explicit acquisitions, losses, equipment changes, and quantities. Direct user actions and corrections plus explicit inventory evidence take precedence over unsupported narration and prior tracker state. Uncertain or conflicting evidence leaves the inventory unchanged; the tracker must not invent player choices or actions.

The existing incremental and legacy full-array formats, exact item matching, quantity totals, moves between groups, item descriptions/storage locations, and locked-row protections remain unchanged.

Publish inventory-tracker 1.2.1, its manifest and ZIP, and regenerated catalog entries and release notes. Existing tracking functionality is upstream behavior; this contribution changes source-authority instructions only.

Package and security impact

  • Affected package: inventory-tracker 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 2133 bytes and SHA-256 c39bb054fcce2a9cc8e72e0aabdb3caf4963f10f02d29b74f4a5805e50c462f8. 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 both incremental and legacy full-output modes preserve their existing 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/978 **Author:** [@SirAdoni](https://github.com/SirAdoni) **Created:** 9/20/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `contrib/a04-inventory-source-authority` --- ### 📝 Commits (1) - [`51b9186`](https://github.com/Pasta-Devs/Marinara-Agents/commit/51b9186f4708aaeed7589bc4738d62056bb05ea9) Strengthen Inventory Tracker source authority ### 📊 Changes **10 files changed** (+43 additions, -22 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/inventory-tracker-1.2.1.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/inventory-tracker/CHANGELOG.md` (+3 -0) 📝 `packages/inventory-tracker/agents.json` (+1 -1) 📝 `packages/inventory-tracker/manifest.json` (+3 -3) </details> ### 📄 Description ## Linked issue Closes #976 ## Why this change Inventory Tracker should preserve established state when evidence is uncertain instead of promoting unsupported inferences into campaign facts. ## What changed Record only explicit acquisitions, losses, equipment changes, and quantities. Direct user actions and corrections plus explicit inventory evidence take precedence over unsupported narration and prior tracker state. Uncertain or conflicting evidence leaves the inventory unchanged; the tracker must not invent player choices or actions. The existing incremental and legacy full-array formats, exact item matching, quantity totals, moves between groups, item descriptions/storage locations, and locked-row protections remain unchanged. Publish `inventory-tracker` 1.2.1, its manifest and ZIP, and regenerated catalog entries and release notes. Existing tracking functionality is upstream behavior; this contribution changes source-authority instructions only. ## Package and security impact - Affected package: `inventory-tracker` 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 2133 bytes and SHA-256 `c39bb054fcce2a9cc8e72e0aabdb3caf4963f10f02d29b74f4a5805e50c462f8`. 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 both incremental and legacy full-output modes preserve their existing 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:07 +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#1221
No description provided.