Skip to content

fix(desktop): preserve model picker source and receipt ownership - #133

Draft
RecursiveIntell wants to merge 1 commit into
mainfrom
fix/ares-model-picker-source-ownership-20261004
Draft

RecursiveIntell wants to merge 1 commit into
mainfrom
fix/ares-model-picker-source-ownership-20261004

Conversation

@RecursiveIntell

Copy link
Copy Markdown
Owner

Model settings mounted for source A could survive a switch to B with the same profile name, then send a resumed confirmation to B. Fresh-draft picker catalogs could also follow foreground A while admission belonged to pending/failed target B, and valid model-only receipts could be hidden by stale catalog pairs.

Bind settings form lifetimes and reads/writes/confirmations to the canonical source, profile and target. Capture each draft's logical owner in both inline and overlay catalog producers; late replies stay in their origin cache. Keep authoritative scalar model receipts visible. Distinguish legacy null source from forced local in keys and requests, preserving explicit null through the API helper and picker producers so RPC fallback cannot silently select another source.

The final 18-path tree f123160235236b4bd853e7fc336b5e87a46bce1e passes 172/172 cases across 11 files, renderer/API types and lint for all 18 changed paths. Final independent source review accepted the exact tree. The final fixture correction changes only the legacy-null expectation and two padding newlines; the prior 17 accepted paths remain byte-identical. Earlier failed copy, test and lint receipts remain retained. The supported selector categories were exercised with inert transports; these results do not qualify live providers or current Ollama bindings.

Runtime admission/deferred/once semantics remain owned by the backend. This draft should be composed with #130 and the still-open #102 model/cold-history work before merge; no standalone integration-readiness claim is made. Actual Electron main IPC, spawn/secrets, Electron-project types, current installation, live UI/provider execution and release readiness remain unqualified. Historical installed pins are not current-running-source evidence.

Base 04997747879d54a242941d344c3a38293c307076, tree cbabd9591dc00fdf8deed90aeb3e8b1dc5bd2ebc. Forward/reverse replay reconstructs the exact final and base trees. Reverse patch SHA256 705423e108b2f1521477bd98f3be023d8c2d1ef99672c26a059469c1130e8a30 restores only these reviewed paths. No activation, installation, service change or live rollback accompanies publication. Hosted CI is a separate gate.

@github-actions

github-actions Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

૮ >ﻌ< ა ci review

ran on 43915b3 — fix(desktop): preserve model picker source and receipt owner

⚠️ Warnings

OSV vulnerability scan · View job

96 known vulnerabilities found in pinned dependencies.

How to fix:

Review the findings in the Security tab. Update the affected dependencies if a patched version is available.


debug info

CI timings

CI timings · View report · View job

Wall time 3m14s vs 7m23s (-56.2%). 6 job(s) slower, 11 faster, 2 unchanged.

  • JS & TS checks / ui-tui/packages/hermes-ink / check: -96.0s
  • JS & TS checks / apps/desktop / check:test:ui:shard-2of3: -87.0s
  • JS & TS checks / apps/desktop / check:test:ui:shard-1of3: -52.0s
  • JS & TS checks / apps/desktop / check:test:ui:shard-3of3: -46.0s
  • JS & TS checks / ui-tui / check: +11.0s

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant