Repository navigation
Let Aiden change the color theme and the model for new chats - #623
Conversation
…to claude/project-thread-p5v2my-more-controls
New desktop app controls: Color theme (the ten presets, same change as Settings → Appearance; leaving a custom theme needs the person's click) and Model for new chats (a new "models" topic; only visible models of ready providers). Open windows follow a new-chat model the host changes, and a pick in a window now updates the host's copy. Paired phones keep the v1 control vocabulary: the new rows and topic never reach them, and a models card arrives as its text. The earlier "WIP controls" commit is part of this change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6RJBx7KEMfx6whsfUge
Hermes Review BotConfidence: 5 Engine: SummaryAiden can now inspect and change both the color theme and the default model for new chats through chat tools and interactive settings panels. The implementation exposes Confidence Score: 5/5Full end-to-end trace completed across main process IPC handlers, settings lease mutations, renderer state synchronization ( 📁 Important Files Changed
FindingsNo findings. Sequence DiagramsequenceDiagram
participant User
participant Renderer as Desktop Window
participant Host as Main Process
participant Store as ConfigStore
alt Aiden or Card updates new-chat model
User->>Host: aiden_set_preference / Card click ("models.newChat")
Host->>Store: updateAppControl("models.newChat")
Store-->>Host: saved (lastProviderId, lastModel)
Host-)Renderer: broadcast("settings:new-chat-model-changed")
Renderer->>Renderer: persistModelSelection (localStorage & React state)
else User selects model in composer
User->>Renderer: Select model in composer
Renderer->>Renderer: persistModelSelection (localStorage & React state)
Renderer-)Host: settings:set({ lastProviderId, lastModel })
Host->>Store: setSettings(...)
end
[]
|
There was a problem hiding this comment.
Important
The new-chat model control can report success without changing the desktop default, and it accepts non-chat models that the normal picker excludes.
Reviewed changes Reviewed the full PR, including the stacked live-appearance and capability-honesty changes.
- Conversational controls: Adds color-theme presets and a model-for-new-chats control with persistence, availability checks, and foreground confirmation for replacing custom colors.
- Live synchronization: Applies host appearance changes to open windows and synchronizes model-control changes with renderer defaults.
- Client compatibility: Keeps the existing phone vocabulary by filtering new controls and projecting unsupported cards as text; preserves CLI-specific controls.
- Capability guidance: Updates offline help, tool-aware system prompts, Bot settings-file protection, and Live screen-control guidance.
- Verification: Focused TypeScript suites and application/e2e type checks pass. Both Electron specs are collected, but runtime e2e and iOS XCTest were not run here; Android focused tests timed out after 120000ms, including an offline attempt.
gpt-6.1-sol | 𝕏
…at models - A desktop send no longer writes lastProviderId/lastModel. A send in an existing chat used that chat's own model and overwrote the default the control reported, so asking for that model returned already_set while new chats still used the window's pick. Each window now also brings the host copy in line with its pick at startup. - The control offers and accepts only chat models, using the model picker's isNonChatModel rule, so embedding and reranking ids from a custom endpoint are left out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6RJBx7KEMfx6whsfUge
…-p5v2my-more-controls
…esty' into claude/project-thread-p5v2my-more-controls
There was a problem hiding this comment.
Important
Startup synchronization can overwrite a newer model choice, and the new CLI settings fence leaves active host configuration writable by Bot file tools.
Reviewed changes Reviewed the changes since the previous Pullfrog review at 07d316a, including the fixes and newly merged CLI protection.
- Separated default persistence: Removed send-time writes to the new-chat model and added startup synchronization from the desktop selection to the host.
- Filtered model eligibility: Applied the shared non-chat model filter to both offered options and accepted values, including provider metadata.
- Extended CLI protection: Installed a protected-root list for CLI Bot file tools covering named settings and credential locations.
- Corrected read-only guidance: Distinguished chats that can read live settings from those that cannot read or change them.
Validation: 177 focused tests passed across conversational controls, model selection, generation start, Assistant prompts, Bot file tools, and configuration persistence. Application and e2e type checks passed; separate behavioral probes reproduced both findings below. Electron runtime and native mobile suites were not rerun for this delta.
gpt-6.1-sol | 𝕏
…esty' into wt-more
…he host answered Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6RJBx7KEMfx6whsfUge
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Reviewed the delta since the previous Pullfrog review at fb1f0d3, including both fixes and the expanded desktop Bot-storage protection.
- Preserved newer model choices: Moved the startup selection read after the host response so an intervening picker change or host notification is not overwritten by the captured startup value.
- Expanded Bot-file protection: Added CLI Telegram configuration, authority anchors and Bot-service storage to the fence, and protected desktop Bot definitions and service storage.
- Kept Bot homes writable: Added bounded directory exceptions so ordinary artifacts in
homes/remain writable while host-owned Bot metadata stays protected. - Extended behavioral coverage: Added pending-startup-read coverage and write/edit rejection checks for existing and not-yet-created host configuration files.
Validation: 49 focused tests passed, the native file mutator built successfully, and application TypeScript passed. Separate probes using the real persistence and notification helpers verified both pending-read interleavings. Electron runtime and native mobile suites were not rerun for this delta; hosted CI was still pending when inspected.
gpt-6.1-sol | 𝕏
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6RJBx7KEMfx6whsfUge
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Reviewed the main merge since the previous Pullfrog review at 9affd06, focusing on integration with the theme and new-chat model controls.
- Preserved renderer synchronization: Kept the new-chat model subscription and startup mirroring alongside
main's workspace-file synchronization. - Retained behavioral coverage: Preserved all three app-controls e2e tests, including Skills-off completion and live theme/model changes.
- Checked appearance admission: Verified that the inherited pending-Appearance guard covers the new theme control without interfering with model-default changes.
Validation: 234 focused tests passed across controls, model selection, workspace synchronization, Remote chats, appearance and configuration persistence. Application and e2e TypeScript checks passed, and Playwright collected all three app-controls specs. Electron runtime and native mobile suites were not rerun; hosted CI was still pending at inspection.
gpt-6.1-sol | 𝕏

