mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1904] Track refactor parityscan target coverage #926
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#926
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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>.mdrecords.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:
scratch/parity/README.md,scratch/parity/INDEX.md, orscratch/parity/targets/*.mdfiles 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 currentrefactoror 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, ormanual_qa. Coverage-row statuses such ascovered_static,refactor_better, andintentional_divergencedo not upgrade the whole target toon_par.Recommended run order and current status:
reported/on_par; blockers: none; closed non-blocking debt: #2006.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/refactor089e1d72after #2108 closed.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/refactore4d58f88; intentional divergences documented for remote haptics and managed local sidecar.reported/fixed_needs_rescan; blockers: none found; closed follow-ups: #1927, #1928, #1929, #1930.reported/fixed_needs_rescan; blockers: none found; closed follow-ups/leads: #1934, #1958, #1959, #1960, #1999, #2001, #2003.reported/fixed_needs_rescan; blockers: none found; closed follow-ups: #1963, #1964, #1965.reported/fixed_needs_rescan; blockers: none found; closed follow-ups: #1977, #1978, #1979.reported/fixed_needs_rescan; blockers: none found; closed follow-up: #2000.not_started/unknown; blockers: not scanned; closed seeded leads: #1923, #2030.not_started/unknown; blockers: not scanned.reported/on_par; report: #2410; blockers: none open after follow-up rescan onorigin/refactor@9d42aae2.not_started/unknown; blockers: not scanned.not_started/unknown; blockers: not scanned.not_started/unknown; blockers: not scanned.not_started/unknown; blockers: not scanned.not_started/unknown; blockers: not scanned.not_started/unknown; blockers: not scanned.not_started/unknown; blockers: not scanned.not_started/unknown; blockers: not scanned.not_started/unknown; blockers: not scanned; closed adjacent leads: #1923, #2000.not_started/unknown; blockers: not scanned.Refresh checklist for future edits:
fixed_needs_rescan.refactor, set the verdict toon_par.Expected owner or impact area
Refactor branch considerations
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_parjust because every follow-up issue is closed; usefixed_needs_rescanuntil a fresh parityscan on currentrefactorconfirms the target.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Xelvanis commented on GitHub (Jun 2, 2026):
Contracts and schemas parity scan pass completed for target 1.
Confirmed existing follow-ups:
settings.activationKeywordsandsettings.activationScanDepth.maxParallelJobsbeing present in the connection contract/UI but not flowing into agent batching.New follow-up opened from this pass:
script/scriptBodycontract 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_novelchat mode is normalized toroleplaythrough the refactor chat mode schema.defaultflag and normalize it toisDefault.No additional issue opened for those refactor-better items.
@Xelvanis commented on GitHub (Jun 2, 2026):
Storage and data access parity scan completed for target 2 against current
origin/refactorat3e05c12band legacy 1.6.1 file-native storage.Compared against current open issues first. Result:
cargo test --manifest-path src-tauri/Cargo.toml dispatch_storage_passed 7 tests.storage_getstill 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.Refactor-better notes from this pass:
Recommended next proof before cache/index/sidecar work: a cold/warm timing harness around repeated
storage_listand projectedstorage_getcalls with large character/message collections.@Xelvanis commented on GitHub (Jun 2, 2026):
Remote runtime parity scan completed for target 3 against current
origin/refactorat0afe673and legacy 1.6.1 server/client runtime behavior.Compared against current open issues first. Result:
/api/invokecommands not having a legacy-equivalent Admin Access /ADMIN_SECRETboundary. 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/api/haptic/*support plusHAPTICS_ALLOW_REMOTE; refactor needs either guarded remote support or clear embedded-only UI/docs behavior.Existing overlap checked:
storage_get; not duplicated here.Refactor-better notes from this pass:
remote_runtime_command_surfaces_match_desktop_minus_documented_non_remote_commands.Proof run:
cargo test --manifest-path src-tauri/Cargo.toml remote_runtime_command_surfaces_match_desktop_minus_documented_non_remote_commandscargo 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.
@Xelvanis commented on GitHub (Jun 2, 2026):
Target 4 media and assets parityscan complete.
Summary:
docs/REFACTOR_PARITY_PIPELINE.md.data:imageJSON instead of managed files, unlike legacy file-backed gallery storage.Follow-up issues:
Evidence basis: static refactor/legacy code trace. No app/Tauri runtime proof was run for this parityscan.
@Xelvanis commented on GitHub (Jun 2, 2026):
Repeat storage/data-access parity pass completed with a lag/responsiveness lens against current
refactorat8c36be60.Result:
storage_getnow routes through storage-levelget_projectedinstead of reading the full matched row before projection.limit/beforepage path wins before projected message read handling.No duplicate filed for already-open adjacent latency/payload issues:
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.@Xelvanis commented on GitHub (Jun 2, 2026):
Target 5 - Characters parityscan report
Scope:
origin/refactorat7801a73aorigin/mainat9e960485Filed follow-up issues:
data.extensionsExisting related coverage:
Not filed:
Verdict:
Target 5 has actionable parity gaps posted as issue follow-ups. No repo files changed in this branch.
@Xelvanis commented on GitHub (Jun 2, 2026):
Target 6: Personas parityscan report
Status: complete, with follow-up issues opened.
Confirmed follow-ups
listPersonaSummaries()omits.Parity coverage checked
savedStatusOptions,personaStats, tags, colors, avatar crop, and description extensions..marinaraenvelopes.personaStatscan be stringified instead of dropped.Verification
Static parity inspection against legacy and refactor source. No Tauri/manual runtime proof was run for this scan.
@Xelvanis commented on GitHub (Jun 2, 2026):
Target 7 lorebooks parityscan complete.
Confirmed regressions:
Likely parity gap:
Refactor-better coverage checked:
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.
@Xelvanis commented on GitHub (Jun 3, 2026):
Target 8 presets and prompt settings parityscan complete.
Confirmed fresh follow-up:
marinara_presetimport keeping stalesectionOrder/groupOrderIDs 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:
Parity/refactor-better coverage checked:
marinara_chat_presetimport/export envelopes and sanitize imported settings.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.