diff --git a/.memory/agent-slider.md b/.memory/agent-slider.md index e34d5cb8e..eb66a4634 100644 --- a/.memory/agent-slider.md +++ b/.memory/agent-slider.md @@ -2,7 +2,9 @@ 2026-11-23. Plan: `docs/plans/agent-slider-plan.md`. Prototype: `docs/plans/assets/agent-slider-prototype.html`. -- The owner asked to drop the Model Pad's scores and chart. In its place, one slider with 3 to 7 stops, each a label plus an optional provider, model and thinking level that the person picks. It ships as a six-PR stack: plan, data, slider, editor and Pad removal, scoring backend removal, phones. +**Status (2026-11-24):** PRs 0–4 merged to main bottom-up with merge commits (#888, #889, #892, #893, #896; main at f7c19a008). PR 5 (phones) is NOT being built from this stack: the owner is building the phone slider by hand, so don't start it unless asked. + +- The owner asked to drop the Model Pad's scores and chart. In its place, one slider with 3 to 7 stops, each a label plus an optional provider, model and thinking level that the person picks. It was planned as a six-PR stack: plan, data, slider, editor and Pad removal, scoring backend removal, phones. PRs 0–4 shipped; the phone PR was dropped (see Status above). - The plan came from three Opus research plans that were cross-reviewed against each other. They agreed on the following: - Effort is stored per chat (`ChatMeta.thinkingLevel`, plus `chats:setModel` taking a level). A stop never writes the global per-model thinking maps, because those maps would leak effort into other chats and collide two stops that use the same model. - The active stop is derived from the chat's provider, model and level, never stored. No match means the chat is Custom, and Custom shows `ThinkingControl`. @@ -14,7 +16,7 @@ - The slider travels with the portable `~/.aiden/config.json`, which is its only durable home. `settings.json` never holds it; the renderer reads it through a projected field of the settings read. - When main clamps an unsupported level, it writes the resolved level back to the chat with a compare-and-set, so a newer selection wins. - A one-time, delete-only cleanup of the retired benchmark and Artificial Analysis keys and caches. - - Phones are in scope (PR 5). + - Phones were in scope as PR 5. Superseded 2026-11-24: the owner builds the phone slider by hand. - Quick Chat gets the slider. - The onboarding Thinking tile merges into the Agent Slider tile. - The home stop is only the ↺ target. diff --git a/docs/plans/README.md b/docs/plans/README.md index 55dc54b6f..ca184aa57 100644 --- a/docs/plans/README.md +++ b/docs/plans/README.md @@ -88,7 +88,7 @@ Research addition 2026-10-03 against `main` at `3f86d41af` (0.52.0): [all-PR inv | Plan | Status | Current state | | -------------------------------------------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [Agent Slider](agent-slider-plan.md) | Approved | Plan written 2026-11-23 from three cross-reviewed research plans; the owner answered every open question the same day. Replaces the Model Pad (benchmark and pace scores plotted on a lattice) with one slider of 3 to 7 stops, each a model and thinking level the person picks. Effort is stored per chat, the active stop is derived, and an unavailable stop is skipped, never substituted. Benchmarks, Artificial Analysis and measured pace are removed; models.dev facts and list price stay as text. Shipping as a six-PR stack (plan, data, slider, editor and Pad removal, scoring backend removal, phones); PRs 1–4 are built, none merged; PR 4 (scoring removal, the delete-only cleanup and the `slider_stop` analytics) is on `feature/agent-slider-4-retire-scoring`. [Prototype](assets/agent-slider-prototype.html). | +| [Agent Slider](agent-slider-plan.md) | Desktop shipped (PRs 0–4 merged 2026-11-24); phones left to the owner | Plan written 2026-11-23 from three cross-reviewed research plans; the owner answered every open question the same day. Replaces the Model Pad (benchmark and pace scores plotted on a lattice) with one slider of 3 to 7 stops, each a model and thinking level the person picks. Effort is stored per chat, the active stop is derived, and an unavailable stop is skipped, never substituted. Benchmarks, Artificial Analysis and measured pace are removed; models.dev facts and list price stay as text. PRs 0–4 (plan, data, slider, editor and Pad removal, scoring backend removal) merged on 2026-11-24 as #888, #889, #892, #893 and #896. PR 5 (phones) is not being built from this stack: the owner is building the phone slider by hand. [Prototype](assets/agent-slider-prototype.html). | | [Smarter artifacts, inline visuals and design mode](smarter-artifacts-design-mode-plan.md) | Active | Phase A (quick wins, items 1–10 and 33) implemented 2026-11-18 on `feat/smarter-artifacts-design-mode`; Phase B (Aiden checks its own work) implemented 2026-11-19 on `feat/smarter-artifacts-phase-b`, its review loop closed after three rounds; Phase C (edits instead of rewrites) and Phase D (canvas power tools) implemented 2026-11-19; Phase E1 (visual tools up front, selection and view size, one routing rule, images to the canvas, design system first) implemented 2026-11-19 on `feat/smarter-artifacts-phase-e1`; Phase E2 (visuals for phones on `aiden serve`, Keep in Artifacts and Send to canvas in a visual's Actions menu) implemented 2026-11-19 on `feat/smarter-artifacts-phase-e2`; both merged and their review loop closed; `origin/main` merged in, final review done, fix rounds through I done, PR next. Plan written 2026-11-18 from the 2026-11-17 five-reviewer audit; the owner chose every batch (A quick wins, B Aiden checks its own work, C edits instead of rewrites, D canvas power tools, E faster tool choice) plus Tier 3 and Tier 4, in one PR on `feat/smarter-artifacts-design-mode`. Decisions recorded in the plan (canvas status line as a conversation note, one undo step per Aiden turn, auto-placed shell pages, confirm-then-fix for artifact argument safety, all-or-nothing find-and-replace, server visuals for phones via an installed Chrome with a text fallback). | | [Audit "Do now" cleanup](audit-do-now-cleanup-plan.md) | In review | Plan written 2026-11-18 from the verified dead-code and performance audit of `f2fd27640`. All seven phases (packaging and dependencies, the CLI package, dead IPC and main code, Bot performance, the renderer, iOS and Android) are implemented and independently reviewed on `cleanup/audit-do-now`, in one PR. Skipped with reasons in the plan: B23 (`main/tsconfig.json` is load-bearing for esbuild), B25 (the static job does not always run with the Linux jobs) and R2 (the plan and issue stores lack a complete change signal). | | [Inline HTML, SVG and visual previews](inline-html-previews-plan.md) | Built, in review | Written 2026-11-18 and reviewed the same day by a Fable agent. All eight tasks are built (2026-11-18), each with a task review: the iOS visual viewer stops reloading a crashing page after one try; both phones offer Open interactive for HTML visuals without a snapshot instead of "Can't view on this device"; a shared no-network iOS preview web view (content rule list awaited before load, WebRTC and WebTransport removed, no message handlers, link offers only after a real tap); View for SVG code blocks on iOS and Preview on desktop, both adding the SVG namespace when missing; Aiden theme variables for previews, named like desktop's generative-UI variables; Preview / Source for `.html` workspace files; tapping "File written" opens the file. No Remote protocol change and no new dependency. Shipping as one PR. Android for previews (Tasks 3–8) is a follow-up. Mermaid is deferred until a bundled engine is approved. | diff --git a/docs/plans/agent-slider-plan.md b/docs/plans/agent-slider-plan.md index b74932e60..7839028de 100644 --- a/docs/plans/agent-slider-plan.md +++ b/docs/plans/agent-slider-plan.md @@ -1,6 +1,6 @@ # Agent Slider: replace the Model Pad -Status: Approved (2026-11-23). Shipping as a stack of six PRs (0–5), none merged yet. PR 0 is this plan ([#888](https://github.com/sambitcreate/aiden-agent/pull/888)); PR 1 (data and runtime) is built on `feature/agent-slider-1-data`. PR 2 (the slider, the composer and Quick Chat popover, the first-run seed and the step shortcuts) is built on `feature/agent-slider-2-slider`; it also documents its shortcuts in `docs/keyboard.md`. PR 3 (the Settings editor, the Model Pad UI and its fields removed, pins and recents in `model-preferences.ts`, the merged onboarding tile) is built on `feature/agent-slider-3-editor`. PR 4 (benchmarks, Artificial Analysis, measured pace, their IPC and `aiden insights` deleted; the delete-only cleanup; `slider_stop` and `slider_stop_count` on `chat_message_sent`) is built on `feature/agent-slider-4-retire-scoring`. +Status: Desktop shipped; phones left to the owner. PRs 0–4 merged to `main` on 2026-11-24, bottom-up with merge commits: [#888](https://github.com/sambitcreate/aiden-agent/pull/888) (this plan), [#889](https://github.com/sambitcreate/aiden-agent/pull/889) (data and runtime), [#892](https://github.com/sambitcreate/aiden-agent/pull/892) (the slider, the composer and Quick Chat popover, the first-run seed and the step shortcuts), [#893](https://github.com/sambitcreate/aiden-agent/pull/893) (the Settings editor, the Model Pad removed, the merged onboarding tile) and [#896](https://github.com/sambitcreate/aiden-agent/pull/896) (benchmarks, Artificial Analysis, measured pace and `aiden insights` deleted; the delete-only cleanup; `slider_stop` and `slider_stop_count` on `chat_message_sent`). PR 5 (phones) is not part of this stack: the owner is building the phone slider by hand, so its section below is guidance, not a commitment. Prototype: [`assets/agent-slider-prototype.html`](assets/agent-slider-prototype.html), an interactive mock built with Aiden's tokens, also published as a private [artifact](https://claude.ai/artifact/E37LVEP5pKRGudZPTfRezg). Sample models only.