[PR #1343] [MERGED] fix(slurp2): 0.3.30 — writing help knows a hidden Creator (#1342) #1410

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1343
Author: @Gunterlie
Created: 10/12/2026
Status: ✅ Merged
Merged: 10/13/2026
Merged by: @undefined

Base: staging ← Head: fix/slurp2-assist-hidden-creator-brief


📝 Commits (4)

  • 21555ac fix(slurp2): 0.3.29 — give hidden Creators their brief in Write, Improve, Draw and the guided post
  • 10a1ae0 fix(slurp2): writing help reads the page's bio and stage voice
  • 642a2b5 Merge remote-tracking branch 'origin/staging' into fix/slurp2-assist-hidden-creator-brief
  • 4d2e13c fix(slurp2): protect the writing-help answer for a concealed Creator

📊 Changes

16 files changed (+454 additions, -375 deletions)

View changed files

➕ artifacts/slurp2-0.3.30.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/slurp2/CHANGELOG.md (+5 -0)
📝 packages/slurp2/client.js (+1 -1)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+294 -292)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+9 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/assist/slp-assist-service.ts (+53 -30)
📝 packages/slurp2/src/engine/packages/server/src/slp/modules/assist/slp-assist-prompt.ts (+14 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/slurp2-ai-assist.regression.ts (+30 -3)

📄 Description

Pull request

Linked issue

Closes #1342

Why this change

  • A player reported a guided post for a Creator with a hidden identity. The prompt said "Write it as Gutter Ink, in their own voice" and contained nothing about the Creator, so the text had no voice to follow.
  • Writing help read the flavour brief only for an open identity, because its prompt has no identity protection of its own. It never passed the page's bio or stage voice for any Creator.

What changed

  • slp-assist-service.ts: new briefFor reads the brief at the Creator's own disclosure mode (no backstory for a concealed Creator) and passes it through protectCreatorGeneratedIdentity, the same pass the scene planner uses. Write, Improve, the guided post (draft-post) and Draw use it.
  • The text prompt also gets the page's bio and stage voice (# <name>'s page), protected the same way. The field being written is left out of its own context.
  • Review finding, fixed: the model's answer for a Creator now gets the same identity pass before it goes back to the player, because the prompt now carries card text.
  • slurp2 0.3.29 → 0.3.30 (patch): CHANGELOG, splash release entry, rebuilt client.js, server.mjs, artifact and catalog entries.
  • Regression: tests/slurp2-ai-assist.regression.ts runs the prompt builder for bio and stage voice, and asserts in source that the brief is never read as open and that brief, bio, stage voice and answer pass through the protection.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none
  • Security note: a concealed Creator's card description, personality and example dialogue now reach the writing-help model, as they already reach the post and chat models. The protection replaces the full display name, handle and card name; a first name alone inside card text is not replaced, which is the same limit as the post path. The image path redacts its prompts again in slp-images-service.ts.
  • Known limit: for a hinted Creator, a written bio or stage voice that repeats card wording can be refused on save with identity_conflict. Traced in code only.

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

  • Agent ran: npm run check (0 errors), test-catalog-lanes, validate-package-locales, validate-catalog, catalog-release-notes, typecheck-packages slurp2, git diff --check — all pass.
  • Agent ran node scripts/run-slurp-regressions.mjs: 287 passed, 0 failed. This run was before the last commit (answer protection); after it, only slurp2-ai-assist and the typecheck were run again.
  • An independent read-only review found no blocking finding; its one medium finding (unprotected answer) is fixed in the last commit.
  • Built with MARINARA_ENGINE_ROOT on an isolated Engine staging checkout (dc0760d2a, dependencies only).
  • 0.3.30 is sideloaded on the maintainer's production Engine for a manual test. No result from that test yet.

Documentation impact

  • No documentation changes needed

Co-authored with Claude Opus 5.5.

Summary by CodeRabbit

  • New Features
    • Writing and improvement tools, guided posts, and image generation now use Creator briefs tailored to the Creator’s identity-disclosure settings.
    • Writing and improvement tools and guided posts can incorporate the page bio and stage voice, helping generated content better reflect the page.
    • For Creators with hidden or hinted identities, generated content keeps real names and handles private.

