[GH-ISSUE #1349] [Issue]: Refactor is missing the managed local model sidecar runtime #672

Closed
opened 2026-10-20 17:31:41 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @ghost on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1349

Originally assigned to: @Promansis on GitHub.

Summary

The legacy managed local sidecar/local model system is not present in the refactor. This is larger than the embedding endpoint parity tracked separately.

Classification: Fully missing legacy subsystem

Expected behavior

Managed sidecar features should either be ported or intentionally retired: curated model download/listing, local runtime start/stop/unload, HuggingFace model listing, /v1/embeddings, game scene analyzer sidecar routing, and Local Model connection/agent override UX.

Actual behavior

Current source has external/local OpenAI-compatible/Ollama-style endpoint support and lexical fallback vectors, but no managed sidecar runtime, sidecar store, model download modal, or LOCAL_SIDECAR_CONNECTION_ID path was found.

Steps to reproduce

  1. Inspect legacy sidecar routes/types/stores under .tmp/refactor-audit-v161.
  2. Search current src, src-tauri, and provider transport for sidecar/local-sidecar runtime support.
  3. Verify connection and agent override UIs no longer expose Local Model sidecar behavior.

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 (audit snapshot 07af6d8b)
  • Legacy baseline: origin/staging / v1.6.1 raw codebase
  • Run mode: Tauri desktop / remote runtime parity audit
  • OS + version: not OS-specific unless labeled Windows/Android
  • Node + pnpm versions: not captured for this audit ticket
  • Rust version, if relevant: not captured for this audit ticket
  • Remote Runtime URL configured? not relevant unless the issue is remote-runtime/security related
  • Provider, model, or integration, if relevant: see summary/additional context

Logs, screenshots, or video

No runtime logs or screenshots. Finding comes from raw-codebase parity inspection.

Regression notes

Legacy behavior/source exists in origin/staging / v1.6.1 raw codebase and is tracked in docs/refactor-staging-1.6-feature-gap-audit.md. Current refactor source did not show equivalent behavior at the paths named below.

Additional context

Related but narrower existing issue: #1341 tracks explicit local sidecar embedding endpoint parity.

Audit report: docs/refactor-staging-1.6-feature-gap-audit.md.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @ghost on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1349 Originally assigned to: @Promansis on GitHub. ## Summary The legacy managed local sidecar/local model system is not present in the refactor. This is larger than the embedding endpoint parity tracked separately. **Classification:** Fully missing legacy subsystem ## Expected behavior Managed sidecar features should either be ported or intentionally retired: curated model download/listing, local runtime start/stop/unload, HuggingFace model listing, `/v1/embeddings`, game scene analyzer sidecar routing, and Local Model connection/agent override UX. ## Actual behavior Current source has external/local OpenAI-compatible/Ollama-style endpoint support and lexical fallback vectors, but no managed sidecar runtime, sidecar store, model download modal, or `LOCAL_SIDECAR_CONNECTION_ID` path was found. ## Steps to reproduce 1. Inspect legacy sidecar routes/types/stores under `.tmp/refactor-audit-v161`. 2. Search current `src`, `src-tauri`, and provider transport for sidecar/local-sidecar runtime support. 3. Verify connection and agent override UIs no longer expose Local Model sidecar behavior. ## Impact area - [ ] App shell, navigation, startup, or providers - [x] Catalog resources - [ ] Chat mode - [ ] 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 - [x] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: refactor (audit snapshot 07af6d8b) - Legacy baseline: origin/staging / v1.6.1 raw codebase - Run mode: Tauri desktop / remote runtime parity audit - OS + version: not OS-specific unless labeled Windows/Android - Node + pnpm versions: not captured for this audit ticket - Rust version, if relevant: not captured for this audit ticket - Remote Runtime URL configured? not relevant unless the issue is remote-runtime/security related - Provider, model, or integration, if relevant: see summary/additional context ## Logs, screenshots, or video No runtime logs or screenshots. Finding comes from raw-codebase parity inspection. ## Regression notes Legacy behavior/source exists in `origin/staging / v1.6.1 raw codebase` and is tracked in `docs/refactor-staging-1.6-feature-gap-audit.md`. Current refactor source did not show equivalent behavior at the paths named below. ## Additional context Related but narrower existing issue: #1341 tracks explicit local sidecar embedding endpoint parity. Audit report: `docs/refactor-staging-1.6-feature-gap-audit.md`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 27, 2026):

Triage note: labeling this as scope-risk because the managed local sidecar/runtime gap is aligned with refactor parity, but restoring or retiring it touches model downloads, runtime start/stop behavior, provider UX, storage commands, and release/platform support.

Next step should be a maintainer product decision on whether to port the managed sidecar as a first-class refactor feature, split the work into smaller parity slices, or explicitly retire the legacy subsystem.

<!-- gh-comment-id:4555106591 --> @cha1latte commented on GitHub (May 27, 2026): Triage note: labeling this as `scope-risk` because the managed local sidecar/runtime gap is aligned with refactor parity, but restoring or retiring it touches model downloads, runtime start/stop behavior, provider UX, storage commands, and release/platform support. Next step should be a maintainer product decision on whether to port the managed sidecar as a first-class refactor feature, split the work into smaller parity slices, or explicitly retire the legacy subsystem.
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

Resolved on refactor in 39f2701e as an intentional retirement decision. The old Node-managed local model sidecar is not being ported into Tauri; docs now state the replacement path: use normal Marinara connections for local OpenAI-compatible/Ollama-style runtimes, with /api/sidecar/v1/embeddings retained only as a compatibility endpoint backed by configured embedding connections. Validated with git diff --check and pnpm check.

<!-- gh-comment-id:4555117342 --> @SpicyMarinara commented on GitHub (May 27, 2026): Resolved on refactor in 39f2701e as an intentional retirement decision. The old Node-managed local model sidecar is not being ported into Tauri; docs now state the replacement path: use normal Marinara connections for local OpenAI-compatible/Ollama-style runtimes, with /api/sidecar/v1/embeddings retained only as a compatibility endpoint backed by configured embedding connections. Validated with git diff --check and pnpm check.
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#672
No description provided.