[GH-ISSUE #2268] 9. Chats and messages #1109

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

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

Originally assigned to: @Promansis on GitHub.

Target 9: Chats And Messages

target: 9
name: Chats and messages
scan_status: refreshed_static_trace
parity_verdict: on_par
proof_level: static_trace
scan_refactor: origin/refactor@7e70c4da
legacy_ref: origin/main@dce75127 (git object inspection; no extra checkout created)
report: inline
last_refreshed: 2026-06-06

Scope

Included:

  • Chat/message public contracts and user-visible workflow surfaces from the Target 9 inventory.
  • Timeline read shape, paging, message CRUD, swipe lifecycle, active swipe materialization, prompt snapshot/replay behavior, and prompt snapshot display compatibility.
  • Chat files/branches, summaries, memory chunks, connected chat notes/influences, message attachments, drafts/stream state, autonomous unread state, validation, import/export/profile direct chat surfaces, and hostable command parity.

Not checked:

  • Native app click-through behavior.
  • Physical storage-layout performance beyond static owner/path evidence; Target 2 owns broad storage layout and read-cost proof.
  • Managed asset cleanup outside message/chat delete dependencies; Target 4 owns broader asset proof.
  • Full downstream prompt assembly/generation semantics; Targets 12, 15, 16, and 17 own prompt and mode behavior.
  • Full Target 20 profile/import/export proof outside direct chat-file and transcript paths.
  • Runtime tests were not rerun in this scanner because the worktree is on a local branch; this pass uses pinned origin/refactor git-object static evidence. PR #2460 reports targeted Rust tests, typecheck, architecture check, cargo check, and pnpm check passing.

Intentional divergence checked:

  • visual_novel remains a legacy input alias normalized to canonical roleplay, matching docs/REFACTOR_PARITY_PIPELINE.md#known-intentional-divergences.

Executive Finding

Current static rescan on origin/refactor@7e70c4da shows the broad Target 9 inventory has no remaining known static parity regression. Current code confirms fixes for message-swipe sidecar storage, chat-folder semantics, direct message-create legacy extra defaults, trim flag forwarding, branch labels, chat validation, connected-chat disconnect cleanup, Memory Recall edit/swipe/rebuild/delete semantics, chat transcript/native import-export paths, and embedded/remote command routing.

The previously last open row, 09-CHAT-STORAGE-message-create-edit-active-swipe-sync, is now resolved by merged #2460. The shared API create body now merges legacy MessageExtra leaves, the Rust messages collection registers MESSAGE_DEFAULTS, Rust defaulting inserts displayText, role-based isGenerated, tokenCount, and generationInfo without overwriting provided metadata, and the message sidecar create path keeps those defaults on both the parent message and initial active swipe.

09-CHAT-STORAGE-delete-derived-state-cleanup remains resolved on origin/refactor: #2385 is merged, single-message delete and chat bulk delete route through delete_message_rows_with_memory_prune, and focused Rust tests cover overlapping, timestamp-window, cross-chat, and rollback/error cases for Memory Recall pruning.

Coverage Matrix

Surface ID Current status Evidence / follow-up
09-CHAT-CONTRACT-core-chat-message-shape covered_static Earlier static trace still stands; core public contract and visual_novel alias behavior remain intentional.
09-CHAT-CONTRACT-message-extra-controls refactor_better Typed prompt snapshots, richer extra fields, attachment fields, legacy cached-prompt projection, and direct create default-extra compatibility are now covered.
09-CHAT-API-generation-request-options resolved_static #2274 closed; use-generate.ts:1793 forwards trimIncompleteModelOutput, and start-generation.ts:1900 consumes it.
09-CHAT-STORAGE-sidebar-summaries-folders resolved_static #2271 closed; chat-folder create/patch/delete now has dedicated storage handling, defaults, cleanup, and validation (entities.rs:690, :790, :953, :1022; contracts.rs chat-folder defaults/cleanup).
09-CHAT-COMPAT-typed-json-normalization refactor_better Centralized typed JSON normalization remains stronger than legacy parse-at-consumer behavior.
09-CHAT-COMPAT-hidden-from-ai-keycase refactor_better Legacy hiddenFromAI and refactor hiddenFromAi alias handling remain covered.
09-CHAT-PERF-message-pagination-count-projection refactor_better Timeline paging/count/projection remains no-gap for Target 9 user-visible behavior.
09-CHAT-STORAGE-message-create-edit-active-swipe-sync resolved_static #2272 closed and #2460 merged. Direct create now applies legacy-compatible default extra leaves in shared API (storage-api.ts:173-215) and Rust storage (contracts.rs:59, :398-404; shared.rs:998-1035, :1061), while preserving provided extra (message_swipes.rs:1755-1794) and initial active swipe seed (message_swipes.rs:1696-1752; commands/entities.rs:2707-2736). Edit-to-active-swipe sync remains covered (message_swipes.rs:510-514; shared.rs:588-615).
09-CHAT-STORAGE-message-swipe-prompt-snapshot-shape resolved_static #1923 closed; current storage has message-swipes sidecars, migration, materialization, profile/import/export handling, and focused swipe tests (message_swipes.rs, commands/entities.rs, profile.rs).
09-CHAT-STORAGE-swipe-lifecycle-invariants covered_static Add/switch/delete invariants remain covered, including inactive append, invalid index handling, last-swipe guard, and sidecar cleanup.
09-CHAT-PERF-prompt-snapshot-retention refactor_better Bounded native prompt snapshot retention and legacy cached-prompt compatibility remain covered.
09-CHAT-COMPAT-legacy-cached-prompt-view refactor_better Legacy extra.cachedPrompt projection into generationPromptSnapshot remains covered.
09-CHAT-RUNTIME-prompt-peek-replay-ui refactor_better Saved prompt snapshot, rebuild fallback, replay details, and guided/amend copy behavior remain covered.
09-CHAT-STORAGE-branch-group-lifecycle resolved_static #2276 closed by #2342; branch creation preserves stable name and initializes metadata.branchName (chats.rs:313, :2874).
09-CHAT-UI-branch-management resolved_static #2276 closed by #2342; branch selector/display paths use branch display metadata and Manage Chat Files rename path (ChatFilesDrawer.tsx:105, ChatBranchSelector.tsx).
09-CHAT-STORAGE-delete-derived-state-cleanup resolved_static #2293 closed and #2385 merged. bulk_delete_messages routes through delete_message_rows_with_memory_prune (chats.rs:1079, :1123), generic messages delete routes through the same helper (entities.rs:1450, :1462), and pruning is atomic with message, swipe, tracker, and chat-memory mutation (chats.rs:1326, :1355, :1372-:1452).
09-CHAT-UI-message-action-controls covered_static Direct controls for edit/delete/copy/translate/TTS/regenerate/guided regenerate/branch/mark start/hide AI/stored guidance/thoughts/swipes/multi-select/range/bulk delete remain covered.
09-CHAT-UI-input-drafts-state covered_static Active chat and per-chat draft persistence remains covered.
09-CHAT-RUNTIME-per-chat-streaming-controls refactor_better Per-chat stream/thinking buffers, abort/stop, typing/delayed indicators, auto-scroll suppression, and switch-back restoration remain covered.
09-CHAT-ASSET-message-attachments refactor_better Attachment upload/paste/drop, errors, persistence, render/lightbox, removal, and managed image references remain covered for Target 9.
09-CHAT-RUNTIME-summary-entry-workflow covered_static Manual/AI entries, enable/disable/delete/edit, last-N/range generation, templates, normalization, compiled summaries, and hide-summarized behavior remain covered.
09-CHAT-RUNTIME-memory-recall-chunks resolved_static #2305 closed by #2386; current code has invalidation from edited/swiped visible-message boundaries and complete-only five-message rebuilds (chats.rs:867, :2786, :5360; commands/entities.rs:747, :2966). Delete cleanup is also covered by the #2293 row above.
09-CHAT-RUNTIME-connected-chat-notes-influences resolved_static #2306 closed by #2340; disconnect_connected_chat clears both sides and pair-owned notes/influences, and remote dispatch uses the same helper (chats.rs:1169, http_dispatch.rs:919).
09-CHAT-UI-autonomous-unread-notifications refactor_better Persisted unread metadata, sidebar/bubble hydration, local notification, and clear-on-open behavior remain covered.
09-CHAT-UI-quick-send-generation-controls covered_static Retry/continue, post-only, guided reply, impersonate, manual target picker, attachment send, and invalid/no-chat guards remain covered.
09-CHAT-REMOTE-chat-message-command-parity covered_static Embedded Tauri and hostable /api/invoke route through the same checked storage/chat helpers for Target 9 command surfaces. #2460 keeps message create aligned by routing generic storage_create through storage_create_inner and Rust storage defaults.
09-CHAT-ERROR-chat-message-validation resolved_static #2275 closed by #2344; invalid Discord metadata, inactive-character normalization, empty bulk delete rejection, shared hook validation, and message-create malformed extra rejection are present (entities.rs:93, :2406, :2739; chats.rs:720, :3847).
09-CHAT-COMPAT-chat-file-import-export-profile resolved_static #2308 closed by #2341; JSONL transcript export has ST-compatible rows (name, is_user, is_system, mes, send_date), and marinara-chat-bulk has a native importer (chat-transcript-export.ts:34, :103, :136; imports/marinara.rs:27; imports/marinara_chat_bulk.rs).
09-CHAT-ASSET-chat-gallery-delete-cleanup refactor_better Chat/branch/group delete managed gallery cleanup remains no-gap for Target 9; broader asset proof remains Target 4.

Follow-Ups

Issue / PR State at refresh Target 9 status Note
#1923 CLOSED resolved_static Message swipe sidecar storage restored; physical performance proof remains Target 2 adjacent.
#2271 CLOSED resolved_static Chat folder defaults/order/delete cleanup/move validation restored.
#2272 CLOSED resolved_static Direct generic message create default-extra leaves are now restored by merged #2460.
#2274 CLOSED resolved_static Trim-incomplete-model-output request flag is forwarded and consumed.
#2275 CLOSED resolved_static Chat validation parity restored for checked negative controls.
#2276 CLOSED resolved_static Branch stable names and metadata.branchName display restored.
#2293 CLOSED resolved_static Closed by merged #2385; delete/bulk-delete Memory Recall pruning is present on current origin/refactor.
#2305 CLOSED resolved_static Memory Recall edit/swipe invalidation and complete-only rebuild behavior restored by #2386.
#2306 CLOSED resolved_static Connected-chat disconnect cleanup restored by #2340.
#2308 CLOSED resolved_static Chat transcript/native export-import compatibility restored by #2341.
#2385 MERGED resolved_static Merged 2026-06-06; current code and PR body show focused single-message and bulk-delete Memory Recall cleanup proof.
#2460 MERGED resolved_static Merged 2026-06-06; restores direct create default extra, active swipe default propagation, richer extra preservation, and focused create/default tests.

Proof Commands

  • git fetch origin refactor main
  • git rev-parse origin/refactor -> 7e70c4da59b2569d20a6565e3f5be91065d3f04d
  • git rev-parse origin/main -> dce75127e1b0b9af01e1257bf949a066749f5521
  • gh issue view 2268 --repo Pasta-Devs/Marinara-Engine --json number,title,state,updatedAt,body,url
  • gh issue view 2272 --repo Pasta-Devs/Marinara-Engine --json number,title,state,closedAt,updatedAt,body,url
  • gh pr view 2460 --repo Pasta-Devs/Marinara-Engine --json number,title,state,mergedAt,body,files,commits,url
  • git show --stat --oneline 7e70c4da
  • git log --oneline 50dc44dc..origin/refactor -- src-tauri/src/commands/storage src/features/catalog/chats src/features/modes/shared/chat-ui src/shared/api src/engine/generation src/engine/contracts/schemas/chat.schema.ts
  • git grep static traces for MESSAGE_DEFAULTS, messageExtraDefaults, insert_message_extra_default, create_message_seeds_legacy_default_extra_on_initial_swipe, storage_create_message_returns_default_extra_and_persists_initial_swipe, visual_novel, and generic storage_create routing.
  • git show origin/refactor:<path> line-window inspections for shared API defaults, Rust defaults, message sidecar create/default tests, message update active-swipe sync, and chat mode intentional divergence.
  • git show origin/main:packages/server/src/services/storage/chats.storage.ts line-window inspection for legacy create default extra leaves.
  • gh issue list --repo Pasta-Devs/Marinara-Engine --state open --search "09-CHAT-STORAGE-message-create-edit-active-swipe-sync" --json number,title,state,url,updatedAt -> no open issue found.

Rescan Criteria

  • Reopen Target 9 only if a new chat/message regression appears in app/runtime proof, import/profile proof, storage performance proof, or downstream prompt/mode behavior.
  • Keep Target 2, Target 4, Target 12/15/16/17, Target 19, and Target 20 as owners for the broader storage, assets, prompt/mode, tracker, and import/profile proof called out above.
Originally created by @Promansis on GitHub (Jun 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2268 Originally assigned to: @Promansis on GitHub. # Target 9: Chats And Messages ```yaml target: 9 name: Chats and messages scan_status: refreshed_static_trace parity_verdict: on_par proof_level: static_trace scan_refactor: origin/refactor@7e70c4da legacy_ref: origin/main@dce75127 (git object inspection; no extra checkout created) report: inline last_refreshed: 2026-06-06 ``` ## Scope Included: - Chat/message public contracts and user-visible workflow surfaces from the Target 9 inventory. - Timeline read shape, paging, message CRUD, swipe lifecycle, active swipe materialization, prompt snapshot/replay behavior, and prompt snapshot display compatibility. - Chat files/branches, summaries, memory chunks, connected chat notes/influences, message attachments, drafts/stream state, autonomous unread state, validation, import/export/profile direct chat surfaces, and hostable command parity. Not checked: - Native app click-through behavior. - Physical storage-layout performance beyond static owner/path evidence; Target 2 owns broad storage layout and read-cost proof. - Managed asset cleanup outside message/chat delete dependencies; Target 4 owns broader asset proof. - Full downstream prompt assembly/generation semantics; Targets 12, 15, 16, and 17 own prompt and mode behavior. - Full Target 20 profile/import/export proof outside direct chat-file and transcript paths. - Runtime tests were not rerun in this scanner because the worktree is on a local branch; this pass uses pinned `origin/refactor` git-object static evidence. PR #2460 reports targeted Rust tests, typecheck, architecture check, cargo check, and `pnpm check` passing. Intentional divergence checked: - `visual_novel` remains a legacy input alias normalized to canonical `roleplay`, matching `docs/REFACTOR_PARITY_PIPELINE.md#known-intentional-divergences`. ## Executive Finding Current static rescan on `origin/refactor@7e70c4da` shows the broad Target 9 inventory has no remaining known static parity regression. Current code confirms fixes for message-swipe sidecar storage, chat-folder semantics, direct message-create legacy `extra` defaults, trim flag forwarding, branch labels, chat validation, connected-chat disconnect cleanup, Memory Recall edit/swipe/rebuild/delete semantics, chat transcript/native import-export paths, and embedded/remote command routing. The previously last open row, `09-CHAT-STORAGE-message-create-edit-active-swipe-sync`, is now resolved by merged #2460. The shared API create body now merges legacy `MessageExtra` leaves, the Rust `messages` collection registers `MESSAGE_DEFAULTS`, Rust defaulting inserts `displayText`, role-based `isGenerated`, `tokenCount`, and `generationInfo` without overwriting provided metadata, and the message sidecar create path keeps those defaults on both the parent message and initial active swipe. `09-CHAT-STORAGE-delete-derived-state-cleanup` remains resolved on `origin/refactor`: #2385 is merged, single-message delete and chat bulk delete route through `delete_message_rows_with_memory_prune`, and focused Rust tests cover overlapping, timestamp-window, cross-chat, and rollback/error cases for Memory Recall pruning. ## Coverage Matrix | Surface ID | Current status | Evidence / follow-up | | --- | --- | --- | | 09-CHAT-CONTRACT-core-chat-message-shape | covered_static | Earlier static trace still stands; core public contract and `visual_novel` alias behavior remain intentional. | | 09-CHAT-CONTRACT-message-extra-controls | refactor_better | Typed prompt snapshots, richer extra fields, attachment fields, legacy cached-prompt projection, and direct create default-extra compatibility are now covered. | | 09-CHAT-API-generation-request-options | resolved_static | #2274 closed; `use-generate.ts:1793` forwards `trimIncompleteModelOutput`, and `start-generation.ts:1900` consumes it. | | 09-CHAT-STORAGE-sidebar-summaries-folders | resolved_static | #2271 closed; chat-folder create/patch/delete now has dedicated storage handling, defaults, cleanup, and validation (`entities.rs:690`, `:790`, `:953`, `:1022`; `contracts.rs` chat-folder defaults/cleanup). | | 09-CHAT-COMPAT-typed-json-normalization | refactor_better | Centralized typed JSON normalization remains stronger than legacy parse-at-consumer behavior. | | 09-CHAT-COMPAT-hidden-from-ai-keycase | refactor_better | Legacy `hiddenFromAI` and refactor `hiddenFromAi` alias handling remain covered. | | 09-CHAT-PERF-message-pagination-count-projection | refactor_better | Timeline paging/count/projection remains no-gap for Target 9 user-visible behavior. | | 09-CHAT-STORAGE-message-create-edit-active-swipe-sync | resolved_static | #2272 closed and #2460 merged. Direct create now applies legacy-compatible default `extra` leaves in shared API (`storage-api.ts:173-215`) and Rust storage (`contracts.rs:59`, `:398-404`; `shared.rs:998-1035`, `:1061`), while preserving provided extra (`message_swipes.rs:1755-1794`) and initial active swipe seed (`message_swipes.rs:1696-1752`; `commands/entities.rs:2707-2736`). Edit-to-active-swipe sync remains covered (`message_swipes.rs:510-514`; `shared.rs:588-615`). | | 09-CHAT-STORAGE-message-swipe-prompt-snapshot-shape | resolved_static | #1923 closed; current storage has `message-swipes` sidecars, migration, materialization, profile/import/export handling, and focused swipe tests (`message_swipes.rs`, `commands/entities.rs`, `profile.rs`). | | 09-CHAT-STORAGE-swipe-lifecycle-invariants | covered_static | Add/switch/delete invariants remain covered, including inactive append, invalid index handling, last-swipe guard, and sidecar cleanup. | | 09-CHAT-PERF-prompt-snapshot-retention | refactor_better | Bounded native prompt snapshot retention and legacy cached-prompt compatibility remain covered. | | 09-CHAT-COMPAT-legacy-cached-prompt-view | refactor_better | Legacy `extra.cachedPrompt` projection into `generationPromptSnapshot` remains covered. | | 09-CHAT-RUNTIME-prompt-peek-replay-ui | refactor_better | Saved prompt snapshot, rebuild fallback, replay details, and guided/amend copy behavior remain covered. | | 09-CHAT-STORAGE-branch-group-lifecycle | resolved_static | #2276 closed by #2342; branch creation preserves stable `name` and initializes `metadata.branchName` (`chats.rs:313`, `:2874`). | | 09-CHAT-UI-branch-management | resolved_static | #2276 closed by #2342; branch selector/display paths use branch display metadata and Manage Chat Files rename path (`ChatFilesDrawer.tsx:105`, `ChatBranchSelector.tsx`). | | 09-CHAT-STORAGE-delete-derived-state-cleanup | resolved_static | #2293 closed and #2385 merged. `bulk_delete_messages` routes through `delete_message_rows_with_memory_prune` (`chats.rs:1079`, `:1123`), generic `messages` delete routes through the same helper (`entities.rs:1450`, `:1462`), and pruning is atomic with message, swipe, tracker, and chat-memory mutation (`chats.rs:1326`, `:1355`, `:1372`-`:1452`). | | 09-CHAT-UI-message-action-controls | covered_static | Direct controls for edit/delete/copy/translate/TTS/regenerate/guided regenerate/branch/mark start/hide AI/stored guidance/thoughts/swipes/multi-select/range/bulk delete remain covered. | | 09-CHAT-UI-input-drafts-state | covered_static | Active chat and per-chat draft persistence remains covered. | | 09-CHAT-RUNTIME-per-chat-streaming-controls | refactor_better | Per-chat stream/thinking buffers, abort/stop, typing/delayed indicators, auto-scroll suppression, and switch-back restoration remain covered. | | 09-CHAT-ASSET-message-attachments | refactor_better | Attachment upload/paste/drop, errors, persistence, render/lightbox, removal, and managed image references remain covered for Target 9. | | 09-CHAT-RUNTIME-summary-entry-workflow | covered_static | Manual/AI entries, enable/disable/delete/edit, last-N/range generation, templates, normalization, compiled summaries, and hide-summarized behavior remain covered. | | 09-CHAT-RUNTIME-memory-recall-chunks | resolved_static | #2305 closed by #2386; current code has invalidation from edited/swiped visible-message boundaries and complete-only five-message rebuilds (`chats.rs:867`, `:2786`, `:5360`; `commands/entities.rs:747`, `:2966`). Delete cleanup is also covered by the #2293 row above. | | 09-CHAT-RUNTIME-connected-chat-notes-influences | resolved_static | #2306 closed by #2340; `disconnect_connected_chat` clears both sides and pair-owned notes/influences, and remote dispatch uses the same helper (`chats.rs:1169`, `http_dispatch.rs:919`). | | 09-CHAT-UI-autonomous-unread-notifications | refactor_better | Persisted unread metadata, sidebar/bubble hydration, local notification, and clear-on-open behavior remain covered. | | 09-CHAT-UI-quick-send-generation-controls | covered_static | Retry/continue, post-only, guided reply, impersonate, manual target picker, attachment send, and invalid/no-chat guards remain covered. | | 09-CHAT-REMOTE-chat-message-command-parity | covered_static | Embedded Tauri and hostable `/api/invoke` route through the same checked storage/chat helpers for Target 9 command surfaces. #2460 keeps message create aligned by routing generic `storage_create` through `storage_create_inner` and Rust storage defaults. | | 09-CHAT-ERROR-chat-message-validation | resolved_static | #2275 closed by #2344; invalid Discord metadata, inactive-character normalization, empty bulk delete rejection, shared hook validation, and message-create malformed `extra` rejection are present (`entities.rs:93`, `:2406`, `:2739`; `chats.rs:720`, `:3847`). | | 09-CHAT-COMPAT-chat-file-import-export-profile | resolved_static | #2308 closed by #2341; JSONL transcript export has ST-compatible rows (`name`, `is_user`, `is_system`, `mes`, `send_date`), and `marinara-chat-bulk` has a native importer (`chat-transcript-export.ts:34`, `:103`, `:136`; `imports/marinara.rs:27`; `imports/marinara_chat_bulk.rs`). | | 09-CHAT-ASSET-chat-gallery-delete-cleanup | refactor_better | Chat/branch/group delete managed gallery cleanup remains no-gap for Target 9; broader asset proof remains Target 4. | ## Follow-Ups | Issue / PR | State at refresh | Target 9 status | Note | | --- | --- | --- | --- | | #1923 | CLOSED | resolved_static | Message swipe sidecar storage restored; physical performance proof remains Target 2 adjacent. | | #2271 | CLOSED | resolved_static | Chat folder defaults/order/delete cleanup/move validation restored. | | #2272 | CLOSED | resolved_static | Direct generic message create default-extra leaves are now restored by merged #2460. | | #2274 | CLOSED | resolved_static | Trim-incomplete-model-output request flag is forwarded and consumed. | | #2275 | CLOSED | resolved_static | Chat validation parity restored for checked negative controls. | | #2276 | CLOSED | resolved_static | Branch stable names and `metadata.branchName` display restored. | | #2293 | CLOSED | resolved_static | Closed by merged #2385; delete/bulk-delete Memory Recall pruning is present on current `origin/refactor`. | | #2305 | CLOSED | resolved_static | Memory Recall edit/swipe invalidation and complete-only rebuild behavior restored by #2386. | | #2306 | CLOSED | resolved_static | Connected-chat disconnect cleanup restored by #2340. | | #2308 | CLOSED | resolved_static | Chat transcript/native export-import compatibility restored by #2341. | | #2385 | MERGED | resolved_static | Merged 2026-06-06; current code and PR body show focused single-message and bulk-delete Memory Recall cleanup proof. | | #2460 | MERGED | resolved_static | Merged 2026-06-06; restores direct create default `extra`, active swipe default propagation, richer `extra` preservation, and focused create/default tests. | ## Proof Commands - `git fetch origin refactor main` - `git rev-parse origin/refactor` -> `7e70c4da59b2569d20a6565e3f5be91065d3f04d` - `git rev-parse origin/main` -> `dce75127e1b0b9af01e1257bf949a066749f5521` - `gh issue view 2268 --repo Pasta-Devs/Marinara-Engine --json number,title,state,updatedAt,body,url` - `gh issue view 2272 --repo Pasta-Devs/Marinara-Engine --json number,title,state,closedAt,updatedAt,body,url` - `gh pr view 2460 --repo Pasta-Devs/Marinara-Engine --json number,title,state,mergedAt,body,files,commits,url` - `git show --stat --oneline 7e70c4da` - `git log --oneline 50dc44dc..origin/refactor -- src-tauri/src/commands/storage src/features/catalog/chats src/features/modes/shared/chat-ui src/shared/api src/engine/generation src/engine/contracts/schemas/chat.schema.ts` - `git grep` static traces for `MESSAGE_DEFAULTS`, `messageExtraDefaults`, `insert_message_extra_default`, `create_message_seeds_legacy_default_extra_on_initial_swipe`, `storage_create_message_returns_default_extra_and_persists_initial_swipe`, `visual_novel`, and generic `storage_create` routing. - `git show origin/refactor:<path>` line-window inspections for shared API defaults, Rust defaults, message sidecar create/default tests, message update active-swipe sync, and chat mode intentional divergence. - `git show origin/main:packages/server/src/services/storage/chats.storage.ts` line-window inspection for legacy create default `extra` leaves. - `gh issue list --repo Pasta-Devs/Marinara-Engine --state open --search "09-CHAT-STORAGE-message-create-edit-active-swipe-sync" --json number,title,state,url,updatedAt` -> no open issue found. ## Rescan Criteria - Reopen Target 9 only if a new chat/message regression appears in app/runtime proof, import/profile proof, storage performance proof, or downstream prompt/mode behavior. - Keep Target 2, Target 4, Target 12/15/16/17, Target 19, and Target 20 as owners for the broader storage, assets, prompt/mode, tracker, and import/profile proof called out above.
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#1109
No description provided.