[PR #1089] [MERGED] feat(relationship-tracker): add Relationship Tracker 0.6.0 (staging only) #1293

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1089
Author: @NoblezDomain
Created: 9/26/2026
Status: ✅ Merged
Merged: 9/26/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/relationship-tracker-0.6.0


📝 Commits (4)

  • be9058b feat(relationship-tracker): add Relationship Tracker 0.6.0 (staging only)
  • 173d1de fix(relationship-tracker): align automatic tracking instructions with the parser contract
  • 763960c feat(relationship-tracker): finish staging catalogue artwork and guides
  • f99ec3d docs: list staged Relationship Tracker in official catalogue

📊 Changes

30 files changed (+4368 additions, -1 deletions)

View changed files

📝 README.md (+2 -0)
➕ artifacts/relationship-tracker-0.6.0.zip (+0 -0)
📝 artwork/agent-covers/art-direction.json (+6 -0)
➕ artwork/agent-covers/relationship-tracker.png (+0 -0)
📝 catalog/preview/catalog.json (+119 -0)
📝 catalog/preview/notes.json (+10 -0)
📝 catalog/preview/v2/catalog.json (+119 -0)
📝 catalog/preview/v2/notes.json (+10 -0)
📝 catalog/preview/v3/catalog.json (+119 -0)
📝 catalog/preview/v3/notes.json (+10 -0)
➕ packages/relationship-tracker/CHANGELOG.md (+9 -0)
➕ packages/relationship-tracker/README.md (+37 -0)
➕ packages/relationship-tracker/activity.mjs (+108 -0)
➕ packages/relationship-tracker/agents.json (+34 -0)
➕ packages/relationship-tracker/client.js (+1010 -0)
➕ packages/relationship-tracker/contracts/persona-state-v1.schema.json (+30 -0)
➕ packages/relationship-tracker/contracts/read-api-v1.schema.json (+69 -0)
➕ packages/relationship-tracker/contracts/relationship-state-v1.schema.json (+138 -0)
➕ packages/relationship-tracker/history.mjs (+256 -0)
➕ packages/relationship-tracker/locales/en.json (+17 -0)

...and 10 more files

📄 Description

Linked issue

Closes #1090

Why this change

Roleplay group chats have no durable relationship context between assigned character cards (or toward the active persona) as a story evolves. Relationship Tracker adds it as a fully standalone package: a conservative per-chat relationship web in the Tracker Panel, updates from completed replies and bounded history runs, and All or Scene-only prompt injection of defined lines. The runtime is self-contained. The companion Engine catalogue-mode mapping and setup guide are in Pasta-Devs/Marinara-Engine#6725.

What changed

  • New package packages/relationship-tracker/ — manifest v2 (Capability API 1.14, Engine 2.4.4–<4.0.0), 13 runtime payloads, README, CHANGELOG 0.6.0, English locale

  • New scripts/build-relationship-tracker-package.mjs — dedicated deterministic builder

  • scripts/catalog-package-guidance.mjs + scripts/catalog-incomplete.mjs — tracker guidance; routed staging-only for beta
    Generated: artifacts/relationship-tracker-0.6.0.zip (191,673 bytes, SHA-256 87d5239fdd6caab24e70b930548a71ae391c9b4f3a8437f04e4a683363188b80), catalog/preview/** (v2+v3 overlay; published lanes unchanged at 38), artwork/agent-covers/relationship-tracker.png, README staging-only Tracker Agents row

  • Adds the generated Professor Mari/red-orc spaghetti cover in the existing circular chibi style. Keeps the package staging-only until the next Engine main release after v2.4.6, tracked in #1091.

Package and security impact

  • Affected package IDs: relationship-tracker (new)
  • Engine compatibility impact: new manifest-v2 package, Engine 2.4.4 inclusive to <4.0.0, Capability API 1.14; release-validated in a clean worktree at latest staging (engine 2.4.6, freshly compiled schemas). builtAgainst.engineCommit 7f3286e3 = that worktree's staging commit (public 613721b2 + the committed package inputs)
  • New or changed permissions/entrypoints: agent-runtime (post-processing per-edge deltas), chat-read (card IDs/names, bounded windows), prompt-context (deterministic All/Scene-only injection), routes (panel/settings/history routes + public read-only v1 API), storage (package-owned per-chat card + persona documents), ui (Tracker Panel web). Server registers only this package's hooks and routes; client renders only in the existing tracker-panel slot
  • Restart, storage, update, or uninstall impact: restart required on install; package-owned per-chat storage only (frozen card-state v1 and separate persona-state v1 documents); no other package's state touched

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

Package suite: 152/152 deterministic regressions, including release-mode validation from a clean Engine worktree and the two regressions added with the review fixes in 173d1de. Negative cases covered by the suite include malformed model output, lock-bypass attempts, stale concurrent writes, unknown IDs, and mixed card/persona deltas (rejected atomically). Repository gates run locally: npm run check (0 errors), test-catalog-lanes, validate-package-locales, validate-catalog, catalog-release-notes regression, git diff --check.

Author-verified on a local install (0.6.0): web and editor use on desktop (create/edit/lock/resume, Automatic + History, All and Scene-only injection), 0.5.0 → 0.6.0 profile upgrade (explicit Context Size preserved; default 5 confirmed), active-persona switching (headings, labels, accessibility text), press-to-reveal on touch/pen hardware for edges and persona spokes, restart after install. At the time of the author’s original report, uninstall cleanup and second-party checks were outstanding. The maintainer checks below cover installation, restart, removal and reinstall persistence.

Maintainer integration checks after the staging merge: downloaded the published 0.6.0 archive through the real Agents → Download Agents → Roleplay menu in an isolated Engine profile; restarted to active/ready; verified the installed card and generated cover at 1440px and 390px. Browser-driven uninstall removed the package, registry definition, chat selection and agent configuration. Public-menu reinstall and restart preserved a saved locked relationship without silently re-enabling the agent. These checks used API assertions and Playwright; the human checklist above is unchanged. See the detailed verification record.

Documentation impact

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

UI evidence (if applicable)

Relationship web in the host Tracker Panel, fixed-circle layout, category-colored lines, persona center node:

image

Orc Note: The unticked box is deliberate for transparency: The agent is only meant for RP mode, and uninstall wasn't fully tested per se, although I did test instances of removing the agent and adding it back into a chat, and information was fully preserved. I leave that to pasta devs discretion if it's a pass or not.

Summary by CodeRabbit

  • New Features
    • Added Relationship Tracker for Roleplay chats, showing relationships between characters and their perceptions of the active persona.
    • View and edit relationships, lock manual changes, and update relationship history automatically or on demand.
    • Configure how relationship context is included in prompts, with separate lookback and context-size settings for each mode.
    • Interact with relationship labels using touch, pen, or desktop controls. A read-only API provides relationship data.
  • Availability
    • Staging-only; requires Engine 2.4.4+ and Capability API 1.14. Activate it from Tracker Agents.

🔄 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/1089 **Author:** [@NoblezDomain](https://github.com/NoblezDomain) **Created:** 9/26/2026 **Status:** ✅ Merged **Merged:** 9/26/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/relationship-tracker-0.6.0` --- ### 📝 Commits (4) - [`be9058b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/be9058b4750f28573d6411fe6f48dfda53654642) feat(relationship-tracker): add Relationship Tracker 0.6.0 (staging only) - [`173d1de`](https://github.com/Pasta-Devs/Marinara-Agents/commit/173d1de4d50ce41c5afe1cd0d665bc00c4326e53) fix(relationship-tracker): align automatic tracking instructions with the parser contract - [`763960c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/763960ca3c63c9e8db3331d86696b6019a6353b7) feat(relationship-tracker): finish staging catalogue artwork and guides - [`f99ec3d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f99ec3d314974f42c2340a830d074e821c9ecd6d) docs: list staged Relationship Tracker in official catalogue ### 📊 Changes **30 files changed** (+4368 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+2 -0) ➕ `artifacts/relationship-tracker-0.6.0.zip` (+0 -0) 📝 `artwork/agent-covers/art-direction.json` (+6 -0) ➕ `artwork/agent-covers/relationship-tracker.png` (+0 -0) 📝 `catalog/preview/catalog.json` (+119 -0) 📝 `catalog/preview/notes.json` (+10 -0) 📝 `catalog/preview/v2/catalog.json` (+119 -0) 📝 `catalog/preview/v2/notes.json` (+10 -0) 📝 `catalog/preview/v3/catalog.json` (+119 -0) 📝 `catalog/preview/v3/notes.json` (+10 -0) ➕ `packages/relationship-tracker/CHANGELOG.md` (+9 -0) ➕ `packages/relationship-tracker/README.md` (+37 -0) ➕ `packages/relationship-tracker/activity.mjs` (+108 -0) ➕ `packages/relationship-tracker/agents.json` (+34 -0) ➕ `packages/relationship-tracker/client.js` (+1010 -0) ➕ `packages/relationship-tracker/contracts/persona-state-v1.schema.json` (+30 -0) ➕ `packages/relationship-tracker/contracts/read-api-v1.schema.json` (+69 -0) ➕ `packages/relationship-tracker/contracts/relationship-state-v1.schema.json` (+138 -0) ➕ `packages/relationship-tracker/history.mjs` (+256 -0) ➕ `packages/relationship-tracker/locales/en.json` (+17 -0) _...and 10 more files_ </details> ### 📄 Description ## Linked issue Closes #1090 ## Why this change Roleplay group chats have no durable relationship context between assigned character cards (or toward the active persona) as a story evolves. Relationship Tracker adds it as a fully standalone package: a conservative per-chat relationship web in the Tracker Panel, updates from completed replies and bounded history runs, and All or Scene-only prompt injection of defined lines. The runtime is self-contained. The companion Engine catalogue-mode mapping and setup guide are in Pasta-Devs/Marinara-Engine#6725. ## What changed - New package `packages/relationship-tracker/` — manifest v2 (Capability API 1.14, Engine 2.4.4–<4.0.0), 13 runtime payloads, README, CHANGELOG 0.6.0, English locale - New `scripts/build-relationship-tracker-package.mjs` — dedicated deterministic builder - `scripts/catalog-package-guidance.mjs` + `scripts/catalog-incomplete.mjs` — tracker guidance; routed staging-only for beta Generated: artifacts/relationship-tracker-0.6.0.zip (191,673 bytes, SHA-256 87d5239fdd6caab24e70b930548a71ae391c9b4f3a8437f04e4a683363188b80), catalog/preview/** (v2+v3 overlay; published lanes unchanged at 38), artwork/agent-covers/relationship-tracker.png, README staging-only Tracker Agents row - Adds the generated Professor Mari/red-orc spaghetti cover in the existing circular chibi style. Keeps the package staging-only until the next Engine main release after v2.4.6, tracked in #1091. ## Package and security impact - Affected package IDs: `relationship-tracker` (new) - Engine compatibility impact: new manifest-v2 package, Engine 2.4.4 inclusive to <4.0.0, Capability API 1.14; release-validated in a clean worktree at latest staging (engine 2.4.6, freshly compiled schemas). `builtAgainst.engineCommit 7f3286e3` = that worktree's staging commit (public `613721b2` + the committed package inputs) - New or changed permissions/entrypoints: `agent-runtime` (post-processing per-edge deltas), `chat-read` (card IDs/names, bounded windows), `prompt-context` (deterministic All/Scene-only injection), `routes` (panel/settings/history routes + public read-only v1 API), `storage` (package-owned per-chat card + persona documents), `ui` (Tracker Panel web). Server registers only this package's hooks and routes; client renders only in the existing `tracker-panel` slot - Restart, storage, update, or uninstall impact: restart required on install; package-owned per-chat storage only (frozen card-state v1 and separate persona-state v1 documents); no other package's state touched ## 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 - [x] 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 Package suite: 152/152 deterministic regressions, including release-mode validation from a clean Engine worktree and the two regressions added with the review fixes in 173d1de. Negative cases covered by the suite include malformed model output, lock-bypass attempts, stale concurrent writes, unknown IDs, and mixed card/persona deltas (rejected atomically). Repository gates run locally: `npm run check` (0 errors), `test-catalog-lanes`, `validate-package-locales`, `validate-catalog`, `catalog-release-notes` regression, `git diff --check`. Author-verified on a local install (0.6.0): web and editor use on desktop (create/edit/lock/resume, Automatic + History, All and Scene-only injection), 0.5.0 → 0.6.0 profile upgrade (explicit Context Size preserved; default 5 confirmed), active-persona switching (headings, labels, accessibility text), press-to-reveal on touch/pen hardware for edges and persona spokes, restart after install. At the time of the author’s original report, uninstall cleanup and second-party checks were outstanding. The maintainer checks below cover installation, restart, removal and reinstall persistence. Maintainer integration checks after the staging merge: downloaded the published 0.6.0 archive through the real Agents → Download Agents → Roleplay menu in an isolated Engine profile; restarted to active/ready; verified the installed card and generated cover at 1440px and 390px. Browser-driven uninstall removed the package, registry definition, chat selection and agent configuration. Public-menu reinstall and restart preserved a saved locked relationship without silently re-enabling the agent. These checks used API assertions and Playwright; the human checklist above is unchanged. See the detailed [verification record](https://github.com/Pasta-Devs/Marinara-Agents/pull/1089#issuecomment-5849584103). ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Relationship web in the host Tracker Panel, fixed-circle layout, category-colored lines, persona center node: <img width="396" height="613" alt="image" src="https://github.com/user-attachments/assets/e1da7d16-43cb-4f70-a6a5-a7e99a2729c0" /> Orc Note: The unticked box is deliberate for transparency: The agent is only meant for RP mode, and uninstall wasn't fully tested per se, although I did test instances of removing the agent and adding it back into a chat, and information was fully preserved. I leave that to pasta devs discretion if it's a pass or not. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Relationship Tracker for Roleplay chats, showing relationships between characters and their perceptions of the active persona. * View and edit relationships, lock manual changes, and update relationship history automatically or on demand. * Configure how relationship context is included in prompts, with separate lookback and context-size settings for each mode. * Interact with relationship labels using touch, pen, or desktop controls. A read-only API provides relationship data. * **Availability** * Staging-only; requires Engine 2.4.4+ and Capability API 1.14. Activate it from Tracker Agents. <!-- 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-21 05:07:46 +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#1293
No description provided.