[GH-ISSUE #2444] [Issue]: 12-PROMPT-RUNTIME-character-persona-context creator notes omitted #1200

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

Originally created by @Promansis on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2444

Originally assigned to: @Promansis on GitHub.

Summary

12-PROMPT-RUNTIME-character-persona-context parity gap from #2442: refactor loads character creator notes but character prompt marker rendering returns empty for creator_notes.

Expected behavior

Character prompt context should include creator notes when a prompt marker requests that card field, matching legacy marker field behavior.

Acceptance criteria:

  • Character marker field rendering returns creatorNotes for creator_notes and creatorNotes.
  • Default prompt behavior remains intentional; this issue only requires requested creator-notes prompt context to work.
  • Macro resolution and wrapping still run through the existing prompt assembly owner.
  • 12-PROMPT-RUNTIME-character-persona-context proof is updated in #2442.

Actual behavior

Refactor reads creator_notes/creatorNotes into GenerationCharacterContext.creatorNotes, but characterFieldValue() returns an empty string for both creator_notes and creatorNotes, so a prompt marker requesting creator notes cannot include them.

Steps to reproduce

  1. Inspect 12-PROMPT-RUNTIME-character-persona-context in #2442.
  2. Compare legacy marker expansion for character fields with refactor character marker rendering.
  3. Confirm refactor loads creator notes but drops them during prompt field rendering.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor@c92bbcfc
  • Run mode: static trace only
  • OS + version: not relevant
  • Node + pnpm versions: not relevant
  • Rust version, if relevant: not relevant
  • Remote Runtime URL configured? not relevant
  • Provider, model, or integration, if relevant: prompt assembly before provider transport

Logs, screenshots, or video

Proof:

  • Refactor loads creator notes: src/engine/generation/prompt-assembly.ts:395
  • Refactor labels creator notes as a character marker field: src/engine/generation/prompt-assembly.ts:1196
  • Refactor returns empty for creator_notes and creatorNotes: src/engine/generation/prompt-assembly.ts:1224
  • Legacy marker field switch reads creator_notes: main:packages/server/src/services/prompt/marker-expander.ts:218

Files inspected:

  • src/engine/generation/prompt-assembly.ts
  • src/engine/contracts/types/character.ts
  • main:packages/server/src/services/prompt/marker-expander.ts
  • main:packages/server/src/services/prompt/macro-context.ts

Regression notes

Legacy main can read the creator_notes card field in marker expansion.

Additional context

Source tracker: #2442, surface 12-PROMPT-RUNTIME-character-persona-context.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Jun 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2444 Originally assigned to: @Promansis on GitHub. ## Summary `12-PROMPT-RUNTIME-character-persona-context` parity gap from #2442: refactor loads character creator notes but character prompt marker rendering returns empty for `creator_notes`. ## Expected behavior Character prompt context should include creator notes when a prompt marker requests that card field, matching legacy marker field behavior. Acceptance criteria: - Character marker field rendering returns `creatorNotes` for `creator_notes` and `creatorNotes`. - Default prompt behavior remains intentional; this issue only requires requested creator-notes prompt context to work. - Macro resolution and wrapping still run through the existing prompt assembly owner. - `12-PROMPT-RUNTIME-character-persona-context` proof is updated in #2442. ## Actual behavior Refactor reads `creator_notes`/`creatorNotes` into `GenerationCharacterContext.creatorNotes`, but `characterFieldValue()` returns an empty string for both `creator_notes` and `creatorNotes`, so a prompt marker requesting creator notes cannot include them. ## Steps to reproduce 1. Inspect `12-PROMPT-RUNTIME-character-persona-context` in #2442. 2. Compare legacy marker expansion for character fields with refactor character marker rendering. 3. Confirm refactor loads creator notes but drops them during prompt field rendering. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [x] Chat mode - [x] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [x] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: refactor@c92bbcfc - Run mode: static trace only - OS + version: not relevant - Node + pnpm versions: not relevant - Rust version, if relevant: not relevant - Remote Runtime URL configured? not relevant - Provider, model, or integration, if relevant: prompt assembly before provider transport ## Logs, screenshots, or video Proof: - Refactor loads creator notes: `src/engine/generation/prompt-assembly.ts:395` - Refactor labels creator notes as a character marker field: `src/engine/generation/prompt-assembly.ts:1196` - Refactor returns empty for `creator_notes` and `creatorNotes`: `src/engine/generation/prompt-assembly.ts:1224` - Legacy marker field switch reads `creator_notes`: `main:packages/server/src/services/prompt/marker-expander.ts:218` Files inspected: - `src/engine/generation/prompt-assembly.ts` - `src/engine/contracts/types/character.ts` - `main:packages/server/src/services/prompt/marker-expander.ts` - `main:packages/server/src/services/prompt/macro-context.ts` ## Regression notes Legacy `main` can read the `creator_notes` card field in marker expansion. ## Additional context Source tracker: #2442, surface `12-PROMPT-RUNTIME-character-persona-context`. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:28:55 +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-Engine#1200
No description provided.