Skip to content

docs(plans): propose desktop, mobile and fleet orchestration plan - #418

Merged
lg2m merged 1 commit into
mainfrom
docs/desktop-mobile-fleet-plan
Oct 25, 2026
Merged

lg2m merged 1 commit into
mainfrom
docs/desktop-mobile-fleet-plan

Conversation

@lg2m

@lg2m lg2m commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

Adds the proposed plan for QQ desktop and mobile apps and fleet task orchestration: docs/plans/desktop-mobile-fleet.md. It also links the plan from docs/README.md and docs/plans/README.md. No code changes.

What the plan proposes

  • One daemon, four equal clients. QQ is reshaped so the TUI, CLI, desktop and mobile apps are all clients of one per-user qq daemon.
    • The composition code moves out of src/ into qq-host.
    • Any client can start the daemon if it isn't running, and none of them owns it, so quitting the TUI no longer cancels runs started by other clients.
    • qq run talks to the daemon instead of opening the store, so it no longer fails with StoreBusy while a server runs.
    • Trust, auth, config and @ mentions move behind protocol routes.
    • A surface-neutral qq-app model is shared by the TUI, desktop and mobile.
  • Stack. The desktop UI is GPUI. Mobile is thin SwiftUI and Compose shells over the same Rust core through UniFFI. The desktop starts its bundled qq binary as the daemon.
  • Remote. Pairing-code enrollment (ADR-0015), built-in TLS with the certificate fingerprint pinned at pairing, version-tolerant decoding, a summary-only /v1/feed, and explicit HTTP/2.
  • Execution checkouts. A git worktree becomes a session attribute under its workspace rather than a new workspace. It has pinned trusted config, per-turn checkpoints, change sets and review.
  • Per-host scale.
    • Configurable concurrency, and runs waiting on approval release their slot.
    • Tool output moves out of the event log, and a shared provider rate limiter is added.
    • Retention, so the store-wide limits stop being permanent ceilings.
  • Hub orchestration (qq-fleet).
    • Projects contain task graphs. A task attempt is an ordinary goal session in an isolated checkout on a worker.
    • A pure scheduler handles placement, fleet-wide admission per provider account, verification, the integration queue, best-of-N and an optional coordinator.
    • The target is about 300 agents across 3–8 hosts.
  • UX centered on exceptions. Inbox, Pulse, board and graph, task, review and launcher views, with performance budgets.
  • Phases P1–P8 with exit criteria. Multi-agent write orchestration stays gated on the core stabilization rows.

Verification

cargo xtask check passes (fmt and lint; the change touches docs only).

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-22T05:08:49.236818Z
We couldn’t complete this review. Comment @codex review to try again.
73a954e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m
lg2m added this pull request to stack #433 October 23, 2026 03:14
@lg2m
lg2m force-pushed the docs/desktop-mobile-fleet-plan branch 3 times, most recently from eb539f6 to e94bbb8 Compare October 24, 2026 05:08
@lg2m
lg2m force-pushed the docs/desktop-mobile-fleet-plan branch from e94bbb8 to e8762d1 Compare October 25, 2026 04:35
@lg2m
lg2m merged commit 5d89930 into main Oct 25, 2026
7 checks passed
@lg2m
lg2m deleted the docs/desktop-mobile-fleet-plan branch October 25, 2026 04:52
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