[PR #1750] [CLOSED] fix(director): 1.0.5 keeps beats terse and varied #1953

Closed
opened 2026-11-07 16:38:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1750
Author: @logicalor
Created: 10/27/2026
Status: ❌ Closed

Base: staging ← Head: fix/director-beat-variety


📝 Commits (1)

  • e5ba7a2 fix(director): 1.0.5 keeps beats terse and varied

📊 Changes

12 files changed (+67 additions, -31 deletions)

View changed files

📝 README.md (+1 -1)
➕ artifacts/director-1.0.5.zip (+0 -0)
📝 catalog/catalog.json (+7 -7)
📝 catalog/notes.json (+10 -0)
📝 catalog/v2/catalog.json (+7 -7)
📝 catalog/v2/notes.json (+10 -0)
📝 catalog/v3/catalog.json (+7 -7)
📝 catalog/v3/notes.json (+10 -0)
➕ packages/director/CHANGELOG.md (+4 -0)
📝 packages/director/agents.json (+5 -3)
📝 packages/director/locales/en.json (+2 -2)
📝 packages/director/manifest.json (+4 -4)

📄 Description

Refs #1749.

Why

The Director's beat_summary/direction were written as flowing prose, and the narrator echoed that wording back into the story — sometimes near-verbatim with only the nouns swapped. In a test roleplay chat, the same drink/window-light passage appeared at turns 17 and 20 with counter → bare boards, and the Director's own direction carried the identical phrase "the amber liquid catching the streetlight stripe" that the prose then copied. Recent beats kept re-describing the same prop instead of advancing.

What changed

  • Adds a beat-discipline paragraph to the Director prompt: state each beat as terse facts (who, where, what changed), never sensory prose or a closing image; do not reuse a previous beat's phrasing or descriptors; feature at most one prop already in play per turn and prefer advancing to a new detail, place or consequence.
  • Carries the 1.0.4 per-turn judgment contract (beat summary → repercussions → direction) that the Engine already pins, and publishes that lineage as 1.0.5 rather than reusing the 1.0.4 number.
  • Regenerated agents.json (4457 bytes, sha256:75b69587…), manifest.json, locales/en.json, the director-1.0.5.zip artifact, and the catalog lanes / release notes via node scripts/build-agent-catalog.mjs director.
  • README catalog row and a CHANGELOG.md entry for 1.0.5.

Proof

Automated, all run locally on this head:

  • node scripts/build-agent-catalog.mjs director — rebuilt artifact + catalog lanes.
  • node scripts/test-catalog-lanes.mjs — passed.
  • node scripts/validate-package-locales.mjs — passed (45 canonical, 42 translations).
  • node scripts/validate-catalog.mjs — Catalog valid: 42 packages (26 agents, 16 features, 0 rulesets), v2=42, v3=42.
  • node scripts/tests/catalog-release-notes.regression.mjs — passed.
  • npm run check — passed (0 errors; pre-existing warnings only).
  • git diff --check — clean.

Test plan (human, unchecked)

  • Install director 1.0.5 in an Engine staging checkout and confirm it updates from 1.0.3/1.0.4.
  • Run several roleplay turns with the Director enabled and confirm the prose no longer repeats the Director's phrasing or re-describes the same prop turn after turn.
  • Confirm restart/uninstall paths behave as before (instruction-only change, no executable payload).

Follow-up (separate repo)

The Engine's scripts/regressions/director-package-prompt.regression.ts pins the director fixture byte-for-byte. After 1.0.5 is installed it must be re-pinned: add fixtures/director-1.0.5-agents.json, bump FIXTURE_VERSION to 1.0.5, and re-check the contract assertions. Until then the Engine leg correctly reports the version drift.


🔄 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/1750 **Author:** [@logicalor](https://github.com/logicalor) **Created:** 10/27/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `fix/director-beat-variety` --- ### 📝 Commits (1) - [`e5ba7a2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e5ba7a2a26dd84560c71f5ec6758b8e4ffa46edf) fix(director): 1.0.5 keeps beats terse and varied ### 📊 Changes **12 files changed** (+67 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) ➕ `artifacts/director-1.0.5.zip` (+0 -0) 📝 `catalog/catalog.json` (+7 -7) 📝 `catalog/notes.json` (+10 -0) 📝 `catalog/v2/catalog.json` (+7 -7) 📝 `catalog/v2/notes.json` (+10 -0) 📝 `catalog/v3/catalog.json` (+7 -7) 📝 `catalog/v3/notes.json` (+10 -0) ➕ `packages/director/CHANGELOG.md` (+4 -0) 📝 `packages/director/agents.json` (+5 -3) 📝 `packages/director/locales/en.json` (+2 -2) 📝 `packages/director/manifest.json` (+4 -4) </details> ### 📄 Description Refs #1749. ## Why The Director's `beat_summary`/`direction` were written as flowing prose, and the narrator echoed that wording back into the story — sometimes near-verbatim with only the nouns swapped. In a test roleplay chat, the same drink/window-light passage appeared at turns 17 and 20 with *counter* → *bare boards*, and the Director's own `direction` carried the identical phrase *"the amber liquid catching the streetlight stripe"* that the prose then copied. Recent beats kept re-describing the same prop instead of advancing. ## What changed - Adds a **beat-discipline** paragraph to the Director prompt: state each beat as terse facts (who, where, what changed), never sensory prose or a closing image; do not reuse a previous beat's phrasing or descriptors; feature at most one prop already in play per turn and prefer advancing to a new detail, place or consequence. - Carries the **1.0.4 per-turn judgment contract** (beat summary → repercussions → direction) that the Engine already pins, and publishes that lineage as **1.0.5** rather than reusing the 1.0.4 number. - Regenerated `agents.json` (4457 bytes, `sha256:75b69587…`), `manifest.json`, `locales/en.json`, the `director-1.0.5.zip` artifact, and the catalog lanes / release notes via `node scripts/build-agent-catalog.mjs director`. - README catalog row and a `CHANGELOG.md` entry for 1.0.5. ## Proof Automated, all run locally on this head: - `node scripts/build-agent-catalog.mjs director` — rebuilt artifact + catalog lanes. - `node scripts/test-catalog-lanes.mjs` — passed. - `node scripts/validate-package-locales.mjs` — passed (45 canonical, 42 translations). - `node scripts/validate-catalog.mjs` — `Catalog valid: 42 packages (26 agents, 16 features, 0 rulesets)`, v2=42, v3=42. - `node scripts/tests/catalog-release-notes.regression.mjs` — passed. - `npm run check` — passed (0 errors; pre-existing warnings only). - `git diff --check` — clean. ## Test plan (human, unchecked) - [ ] Install director 1.0.5 in an Engine staging checkout and confirm it updates from 1.0.3/1.0.4. - [ ] Run several roleplay turns with the Director enabled and confirm the prose no longer repeats the Director's phrasing or re-describes the same prop turn after turn. - [ ] Confirm restart/uninstall paths behave as before (instruction-only change, no executable payload). ## Follow-up (separate repo) The Engine's `scripts/regressions/director-package-prompt.regression.ts` pins the director fixture byte-for-byte. After 1.0.5 is installed it must be re-pinned: add `fixtures/director-1.0.5-agents.json`, bump `FIXTURE_VERSION` to `1.0.5`, and re-check the contract assertions. Until then the Engine leg correctly reports the version drift. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:38:17 +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#1953
No description provided.