[PR #2029] [MERGED] feat(expression): choose faceted sprite names by outfit and condition (1.0.6) #2083

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2029
Author: @SpicyMarinara
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/expression-faceted-sprites


📝 Commits (4)

  • cde6e17 feat(expression): the Expression Engine chooses faceted sprite names by outfit and condition (1.0.6)
  • 788dac1 Merge branch 'staging' into feat/expression-faceted-sprites
  • 9d1350d Merge branch 'staging' into feat/expression-faceted-sprites
  • bc9d451 Merge branch 'staging' into feat/expression-faceted-sprites

📊 Changes

6 files changed (+22 additions, -22 deletions)

View changed files

➕ artifacts/expression-1.0.6.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v3/catalog.json (+6 -6)
📝 packages/expression/agents.json (+1 -1)
📝 packages/expression/manifest.json (+3 -3)

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #2032

Part of Pasta-Devs/Marinara-Engine#8637. This is the Expression Engine prompt half of Pasta-Devs/Marinara-Engine#8653.

Why this change

  • Marinara Engine #8653 lets a sprite library use faceted names, so the Expression Engine can show the right outfit and condition: happy_pajamas, angry_formalwear_soaked_01. The Engine now lists those names beside each group key in <available_sprites>, but the agent's prompt still says only group keys exist. Until the prompt explains faceted names, the agent has no reason to pick one over happy.

What changed

  • packages/expression/agents.json, default prompt template only:
    • Explains that some characters list faceted names (the expression, then outfit or condition words, most important first).
    • Tells the agent to choose the one that matches the character's emotion, outfit and condition in the scene, and to use the plain group key when no faceted name fits.
    • Tells it never to invent filenames, variant numbers or new facet combinations.
    • The output schema's expression description now includes faceted names.
    • New instruction 5: keep the outfit and condition words of the character's previous faceted name until the scene changes them, even when only the emotion changes.
  • Expression Engine 1.0.6: manifest, artifacts/expression-1.0.6.zip and catalog entries rebuilt with node scripts/build-agent-catalog.mjs expression.

Package and security impact

  • Affected package IDs: expression
  • Engine compatibility impact: none. On an Engine that lists no faceted names (anything before #8653), the new lines don't apply, and the agent picks group keys as before. Same minimum Engine version.
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none. A user who customised the prompt keeps their own template.

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

What the agent ran locally:

  • node scripts/validate-catalog.mjs passes, with the released artifacts in place: lanes v2=42, v3=42.
  • validate-package-locales.mjs, validate-package-locale-keys.mjs, npm run format:check and git diff --check all pass.
  • Only the template string in agents.json changed. The file's formatting is byte-identical otherwise.

For a human to verify:

  • Manually verify, on an Engine with #8653, in a Roleplay chat with debug mode on: give a character sprites happy_pajamas_01, happy_formalwear and angry_formalwear_soaked_01. When the scene puts them in pajamas, the Expression Engine should return happy_pajamas rather than happy.
  • Manually verify that once the character changes clothes in the story, the next pick moves to the new outfit. If the outfit doesn't change, it should stay on the old one.
  • Manually verify on a library with only plain names (happy, sad) that the agent behaves as before.

Documentation impact

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

The faceted naming guide ships with the Engine in docs/characters/sprites.md (#8653).

UI evidence (if applicable)

  • Not applicable: this is a prompt-only change.

🤖 Generated with Claude Code


🔄 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/2029 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/expression-faceted-sprites` --- ### 📝 Commits (4) - [`cde6e17`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cde6e1712b2b8d73f0f415d6d5979d8536ddbad0) feat(expression): the Expression Engine chooses faceted sprite names by outfit and condition (1.0.6) - [`788dac1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/788dac1689b2b75029c3a4a90b22c1f7d6d012f4) Merge branch 'staging' into feat/expression-faceted-sprites - [`9d1350d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9d1350d621e1ba0619f18e304ae2ab2199b9ef9f) Merge branch 'staging' into feat/expression-faceted-sprites - [`bc9d451`](https://github.com/Pasta-Devs/Marinara-Agents/commit/bc9d451ed00e1219bbb1354ae30c4f1ab37a4e75) Merge branch 'staging' into feat/expression-faceted-sprites ### 📊 Changes **6 files changed** (+22 additions, -22 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/expression-1.0.6.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `packages/expression/agents.json` (+1 -1) 📝 `packages/expression/manifest.json` (+3 -3) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #2032 Part of Pasta-Devs/Marinara-Engine#8637. This is the Expression Engine prompt half of Pasta-Devs/Marinara-Engine#8653. ## Why this change - Marinara Engine #8653 lets a sprite library use faceted names, so the Expression Engine can show the right outfit and condition: `happy_pajamas`, `angry_formalwear_soaked_01`. The Engine now lists those names beside each group key in `<available_sprites>`, but the agent's prompt still says only group keys exist. Until the prompt explains faceted names, the agent has no reason to pick one over `happy`. ## What changed - `packages/expression/agents.json`, default prompt template only: - Explains that some characters list faceted names (the expression, then outfit or condition words, most important first). - Tells the agent to choose the one that matches the character's emotion, outfit and condition in the scene, and to use the plain group key when no faceted name fits. - Tells it never to invent filenames, variant numbers or new facet combinations. - The output schema's `expression` description now includes faceted names. - New instruction 5: keep the outfit and condition words of the character's previous faceted name until the scene changes them, even when only the emotion changes. - **Expression Engine 1.0.6**: manifest, `artifacts/expression-1.0.6.zip` and catalog entries rebuilt with `node scripts/build-agent-catalog.mjs expression`. ## Package and security impact - Affected package IDs: `expression` - Engine compatibility impact: none. On an Engine that lists no faceted names (anything before #8653), the new lines don't apply, and the agent picks group keys as before. Same minimum Engine version. - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none. A user who customised the prompt keeps their own template. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `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 What the agent ran locally: - `node scripts/validate-catalog.mjs` passes, with the released artifacts in place: lanes v2=42, v3=42. - `validate-package-locales.mjs`, `validate-package-locale-keys.mjs`, `npm run format:check` and `git diff --check` all pass. - Only the template string in `agents.json` changed. The file's formatting is byte-identical otherwise. For a human to verify: - Manually verify, on an Engine with #8653, in a Roleplay chat with debug mode on: give a character sprites `happy_pajamas_01`, `happy_formalwear` and `angry_formalwear_soaked_01`. When the scene puts them in pajamas, the Expression Engine should return `happy_pajamas` rather than `happy`. - Manually verify that once the character changes clothes in the story, the next pick moves to the new outfit. If the outfit doesn't change, it should stay on the old one. - Manually verify on a library with only plain names (`happy`, `sad`) that the agent behaves as before. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation The faceted naming guide ships with the Engine in `docs/characters/sprites.md` (#8653). ## UI evidence (if applicable) - Not applicable: this is a prompt-only change. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:39:22 +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#2083
No description provided.