Skip to content

Release Cutover Checklist — My Claude Code (MCC) v5

Prep only. Do NOT execute during the rebrand integration. This document records the plan for the repo/release cutover so the actual release can be performed deliberately. Nothing here changes live infrastructure.

1. What rebranded vs. what stayed

Surface State
Package free_claude_code → my_claude_code (rename done in v5.0.0)
Product name Free Claude Code → My Claude Code (MCC)
PyPI / wheel name my-claude-code
Server command mcc-server (primary); the pre-7.0.0 legacy command family was removed in 8.0.0
Launchers mcc-claude/mcc-codex/mcc-pi/mcc-claude-old (primary)
GitHub repo slug CHANGED on 2026-09-05 — my-claude-code. The repository is FiredMosquito831/my-claude-code, standalone: not a fork, and no longer named after the upstream
Release repo UNCHANGED — FiredMosquito831/my-claude-code (RELEASE_REPO)
FCC_ env vars* RETIRED in 7.0.0 — FCC_ENV_FILE, FCC_OPEN_BROWSER, FCC_SMOKE_*, FCC_CODEX_API_KEY, FCC_PI_* all became MCC_*; a managed .env is rewritten once on the first 7.x start, with a .env.bak-<stamp>
Proxy port UNCHANGED — :8082
Proxy token CHANGED in 6.65.0 - no shipped value; generated per machine on the first start (freecc was a password printed in a public repository). Existing .env files are never rewritten.
Model ids / provider ids UNCHANGED — claude-3-freecc-*, Codex id fcc, Pi scope free-claude-code/**
Config dir .mcc — .fcc is migrated once, atomically, on a first start (6.65.0)
Display name constant UNCHANGED — LEGACY_DISPLAY_NAME = "Free Claude Code"

2. Dual-repo mirroring plan

The product rebrand did not rename the GitHub repository, but a later move did: since 2026-09-05 development happens in FiredMosquito831/my-claude-code, a standalone repository rather than a fork. Two remotes stay in play, and the roles below are the ones actually in use — this section previously described them the other way round:

  • FiredMosquito831/my-claude-code — development and release repo. All branches, pull requests, merges and GitHub releases happen here, and RELEASE_REPO points at it, so this is what the installer and the "update available" banner read.
  • Alishahryar1/free-claude-code — upstream, for provenance. Never pushed to and never PR'd against. Note that gh defaults to it, so every gh command needs an explicit --repo.

Cutover steps (run at release time, NOT now):

  1. Ensure both remotes are configured locally: git remote -v should list the development remote (FiredMosquito831) and upstream (Alishahryar1).
  2. Land the v5 rebrand on the integration branch, pass CI (ruff-format, ruff-check, ty, pytest), then merge to main.
  3. Push main to both remotes so they stay mirrored: git push origin main && git push <release-remote> main.
  4. Tag the release (git tag v5.0.0) and push tags to both remotes.
  5. Build and publish the wheel to the release repo (see §3). The install scripts already fetch from FiredMosquito831/my-claude-code/main, so the published wheel there is what end users receive — repo URL needs no change.

Do not rename the repo or migrate issues/PRs. :8082 is a published contract; renaming the repo would force a breaking change for every existing install. (The FCC_* env vars were published contracts too, and 7.0.0 retired them deliberately, as a MAJOR, with a one-time .env rewrite. The legacy command family went the same way, and 8.0.0 removed the names. The freecc proxy token was retired in 6.65.0 - a shared password in a public repository is not a contract worth keeping.)

3. Building both wheels (release helper note)

pyproject.toml ships one wheel that contains both packages:

[tool.hatch.build.targets.wheel]
packages = ["src/my_claude_code"]
  • src/my_claude_code — the canonical implementation.
  • src/free_claude_code was the compatibility shim that re-exported my_claude_code. Removed in 7.0.0: nothing in the product imported it.

Build sequence (release time):

uv lock                                  # reflect the version bump
uv build --wheel                         # produces dist/my_claude_code-*.whl

*.sh files are LF-enforced by .gitattributes (*.sh text eol=lf), so a wheel built from a core.autocrlf=true checkout still bundles an installers/install.sh that Linux/macOS sh can run; do not remove that rule.

Verify both packages landed in the wheel:

python -m zipfile -l dist/my_claude_code-*.whl | grep -E "my_claude_code/|free_claude_code/"

Both should appear. Then upload to the release repo's release (the existing publish flow), and the checksum-verified in-place update path serves it.

If you touched the Windows update helper

application/release_updates.py renders the detached PowerShell helper and scripts/install.ps1 is its twin: they solve the same locked-shim problem and the contract tests in tests/scripts/test_installers.py pin the shape they must share (rename-aside, staged fallback, receipt rewrite, kept shims). Change one and change the other, and remember what is not checked by reading the script:

  • tests/application/test_release_updates_helper_runtime.py actually runs the rendered helper on Windows against a file locked with a share mode of zero -- the same lock a live mcc-claude window holds. It is the only test that would have caught the guard that skipped the fast install path on any refusal, and it takes about three minutes because it sits out the helper's real backoff.
  • The receipt the helper writes is a liveness signal, not only narration. Every line carries helper_pid, started_at and helper_done, and three separate readers (config.update_progress, mcc-desktop --print-status's update key, and the shell's update_progress::active_helper) use them to refuse to start a second installer. Removing a field breaks all three.

Old servers at an update live in the server's start, not in the helper (7.72.0)

The update flow is unchanged: stage, verify, --stop-holder stops only the configured port's holder by exact pid, swap, start mcc-server, health-gate, roll back. What stops the other old servers of that port and configuration folder (no listening socket, their own server_sessions row names the port) is the new server's own start (cli/commands.py _survey_other_servers -> cli/rescue.py plan_old_server_cleanup/run_old_server_cleanup). Keep it there: an updater cannot fix the updater that is running it -- the first update to a version always runs the previous version's installer and --stop-holder -- but the server it starts is always the new one. So do not move this into --stop-holder or the helper, and do not expect the first update to a release that changes it to show the change before the new server starts.

Adding a key to --print-status

update was added in 6.58.3 and the two-release rule applies to it as it did to server_start_retries: the wheel emits the key one release, the shell may require it the next. An old shell tolerates a key it has never heard of (it reads its fields by name), so a new wheel is always safe under an old shell; a new shell under an old wheel is not. Move the shell pin after the release that starts emitting, never before.

The lifecycle keys added in 6.61.0

Seven at once -- health_probe_timeout_seconds, tick_seconds, start_backoff_seconds, foreign_grace_seconds, status_wall_seconds, holder and server_pid -- and every one of them is Option in status.rs with a compiled-in default that equals what 6.61.0 ships. That is the two-release rule applied to a whole set: the 6.61.0 window has to keep working under the 6.60.2 wheel that is on the user's machine right now, so it tolerates all seven and falls back to server_presence for the holder. The pin moves in 6.61.1, and only then may the shell require them.

The three that are budgets came out of the binary on purpose (audit s5.4): STATUS_WALL decided whether a slow machine got a window at all, and the health probe timeout existed twice -- once in launchers/common.py and once in health.rs -- as two constants that were meant to be one number.

The rescue keys added in 7.70.0

server_stop_wait_seconds (top level: SERVER_GRACEFUL_SHUTDOWN_SECONDS + the server's fixed teardown margin + its watchdog's beat, 24 at the default) and identified inside holder (false only for a holder whose lookup failed; such a holder keeps kind: foreign, so an old reader behaves exactly as before). The same two-release rule: 7.70.0 emits both; the pinned v7.26.0 shell tolerates them (its Status and Holder derive Deserialize without deny_unknown_fields, and its tolerates_unknown_keys test pins that); a shell may require them only after the pin moves past a release that emits them. The same release stamps x-mcc-pid on every /health answer -- a header, so no reader can be refused for it.

Notifications while the desktop app runs are the app's. From 7.70.0 mcc-desktop never shows a notification while its desktop app (the shell child) is running: it writes the sentence to server.log and leaves showing it to the app, under the app's own name (user answer 1, 2026-10-01). The 7.71.0 shell does that (desktop-shell/src-tauri/src/notify.rs): it decides "dead" from its own facts (the probe, x-mcc-pid, holder.pid/identified, the OS liveness of that pid) rather than relaying the host's sentence, so the two never both speak -- and when mcc-desktop's own Python tray is the one drawing the icon (MCC_DESKTOP_SHELL_TRAY=0 in the shell's environment), the shell shows the sentence in its window only. No status key carries the host's sentence, by design.

The 7.71.0 shell reads, and the one thing it adds

The 7.71.0 shell reads server_stop_wait_seconds and holder.identified (7.70.0's keys) and reconnect_restatus_seconds (6.50.0's, required since then) -- all three tolerated, never required: status.rs keeps them Option with the shipped defaults, so the 7.71.0 window keeps working under a 7.69 wheel. It adds no status key; the new contract surface is one mcc-desktop verb, --rescue --reason R [--known-pid N] [--child-pid N] (prints one JSON document; an older mcc-desktop exits 2 with its usage, which the shell reads as "fall back to a plain start"), and one mcc-server flag, --no-port-takeover (an older server ignores it). The pin moves to the 7.71.1 shell (the 7.71.0 one with its Windows notification fixed, below) in 7.71.2, under the usual rule: the wheel that emits every key it reads is already published.

The Windows installer registers one notification identity. From 7.71.0 MyClaudeCode.iss writes HKA\Software\Classes\AppUserModelId\com.myclaudecode.desktop (DisplayName "My Claude Code", IconUri {app}\app-icon.png, uninsdeletekey) -- the only way an unpackaged program's Windows toast carries its own name -- and smoke/windows-installer.ps1 asserts it after install and its absence after uninstall, and prints what the notification platform says about it. A copy of the shell fetched by mcc-desktop (path A) has no such key; notify.rs reads the key first (HKEY_CLASSES_ROOT\AppUserModelId\com.myclaudecode.desktop, DisplayName) and shows the sentence in its window instead of a toast with another program's name.

The key is the registration; Windows' Setting is not (7.71.1). Windows keeps a per-app notification setting only once an id has notified, so on a fresh install ToastNotifier.Setting answers "Element not found" -- the 7.71.0 installer smoke printed exactly that with the key in place. The 7.71.0 shell required Enabled, so it never showed its first toast and therefore never any. From 7.71.1 the shell shows a toast when the key exists and Windows has not turned the id off, and the installer smoke shows one notification under the id and prints what the platform answers afterwards.

Adding a key the shell writes back

shell_installed_tag was added in 6.60.0 and is the first key that exists so the wheel and the window can disagree out loud. The two-release rule is the same: 6.60.0 emits it and the shell merely tolerates it; a shell may require it from 6.61.0; the pin moves after that. The reason to add it at all is that shell_release_tag (what the wheel pins) and the receipt's tag (what is on disk) are different facts with different remedies, and the window compares a third -- the tag compiled into itself.

Adding a value to server_presence

Same rule, one step stricter. A key an old shell has never heard of is ignored; a value it has never heard of is refused loudly -- the shell prints "a server state this window does not know" rather than guessing at the nearest neighbour, which is the right instinct and the reason unknown keys are safe to add anywhere else. So a new presence is opt-in behind --presence-v2, an old shell does not ask for it, and the shell pin moves in the release after the one that starts emitting it. draining did this in 6.50.0; starting and mcc-stale did it in 6.59.0.

4. Dashboard screenshots (manual step)

The admin dashboard screenshots go stale whenever a view is rebuilt, not only at a rebrand. This is a manual step — capture from a locally running mcc-server in a browser. Do not point any automated screenshot tool at the live WSL :8082 instance.

Capture against an isolated scratch instance, never your own ~/.mcc. The 6.39.1 docs pass used this recipe and it is the one to repeat:

  1. Build a scratch HOME: copy ~/.mcc/.env key-by-key, replacing every secret with a fake of the same shape (nothing beginning sk-), and copy custom_providers.json with its keys faked the same way.
  2. VACUUM INTO a copy of ~/.mcc/logs/requests.db — safe against the live writer, read-only on the source — so Analytics, Models and Coding agents render real-looking data.
  3. Copy the models-dev.json cache read-only so the resolution ladder resolves offline.
  4. Run this worktree's server with HOME/USERPROFILE pointed at the scratch directory and PORT=8199 HOST=127.0.0.1 explicit. Check netstat first so you cannot collide with :8082.

Every dashboard screenshot was re-captured during the 6.39.1 pass, with one documented exception below. The sidebar version badge reads v6.39.0 or v6.39.1 depending on when in the pass a shot was taken; that is cosmetic and not worth a re-shoot. These were re-captured:

  • admin-page.png, admin-version.png — the shell and the running version.
  • admin-get-started.png — the onboarding checklist, including the Coding agents step added in 6.39.1.
  • admin-providers.png, admin-custom-provider.png — the provider grid, and a custom provider's card with its base URL, key pool and Refresh models. 8.11.0: a custom card is a face now, so this shot is the card and its open panel, not a card with an inline key pool.
  • admin-models.png, admin-models-bulk.png, admin-model-config.png — the Models page with per-model sources and tier chips, the bulk visibility controls, and the tier mapping.
  • admin-coding-agents.png, admin-coding-agent-card.png — every registered harness with its commands, generated file and tiers; Antigravity shown as not servable.
  • admin-analytics.png, admin-requests.png, admin-analytics-harness.png, admin-request-detail.png, admin-request-contradiction.png — Analytics, including the harness attribution column, filter and breakdown.
  • admin-limits.png, admin-limits-calculator.png, admin-credential-health.png — Limits & Resilience, the deadline calculator, and per-key health.
  • admin-websearch.png, admin-websearch-analytics.png, admin-messaging.png, admin-key-performance.png — the remaining pages.

Added in the 6.55.1 documentation pass, for the surfaces the 6.49.0–6.55.0 releases introduced. Each is a real capture against a scratch config, not the live install:

  • admin-desktop-apps.png — the Desktop apps group at the bottom of Coding agents: one card per application, the file each would edit, the keys MCC owns and replaces, and the What will this write? / Configure pair.
  • admin-catalogue-refresh.png — the Models page header: the hourly catalogue refresh readout ("last refreshed … next in …") and the Learned filter chip.
  • admin-models-learned.png — one model's What this host taught MCC block: each learned fact with its age, its evidence, whether it disagrees with the catalogue, and its Forget link.
  • admin-models-billed-est.png — provider rows carrying the billed/est ratio chip, the only thing that audits the per-family input-token estimator.
  • admin-analytics-cost.png — the Cost panel: reported and estimated side by side, the "N of M priced" denominator, and the four breakdowns.
  • admin-vision-adapter-mode.png — Model Config's vision adapter with the Vision Adapter Mode selector and the Tool-Returned Images control.

A capture whose page needs data an empty scratch instance cannot produce — a learned fact, a priced request, a billed/est ratio — is taken against a scratch config seeded with a fake provider, never against the live install. Check the footer path in the shot: it must be a scratch .env.

Re-captured in the 7.13.0 pass (2026-09-14). Four shots, against a scratch HOME on a second disk with a copy of the request log, PORT=8299, Paper theme, no credentials of any kind:

  • admin-analytics.png — the Analytics stat cards, now including the reasoning_tokens column (7.9.0) and the p50/p95 TTFT cards (7.10.0), over 335,819 stored requests.
  • admin-limits.png, admin-messaging.png, admin-websearch.png — three pages whose content is settings and provider names, so a scratch instance renders them exactly as a configured one does.

The other twenty-five admin-*.png were NOT re-captured, and the reason is the recipe's own first step. Every one of them illustrates a configured MCC: the provider grid says "13 configured", the Models page lists hundreds of models, admin-credential-health.png needs per-key health, and admin-models-learned.png needs a learned fact. Step 1 above builds that from the operator's own .env, key by key. An automated pass that has no credentials — and must not read the operator's — produces a provider grid reading "0 configured" and a Models page with one row, which is a worse illustration than the stale one it would replace. Re-capture those by hand, following step 1, the next time you do a docs pass with your own keys in front of you.

Two more, for the record: admin-requests.png can be captured from a seeded log, but the request table's Key column renders a truncated real key fingerprint (sk-1...rnp1), so it is a hand capture against a scratch config with faked keys, never an automated one against a copied log. And the request log this pass used ends on 2026-09-12, so any shot of it dates itself.

The one exception: assets/admin-update-banner.png. The update banner only renders when a newer release actually exists, which an offline scratch instance running the version under development cannot produce. It is not reachable from the capture recipe above, so it still shows an older dashboard. Refresh it opportunistically the next time you see a real update banner on your own install; do not fabricate one.

Three shots are of other products' UIs and are not captured from MCC at all: cc-model-picker.png, claude-desktop-developer-menu.png, claude-desktop-gateway-config.png and codex-model-picker.png. They go stale when that vendor changes its UI, not when MCC does.

Two rules that have each broken a release:

  • A screenshot lives in two places. The in-dashboard Guide serves its own copies from src/my_claude_code/api/admin_static/img/; README.md and docs/USAGE.md read assets/. Refreshing a screenshot means writing the same filename into both directories, and a screenshot the Guide embeds for the first time has to be added to both. tests/contracts/ test_admin_asset_wiring.py checks that every image the Guide references exists; it does not check that the two copies match.
  • No secret may be legible, not even a truncated one. Before committing, look at every re-captured PNG and confirm no string beginning sk- appears anywhere — a masked key label such as sk-n…oKuN still leaks the prefix and the tail, and one shipped this way until 6.39.1. Never capture an expanded request or response body; MCC's own "REQUEST BODY SENT (NO PROMPT TEXT)" block, which shows structural fields and character counts only, is what belongs in a screenshot.

5. Pre-release verification

  • [ ] uv run pytest tests/test_brand_contract.py passes (rebrand + kept contracts)
  • [ ] uv run ruff format --check && uv run ruff check && uv run ty check
  • [ ] uv run pytest green
  • [ ] The dashboard's JavaScript actually ran: npm ci --prefix tests && uv run pytest tests/api/test_admin_static_jsdom.py -n 0 reports 0 skipped. Without jsdom installed this file skips every test and says nothing about admin.js — which is how 7.16.1 shipped a page that lied to the server. CI's jsdom job runs the same thing with MCC_CI=1, where a skip is a failure.
  • [ ] Both remotes mirrored, tags pushed
  • [ ] Wheel contains my_claude_code/ and NOT free_claude_code/ (removed in 7.0.0)
  • [ ] Dashboard screenshots refreshed from a scratch mcc-server (§4), written to both image directories, and scanned for sk-
  • [ ] README quickstart uses mcc-server
  • [ ] After publishing: the Desktop shell release workflow (shell-release.yml) ran automatically on release: published. Check all four legs are green and that the six assets appear on the release within about 15 minutes (§7)
  • [ ] Windows installer smoked by hand from the published file: digest checked, /VERYSILENT install, launched from the Start Menu, uninstalled from Apps & Features, and mcc-server still working afterwards (§7)

6. Wheel end-to-end guard (wheel-e2e.yml)

tests/api/test_docs_bundle_wheel.py only builds a real wheel behind MCC_WHEEL_TESTS=1, and ordinary CI must never set that flag (a nested uv build inside uv run pytest hung CI until the fixture was gated). .github/workflows/wheel-e2e.yml is therefore the flag's only setter:

  • What it runs: MCC_WHEEL_TESTS=1 pytest tests/api/test_docs_bundle_wheel.py on windows-latest -- a real uv build --wheel, then the bundle assertions inside it (every curated document present, non-empty, uniquely named, and no developer-only documents shipped).
  • When: Wednesdays 02:41 UTC and manual Run workflow dispatches. Never on push/pull_request, so it cannot gate merges.
  • What a red run means: the shipped wheel is missing, renaming, or truncating a curated document -- every installed user gets an empty Docs page while source checkouts render fine. Fix the [tool.hatch.build.targets.wheel.force-include] table (see section 3), then re-dispatch the workflow before releasing.

7. The desktop shell's release assets (shell-release.yml)

The desktop shell is a Rust binary, so it is not in the wheel. It rides the same GitHub release (decision Q6): publishing a release fires .github/workflows/shell-release.yml on release: published, which builds the shell on four runners, merges the two macOS binaries into one universal .dmg on a fifth, and attaches eight more assets to the release you just made. Nothing is required of the releaser except to look, and -- once, on Windows -- to install the installer.

The step, at release time: publish the release with the wheel as usual, then open Actions -> Desktop shell release. There is one run per release. Confirm all four build legs and the macos-universal (dmg) job are green, and that the assets are on the release page within about 20 minutes (a cold cargo cache is the long pole; a warm one is nearer five, plus two or three for the dmg job, which runs after the two macOS legs and compiles nothing). Then check the release page carries exactly these eight:

Asset Runner Rust target
MyClaudeCode-windows-x86_64.zip windows-latest x86_64-pc-windows-msvc
MyClaudeCode-Setup-windows-x86_64.exe windows-latest (the same binary, in an Inno Setup 6 installer)
MyClaudeCode-linux-x86_64.tar.gz ubuntu-22.04 x86_64-unknown-linux-gnu (the archive also carries install-desktop.sh, the .desktop entry and four icons)
MyClaudeCode-linux-x86_64.deb ubuntu-22.04 (the same binary, in a dpkg-deb package)
MyClaudeCode-macos-aarch64.tar.gz macos-latest aarch64-apple-darwin
MyClaudeCode-macos-x86_64.tar.gz macos-15-intel x86_64-apple-darwin
MyClaudeCode-macos-universal.dmg macos-latest (the macos-dmg job) both macOS targets, merged with lipo into one universal .app
SHA256SUMS-desktop-shell.txt the aggregating job --

The names carry no version (decision Q5). The checksum file is plain sha256 filename lines, so sha256sum -c SHA256SUMS-desktop-shell.txt next to the downloaded archives is the whole verification, and the Python-side pin (spec S4) parses the same file.

If a leg is red, the release is still fine. The wheel is already published and the update path is untouched -- _select_wheel_asset returns the first asset whose name ends .whl and cannot see an archive or a checksum file, which tests/application/test_release_updates_ignores_shell_assets.py pins. Fix the platform, then re-run just the shell:

gh workflow run shell-release.yml --repo FiredMosquito831/my-claude-code -f tag=v6.43.0

The dispatch takes the tag of an existing release and uploads with --clobber, so re-running is safe and idempotent. Do not cut a new version to fix a shell build.

A second, optional input separates what is built from where it goes. ref defaults to tag, which is what a real release wants: the tag carries the source that release is made of. To backfill a release published before the shell existed -- or before a fix to the workflow itself landed -- name a newer commit explicitly:

gh workflow run shell-release.yml --repo FiredMosquito831/my-claude-code \
    -f tag=v6.43.0 -f ref=main

The Linux installers are smoked in CI, end to end. The ubuntu-22.04 leg builds the .deb, runs lintian over it, installs it with dpkg -i under DEBIAN_FRONTEND=noninteractive, asserts every path dpkg-deb --contents declares (with its declared mode), validates the .desktop entry with desktop-file-validate, runs the installed /usr/bin/MyClaudeCode under Xvfb through smoke/linux.sh, removes the package with dpkg -r, and diffs /usr/bin, /usr/share/applications, /usr/share/icons and /usr/share/doc back to what they were. The tarball's install-desktop.sh gets the same treatment against a scratch HOME. If either leg is red, the .deb is not on the release -- and the wheel is still fine.

The macOS .dmg is smoked in CI too, and one of its assertions is a failure. The macos-dmg job downloads the two macOS legs' binaries, merges them with lipo, builds My Claude Code.app (ad-hoc signed) and the UDZO image, then mounts the image read-only and asserts: the bundle layout and every Info.plist key (plutil -lint plus defaults read), a universal executable with both slices, codesign --verify --deep --strict passing, no signing authority at all, spctl --assess --type execute rejecting the app -- which is expected and is asserted, because a green spctl would mean the Gatekeeper paragraph in README.md and the release notes had become wrong -- no com.apple.quarantine on a CI-built file, the documented xattr -dr com.apple.quarantine running cleanly on a copy, and the program itself starting out of the image through smoke/macos.sh. It then detaches and diffs /Applications and ~/Applications back: this smoke installs nothing, so both must be untouched.

Every release page must carry the Gatekeeper paragraph. The macOS .dmg is unsigned and un-notarised, and the release notes say so in the same words the README does: a browser-downloaded copy is quarantined, current macOS offers no Control-click bypass, the one-time fix is xattr -d com.apple.quarantine "/Applications/My Claude Code.app", and the zero-friction macOS route remains the install script plus mcc-desktop, which fetches the binary from Python and is never quarantined.

What the Windows leg proves about the two system components (7.35.2). The shell needs the Visual C++ runtime and the Edge WebView2 runtime, and they fail in completely different ways -- a missing VC runtime is a dead process (0xC0000135, killed by the loader before main), a missing WebView2 is a window that will not open. So:

  • smoke/windows.ps1 parses the built binary's PE import table and fails if any redistributable DLL (vcruntime*, msvcp*, msvcr*, ucrtbase*) is in it. It cannot be in it, because src-tauri/.cargo/config.toml links the CRT statically -- but that is one deletable line, and the runner has every redistributable installed, so nothing else would notice;
  • a Fetch the WebView2 bootstrapper step downloads Microsoft's Evergreen bootstrapper, checks its Authenticode signer is Microsoft (its bytes roll, so there is no digest to pin), prints its size and digest into the log, and the compile step passes it to iscc as /DWebView2Setup -- and errors out if it is missing rather than silently producing the old download-at-install-time installer. The setup grows by about 1.7 MB;
  • smoke/windows-installer.ps1 installs with /VERIFYWEBVIEW2, which makes the installer unpack its bundled copy and log the size, and asserts that line. If a future edit drops the define, this is what goes red.

Smoke the Windows installer once per release. The workflow already runs desktop-shell/smoke/windows-installer.ps1 on the runner -- silent install, Start Menu shortcut, HKCU Apps & Features entry, silent uninstall, and a before/after snapshot of HKCU\...\Uninstall, HKCU\...\Run and the Start Menu that must come back identical. Do it once by hand anyway, on the file that is actually on the release page, because a runner is not a desktop:

  1. download MyClaudeCode-Setup-windows-x86_64.exe and check its digest against SHA256SUMS-desktop-shell.txt;
  2. run it silently, into a scratch directory, and confirm it needs no administrator rights:
.\MyClaudeCode-Setup-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR=C:\tmp\mcc-app
  1. launch My Claude Code from the Start Menu and confirm the dashboard loads;
  2. uninstall from Apps & Features -- the entry is "My Claude Code (desktop app)" -- and confirm mcc-server, ~/.mcc and the start-at-login value are all still there afterwards.

Set MCC_DESKTOP_SKIP_AUTOSTART=1 in any shell you use to launch a real mcc-desktop against a scratch configuration directory during this. The start-at-login registration is machine-global while the preference driving it is per-config-directory, so without the switch a test launch silently deletes the registration belonging to your real install.

What the release must not be asked to prove: the workflow runs each platform's real-binary smoke (desktop-shell/smoke/) -- the binary launches, reads a fake mcc-desktop --print-status, shows the port-conflict page and starts nothing -- but a smoke on a headless runner is not a human looking at a window. First-launch SmartScreen and Gatekeeper behaviour cannot be observed in CI at all: reputation is per file hash and accrues from real downloads.

8. Moving the shell pin (config/desktop_shell.py)

Since 6.44.0 mcc-desktop fetches the shell on launch from one pinned release tag, verifying the archive against digests pinned in the wheel and against the release's own SHA256SUMS-desktop-shell.txt. Both have to agree or the fetch refuses, which is the point -- and it is also why the pin cannot move on its own.

Moving the pin is a separate, later commit, never part of cutting a release. The digests for release N do not exist until shell-release.yml has finished building release N, which happens minutes after the release is published. A release that tried to pin itself would be pinning digests nobody has computed.

The sequence, when the shell has actually changed and users should get the new one:

  1. Cut release N as usual. The pin still names N-1, and that is correct: the shell it names is real, published and verified.
  2. Wait for shell-release.yml on N to be green and the eight assets attached (section 7).
  3. Read the published digests:
curl -fsSL https://github.com/FiredMosquito831/my-claude-code/releases/download/vN/SHA256SUMS-desktop-shell.txt
  1. Vendor that file, so the comparison is ordinary CI rather than an opt-in one:
mkdir -p tests/fixtures/desktop_shell/vN
gh release download vN --repo FiredMosquito831/my-claude-code \
    -p SHA256SUMS-desktop-shell.txt \
    --dir tests/fixtures/desktop_shell/vN

.gitattributes checks that directory out with its bytes untouched. test_desktop_shell_pin.py fails on a missing directory, so this step cannot be skipped by accident.

If the Linux tarball's contents changed in this release, refresh the member listing beside it too — path A's rule is "exactly one member named MyClaudeCode, and no links", and the listing is what proves the released archive still satisfies it:

gh release download vN --repo FiredMosquito831/my-claude-code \
    -p MyClaudeCode-linux-x86_64.tar.gz --dir /tmp
tar -tzvf /tmp/MyClaudeCode-linux-x86_64.tar.gz \
    > tests/fixtures/desktop_shell/vN/MyClaudeCode-linux-x86_64.tar.gz.tzvf.txt
  1. In src/my_claude_code/config/desktop_shell.py, move DESKTOP_SHELL_RELEASE_TAG to vN and replace all four archive digests (delivery path A fetches archives, never the installers or the .dmg) in _RELEASES with the lines from that file, in one commit. Never move the tag without the digests: the two are one fact. Never hand-type a digest — copy it out of the file you just downloaded.
  2. Ship that as the next PATCH. tests/config/test_desktop_shell_pin.py now compares the table against the vendored file offline, on every run; the network-gated check proves the same thing against the live release, which is worth doing once by hand:
MCC_NETWORK_TESTS=1 uv run pytest -q tests/config/test_desktop_shell_pin.py
  1. Prove path A end to end on one machine, against a scratch everything:
MCC_CONFIG_DIR=/tmp/mcc-pin-cfg \
MCC_DESKTOP_SHELL_DIR=/tmp/mcc-pin-shell \
MCC_DESKTOP_SKIP_AUTOSTART=1 \
PORT=8199 HOST=127.0.0.1 mcc-desktop

The receipt at /tmp/mcc-pin-shell/MyClaudeCode.receipt.json must name vN and the digest you just pinned. MCC_DESKTOP_SKIP_AUTOSTART=1 is not optional: the start-at-login registration is machine-global while the preference driving it is per-config-directory, so without it a scratch launch deletes the registration belonging to your real install. Stop the window and the scratch server by their exact process ids when you are done.

6.50.0 is a worked example of this. The release changed both halves: the wheel gained a draining presence, a close_to_tray key and a reconnect_restatus_seconds budget, and the shell gained the branches that read them. The shell code shipped in 6.50.0 and the pin still named v6.45.2 on that tag, exactly as step 1 says. The pin moved to v6.50.0, with all four digests taken from the release's own SHA256SUMS-desktop-shell.txt, in the follow-up 6.50.1 patch. Nothing about the 6.50.0 release is wrong because of that: users on the old pinned shell keep the three-presence behaviour they have always had, because the wheel only reports draining to a shell that asks for it with --presence-v2.

A shell that reads a new status key needs the pin moved. The rule that a status document may gain keys without a schema bump protects old readers; it says nothing about new ones. A shell built after this release refuses a document that lacks reconnect_restatus_seconds or close_to_tray (contract C9: no compiled-in defaults), so pinning a newer shell than the wheel a user is running would break their window. The pin therefore only ever moves forward to a tag whose wheel is already published.

When the shell has not changed, leave the pin alone. Every user who already has that binary reads a receipt and downloads nothing; moving the pin for its own sake makes all of them re-download an identical window.

Since 6.60.0: moving the pin actually moves the machines

Before 6.60.0 this section's last step was a lie of omission. Moving the pin moved what the wheel wanted; it moved what a user ran only if that user happened to start their window from the Python tray, because ensure_desktop_shell() had exactly one caller (ShellWindow.create()). Anyone launching MyClaudeCode.exe from the Start Menu, the taskbar or the Programs-folder install kept the build they first received. One person kept v6.43.0 for fifteen pin moves.

Two things follow for this procedure.

The tag has to be stamped into the binary. shell-release.yml passes MCC_SHELL_RELEASE_TAG to cargo build; the binary reads it with option_env! into mcc_shell::RELEASE_TAG, prints it for --version, and compares it with the shell_release_tag in the status document. A build without it says "(development build)" and never claims to be stale. Never build a release asset outside that workflow, and if a leg is re-run by hand, re-run the whole workflow with the tag rather than a bare cargo build -- an asset with no stamp is one that can never notice a later pin. Step 7 below now checks it.

Step 7 gains one line. After proving path A, ask the binary what it is:

/tmp/mcc-pin-shell/MyClaudeCode --version

It must print My Claude Code desktop app vN -- the same vN the receipt beside it names. If it says "(development build)", the release assets were built without the stamp and the pin move should be held until they are rebuilt.

And a user upgrading through 6.60.0 needs one manual step, once, because the mechanism that fetches the app is itself what is being fixed. The release notes have to say so:

mcc-desktop --ensure-shell

(or one launch from the tray, which does the same thing). Every pin move after that reaches the machine on its own: the window notices on launch, stages the new build beside itself, and swaps it in on the next start.

9. The npm package (packaging/npm/, npm-release.yml)

Nothing to do. npm-release.yml fires on release: published, checks the tag against pyproject.toml, skips a version already on the registry, and runs npm publish --access public --provenance from packaging/npm/. The version in packaging/npm/package.json is pinned to the Python version by tests/contracts/test_npm_package_contract.py, so the bump that goes into a release carries the launcher with it.

How it authenticates. Trusted publishing (OIDC), npm's documented CI route: the package on npmjs.com names this repository and this workflow file, the job asks GitHub for a short-lived identity token (id-token: write), and npm accepts the publish from that identity. No secret is stored anywhere, nothing expires, and npm attaches a provenance attestation automatically. The one-time setup is on npmjs.com, package Settings -> Trusted Publisher: GitHub Actions, user FiredMosquito831, repository my-claude-code, workflow filename npm-release.yml, environment empty.

If the job logged a warning and published nothing, npm refused the OIDC publish, which almost always means that trusted-publisher entry does not exist yet. That is a deliberate skip, not a failure -- a convenience launcher must never turn a good server release red. Add the entry; the next release publishes automatically, and the skipped one can be published by re-running the workflow from its tag (workflow_dispatch, tag: vN).

Token fallback. A repository secret NPM_TOKEN (a granular npm access token with Read and write on packages for the @firedmosquito831 scope and Bypass two-factor authentication ticked) is honoured when present and replaces OIDC for that run. With a token set, a failed publish is a real failure. Prefer OIDC: tokens expire and leak, an identity does neither.

@firedmosquito831/my-claude-code@6.52.0 was published by hand before this workflow existed and is deliberately not backfilled.

9b. The PyPI package (pypi-release.yml)

Nothing to do. pypi-release.yml fires on release: published, checks the tag against pyproject.toml, builds the wheel, smoke-tests it by importing the package from a throwaway environment, skips a version already on the index, and runs uv publish.

Why it exists. Every documented way to install MCC runs a script, so the package was invisible to anything that looks at PyPI — pip index, dependency scanners, and readers who check whether a project publishes to the index their organisation allows. The wheel published there is the same artifact, built from the same tag. The script installers stay the recommended route, because they are the ones that provision uv and Python 3.14 for you.

Wheel only, deliberately. uv build also produces a source distribution, and at 7.13.1 that tarball is 19 MB: history/, tests/, assets/ and the Rust shell's source. Shipping an sdist is a promise that its contents were chosen, and they have not been. The wheel is py3-none-any, so no platform needs the sdist. Curating one ([tool.hatch.build.targets.sdist]) is its own change — it edits a production file and therefore takes a version.

How it authenticates. Trusted publishing (OIDC), PyPI's documented CI route, exactly like npm's: the project on pypi.org names this repository and this workflow file, the job asks GitHub for a short-lived identity token (id-token: write), and PyPI accepts the upload from that identity. The one-time setup is on pypi.org under Publishing — for a project that does not exist yet, Account settings -> Publishing -> pending publisher: owner FiredMosquito831, repository my-claude-code, workflow filename pypi-release.yml, environment empty.

There is no token fallback, on purpose. A PyPI API token would be a long-lived credential in this repository's secrets with permission to publish under the project's name, which is the thing trusted publishing exists to remove. If OIDC is refused the job warns and ends green; add the publisher and re-run it from the tag (workflow_dispatch, tag: vN).

If the log says Missing credentials for https://upload.pypi.org/legacy/, read it as "the OIDC exchange produced no token", not as "a password was missing". uv's default automatic mode attempts the exchange and, when it yields nothing, ignores the reason and proceeds to upload with no credentials — so the message names the symptom and hides the cause. The workflow therefore passes --trusted-publishing always, which makes the token a precondition and prints the real failure. The usual real cause is a publisher whose owner, repository, workflow filename or environment does not match; all four are part of the claim, and the environment must be empty here.

Two jobs, and no GitHub environment. The build runs the project's own build backend — repository code — and the publish job holds the upload credential; keeping them apart means the code that builds never runs with the credential in scope. astral's example also wraps the publish job in an environment named pypi; this workflow deliberately does not, because the environment name is part of the OIDC claim PyPI matches and the publisher here is configured with an empty one. Change it on PyPI first if that is ever wanted.

A published version is immutable. PyPI does not allow re-uploading a version, and deleting one does not free the number. That is why the tag/version check is a hard failure rather than a warning.

10. The winget manifest (desktop-shell/installer/winget/)

Only relevant once the manifest has been accepted into microsoft/winget-pkgs. The first submission has been made — PR #430045, opened 2026-09-05, updated to 7.13.1 on 2026-09-15 and to 7.35.2 on 2026-09-20, still open — and desktop-shell/installer/winget/SUBMIT.md is both its history and the runbook. Read its §0 before touching the manifests: the submission has been rejected twice, once for declaring a schema version the repository does not accept, and once because the executable would not start on a clean validator VM at all (0xC0000135). The second one was misdiagnosed as WebView2 and was actually the Visual C++ redistributable — declaring Microsoft.EdgeWebView2Runtime as a package dependency in 7.13.1 did not change the result. The real fix is in the build, not the manifest: since 7.35.2 the Windows binary links the CRT statically and imports nothing Windows does not ship (§7, desktop-shell/README.md). The dependency declaration stays, because a user on a fresh install still needs the runtime, and it is pinned by a test.

Each release that ships a MyClaudeCode-Setup-windows-x86_64.exe needs its own version folder in the community repository, and the repository side of that is one command:

uv run --offline python desktop-shell/installer/winget/render.py vN

It reads the release's own SHA256SUMS-desktop-shell.txt and the release date from GitHub, and the other six values out of desktop-shell/installer/windows/MyClaudeCode.iss and pyproject.toml, so nothing is typed twice. Commit the new desktop-shell/installer/winget/N/ directory. Then, before submitting:

winget validate --manifest desktop-shell\installer\winget\N

tests/scripts/test_winget_manifest.py pins the committed version, so bump its MANIFEST_TAG in the same commit; that test is what keeps the checked-in manifests trustworthy to copy into a submission.

The submission itself is wingetcreate update or komac update, from the account that signed Microsoft's CLA — never a push to microsoft/winget-pkgs, and one package version per pull request. SUBMIT.md §2a has the exact command.

Do not submit a version whose assets might still be re-uploaded. The InstallerSha256 is verified on every install; replacing an asset after the manifest is merged breaks every install of that version, and the fix is a new manifest version rather than an edit.