Skip to content

fix(desktop): show only the mode choice and allow going back - #76

Merged
nixuuu merged 1 commit into
devfrom
fix/desktop-mode-chooser
Nov 4, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/desktop-mode-chooser

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 4, 2026

Copy link
Copy Markdown
Member

The desktop mode screen (first run and Settings → Device → change mode) is now only the choice between local and remote gateway, plus the fields that mode needs.

  • Removed the App updates section, the status block and the outdated "Canopy does not install agent CLIs" sentence.
  • Opened from Settings: "Back to Settings" and Escape return without writing anything or restarting. First run has no Back.
  • Saving an unchanged mode and fields is a no-op in the UI, the Electron main process and the runtime: no config write, no restart, running agents keep going. A real change asks for confirmation that services restart and running agents stop.

Checks: install, gen:check, typecheck, lint, format:check, check:tmp (943 pass, 147 skip, 0 fail), web build, desktop shell build. Browser checked with the desktop bridge stub, light/dark at desktop and phone widths. Native macOS window/dialog behaviour not verified.

@nixuuu
nixuuu merged commit 416b0a3 into dev Nov 4, 2026
2 checks passed
@nixuuu
nixuuu deleted the fix/desktop-mode-chooser branch November 4, 2026 17:46
nixuuu added a commit that referenced this pull request Nov 4, 2026
Releases no longer need a human: a scheduled workflow promotes soaked
changes.

**Schedule:** every 3 h (`0 */3 * * *`), first next → main, then dev →
next, inside the `release-branch-mutations` concurrency group. Promotion
stays fast-forward only: a continuous prefix of the source branch up to
a cutoff commit C, never backwards, never forced; Release is dispatched
on the target with `expected_sha`.

**Cutoff**
1. Soak: dev → next takes the newest commit on dev for ≥ 24 h; next →
main takes the newest published beta that has been complete for ≥ 72 h
(an older beta stays a candidate while a newer one soaks).
2. Follow-up fixes: a `fix`/`perf`/revert that landed after C and
corrects something in (target, C] holds that change and everything after
it, iterating to a fixpoint. Fixes already soaked are inside the prefix
and ship with their feature.
- Explicit links win: `Fixes: #68`, `Refs: #68` / `Refs: <sha>`,
`follow-up to #68`, the PR template line, standard reverts, GitHub
closing keywords.
- Otherwise line-level attribution (SZZ): `git diff -w -U0 F^ F` gives
the pre-image lines the fix changes, `git blame -w -M -C` (honouring
`.git-blame-ignore-revs`) gives the commits that introduced them; pure
additions use unambiguous adjacent lines. Shared/generated paths are
excluded; 7-day upper bound. Owners already released don't hold
anything.
3. Readiness: a successful Release run for exactly C (prefer a published
nightly), no open `release-blocker`, docs-only / no-version ranges are a
no-op.

**Controls:** repo variable `AUTO_PROMOTION=off` pauses it; label
`promotion-hold` on a merged PR holds it and everything after;
`release-blocker` blocks both paths; manual **Promote** uses the same
selector with a default dry-run and explicit overrides (never skipping
CI, beta, blockers, linked fixes or fast-forward). Job summaries show
C0, C, version, included and held commits with reasons; a history issue
records each promotion; a starvation issue opens when a change has been
held for more than 7 days.

**Manual smoke gates:** `live_smoke`/`update_smoke` stay as dispatch
inputs but no longer gate promotion. They are replaced by green Release
CI (incl. updater tests and the 4-platform binary smoke) plus soak;
stable also requires that verification on the beta. Not covered anymore
by a human: live provider smoke and a full self-update/rollback on a
real installation.

**Convention:** AGENTS.md, docs/contributing.md, docs/release.md and a
new PR template ask for an explicit link in follow-up fixes; commitlint
accepts the footers.

Dry-run on the real history (read-only): nothing to promote yet. #57 is
attributed to #18 by changed lines; with today's state the first beta
would be `0.2.0-beta.1` at #76 in the 2026-11-05 18:00 UTC cycle.

Checks: install, typecheck, lint, format:check, actionlint/shellcheck,
check:tmp (973 pass, 153 skip, 0 fail); promotion tests run against
local git fixtures and a mocked GitHub API.
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