[GH-ISSUE #1904] Track refactor parityscan target coverage #926

Closed
opened 2026-10-21 05:23:38 +07:00 by bsakaguchi · 9 comments
Owner

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

Originally assigned to: @Xelvanis on GitHub.

What problem does this solve?

Refactor parity audits need a clear, shared run order so contributors can claim one target area at a time, mark progress visibly, and avoid repeatedly tracing the same upstream contracts.

This issue is the source-of-truth parityscan index. A checked target means a parityscan report has been posted; it does not mean the target is confirmed on par. Target detail issues replace the old local scratch/parity/targets/<target>.md records.

Latest status refresh: 2026-06-04, from this issue's body/comments, target detail issues, prepared target draft cards, and live follow-up issue states.

Proposed behavior

Use this issue as the progress tracker for legacy parityscan coverage. Each target should be run as its own focused parityscan unless the scan reveals a blocker that needs a narrower follow-up issue.

Tracker policy:

  • Keep this issue as the public source of truth for target order, target-level status, status vocabulary, report links, and follow-up state.
  • Use target detail issues for per-target scope, surface inventory, coverage matrix, proof, residual risk, and rescan criteria.
  • Existing target detail issues: #2011 for target 1, #2028 for target 2, and #2050 for target 3.
  • Targets 4-21 have prepared draft detail cards, but they are intentionally not published yet. Do not convert or publish those drafts unless explicitly requested.
  • Treat any old scratch/parity/README.md, scratch/parity/INDEX.md, or scratch/parity/targets/*.md files as migration inputs only. GitHub issue bodies and comments supersede local scratch parity notes.

Status terms:

  • not_started: no report yet.
  • in_progress: active scan, not reported.
  • reported: report posted to this issue.
  • needs_rescan: old scan exists, but current refactor or landed fixes changed enough to invalidate it.
  • on_par: scanned, no blocking gaps, and confirmed after any relevant fixes landed.
  • gaps_open: at least one open blocker or related parity issue remains.
  • fixed_needs_rescan: known blockers are closed, but no focused rescan has confirmed parity.
  • intentional_divergence: difference is documented and accepted.
  • unknown: evidence is not strong enough to classify.

Proof levels may be noted in report comments: report_only, static_trace, focused_test, native_tauri, or manual_qa. Coverage-row statuses such as covered_static, refactor_better, and intentional_divergence do not upgrade the whole target to on_par.

Recommended run order and current status:

Refresh checklist for future edits:

  1. Fetch this issue's body/comments.
  2. Fetch each published target detail issue and any prepared draft card that has not been published yet.
  3. Fetch every follow-up issue state.
  4. Update each target's follow-up state in this body.
  5. If all blockers are closed, set the verdict to fixed_needs_rescan.
  6. Only after a fresh scan on current refactor, set the verdict to on_par.

Expected owner or impact area

  • App shell, navigation, startup, or providers
  • Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge
  • 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

Refactor branch considerations

  • Start with foundation scans before mode scans: contracts, storage, remote runtime, and media.
  • Keep catalog resource scans separate so runtime and mode scans can consume those findings instead of duplicating them.
  • Keep shared chat UI separate from conversation, roleplay, and game mode behavior.
  • Treat remote-vs-embedded behavior as a cross-cutting target, not as an afterthought inside each feature scan.
  • When a scan finds a concrete regression or missing behavior, open a narrower follow-up issue and link it back here.

Alternatives considered

Scanning by legacy feature names first would be easier to assign casually, but it would overlap heavily across storage, prompt assembly, media handling, and mode-specific runtime paths. The order above keeps shared foundations first and concrete mode behavior later.

Additional context

For each completed target, update the checklist item with the report link, detail issue when published, status terms, blocker state, and any follow-up issues. Do not mark a target on_par just because every follow-up issue is closed; use fixed_needs_rescan until a fresh parityscan on current refactor confirms the target.

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 @Xelvanis on GitHub (Jun 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1904 Originally assigned to: @Xelvanis on GitHub. ## What problem does this solve? Refactor parity audits need a clear, shared run order so contributors can claim one target area at a time, mark progress visibly, and avoid repeatedly tracing the same upstream contracts. This issue is the source-of-truth parityscan index. A checked target means a parityscan report has been posted; it does **not** mean the target is confirmed on par. Target detail issues replace the old local `scratch/parity/targets/<target>.md` records. Latest status refresh: 2026-06-04, from this issue's body/comments, target detail issues, prepared target draft cards, and live follow-up issue states. ## Proposed behavior Use this issue as the progress tracker for legacy parityscan coverage. Each target should be run as its own focused parityscan unless the scan reveals a blocker that needs a narrower follow-up issue. Tracker policy: - Keep this issue as the public source of truth for target order, target-level status, status vocabulary, report links, and follow-up state. - Use target detail issues for per-target scope, surface inventory, coverage matrix, proof, residual risk, and rescan criteria. - Existing target detail issues: #2011 for target 1, #2028 for target 2, and #2050 for target 3. - Targets 4-21 have prepared draft detail cards, but they are intentionally not published yet. Do not convert or publish those drafts unless explicitly requested. - Treat any old `scratch/parity/README.md`, `scratch/parity/INDEX.md`, or `scratch/parity/targets/*.md` files as migration inputs only. GitHub issue bodies and comments supersede local scratch parity notes. Status terms: - `not_started`: no report yet. - `in_progress`: active scan, not reported. - `reported`: report posted to this issue. - `needs_rescan`: old scan exists, but current `refactor` or landed fixes changed enough to invalidate it. - `on_par`: scanned, no blocking gaps, and confirmed after any relevant fixes landed. - `gaps_open`: at least one open blocker or related parity issue remains. - `fixed_needs_rescan`: known blockers are closed, but no focused rescan has confirmed parity. - `intentional_divergence`: difference is documented and accepted. - `unknown`: evidence is not strong enough to classify. Proof levels may be noted in report comments: `report_only`, `static_trace`, `focused_test`, `native_tauri`, or `manual_qa`. Coverage-row statuses such as `covered_static`, `refactor_better`, and `intentional_divergence` do not upgrade the whole target to `on_par`. Recommended run order and current status: - [x] 1. Contracts and schemas - report: https://github.com/Pasta-Devs/Marinara-Engine/issues/1904#issuecomment-4599710600; detail: #2011; status: `reported` / `on_par`; blockers: none; closed non-blocking debt: #2006. - [x] 2. Storage and data access - report: https://github.com/Pasta-Devs/Marinara-Engine/issues/1904#issuecomment-4600505400; lag/responsiveness pass: https://github.com/Pasta-Devs/Marinara-Engine/issues/1904#issuecomment-4602178505; detail: #2028; status: `reported` / `on_par`; blockers: none; closed follow-ups/fixes include #1919, #1923, #1932, #1933, #2029, #2030, #2034, #2035, #2036/#2052, #2039, #2049/#2072, #2058/#2082, #2060/#2083, #2067/#2083, #2108; current closure refresh passed on 2026-06-04 at origin/refactor 089e1d72 after #2108 closed. - [x] 3. Remote runtime parity - report: https://github.com/Pasta-Devs/Marinara-Engine/issues/1904#issuecomment-4600978411; detail: #2050; status: `reported` / `on_par`; blockers: none; closed follow-ups: #1920, #1921, #1922, #2058, #2059, #2060, #2061, #2063, #2068, #2069, #2070; current closure rescan proof passed on 2026-06-04 at origin/refactor e4d58f88; intentional divergences documented for remote haptics and managed local sidecar. - [ ] 4. Media and assets - report: https://github.com/Pasta-Devs/Marinara-Engine/issues/1904#issuecomment-4602089938; status: `reported` / `fixed_needs_rescan`; blockers: none found; closed follow-ups: #1927, #1928, #1929, #1930. - [ ] 5. Characters - report: https://github.com/Pasta-Devs/Marinara-Engine/issues/1904#issuecomment-4604507027; status: `reported` / `fixed_needs_rescan`; blockers: none found; closed follow-ups/leads: #1934, #1958, #1959, #1960, #1999, #2001, #2003. - [ ] 6. Personas - report: https://github.com/Pasta-Devs/Marinara-Engine/issues/1904#issuecomment-4604674871; status: `reported` / `fixed_needs_rescan`; blockers: none found; closed follow-ups: #1963, #1964, #1965. - [ ] 7. Lorebooks - report: https://github.com/Pasta-Devs/Marinara-Engine/issues/1904#issuecomment-4605486948; status: `reported` / `fixed_needs_rescan`; blockers: none found; closed follow-ups: #1977, #1978, #1979. - [ ] 8. Presets and prompt settings - report: https://github.com/Pasta-Devs/Marinara-Engine/issues/1904#issuecomment-4608864275; status: `reported` / `fixed_needs_rescan`; blockers: none found; closed follow-up: #2000. - [ ] 9. Chats and messages - status: `not_started` / `unknown`; blockers: not scanned; closed seeded leads: #1923, #2030. - [ ] 10. Connections and provider config - status: `not_started` / `unknown`; blockers: not scanned. - [x] 11. Provider transport - status: `reported` / `on_par`; report: #2410; blockers: none open after follow-up rescan on `origin/refactor@9d42aae2`. - [ ] 12. Prompt assembly - status: `not_started` / `unknown`; blockers: not scanned. - [ ] 13. Agents, tools, regex, and knowledge - status: `not_started` / `unknown`; blockers: not scanned. - [ ] 14. Shared chat UI - status: `not_started` / `unknown`; blockers: not scanned. - [ ] 15. Conversation mode - status: `not_started` / `unknown`; blockers: not scanned. - [ ] 16. Roleplay mode - status: `not_started` / `unknown`; blockers: not scanned. - [ ] 17. Game mode - status: `not_started` / `unknown`; blockers: not scanned. - [ ] 18. Game assets - status: `not_started` / `unknown`; blockers: not scanned. - [ ] 19. Tracker, world state, and visuals - status: `not_started` / `unknown`; blockers: not scanned. - [ ] 20. Import, export, and backup - status: `not_started` / `unknown`; blockers: not scanned; closed adjacent leads: #1923, #2000. - [ ] 21. Shell and integrations - status: `not_started` / `unknown`; blockers: not scanned. Refresh checklist for future edits: 1. Fetch this issue's body/comments. 2. Fetch each published target detail issue and any prepared draft card that has not been published yet. 3. Fetch every follow-up issue state. 4. Update each target's follow-up state in this body. 5. If all blockers are closed, set the verdict to `fixed_needs_rescan`. 6. Only after a fresh scan on current `refactor`, set the verdict to `on_par`. ## Expected owner or impact area - [x] App shell, navigation, startup, or providers - [x] Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge - [x] Chat mode - [x] Roleplay mode - [x] Game mode - [x] Shared mode UI - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [x] Professor Mari or shell tools - [x] React-free engine behavior, contracts, agents, or capability ports - [x] Shared API wrapper or remote runtime routing - [x] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [x] Docs, contributor workflow, or templates ## Refactor branch considerations - Start with foundation scans before mode scans: contracts, storage, remote runtime, and media. - Keep catalog resource scans separate so runtime and mode scans can consume those findings instead of duplicating them. - Keep shared chat UI separate from conversation, roleplay, and game mode behavior. - Treat remote-vs-embedded behavior as a cross-cutting target, not as an afterthought inside each feature scan. - When a scan finds a concrete regression or missing behavior, open a narrower follow-up issue and link it back here. ## Alternatives considered Scanning by legacy feature names first would be easier to assign casually, but it would overlap heavily across storage, prompt assembly, media handling, and mode-specific runtime paths. The order above keeps shared foundations first and concrete mode behavior later. ## Additional context For each completed target, update the checklist item with the report link, detail issue when published, status terms, blocker state, and any follow-up issues. Do not mark a target `on_par` just because every follow-up issue is closed; use `fixed_needs_rescan` until a fresh parityscan on current `refactor` confirms the target. ## 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:23:38 +07:00
Author
Owner

@Xelvanis commented on GitHub (Jun 2, 2026):

Contracts and schemas parity scan pass completed for target 1.

Confirmed existing follow-ups:

  • #1889 covers the missing named custom agent activation settings schema for settings.activationKeywords and settings.activationScanDepth.
  • #1892 and #1893 cover unsupported collection names plus the broader missing centralized storage contract/default/relationship registry.
  • #1898 covers maxParallelJobs being present in the connection contract/UI but not flowing into agent batching.

New follow-up opened from this pass:

  • #1907 tracks the custom tool script / scriptBody contract divergence. Legacy exposed script custom tools; refactor currently narrows custom tools to webhook/static and returns an explicit unsupported-script error. The issue asks for the product decision and compatibility handling to be documented rather than assuming script execution should be restored.

Noted refactor-better contract behavior:

  • visual_novel chat mode is normalized to roleplay through the refactor chat mode schema.
  • Character card schemas now use passthrough handling for unknown card/book fields.
  • Prompt preset updates accept the legacy default flag and normalize it to isDefault.

No additional issue opened for those refactor-better items.

<!-- gh-comment-id:4599710600 --> @Xelvanis commented on GitHub (Jun 2, 2026): Contracts and schemas parity scan pass completed for target 1. Confirmed existing follow-ups: - #1889 covers the missing named custom agent activation settings schema for `settings.activationKeywords` and `settings.activationScanDepth`. - #1892 and #1893 cover unsupported collection names plus the broader missing centralized storage contract/default/relationship registry. - #1898 covers `maxParallelJobs` being present in the connection contract/UI but not flowing into agent batching. New follow-up opened from this pass: - #1907 tracks the custom tool `script` / `scriptBody` contract divergence. Legacy exposed script custom tools; refactor currently narrows custom tools to webhook/static and returns an explicit unsupported-script error. The issue asks for the product decision and compatibility handling to be documented rather than assuming script execution should be restored. Noted refactor-better contract behavior: - `visual_novel` chat mode is normalized to `roleplay` through the refactor chat mode schema. - Character card schemas now use passthrough handling for unknown card/book fields. - Prompt preset updates accept the legacy `default` flag and normalize it to `isDefault`. No additional issue opened for those refactor-better items.
Author
Owner

@Xelvanis commented on GitHub (Jun 2, 2026):

Storage and data access parity scan completed for target 2 against current origin/refactor at 3e05c12b and legacy 1.6.1 file-native storage.

Compared against current open issues first. Result:

  • No fresh confirmed legacy parity regression found.
  • #1895 appears fixed by #1906/current refactor. I added a follow-up there with current proof: cargo test --manifest-path src-tauri/Cargo.toml dispatch_storage_ passed 7 tests.
  • New unique follow-up opened: #1919 tracks projected storage_get still reading the full matched row before projection. This is distinct from closed #1887 and #1888: those covered cold id lookup and projected message list reads; #1919 covers get options not being pushed down into the storage read path.
  • No separate issue opened for the broader storage backend shape. That risk is already captured in the #1885 follow-up comment: legacy kept file tables hot in memory and debounced flushes, while refactor still often reads/parses collection files per operation. This scan only has static risk there, not fresh cold/warm timing proof.

Refactor-better notes from this pass:

  • Central storage contract registry and unsupported entity rejection are now present through #1905/#1903-era changes.
  • Remote storage dispatch now shares embedded storage helpers for read/write guard parity.
  • Projected list/message readers and message page/count/id fast paths cover the known hot list paths.
  • Backup recovery, corrupt-file preservation, atomic writes, and legacy profile import safety are present in the current refactor storage path.

Recommended next proof before cache/index/sidecar work: a cold/warm timing harness around repeated storage_list and projected storage_get calls with large character/message collections.

<!-- gh-comment-id:4600505400 --> @Xelvanis commented on GitHub (Jun 2, 2026): Storage and data access parity scan completed for target 2 against current `origin/refactor` at `3e05c12b` and legacy 1.6.1 file-native storage. Compared against current open issues first. Result: - No fresh confirmed legacy parity regression found. - #1895 appears fixed by #1906/current refactor. I added a follow-up there with current proof: `cargo test --manifest-path src-tauri/Cargo.toml dispatch_storage_` passed 7 tests. - New unique follow-up opened: #1919 tracks projected `storage_get` still reading the full matched row before projection. This is distinct from closed #1887 and #1888: those covered cold id lookup and projected message list reads; #1919 covers get options not being pushed down into the storage read path. - No separate issue opened for the broader storage backend shape. That risk is already captured in the #1885 follow-up comment: legacy kept file tables hot in memory and debounced flushes, while refactor still often reads/parses collection files per operation. This scan only has static risk there, not fresh cold/warm timing proof. Refactor-better notes from this pass: - Central storage contract registry and unsupported entity rejection are now present through #1905/#1903-era changes. - Remote storage dispatch now shares embedded storage helpers for read/write guard parity. - Projected list/message readers and message page/count/id fast paths cover the known hot list paths. - Backup recovery, corrupt-file preservation, atomic writes, and legacy profile import safety are present in the current refactor storage path. Recommended next proof before cache/index/sidecar work: a cold/warm timing harness around repeated `storage_list` and projected `storage_get` calls with large character/message collections.
Author
Owner

@Xelvanis commented on GitHub (Jun 2, 2026):

Remote runtime parity scan completed for target 3 against current origin/refactor at 0afe673 and legacy 1.6.1 server/client runtime behavior.

Compared against current open issues first. Result:

  • New focused follow-up opened: #1920 tracks high-risk remote /api/invoke commands not having a legacy-equivalent Admin Access / ADMIN_SECRET boundary. This overlaps the broad hostable-runtime security lane in #1855, so a short cross-link was added there too: https://github.com/Pasta-Devs/Marinara-Engine/issues/1855#issuecomment-4600965628
  • New focused follow-up opened: #1921 tracks haptic controls/runtime behavior being present in refactor UI/engine but excluded from the remote runtime command surface. Legacy had guarded /api/haptic/* support plus HAPTICS_ALLOW_REMOTE; refactor needs either guarded remote support or clear embedded-only UI/docs behavior.
  • New focused follow-up opened: #1922 tracks remote SillyTavern bulk import losing per-item progress events. Embedded refactor and legacy server paths can stream progress, but remote runtime currently yields only the final done event.

Existing overlap checked:

  • #1895 already covered older remote storage write drift and appears fixed by #1906/current refactor, as noted during target 2.
  • #1919 remains the storage target follow-up for projected storage_get; not duplicated here.
  • #1855 broadly covers hostable-runtime privileged behavior, but #1920 is the focused actionable issue from this pass.

Refactor-better notes from this pass:

  • Remote command surface drift is now guarded by remote_runtime_command_surfaces_match_desktop_minus_documented_non_remote_commands.
  • Current hostable runtime security tests cover fail-closed non-loopback behavior, Basic Auth, IP allowlist negative controls, trusted-interface bypass opt-in, browser-origin CSRF, and untrusted-origin rejection.
  • Managed asset delivery and LLM streaming have explicit remote routes rather than relying on raw desktop file paths or Tauri IPC channels.

Proof run:

  • cargo test --manifest-path src-tauri/Cargo.toml remote_runtime_command_surfaces_match_desktop_minus_documented_non_remote_commands
  • cargo test --manifest-path src-tauri/Cargo.toml hostable_security_

No destructive runtime repro was run for the privileged-command finding; that finding is static evidence only.

Recommended next target: 4. Media and assets.

<!-- gh-comment-id:4600978411 --> @Xelvanis commented on GitHub (Jun 2, 2026): Remote runtime parity scan completed for target 3 against current `origin/refactor` at `0afe673` and legacy 1.6.1 server/client runtime behavior. Compared against current open issues first. Result: - New focused follow-up opened: #1920 tracks high-risk remote `/api/invoke` commands not having a legacy-equivalent Admin Access / `ADMIN_SECRET` boundary. This overlaps the broad hostable-runtime security lane in #1855, so a short cross-link was added there too: https://github.com/Pasta-Devs/Marinara-Engine/issues/1855#issuecomment-4600965628 - New focused follow-up opened: #1921 tracks haptic controls/runtime behavior being present in refactor UI/engine but excluded from the remote runtime command surface. Legacy had guarded `/api/haptic/*` support plus `HAPTICS_ALLOW_REMOTE`; refactor needs either guarded remote support or clear embedded-only UI/docs behavior. - New focused follow-up opened: #1922 tracks remote SillyTavern bulk import losing per-item progress events. Embedded refactor and legacy server paths can stream progress, but remote runtime currently yields only the final done event. Existing overlap checked: - #1895 already covered older remote storage write drift and appears fixed by #1906/current refactor, as noted during target 2. - #1919 remains the storage target follow-up for projected `storage_get`; not duplicated here. - #1855 broadly covers hostable-runtime privileged behavior, but #1920 is the focused actionable issue from this pass. Refactor-better notes from this pass: - Remote command surface drift is now guarded by `remote_runtime_command_surfaces_match_desktop_minus_documented_non_remote_commands`. - Current hostable runtime security tests cover fail-closed non-loopback behavior, Basic Auth, IP allowlist negative controls, trusted-interface bypass opt-in, browser-origin CSRF, and untrusted-origin rejection. - Managed asset delivery and LLM streaming have explicit remote routes rather than relying on raw desktop file paths or Tauri IPC channels. Proof run: - `cargo test --manifest-path src-tauri/Cargo.toml remote_runtime_command_surfaces_match_desktop_minus_documented_non_remote_commands` - `cargo test --manifest-path src-tauri/Cargo.toml hostable_security_` No destructive runtime repro was run for the privileged-command finding; that finding is static evidence only. Recommended next target: 4. Media and assets.
Author
Owner

@Xelvanis commented on GitHub (Jun 2, 2026):

Target 4 media and assets parityscan complete.

Summary:

  • Refactor has a solid managed asset base for avatars, backgrounds, fonts, game assets, and lorebook images, including remote asset routing.
  • No documented media/assets intentional divergence was found in docs/REFACTOR_PARITY_PIPELINE.md.
  • Main regression: gallery media is stored as inline data:image JSON instead of managed files, unlike legacy file-backed gallery storage.
  • Secondary gaps/risks: Settings background picker does not show game asset backgrounds, gallery orphan-file recovery is missing, and sprite listing eagerly returns base64 payloads for every sprite.

Follow-up issues:

  • #1927 Store gallery images as managed files instead of inline data URLs
  • #1928 Show game asset backgrounds in the Settings background picker
  • #1929 Restore startup recovery for gallery files without storage records
  • #1930 Avoid eager base64 payloads when listing sprite libraries

Evidence basis: static refactor/legacy code trace. No app/Tauri runtime proof was run for this parityscan.

<!-- gh-comment-id:4602089938 --> @Xelvanis commented on GitHub (Jun 2, 2026): Target 4 media and assets parityscan complete. Summary: - Refactor has a solid managed asset base for avatars, backgrounds, fonts, game assets, and lorebook images, including remote asset routing. - No documented media/assets intentional divergence was found in `docs/REFACTOR_PARITY_PIPELINE.md`. - Main regression: gallery media is stored as inline `data:image` JSON instead of managed files, unlike legacy file-backed gallery storage. - Secondary gaps/risks: Settings background picker does not show game asset backgrounds, gallery orphan-file recovery is missing, and sprite listing eagerly returns base64 payloads for every sprite. Follow-up issues: - #1927 Store gallery images as managed files instead of inline data URLs - #1928 Show game asset backgrounds in the Settings background picker - #1929 Restore startup recovery for gallery files without storage records - #1930 Avoid eager base64 payloads when listing sprite libraries Evidence basis: static refactor/legacy code trace. No app/Tauri runtime proof was run for this parityscan.
Author
Owner

@Xelvanis commented on GitHub (Jun 2, 2026):

Repeat storage/data-access parity pass completed with a lag/responsiveness lens against current refactor at 8c36be60.

Result:

  • #1919 is fixed by #1924/current refactor: projected storage_get now routes through storage-level get_projected instead of reading the full matched row before projection.
  • New focused follow-up: #1932 tracks paged chat message reads parsing full message rows before projection. This is distinct from #1888 and #1919 because the limit/before page path wins before projected message read handling.
  • New larger storage-backend follow-up: #1933 tracks the remaining legacy-better storage shape: legacy file-native storage keeps tables warm in memory and debounces dirty flushes, while refactor still mostly reads/parses collection files per operation and rewrites pretty JSON immediately for patch/update/delete.

No duplicate filed for already-open adjacent latency/payload issues:

  • #1926 covers hidden Active World Info semantic scans while the toolbar button is closed.
  • #1927 covers gallery inline data URL storage payloads.
  • #1930 covers sprite list eager base64 payloads.

Recommended next proof remains native-path timing: cold/warm chat open, paged timeline read, tracker/world-state open, post-generation refresh, and write-heavy metadata/message paths with large extra, swipes, attachments, and prompt snapshots.

<!-- gh-comment-id:4602178505 --> @Xelvanis commented on GitHub (Jun 2, 2026): Repeat storage/data-access parity pass completed with a lag/responsiveness lens against current `refactor` at `8c36be60`. Result: - #1919 is fixed by #1924/current refactor: projected `storage_get` now routes through storage-level `get_projected` instead of reading the full matched row before projection. - New focused follow-up: #1932 tracks paged chat message reads parsing full message rows before projection. This is distinct from #1888 and #1919 because the `limit`/`before` page path wins before projected message read handling. - New larger storage-backend follow-up: #1933 tracks the remaining legacy-better storage shape: legacy file-native storage keeps tables warm in memory and debounces dirty flushes, while refactor still mostly reads/parses collection files per operation and rewrites pretty JSON immediately for patch/update/delete. No duplicate filed for already-open adjacent latency/payload issues: - #1926 covers hidden Active World Info semantic scans while the toolbar button is closed. - #1927 covers gallery inline data URL storage payloads. - #1930 covers sprite list eager base64 payloads. Recommended next proof remains native-path timing: cold/warm chat open, paged timeline read, tracker/world-state open, post-generation refresh, and write-heavy metadata/message paths with large `extra`, swipes, attachments, and prompt snapshots.
Author
Owner

@Xelvanis commented on GitHub (Jun 2, 2026):

Target 5 - Characters parityscan report

Scope:

  • Refactor: origin/refactor at 7801a73a
  • Legacy comparison: origin/main at 9e960485

Filed follow-up issues:

  • #1958 - schedule updates write character status outside data.extensions
  • #1959 - character editor skips configured quote-style formatting
  • #1960 - native Marinara character import stores embedded avatar data inline

Existing related coverage:

  • #1934 already tracks Characters side panel open performance from heavy summary payloads.
  • #1944 tracks inline avatar thumbnail fallout; #1960 tracks the native import storage root cause.

Not filed:

  • Side panel summary performance duplicate, because #1934 already covers it.

Verdict:

Target 5 has actionable parity gaps posted as issue follow-ups. No repo files changed in this branch.

<!-- gh-comment-id:4604507027 --> @Xelvanis commented on GitHub (Jun 2, 2026): ## Target 5 - Characters parityscan report Scope: - Refactor: `origin/refactor` at `7801a73a` - Legacy comparison: `origin/main` at `9e960485` Filed follow-up issues: - #1958 - schedule updates write character status outside `data.extensions` - #1959 - character editor skips configured quote-style formatting - #1960 - native Marinara character import stores embedded avatar data inline Existing related coverage: - #1934 already tracks Characters side panel open performance from heavy summary payloads. - #1944 tracks inline avatar thumbnail fallout; #1960 tracks the native import storage root cause. Not filed: - Side panel summary performance duplicate, because #1934 already covers it. Verdict: Target 5 has actionable parity gaps posted as issue follow-ups. No repo files changed in this branch.
Author
Owner

@Xelvanis commented on GitHub (Jun 2, 2026):

Target 6: Personas parityscan report

Status: complete, with follow-up issues opened.

Confirmed follow-ups

  • #1963 - Persona editor does not honor the global quote-format setting. Legacy formatted persona long-text fields and description-extension content before save; refactor currently stores raw edits.
  • #1964 - Active persona fallback uses summary data and drops saved statuses/full persona fields. Fallback active-persona consumers expect fields that listPersonaSummaries() omits.
  • #1965 - Personas token sort undercounts text fields. The panel estimator reads full persona text fields, but the panel is fed by summaries that omit most of them.

Parity coverage checked

  • Persona contracts and storage defaults are present in refactor, including savedStatusOptions, personaStats, tags, colors, avatar crop, and description extensions.
  • CRUD, activate, duplicate, groups, import, export, avatar upload, generated avatar, sprites, colors, stats, and Persona Maker surfaces are represented.
  • Refactor native persona export preserves avatar data and persona sprites in .marinara envelopes.
  • Prompt assembly appends active persona description extensions and carries persona stats/RPG stats into runtime context.
  • JSON import has one improved path versus legacy: object-shaped personaStats can be stringified instead of dropped.

Verification

Static parity inspection against legacy and refactor source. No Tauri/manual runtime proof was run for this scan.

<!-- gh-comment-id:4604674871 --> @Xelvanis commented on GitHub (Jun 2, 2026): ## Target 6: Personas parityscan report Status: complete, with follow-up issues opened. ### Confirmed follow-ups - #1963 - Persona editor does not honor the global quote-format setting. Legacy formatted persona long-text fields and description-extension content before save; refactor currently stores raw edits. - #1964 - Active persona fallback uses summary data and drops saved statuses/full persona fields. Fallback active-persona consumers expect fields that `listPersonaSummaries()` omits. - #1965 - Personas token sort undercounts text fields. The panel estimator reads full persona text fields, but the panel is fed by summaries that omit most of them. ### Parity coverage checked - Persona contracts and storage defaults are present in refactor, including `savedStatusOptions`, `personaStats`, tags, colors, avatar crop, and description extensions. - CRUD, activate, duplicate, groups, import, export, avatar upload, generated avatar, sprites, colors, stats, and Persona Maker surfaces are represented. - Refactor native persona export preserves avatar data and persona sprites in `.marinara` envelopes. - Prompt assembly appends active persona description extensions and carries persona stats/RPG stats into runtime context. - JSON import has one improved path versus legacy: object-shaped `personaStats` can be stringified instead of dropped. ### Verification Static parity inspection against legacy and refactor source. No Tauri/manual runtime proof was run for this scan.
Author
Owner

@Xelvanis commented on GitHub (Jun 2, 2026):

Target 7 lorebooks parityscan complete.

Confirmed regressions:

  • #1977 restores selective-only secondary-key gating. Refactor currently applies secondaryKeys whenever present, while legacy only applied them when selective=true.
  • #1978 restores latest user-message priority in lorebook budget selection. Refactor dropped the legacy matchedLatestUserMessage budget ordering.

Likely parity gap:

  • #1979 restores history-bounded anchoring for t depth lorebook injection. Refactor anchors against full assembled prompt length.

Refactor-better coverage checked:

  • Lorebook, folder, and entry contracts cover native fields beyond legacy, including scopes, images, tags, folders, timing, filters, game fields, and embeddings.
  • ST lorebook import/export paths map core keys, secondary keys, constants, selective logic, order, position, depth, and scan depth.
  • Remote runtime routing covers lorebook import, export, bulk export, vectorization, image upload, and image file path commands.

No existing open duplicate issues found for the secondary-key, latest-user-budget, or depth-injection searches. Proof was static refactor-vs-legacy trace across engine scanner/injector, prompt assembly, editor preview, import normalization, export, and remote wrapper paths.

<!-- gh-comment-id:4605486948 --> @Xelvanis commented on GitHub (Jun 2, 2026): Target 7 lorebooks parityscan complete. Confirmed regressions: - #1977 restores selective-only secondary-key gating. Refactor currently applies secondaryKeys whenever present, while legacy only applied them when selective=true. - #1978 restores latest user-message priority in lorebook budget selection. Refactor dropped the legacy matchedLatestUserMessage budget ordering. Likely parity gap: - #1979 restores history-bounded anchoring for t depth lorebook injection. Refactor anchors against full assembled prompt length. Refactor-better coverage checked: - Lorebook, folder, and entry contracts cover native fields beyond legacy, including scopes, images, tags, folders, timing, filters, game fields, and embeddings. - ST lorebook import/export paths map core keys, secondary keys, constants, selective logic, order, position, depth, and scan depth. - Remote runtime routing covers lorebook import, export, bulk export, vectorization, image upload, and image file path commands. No existing open duplicate issues found for the secondary-key, latest-user-budget, or depth-injection searches. Proof was static refactor-vs-legacy trace across engine scanner/injector, prompt assembly, editor preview, import normalization, export, and remote wrapper paths.
Author
Owner

@Xelvanis commented on GitHub (Jun 3, 2026):

Target 8 presets and prompt settings parityscan complete.

Confirmed fresh follow-up:

  • #2000 tracks native marinara_preset import keeping stale sectionOrder / groupOrder IDs after recreating prompt groups and sections. The imported child rows are created with new IDs, but the preset root can still point at the exported IDs, which can hide sections from editor ordering.

Existing closed coverage checked:

  • #1784 covers prompt preset duplicate/delete, runtime precedence, chat-settings preset import/export, default chat-preset protections, apply behavior, and legacy settings normalization.

Parity/refactor-better coverage checked:

  • Prompt preset precedence matches legacy: impersonate, request, connection, then chat.
  • Selected preset parameters, wrap format, and choice variables flow into live generation and prompt preview.
  • ST preset import maps core sampler parameters, markers, groups, sections, order, and override flags.
  • Chat-settings presets use marinara_chat_preset import/export envelopes and sanitize imported settings.
  • Game preset-parameter behavior matches legacy intent because game mode forces game generation defaults.

Proof basis: static refactor-vs-legacy code trace, open/closed issue duplicate search, and read-only fanout slices. No app/Tauri runtime proof was run for this scan.

<!-- gh-comment-id:4608864275 --> @Xelvanis commented on GitHub (Jun 3, 2026): Target 8 presets and prompt settings parityscan complete. Confirmed fresh follow-up: - #2000 tracks native `marinara_preset` import keeping stale `sectionOrder` / `groupOrder` IDs after recreating prompt groups and sections. The imported child rows are created with new IDs, but the preset root can still point at the exported IDs, which can hide sections from editor ordering. Existing closed coverage checked: - #1784 covers prompt preset duplicate/delete, runtime precedence, chat-settings preset import/export, default chat-preset protections, apply behavior, and legacy settings normalization. Parity/refactor-better coverage checked: - Prompt preset precedence matches legacy: impersonate, request, connection, then chat. - Selected preset parameters, wrap format, and choice variables flow into live generation and prompt preview. - ST preset import maps core sampler parameters, markers, groups, sections, order, and override flags. - Chat-settings presets use `marinara_chat_preset` import/export envelopes and sanitize imported settings. - Game preset-parameter behavior matches legacy intent because game mode forces game generation defaults. Proof basis: static refactor-vs-legacy code trace, open/closed issue duplicate search, and read-only fanout slices. No app/Tauri runtime proof was run for this scan.
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#926
No description provided.