Requested by sbt · project thread
This was stacked on #617 (theme applies live) and #622 (honesty). Both have merged, and cf49359 merges
mainin, so the diff is now this PR's own work. That merge kept both the new Skills-off e2e test from #621 and this PR's theme and model test intests/e2e/app-controls.spec.ts, and both the workspace-files sync from #618 and this PR's new-chat model subscription inrenderer/main/root-view.tsx.What changes
Tool audit owner answer 4b: Aiden can now change the color theme and the model for new chats from chat. The owner skipped text size, because Aiden has no text size setting; Aiden points to View → Zoom for that.
Color theme (
appearance.theme, Appearance card):Model for new chats (
models.newChat, newmodelstopic):provider::model, saved inlastProviderId/lastModel.settings:new-chat-model-changedso open windows switch their new-chat model at once.Phones keep the v1 vocabulary: iOS and Android reject a whole card with an unknown row or topic, so:
aiden_show_controlsin phone chats offers only the v1 topics;modelscard in a desktop chat reaches phones as its text fallback.No Remote protocol revision and no native change.
The CLI hides the new rows: it has no new-chat model, and its appearance card shows only the terminal theme.
The model select keeps long model names on one line.
Help text and app guidance now list these as changeable.
Docs:
docs/plans/aiden-app-knowledge-actions-plan.mdupdate note;docs/aiden-remote-api-v1.mdnote on desktop-only controls.Tests
app-controls-core.test.ts:config-store-core.test.ts:lastProviderId/lastModeland nothing else.aiden-remote-chats.test.ts: phones get the v1 cards; amodelscard arrives as text.use-model-selection.test.ts: a host change reaches the window; a pick reaches the host once.app-controls.spec.ts:aiden_set_preferencesets Moss and a second model;html[data-theme]becomesmossand the window's new-chat model follows without a reload. The window-follow assertion fails without the fix (receivedaiden-e2e-vision).test:app-controls,test:provider-model-catalog,test:command-system,test:bots, plus Remote protocol and chats tests;type-check:e2e, eslint;app-controls.spec.tse2e;type-check:e2e,test:app-controls, the model-selection, Remote chats and workspace-files sync tests, and all 3 tests inapp-controls.spec.ts(built, under xvfb) pass.Flaky tests
Both on cf49359, run 40759372114. This PR changes neither area. Failed jobs get one rerun once the run finishes.
tests/e2e/chat-message-queue.spec.ts:484› "a response finishing while the queue editor is open waits for the saved edit" was flaky on Linux x64 E2E (job 123067067824). It failed once and passed on retry, and--fail-on-flaky-teststurned that into a failure. This PR does not touch the message queue.AidenMessageVisualSnapshotLayoutTests.testVisualSnapshotKeepsItsHeightAlongsideAnImageDeckdrew height 0 instead of 269, after the simulator first failed to launch the app. This is a known snapshot flake (Open chat visuals full screen on iOS and Android (Remote revision 35) #514, Bot hand-offs follow-ups: owner answers 2b–6a, Remote rev 40 #583, Release Aiden Agent 0.61.0: security updates (Electron 43.8.3, MCP SDK 1.32.1, CI Node 22.23.4) #584, Show images a Bot shares on the phones (Remote revision 45, bot:images) #626), and this PR makes no iOS change.Light and dark screenshots are in the project thread.
🤖 Generated with Claude Code
https://claude.ai/code/session_018VA6RJBx7KEMfx6whsfUge