[PR #2105] [MERGED] Fix character Start Chat mode #5442

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2105
Author: @cha1latte
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @cha1latte

Base: refactor ← Head: fix/issue-2102-start-chat-conversation


📝 Commits (3)

  • d93058f Fix character start chat mode
  • f2daf9b Record PR proof metadata
  • f056830 Record discoverability proof metadata

📊 Changes

5 files changed (+33 additions, -70 deletions)

View changed files

📝 scratch/bugfix-verification.json (+20 -60)
📝 src/features/catalog/characters/components/CharacterEditor.tsx (+1 -3)
📝 src/features/catalog/characters/components/CharacterLibraryDetailCard.tsx (+1 -5)
📝 src/features/catalog/characters/components/CharactersPanel.tsx (+2 -1)
📝 src/features/catalog/characters/hooks/use-characters-panel-chat-actions.ts (+9 -1)

📄 Description

Linked issue

Closes #2102

Why this change

  • Generic character Start Chat / Start New Chat actions were creating Roleplay chats, so clicking them landed users in RP mode even though the copy reads like a normal Conversation start.

What changed

  • Changed the character editor Start Chat action to create a Conversation chat.
  • Changed the character library detail Start New Chat action to create a Conversation chat.
  • Split the character panel quick-start handlers so generic Start New Chat delegates to Conversation while explicit Quick Start Roleplay still creates a Roleplay chat and preserves greeting injection.

Refactor impact

Primary owner:

  • catalog characters

Impact areas reviewed:

  • Character editor start-chat button.
  • Character library detail start-chat button.
  • Character group/member generic start-chat action.
  • Character context-menu explicit Roleplay and Conversation quick-start actions.

Boundary notes:

  • Feature-only routing producer fix under src/features/catalog/characters.
  • No engine, shared API, Rust, storage, dependency, schema, prompt, or release boundary changes.

Pressure points touched:

  • Character start-chat producer wiring only; ModeSurface continues routing by the created chat mode.

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • Full pnpm check passes before PR push/handoff
  • Human/manual validation completed by contributor or reviewer

Manual verification notes

  • Machine proof: node scratch\issue-2102-start-chat-mode-check.mjs passed, proving generic character starts create Conversation chats and explicit Quick Start Roleplay still has a Roleplay path.
  • Baseline: pnpm typecheck passed.
  • Baseline: pnpm check passed.
  • Proof gate: node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json passed.
  • Bunny review: passed for the current diff before opening this draft.
  • Manual verification needed: none for the core claim.

Feature Discoverability

Check exactly one:

  • Updated src/features/shell/discovery/ because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.
  • N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find.

Reason:

  • Bugfix only; no new user-discoverable capability was added.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

Issue 2102 proof


🔄 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-Engine/pull/2105 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 6/4/2026 **Status:** ✅ Merged **Merged:** 6/4/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `fix/issue-2102-start-chat-conversation` --- ### 📝 Commits (3) - [`d93058f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d93058fa91f243314fde4867807e85870e4289dc) Fix character start chat mode - [`f2daf9b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f2daf9bc82cdb8ae2d4f39a2cdb190478a206607) Record PR proof metadata - [`f056830`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f05683038f75a78c3cb980f22938ff3340e128bb) Record discoverability proof metadata ### 📊 Changes **5 files changed** (+33 additions, -70 deletions) <details> <summary>View changed files</summary> 📝 `scratch/bugfix-verification.json` (+20 -60) 📝 `src/features/catalog/characters/components/CharacterEditor.tsx` (+1 -3) 📝 `src/features/catalog/characters/components/CharacterLibraryDetailCard.tsx` (+1 -5) 📝 `src/features/catalog/characters/components/CharactersPanel.tsx` (+2 -1) 📝 `src/features/catalog/characters/hooks/use-characters-panel-chat-actions.ts` (+9 -1) </details> ### 📄 Description <!-- Target branch: `refactor`. Change the base to `refactor` before submitting unless a maintainer explicitly asked for another base. --> <!-- Keep all checkboxes unchecked until a human has actually verified them. --> ## Linked issue Closes #2102 ## Why this change - Generic character `Start Chat` / `Start New Chat` actions were creating Roleplay chats, so clicking them landed users in RP mode even though the copy reads like a normal Conversation start. ## What changed - Changed the character editor `Start Chat` action to create a Conversation chat. - Changed the character library detail `Start New Chat` action to create a Conversation chat. - Split the character panel quick-start handlers so generic `Start New Chat` delegates to Conversation while explicit `Quick Start Roleplay` still creates a Roleplay chat and preserves greeting injection. ## Refactor impact Primary owner: - catalog characters Impact areas reviewed: - Character editor start-chat button. - Character library detail start-chat button. - Character group/member generic start-chat action. - Character context-menu explicit Roleplay and Conversation quick-start actions. Boundary notes: - Feature-only routing producer fix under `src/features/catalog/characters`. - No engine, shared API, Rust, storage, dependency, schema, prompt, or release boundary changes. Pressure points touched: - Character start-chat producer wiring only; `ModeSurface` continues routing by the created chat mode. ## Validation <!-- Check only what you personally ran or manually verified. Treat unchecked items as explicit TODOs. --> <!-- Do not submit *.test.ts or *.test.tsx files as PR proof; cite existing checks, command output, app/browser/Tauri verification, or manual notes instead. --> - [ ] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [ ] Full `pnpm check` passes before PR push/handoff - [ ] Human/manual validation completed by contributor or reviewer ### Manual verification notes - Machine proof: `node scratch\issue-2102-start-chat-mode-check.mjs` passed, proving generic character starts create Conversation chats and explicit Quick Start Roleplay still has a Roleplay path. - Baseline: `pnpm typecheck` passed. - Baseline: `pnpm check` passed. - Proof gate: `node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json` passed. - Bunny review: passed for the current diff before opening this draft. - Manual verification needed: none for the core claim. ## Feature Discoverability Check exactly one: - [ ] Updated `src/features/shell/discovery/` because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool. - [x] N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find. Reason: - Bugfix only; no new user-discoverable capability was added. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence ![Issue 2102 proof](https://gist.githubusercontent.com/cha1latte/746b9352be941c63ae9e641994c4dc6c/raw/1c9eb1674424d07e780f97cceffd20e2c69ce538/issue-2102-proof.svg) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:16: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-Engine#5442
No description provided.