🔄 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/1343 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/12/2026 **Status:** ✅ Merged **Merged:** 10/13/2026 **Merged by:** [@undefined](undefined) **Base:** `staging` ← **Head:** `fix/slurp2-assist-hidden-creator-brief` --- ### 📝 Commits (4) - [`21555ac`](https://github.com/Pasta-Devs/Marinara-Agents/commit/21555ac22d095879cb223b0644d4f9af51b12d73) fix(slurp2): 0.3.29 — give hidden Creators their brief in Write, Improve, Draw and the guided post - [`10a1ae0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/10a1ae01fd9220c259c2280da49bc200fbc73baf) fix(slurp2): writing help reads the page's bio and stage voice - [`642a2b5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/642a2b5317398837435b3598e53f36b02f291b8e) Merge remote-tracking branch 'origin/staging' into fix/slurp2-assist-hidden-creator-brief - [`4d2e13c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4d2e13ce32b192da9bc7c72bae8933a97ded1097) fix(slurp2): protect the writing-help answer for a concealed Creator ### 📊 Changes **16 files changed** (+454 additions, -375 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.3.30.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/slurp2/CHANGELOG.md` (+5 -0) 📝 `packages/slurp2/client.js` (+1 -1) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+294 -292) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+9 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/assist/slp-assist-service.ts` (+53 -30) 📝 `packages/slurp2/src/engine/packages/server/src/slp/modules/assist/slp-assist-prompt.ts` (+14 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/slurp2-ai-assist.regression.ts` (+30 -3) </details> ### 📄 Description # Pull request ## Linked issue Closes #1342 ## Why this change - A player reported a guided post for a Creator with a hidden identity. The prompt said "Write it as Gutter Ink, in their own voice" and contained nothing about the Creator, so the text had no voice to follow. - Writing help read the flavour brief only for an `open` identity, because its prompt has no identity protection of its own. It never passed the page's bio or stage voice for any Creator. ## What changed - `slp-assist-service.ts`: new `briefFor` reads the brief at the Creator's own disclosure mode (no backstory for a concealed Creator) and passes it through `protectCreatorGeneratedIdentity`, the same pass the scene planner uses. Write, Improve, the guided post (`draft-post`) and Draw use it. - The text prompt also gets the page's bio and stage voice (`# <name>'s page`), protected the same way. The field being written is left out of its own context. - Review finding, fixed: the model's answer for a Creator now gets the same identity pass before it goes back to the player, because the prompt now carries card text. - slurp2 0.3.29 → 0.3.30 (patch): CHANGELOG, splash release entry, rebuilt `client.js`, `server.mjs`, artifact and catalog entries. - Regression: `tests/slurp2-ai-assist.regression.ts` runs the prompt builder for bio and stage voice, and asserts in source that the brief is never read as `open` and that brief, bio, stage voice and answer pass through the protection. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none - Security note: a concealed Creator's card description, personality and example dialogue now reach the writing-help model, as they already reach the post and chat models. The protection replaces the full display name, handle and card name; a first name alone inside card text is not replaced, which is the same limit as the post path. The image path redacts its prompts again in `slp-images-service.ts`. - Known limit: for a hinted Creator, a written bio or stage voice that repeats card wording can be refused on save with `identity_conflict`. Traced in code only. ## 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 - Agent ran: `npm run check` (0 errors), `test-catalog-lanes`, `validate-package-locales`, `validate-catalog`, `catalog-release-notes`, `typecheck-packages slurp2`, `git diff --check` — all pass. - Agent ran `node scripts/run-slurp-regressions.mjs`: 287 passed, 0 failed. This run was before the last commit (answer protection); after it, only `slurp2-ai-assist` and the typecheck were run again. - An independent read-only review found no blocking finding; its one medium finding (unprotected answer) is fixed in the last commit. - Built with `MARINARA_ENGINE_ROOT` on an isolated Engine staging checkout (dc0760d2a, dependencies only). - 0.3.30 is sideloaded on the maintainer's production Engine for a manual test. No result from that test yet. ## Documentation impact - [x] No documentation changes needed Co-authored with Claude Opus 5.5. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Writing and improvement tools, guided posts, and image generation now use Creator briefs tailored to the Creator’s identity-disclosure settings. * Writing and improvement tools and guided posts can incorporate the page bio and stage voice, helping generated content better reflect the page. * For Creators with hidden or hinted identities, generated content keeps real names and handles private. <!-- 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:11:00 +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#1410
No description provided.