Repository navigation
Conversation
This was referenced Oct 15, 2026
Facilier
marked this pull request as ready for review
October 19, 2026 19:58
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
`qq serve --exit-on-stdin-close` also shuts the server down cleanly when standard input reaches end-of-file or fails, alongside Ctrl-C. A process that starts the server with a piped stdin (a desktop app, an editor extension, a test harness) then bounds its lifetime by holding the pipe: when the supervisor exits, even abnormally, the OS closes the pipe and the server settles its runtime and removes its discovery record instead of lingering. Stdin is read on a dedicated thread because console stdin has no portable async reader. Without the flag, behavior is unchanged. Documented in docs/guide/cli.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Facilier
force-pushed
the
feat/serve-stdin-lifetime-and-shared-login
branch
from
October 20, 2026 20:37
fb55aab to
91c46cf
Compare
Facilier
force-pushed
the
feat/desktop-app
branch
from
October 20, 2026 20:37
95b019e to
23c775d
Compare
lg2m
marked this pull request as draft
October 21, 2026 03:06
Facilier
force-pushed
the
feat/desktop-app
branch
from
October 24, 2026 00:03
c5e8376 to
286cdad
Compare
`qq serve --exit-on-stdin-close` also shuts the server down cleanly when standard input reaches end-of-file or fails, alongside Ctrl-C. A process that starts the server with a piped stdin (a desktop app, an editor extension, a test harness) then bounds its lifetime by holding the pipe: when the supervisor exits, even abnormally, the OS closes the pipe and the server settles its runtime and removes its discovery record instead of lingering. Stdin is read on a dedicated thread because console stdin has no portable async reader. Without the flag, behavior is unchanged. Documented in docs/guide/cli.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adds apps/desktop, a desktop client for the user-scoped QQ server. It attaches to the server the TUI and CLI discover, or starts and supervises `qq serve --exit-on-stdin-close`, so sessions, configuration, and credentials are shared across surfaces. The Rust core runs one actor per open project around qq_client's TuiClient and SessionStore reducer and pushes coalesced view models to a React UI: project switcher, attention-grouped session list, streaming transcript with tool calls and diffs, inline approval cards, and a composer with model and approval-mode pickers. Starts the server with `qq serve --exit-on-stdin-close` (added in the base engine PR) so the server never outlives the app. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The desktop app now connects providers without the CLI: a Providers dialog (sidebar, welcome screen, model picker, and the signed-out landing prompt) stores API keys for Anthropic, OpenAI, Google, and xAI, and runs the ChatGPT (Codex) and xAI browser sign-ins. Credentials go through the same qq-auth store and OS keyring as `qq auth login`, so either surface sees the other's sign-ins. Every open project re-reads its model catalog after a change, and a newly connected provider's recommended model is selected when nothing usable was. Keys are stored with qq-auth's CredentialStore::login_with_api_key (added in the base engine PR), the same call `qq auth login` makes. Fixes the desktop app sending Windows workspace paths without the `\?\` verbatim prefix: the server compares catalog requests against the canonical path, so every model request from the app was rejected. Paths are now sent canonical and shortened only for display. Filled buttons use a darker blue so white labels meet 4.5:1 contrast. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Opening a project whose `.qq/config.ron` (or another project source) is not covered by a trust record now shows a trust prompt in place of the session view, per ADR-0042: each pending file, project-relative, with one line per declaration worded as `qq trust` and the TUI word them (model routes, providers, MCP servers and their commands, grant counts, packs). "Trust and continue" calls ConfigLoader::grant_pending_trust, the same write as `qq trust`; the server reads the trust record on every load, so the project then re-reads its catalog and capabilities. "Show in Explorer" reveals the file and "Close project" backs out. Trust is re-checked when a project is opened or activated and when the window regains focus, so a file edited in the background asks again. "Trust for this session" is not offered: that grant lives inside the server process, which the app does not share. Co-Authored-By: Claude Opus 5.5 <[email protected]>
`pnpm bundle` builds the release `qq` binary, stages it as a Tauri sidecar (src-tauri/binaries/qq-<host-triple>.exe, git-ignored), and builds an NSIS installer that installs per user without elevation. The installer places the engine beside the app as `qq.exe`, the first location the app's engine lookup checks, so an installed app no longer needs qq on PATH. The sidecar is declared only in tauri.bundle.conf.json, merged in by `pnpm bundle`, because Tauri requires declared sidecars to exist at compile time; `cargo check` and `tauri dev` keep working without a release engine build. MSI output is dropped for now (it needs WiX and targets machine-wide deployment). Co-Authored-By: Claude Opus 5.5 <[email protected]>
apps/desktop/src-tauri is now a standalone workspace with its own Cargo.lock and target directory, depending on the engine crates by path. The root workspace is back to upstream exactly: no new member, and the root Cargo.lock no longer carries Tauri's dependency tree. Engine CI (`cargo clippy --workspace`, `cargo test --workspace` on Ubuntu) would otherwise have needed WebKitGTK to build the app. Debug builds now look for the engine at the repository's target/debug/qq.exe, since the app no longer builds into the same target directory as `cargo build --bin qq`. The crate also gains `#![forbid(unsafe_code)]` per AGENTS.md. The README documents the split, the engine lookup order, and the desktop checks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Records the desktop app's design for review: a Tauri v2 client of the user-scoped local server (discovered, or supervised via `qq serve --exit-on-stdin-close`), with the protocol driver and qq-client::state reducer running natively in the Tauri process and a React/TypeScript UI rendering coalesced view models. Same-host credential and trust writes follow ADR-0042's reasoning; the app is its own Cargo workspace per ADR-0018's intent. Positions the work against multi-surface-clients Phase 4 (D1-D3) and the still-reserved ADR-0017: it applies ADR-0017's documented TypeScript fallback to desktop only and leaves the web stack undecided. The index row and root-ledger reservation (0062, next free on upstream main) are added during the rebase onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The app's own lockfile follows the engine crates from 0.1.4 to 0.1.6 (no other dependency moves), and the app's version follows the workspace's. Co-Authored-By: Claude Opus 5.5 <[email protected]>
qq_server::discover validates the recorded protocol version before it probes the server, so a server.ron left by an older build that exited uncleanly fails discovery with a protocol mismatch even though nothing is running. The app treated that as fatal and never started an engine, which blocked every upgrade across a protocol bump. A discovery error is now remembered rather than returned: the app starts `qq serve`, which decides by the instance lock (it replaces a stale record, or exits when a live server holds the lock), and keeps polling. If the engine exits or the start times out, the last discovery error is reported instead of a bare exit status, so a genuinely running old server still says "protocol version N does not match". Verified on Windows with a protocol-30 record from a 0.1.4 build: the app started the 0.1.6 engine, which rewrote the record at protocol 32. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Record the comparative analysis, DP1-DP8 acceptance, and baseline checks. No reference code copied. Co-Authored-By: Codex <[email protected]>
DP1/DP2: bound actor admission and pending receipts; expose queue, steer and interrupt actions, disconnected state, startup retry and submission failures. Desktop tests (5 Rust, 2 draft regressions), Clippy and typecheck pass. Live offline error state verified; connected qualification remains in the ledger. Co-Authored-By: Codex <[email protected]>
DP3: persist desktop-local names and archive flags, keep attention and active sessions visible, and expose matching children through search. Persistence, restore, input validation and search regressions pass; rename/archive/restore verified in an isolated 512-session fixture. Co-Authored-By: Codex <[email protected]>
Reuse contained workspace input resolution, expose existing session options and actions, and support single-instance forwarding and optional attention notifications. Recover cold created sessions from authoritative snapshots and cancel project actors when their final handle closes. Co-Authored-By: Codex <[email protected]>
Expose session pickers, workspace files and implemented commands. Isolate modal focus from approval shortcuts, retain pending drafts across remounts, and show preference and connection diagnostics. Co-Authored-By: Codex <[email protected]>
Measure dynamic rows, retain focused controls, and keep both history ends reachable. Add an isolated rendering fixture and release-version guard with checked lockfile metadata. Co-Authored-By: Codex <[email protected]>
Check the separate native workspace and renderer, retain manually built NSIS artifacts, and document desktop controls, signing and remaining live qualification gates. Co-Authored-By: Codex <[email protected]>
Record DP1-DP8 commits, desktop checks, the unsigned NSIS sidecar evidence, Windows baseline failures and the existing database recovery blocker. Co-Authored-By: Codex <[email protected]>
Use read-only pending input so asynchronous admission does not blur the composer. Add an eight-frame focus regression fixture; it fails before the change and passes afterward. Native Escape cancellation and loopback end-to-end controls pass against the recovered store. Co-Authored-By: Codex <[email protected]>
Close the recovered-store E2E blocker and record the journal limitation, native notification checks, installer cleanup and external release gates. Co-Authored-By: Codex <[email protected]>
…nges Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Session search gets an icon, a clear button, Esc to clear and Ctrl F (also in the Edit menu), which reopens a hidden sidebar. The archive view is an icon toggle beside it, and empty results say so. - The project switcher is a themed Dropdown with the project's initial, a short parent path, open/close actions and a count of sessions in other projects that need you. - Each session row has a "⋯" menu (rename, archive/restore, delete); rename edits the title in place, also on double-click. Delete uses a themed ConfirmDialog instead of the unstyled native confirm(). - Dropdown gains a command-menu mode (icons, a danger item, menu roles) and a viewport-fixed popup that flips when there is no room, so a scrolling list cannot clip it. - Below 1100px the Changes panel overlays the conversation instead of squeezing it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…omposer - Files dragged onto the window are inserted as @mentions at the caret. Paths are made project-relative; files outside the project or with spaces (which the mention grammar cannot express) are skipped and listed in a dismissible note. The composer highlights while dragging. - A context ring beside Send shows the share of the model's context in use, with token counts and session cost on hover; it replaces the header's bar and cost so the numbers sit where the next prompt goes. Pasting images is not included: qq-protocol input parts reject images. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ght theme - tauri-plugin-window-state restores size, position and maximized state. Visibility and decorations are excluded so a first launch still shows the window and the custom title bar is kept. - Menus, pickers, the mention list and dialogs fade in over ~120 ms and the Changes panel slides in; reduced-motion users get none of it. - Popover shadows are a theme token: the dark shadow was heavy on the light palette. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The landing screen and empty sessions offer four starting points (explain the project, review @diff, fix a bug, add tests). Choosing one fills the composer for editing and never sends it; a starter ending in "@" opens the file picker. - The mention picker opens below the composer when there is no room above it, instead of covering the title bar. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…it strip Quick wins exposing engine features the TUI already has: - Side questions: /btw, /ask, /btw-new and /btw-cancel (and a composer button) send SubmitSideQuestion / CancelSideQuestion. The latest side thread shows above the composer with streamed Markdown answers; it never enters the run. Offered only when capabilities list the command. - "/" at the start of a message completes the workspace's commands and skills from the capability skill entries; the prompt is sent as /name and resolved by the runtime as in the TUI. - Open in editor (header button, File menu, Ctrl Shift E, Changes panel rows) starts VS Code, Cursor, Windsurf or Zed from PATH without a shell, keeping paths inside the project. Git strip (after T3 Code's per-thread Git status): - The session header shows branch, changed count, ahead/behind and the branch's pull request via gh. Its menu commits all changes (optionally pushing), pushes or publishes the branch, and creates a pull request with gh, each behind a confirmation dialog. - git/gh run directly with prompts disabled, deadlines, no console window and one mutating action at a time. Also: a small toast for command results; ConfirmDialog gains a primary tone; generated view types include skills, side questions and Git status. Co-Authored-By: Claude Opus 5.5 <[email protected]>
After T3 Code's thread-per-worktree model, so several agents can work on one repository without touching each other's files: - New worktree session (Ctrl Shift N, File menu, Git menu, project switcher) runs `git worktree add` into `<repo>.worktrees/<branch>` beside the repository, never inside it where the main checkout's tools would see it, then opens the folder as a project with the task waiting in its composer. The branch name is derived from the task and editable; an existing branch is checked out as is; names are validated with check-ref-format. - Projects carry their worktree (branch and main checkout), read from the folder's `.git` file without running git. The switcher groups worktrees under their repository and shows the branch. - "Remove this worktree" closes the project, runs `git worktree remove` (with --force only when the user opts to discard uncommitted changes) and keeps the branch; it refuses while a session there is running. - FormDialog is shared by the Git strip and worktree dialogs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Older builds saved recent folders without Windows' verbatim \\?\ prefix, so a folder opened before and after that change appeared twice. Recents now compare by a normalized key (prefix removed, separators unified, case folded on Windows) when remembering a folder, and existing lists are de-duplicated on load, keeping the newest entry. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The site build requires every docs/guide page to have a sidebar entry; desktop.md had none, so the Website workflow failed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main released 0.1.8, so the desktop app follows it (check:version requires package.json, tauri.conf.json and the desktop crate to match the engine workspace) and its lockfile records the 0.1.8 engine crates, which --locked CI builds need. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main's ADR-0064 records the built-in provider table, so the desktop client decision moves to the next free number. Its link to the retired multi-surface plan now points at the historical copy, like main's other ADRs do. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main moved the built-in providers into one table in qq-config (ADR-0064), so the desktop no longer needs qq-auth to export a login list. Which providers exist, whether each takes an API key or a browser sign-in, its environment variables, recommended model and the endpoint a stored key is bound to now all come from that table, mapped exactly as the engine maps each audience. A key is stored as `qq auth login` stores it. Also restores the goal check-interruption notice, which an earlier merge commit carried and the rebase onto main replayed without. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Brings the engine's durable session goals (main's G0-G2 work) to the desktop, matching the TUI's /goal behavior: - A Goal button in the session header opens a panel with the objective, why it stopped, checklist, notes, runs/deadline/tokens/cost (unknown stays unknown), waits, the completion check and its output, and Pause, Resume, Edit and Clear (with confirmation). - A dialog sets, edits or replaces a goal with an optional check command and a budget preset (configured defaults, focused at 1 h / 20 runs, extended to the workspace maximum, or keep when editing). Defaults and ceilings come from the workspace's `goals` configuration, read like the CLI does; replacing a goal, including an achieved one, needs explicit confirmation. - Every SetGoal / GoalControl carries the goal revision the user saw; the actor refuses a mismatch locally and the server refuses a stale one, so a changed goal is never overwritten. Replies resolve on the server receipt. - Check consent is explicit and command-exact: Deny, Allow once, or Allow for this goal. An interrupted check shows a workspace banner whose acknowledgment (AcknowledgeCheckInterruption) releases the hold without resuming anything. - `/goal`, `/goal <objective>`, `/goal edit|pause|resume|clear` in the composer, and goal entries in the `/` menu. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Shared type scale, content widths and readable faint text in both themes. - Settings becomes one window with General, Providers, Shortcuts and Diagnostics pages; Providers moves in from its own dialog. - Interface and code font choices, with any installed font by name. - Sidebar: search first, then New session, then a card per open project that expands to its sessions; search spans every project. - Per-project icons: initials, symbol, emoji or an uploaded image. - Model menu shows provider names as written, with tighter rows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ctrl K (or Ctrl F, or the sidebar's search button) opens a tabbed search that replaces the command palette and the sidebar's in-place filter. It finds sessions across all open projects, open and recently closed projects (reopened on Enter), and desktop commands, with highlighted matches and keyboard navigation. With nothing typed it lists recent sessions and a few actions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Emoji tab of the project icon dialog offers 60 emojis to click, with a field for any other emoji below, and no longer puts that field on the label's line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The icon dialog previewed whatever the open tab would produce, so an empty tab showed blue initials. Tabs now only offer choices: the preview and Save follow the last symbol, emoji, image or initials picked, and a color change recolors the current choice. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The header's panel button (Ctrl Shift D) opens the session's details: project, folder, branch, model and approval mode; context used with the session's token use and cost; and each MCP server with its tool count or why it is unavailable. Changes sit behind a row at the bottom and open the diff panel, which can return to the details. Finished tool calls, edits included, fold behind one summary line with their line counts and open to a card of one row per call; a row opens to its command and output, or an edit's diff. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Opened tool calls render their result by shape instead of as raw text: a header with the shell prompt or the tool and subject, and chips for the exit code, elapsed time, line range, match counts and truncation; read output with a line-number gutter and syntax colors; search output with file headings and the term highlighted; command output with errors, warnings and passes colored. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… place opener:allow-open-url enables the command with no URL scope, so Tauri refused every link: API key pages, browser sign-in, documentation, pull requests and transcript links. Scope it to http and https. A refused link in Model providers surfaced only in the app-wide banner, behind the modal and over the session header. Show it in the provider's row with the address, so it can still be opened by hand. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GRYErk9fViNsoLT93Ywcne
The app-wide error banner was absolutely positioned at the top of the main pane, covering the session title and its controls. Lay it out in flow so it pushes the session down until dismissed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GRYErk9fViNsoLT93Ywcne
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main removed standing approval grants, approval delegates, reviewer escalations and trust declarations. The desktop now offers approve once and deny only, drops the delegate picker, lists a pending file's sections, and ignores the TUI-only startup update. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Facilier
force-pushed
the
feat/desktop-app
branch
from
November 3, 2026 18:16
fab7fea to
c72cf2f
Compare
Facilier
changed the base branch from
feat/serve-stdin-lifetime-and-shared-login
to
main
November 3, 2026 18:17
This branch is rebased onto main at 320b23a and already carries the supervised-serve change, routed through main's daemon host (`daemon::Host::Serve { exit_on_stdin_close }`). The base branch holds the pre-daemon form of the same change, so every conflict keeps this side; the merged tree is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Drag a project card, or use Move up/Move down in its menu, to reorder the sidebar. A repository and its worktrees move together, and the order is kept on this desktop. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Only tests and the `bench-support` feature name `view::PanePref`, so the re-export is unused in an ordinary library build. CI's affected gate checks `qq-tui` without that feature whenever `qq` is in scope, and `-D warnings` then fails on it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #313 (engine prerequisites). This PR's base is that branch, so the diff shows only the desktop app; it retargets to
mainonce #313 merges. Start with ADR-0065: it proposes how this relates to the (now historical) multi-surface plan and ADR-0017/0018.What it is
A Windows desktop app for qq (
apps/desktop/): Tauri v2 shell, a native Rust client core, and a React + TypeScript + Tailwind UI. It is a client of the same user-scoped server the TUI and CLI use, so sessions, configuration, and credentials are shared across surfaces.Architecture
qq_server::discoverfinds, or startsqq serve --exit-on-stdin-closeand holds its stdin. A stale discovery record from an older build (protocol mismatch, nothing running) no longer blocks startup:qq serve's instance lock decides.qq_client::TuiClientand theqq-client::statereducer, the TUI's own code paths; coalesced view models pushed to the webview at most every 33 ms. No protocol logic in TypeScript. Bounded command queues; drafts are kept until the server acknowledges them.view.rswith ts-rs (test-only dependency); a test fails whensrc/lib/generated.tsdrifts.Working with agents
ask_user(Y/S/W/N), isolated from dialogs and editable fields.@file picker backed by the TUI'scomplete_paths(plus@diff,@web:,@sha:); drop files from Explorer to mention them;/completes the workspace's commands and skills from the capability skill entries; queue / steer / interrupt during a run; model, effort, approval mode, profile and approval-delegate pickers; a context ring with tokens and cost./btw(and/btw-new,/btw-cancel) sendSubmitSideQuestion/CancelSideQuestion; answers stream into a panel above the composer and never enter the run.gh. Its menu commits everything (optionally pushing), pushes or publishes the branch, and creates a pull request withgh, each behind a confirmation.git/ghrun without a shell, with prompts disabled, deadlines, and one mutating action at a time.git worktreeand branch in<repo>.worktrees/<branch>beside the repository, opened as its own project, so several agents work on one repository without colliding. Removal keeps the branch and refuses with uncommitted changes unless the user opts to discard them.PATH, paths contained to the project./goal. A header button shows the goal's state and opens a panel with the objective, why it stopped, checklist, notes, budget (runs, deadline, tokens, cost; unknown stays unknown), waits and the completion check with its output, plus Pause / Resume / Edit / Clear. A dialog (or/goal <objective>) sets, edits or replaces a goal with an optional check command and a budget preset bounded by the workspace'sgoalsconfiguration; replacing needs explicit confirmation. EverySetGoal/GoalControlcarries the goal revision the user saw, so a goal that changed meanwhile is refused, not overwritten. Check consent is command-exact (Deny / Allow once / Allow for this goal), and an interrupted check shows a banner whose acknowledgment releases the workspace without resuming anything.Window and settings
Custom title bar with File / Edit / View / Help menus and back/forward; themed dropdowns (native
<select>popups ignore the app theme); command palette (Ctrl K); settings for theme (system / light / dark), text size, notifications and shortcuts, plus connection and MCP host diagnostics; remembered window geometry; short entrance motion that respects reduced motion; starter suggestions for empty sessions.Sign-in, trust, packaging
qq auth loginstores them, with providers, sign-in methods and key endpoints read from the engine's built-in provider table (ADR-0064).grant_pending_trustlikeqq trust.pnpm bundlebuilds the release engine as a Tauri sidecar and a per-user NSIS installer (no elevation).Repository impact
apps/desktop/src-tauriis its own Cargo workspace with its own lockfile; the rootCargo.tomlandCargo.lockare untouched, so engine CI never builds Tauri/WebKitGTK (the intent of reserved ADR-0018).Desktopworkflow (.github/workflows/desktop.yml,windows-latest) runs the app's checks; the existing workflows are unchanged.docs/adr/0065-desktop-client-native-core-ts-ui.md(Proposed) with its index row (renumbered twice as main took 0062 and 0064 while this was open); the user guidedocs/guide/desktop.md;docs/plans/desktop-production-readiness.md(comparison with Codex, Goose, OpenCode, Gemini CLI and Crush, and the backlog) with its ledger; a desktop pointer indocs/design/architecture.md.Verification (Windows 11)
apps/desktop:pnpm typecheck,pnpm test(32 tests: goal status, reasons, budgets and/goalparsing, mentions, slash commands, file drops, diffs and changes, preferences, drafts, worktree naming, version),pnpm check:version,pnpm build.apps/desktop/src-tauri:cargo fmt --check,cargo clippy --locked --all-targets -- -D warnings,cargo test --locked(31 tests, including goal budget presets and ceilings, input limits, control mapping, refusal of a stale goal revision before anything is sent, git status/commit and worktree create/remove against throwaway repositories, editor path containment, recent-project de-duplication, and the generated-types contract).@and/pickers; side questions; Git strip status; the goal panel, check consent and replace confirmation in the browser render fixture (not yet against a live goal run); worktree create, open and remove; open in editor; release build and NSIS installer carryingqq.exe.Known gaps
docs/plans/run-snapshots.md) rather than a desktop-onlygit reset.config.ronand trust.Linear: no issue yet; happy to file one wherever maintainers prefer.
🤖 Generated with Claude Code