Introducing a new way to review your PRs.

Read the announcement

debpalash / voicestudio

VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.

View on GitHub

26 documents · Updated Nov 23, 2026

docs / deployment-and-operations

Deployment and local operations

VoiceStudio supports local desktop use and headless container use. Installation and launcher tools prepare the runtime. Release workflows turn tested builds into controlled distribution artifacts. Operational checks confirm that the service starts, keeps its data, uses the intended compute path, and reaches its target channel. See also Electron desktop, quality and contract testing, model compute, and diagnostics and observability.

Operational model

Deployment modes

VoiceStudio runs as an Electron desktop application or as a headless HTTP service. Desktop use keeps the interface and local service together. Container use exposes the product through a server port and can add remote GPU workers. Mobile builds support controlled testing and release review rather than direct public deployment.

The main operating paths are:

  • Desktop release: Install a macOS, Windows, or Linux Electron package.
  • Source installation: Build the current main branch in a temporary checkout or prepare an existing source checkout.
  • Container deployment: Run a CPU, NVIDIA CUDA, AMD ROCm, or arm64 NVIDIA CUDA image.
  • Arch package validation: Build and install the VCS package in a disposable Arch Linux environment.
  • Mobile distribution: Send reviewed builds to GitHub prereleases, Google Play internal testing, iOS TestFlight, or a publisher-operated Android repository.

References: scripts/install.sh• L7-24 scripts/install.ps1• L5-15 deploy/Dockerfile• L9-33 deploy/docker-compose.yml• L25-35 .github/…/aur-package.yml• L17-55 .github/…/mobile-release.yml• L1-7 scripts/prepare_android_repository.py• L1-5

Runtime state

Executable content is separate from user state. Projects, voices, settings, generated output, databases, logs, and model caches must survive application or image replacement. Containers make this boundary explicit through /app/omnivoice_data.

Model files are cache data rather than release content. Cleanup protects shared model caches unless the operator selects model removal. Uninstall removes the application data while preserving the cache by default.

References: deploy/Dockerfile• L77-87 deploy/Dockerfile• L198-199 deploy/docker-compose.yml• L38-44 scripts/uninstall.sh• L22-25 scripts/uninstall.sh• L90-177 scripts/uninstall.ps1• L43-82

Installation and local startup

Installer paths

The shell and PowerShell installers install a verified Electron release or build the current main branch in a temporary checkout. Release installation checks the package checksum before it opens the platform installer. Source installation keeps the user's existing checkout unchanged.

The command-line installation path can replace the desktop launcher while keeping its existing environment settings and a restorable backup. This lets a CLI upgrade change command dispatch without changing the user's launch configuration.

The Windows installer supports x64 and ARM64. It prefers a native ARM64 package and falls back to the x64 package under Windows emulation when needed. It also keeps older Electron asset names usable for pinned versions. Installation and uninstall require the app to be closed, and uninstall preserves user data.

References: scripts/install.ps1• L19-49 scripts/install.ps1• L58-86 scripts/install.ps1• L102-145 scripts/install.sh• L15-24 scripts/install.sh• L61-70 scripts/cli_install_smoke.py• L11-19 scripts/cli_install_smoke.py• L32-51

First-run lifecycle

First launch prepares the runtime as part of application startup. It selects a compatible Python and compute path, installs support libraries, and obtains model files before the backend reports readiness. On Windows it can install the Microsoft runtime required by PyTorch. CUDA setup adds cuDNN 8 compatibility libraries. An explicit ROCm choice can replace the default PyTorch wheels.

The same startup contract applies to source and packaged desktop paths. Optional accelerator setup can improve performance, but a failed accelerator setup remains visible as a degraded path rather than appearing ready. Intel Macs do not install a local backend because the required PyTorch wheels are unavailable; they use a backend on another machine instead. Windows ARM64 uses the supported x64 Python path, while Windows ROCm requires its reviewed x64 runtime.

References: scripts/setup-api.mjs• L20-61 scripts/setup-api.mjs• L65-89 scripts/setup.py• L49-118 scripts/setup.py• L121-197 scripts/setup.py• L236-310

Developer startup modes

The local source loop starts the backend, waits for readiness, and opens the browser. The development supervisor reloads after Python changes and shows recent logs after an unexpected exit. It stops after a bounded crash loop so a broken process does not restart forever.

Command familyOperating goal
bun run devRun the reloadable browser and backend loop
./run.shStart the source backend, wait for health, and open the browser
./install.sh from a source bundlePrepare the receiving machine

References: scripts/run.sh• L56-125 scripts/dev-backend.mjs• L31-71 scripts/dev-backend.mjs• L77-129 scripts/dev-backend.mjs• L202-307 scripts/package_for_friend.sh• L1-49

Data cleanup

Cleanup uses the same application and cache locations as the app. It defaults to a dry run and reports target sizes before deletion. The operator can remove application data, environments, logs, settings, and the installed app as separate choices. The shared model cache needs --models, and the app binary needs --app.

The shell uninstaller sends a best-effort anonymous uninstall event only when the user has already enabled analytics. A short network timeout means this report never blocks cleanup.

References: scripts/uninstall.sh• L5-25 scripts/uninstall.sh• L90-177 scripts/uninstall.sh• L181-269 scripts/uninstall.ps1• L5-19 scripts/uninstall.ps1• L84-182

Container deployment

Container images

The container image is a headless web-server build. It assembles the web UI with the selected Python and compute runtime, serves the UI and API through port 3900, keeps application data under /app/omnivoice_data, and exposes health status for readiness checks. The image supports CPU, NVIDIA CUDA, AMD ROCm, and arm64 NVIDIA CUDA deployment paths.

Each accelerator family has its own deployment path so an AMD or arm64 image cannot replace an unsuffixed amd64 image. Dependency guards keep the selected accelerator stack intact during image assembly. BuildKit caches package downloads and wheels outside the image layers, so later builds can reuse unchanged dependency work without changing the runtime image. Operators must select the image that matches the host device and target platform.

Some packages are shipped as project-owned wheels. Their source archives and build constraints are pinned, so the wheels can be rebuilt or checked for identical contents before the dependency lock is refreshed.

References: deploy/Dockerfile• L9-10 deploy/Dockerfile• L16-32 deploy/Dockerfile• L46-66 deploy/Dockerfile• L71-107 deploy/Dockerfile• L144-181 deploy/Dockerfile• L189-218 deploy/Dockerfile• L103-107 deploy/Dockerfile• L149-175 deploy/Dockerfile• L198-205 scripts/build_vendored_wheels.py• L1-15 scripts/build_vendored_wheels.py• L61-82 deploy/docker-compose.yml• L25-35 deploy/docker-compose.yml• L67-75 deploy/docker-compose.yml• L108-125

Compose profiles

Compose provides separate opt-in profiles for CPU, NVIDIA GPU, and AMD GPU services. Each profile publishes the UI on host loopback by default, persists the application volume, and waits for /health before it is considered ready. The ROCm profile passes AMD device nodes directly. The NVIDIA profile requests one GPU device.

The Studio service requires a non-blank administrator API key because container networking does not provide a browser authentication boundary. Operators who expose the port beyond the local machine must add a protected network path and keep the key secret.

References: deploy/docker-compose.yml• L17-23 deploy/docker-compose.yml• L36-65 deploy/docker-compose.yml• L76-106 deploy/docker-compose.yml• L126-154

Container updates

Container updates are pull-and-recreate operations. Persistent application data remains outside the image. The selected image tag must match the release stream, accelerator family, and host platform.

Image familyDeployment choice
Linux amd64 CUDAUse the default amd64 CUDA image and its selected release tag
Linux amd64 ROCmUse the ROCm image and its matching release tag
Linux arm64 NVIDIA CUDAUse the arm64 CUDA image and its matching release tag

References: deploy/docker-compose.yml• L14-15 deploy/docker-compose.yml• L27-29 deploy/docker-compose.yml• L68-70 deploy/docker-compose.yml• L113-115

Release packaging

Desktop release channels

Maintained desktop releases use Electron. Stable releases use vX.Y.Z tags and become GitHub latest releases. Beta releases use vX.Y.Z-beta.N tags and remain prereleases. The workflow accepts no other prerelease shape, and each package is built from an exact version tag that matches the package version.

The workflow can also rehearse a release from a selected branch commit. A rehearsal runs the desktop package legs, native runtime, phone builds, packaged smoke checks, and release preparation without creating a release, uploading a feed, or dispatching downstream publication. Its short-lived artifacts support review before a tagged release. A real tag override is allowed only when the workflow runs from main and still resolves to the exact version tag.

Release jobs validate platform artifacts before they assemble a draft. Publication is a separate explicit action, so a tag or packaging run does not expose an unreviewed release. The packaging matrix covers Linux, Windows x64 and ARM64, and macOS Apple Silicon and Intel. Windows ARM64 is experimental and does not block the established targets.

References: .github/…/electron-release.yml• L1-39 .github/…/electron-release.yml• L44-118 .github/…/electron-release.yml• L128-185 .github/…/electron-release.yml• L495-520

Electron release publication

Electron publication has two checks. Local checks prove that each package has the expected shape and startup behavior. Published-asset checks prove that GitHub serves the expected payload, digest, size, updater hash, and Windows blockmap for each required target.

Signing status is recorded by platform jobs and checked before publication. A publish run requires signing evidence unless an authorized owner explicitly accepts unsigned or unnotarized installers. The release notes use those measured reports to show the download link and signing state for each desktop platform. Android signing is described only when its report matches the supplied APK digest; iPhone releases are clearly marked as unsigned sideload artifacts. Rehearsal-only test certificates are not release-signing proof.

The workflow creates or updates a draft before it publishes. A stable publish marks the release as latest, while a beta publish keeps it a prerelease and prevents it from becoming latest. Stable releases also preserve the final updater feeds for archived clients. After a successful explicit publish, stable releases dispatch the Android repository update and all published releases dispatch the container-image backfill with the matching release tag. These follow-up dispatches are explicit because a release made with the GitHub token does not emit a release event for other workflows.

References: scripts/check_electron_release_assets.py• L18-48 scripts/check_electron_release_assets.py• L72-141 scripts/release_signing_notes.py• L1-8 scripts/release_signing_notes.py• L31-58 scripts/release_signing_notes.py• L72-104 .github/…/electron-release.yml• L253-331 .github/…/electron-release.yml• L368-470 .github/…/electron-release.yml• L575-710

Distribution-channel publication

Store packages use the product version but follow channel-specific rules for signing, updates, runtime delivery, file access, and listing data. A distribution profile and artifact manifest keep those rules attached to each package and record its source revision and verification evidence.

ChannelPublication boundary
Microsoft StoreBuild a signed package and hand it to Partner Center; submission remains an owner action.
Snap StoreUpload the newest final tag to candidate; an owner promotes it to stable after install, refresh, and rollback checks.
Mac App StoreBuild signed sandbox packages for private validation; the workflow does not publish to App Store Connect.
F-Droid repositoryPublish only a verified stable GitHub APK through the publisher-operated repository.

Foundation checks validate identity, listing claims, privacy data, compliance records, URLs, categories, and canonical assets before packaging. The selected profile also blocks runtime-delivered components when the target requires bundled runtime code.

References: config/distributions.mjs• L1-29 scripts/create_store_artifact_manifest.mjs• L35-99 scripts/validate_store_foundation.mjs• L13-77 .github/…/microsoft-store.yml• L1-6 .github/…/snap-store.yml• L1-7 .github/…/mac-app-store.yml• L1-5 scripts/prepare_android_repository.py• L36-220

Mobile distribution channels

Mobile release workflows build signed Android and iOS artifacts from generated product inputs. A mobile tag creates a draft GitHub prerelease for review. Separate owner-dispatched workflows upload Android to the Play internal track and iOS to internal TestFlight. Neither path submits the app for public review.

Build numbers remain unique across uploads. Protected workflow environments hold signing and API credentials and remove them after use. Generated mobile inputs keep themes, voice data, contributors, branding, model data, and private app-intake metadata aligned with the shared product sources.

References: .github/…/mobile-release.yml• L9-40 .github/…/mobile-release.yml• L76-102 .github/…/mobile-release.yml• L218-262 .github/…/android-play-internal.yml• L1-6 .github/…/ios-testflight.yml• L1-5 scripts/android_version_code.py• L1-22 mobile/…/prepare_resources.py• L131-140

Native runtime artifacts

The omnivoice-tts workflow builds a pinned native runtime outside the normal pull-request gate. Required targets include Linux x86_64, Windows x86_64, and Apple Silicon macOS. Linux arm64 is experimental, and Intel macOS uses the in-process fallback.

The build validates the pinned source and records checksums for the executable and required shared libraries. Platform artifacts remain available for later packaging or review.

References: .github/…/build-omnivoice-tts.yml• L1-19 .github/…/build-omnivoice-tts.yml• L41-122 scripts/build-omnivoice-tts.sh• L80-108 scripts/build-omnivoice-tts.sh• L178-210

Diagnostic intake configuration

Release builds can receive private app-intake metadata without placing raw credentials in source or logs. The build step accepts only values with the expected shape and safe host rules, omits invalid values, and replaces the generated file on every build. Mobile packaging copies the resulting write-only metadata into the app resources so each supported release path uses the same destination contract.

References: scripts/generate_supermetry_config.py• L1-3 scripts/generate_supermetry_config.py• L15-51 mobile/…/prepare_resources.py• L131-140

Diagnostics and operational verification

Startup health

The backend exposes a probe surface before heavy startup work finishes. /health reports readiness, while /startup/progress reports the current step and any startup error. Container health checks and local launchers use these signals to separate “still starting” from “failed to start.”

When a process starts, verify it in this order:

  1. Watch startup progress while dependencies and models load.
  2. Wait for /health to return success.
  3. Confirm the selected device and model state.
  4. If readiness fails, inspect deployment-specific logs before deleting state.

References: backend/…/startup_progress.py• L20-38 backend/…/startup_progress.py• L56-115 deploy/Dockerfile• L192-196 deploy/docker-compose.yml• L59-64 scripts/run.sh• L71-122

Self-check reports

Self-check diagnostics report whether the local runtime, compute device, media tools, model access, disk, data directory, memory, engine, and network paths work. A warning means the app can continue in a degraded state. A failure means a required path is not usable.

The settings UI and command line expose the same report. A deep check loads an engine and runs a short synthesis, so it can find failures that presence checks miss. Diagnostic details are scrubbed before they leave the process.

References: backend/…/diagnose.py• L1-21 backend/…/diagnose.py• L343-380 docs/…/troubleshooting.md• L7-31

Evidence bundles

The diagnostic bundle turns a local failure into a shareable evidence package. It contains platform and app metadata, self-check results, recent classified errors, and scrubbed log tails. Crash evidence distinguishes a dead process from a slow service and preserves enough recent output to guide the next fix.

References: backend/…/diagnostic_bundle.py• L1-20 backend/…/diagnostic_bundle.py• L51-85 scripts/dev-backend.mjs• L77-129 scripts/dev-backend.mjs• L255-307 docs/…/troubleshooting.md• L635-674

Crash-class reports

The crash-class report measures recurrence of the main backend failure classes from GitHub issues. It separates unreachable backends, never-started services, and backend deaths, then filters the count by the reported application version when a target version is supplied.

The report treats stale reports as outdated and missing freshness evidence as unknown. It warns when the GitHub issue fetch limit truncates the input, so an understated result is not mistaken for a complete reliability measure.

References: scripts/crash_class_report.py• L1-22 scripts/crash_class_report.py• L35-46 scripts/crash_class_report.py• L62-77 scripts/crash_class_report.py• L80-100 scripts/crash_class_report.py• L109-133

Verification layers

Verification uses separate layers because an in-process test cannot prove that an installer, package, update feed, store handoff, or first-run runtime works. CI uses change-aware scheduling but keeps the required result explicit. Python checks, Electron checks, renderer smokes, UI checks, native package checks, and cross-platform startup checks can run in parallel, while a final gate rejects missing required results.

Release rehearsals add a safe end-to-end check for the release path. They build and verify the platform legs and release assets from one dispatched commit, then keep the results as short-lived artifacts. They do not publish releases, update feeds, container images, or Android repositories.

The matrix also checks offline model behavior and the documented Intel Mac client-only boundary. Route authorization checks cover both the main API and the separate telephony gateway, so mutating routes cannot quietly ship without an authorization guard or an explicit policy entry. Security checks have different meanings: secret scanning blocks a change, while CodeQL, Bandit, and dependency audits report findings for review. Model access remains offline during test paths that must not download weights.

Workflow action pins have a separate network check. It resolves each pinned action label through GitHub and compares the result with the recorded commit. This check runs outside hermetic pull-request tests, so rate limits and lookup failures remain visible instead of becoming false passes.

References: .github/…/ci.yml• L46-118 .github/…/ci.yml• L120-257 .github/…/ci.yml• L262-430 .github/…/ci.yml• L430-604 .github/…/ci.yml• L606-783 .github/…/electron-release.yml• L7-13 .github/…/electron-release.yml• L100-118 .github/…/electron-release.yml• L600-645 .github/…/aur-package.yml• L39-55 .github/…/security.yml• L1-18 .github/…/security.yml• L86-240 scripts/dump_route_auth.py• L1-37 scripts/dump_route_auth.py• L125-159 scripts/verify_action_pins.py• L1-19 scripts/verify_action_pins.py• L186-234

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep container base images, accelerator variants, dependency guards, native library compatibility, and host device requirements aligned.
  • Keep the BuildKit uv cache mount, UV_LINK_MODE=copy, and every cached dependency install aligned so cache reuse does not change image contents or fail across filesystems.
  • Keep vendored source archives, wheel names, build constraints, generated wheel contents, and uv.lock hashes aligned.
  • Keep /app/omnivoice_data, model-cache behavior, compose volumes, uninstall preservation, and cleanup choices aligned.
  • Keep installer release resolution, package naming for old and current releases, checksum validation, Windows ARM64 fallback, and replacement behavior aligned.
  • Keep CLI launcher replacement, environment preservation, backup restoration, and the supported local runtime matrix aligned.
  • Keep /health, /startup/progress, container probes, and launcher waiters aligned when readiness meaning changes.
  • Keep release tags, package versions, checksums, updater manifests, signing evidence, changelog data, draft assets, and explicit publication in one sequence.
  • Keep release-note signing rows tied to the measured platform reports and to the exact Android APK digest; keep rehearsal-only statuses out of real releases.
  • Keep rehearsal inputs restricted to one dispatched commit and keep rehearsal paths unable to publish releases, feeds, container images, or Android repositories.
  • Keep stable and beta latest-release rules aligned with updater behavior and with the post-publication container and Android repository dispatches.
  • Keep each store profile aligned with its package type, update owner, runtime rule, file-access rule, signing evidence, listing data, and compliance record.
  • Keep mobile generated inputs, version propagation, signing environments, and internal test-channel settings aligned, including generated app-intake metadata.
  • Keep native runtime pins, copied shared libraries, fallback paths, checksum files, and artifact names aligned.
  • Keep diagnostic intake validation, generated-file privacy, destination rules, and packaged resource permissions aligned.
  • Keep crash recurrence windows, version matching, issue fetch limits, and unknown-freshness handling aligned with the reliability metric.
  • Keep route authorization census coverage aligned with every app and with the mutating-route policy.
  • Keep workflow action version labels, pinned commits, remote tag resolution, and the authenticated verification path aligned.
  • Keep CI path detection, required check aggregation, lockfile installation, offline model guards, and cross-platform support claims aligned.

Important failure modes

TriggerConsequenceGuard
Studio container starts without an administrator API keyAdministrative requests fail or the service refuses to startSet a long non-blank key before starting a Studio profile
Persistent container data is not mountedProjects, voices, settings, and database state disappear on replacementPersist /app/omnivoice_data
Image family and host device do not matchThe service falls back to CPU or cannot start the expected acceleratorSelect the matching image and confirm the device after /health succeeds
Dependency installation replaces the base accelerator stackThe image starts with the wrong compute path or fails at import timeKeep the image constraints and accelerator guard active during the build
A vendored wheel differs from its pinned source buildThe image can use an unreviewed or unreproducible dependency artifactRun the wheel verification mode before updating the lock hashes
A BuildKit cache mount uses hardlink mode across filesystemsDependency installation can fail when cached files move into the image environmentKeep UV_LINK_MODE=copy with the /root/.cache/uv mount
Package checksum is missing or mismatchedInstallation refuses the artifactRequire one matching SHA-256 entry for the selected package
CLI launcher replacement drops its saved environment or backupThe command starts with changed settings or cannot restore the prior launcherUse the temporary-directory smoke path before changing launcher behavior
Intel Mac attempts local backend setupSetup fails after creating an incomplete environmentDirect Intel Mac users to a remote backend and keep the client-only boundary explicit
Startup is judged by port availability aloneA process accepts connections while setup or migrations still failWait for /health and inspect /startup/progress
Shared model cache is removed during cleanupOther local tools must download models againUse the dry run and select model removal only when the cache is disposable
Beta release moves GitHub latestStable users receive a prereleaseKeep beta releases prerelease and verify that GitHub latest remains a stable release
Unsigned installers are published without explicit approvalUsers receive platform security warnings without clear release notesRequire signing evidence or an authorized unsigned-release choice
Published Electron assets or manifest data are incompleteThe release remains unpublished or clients cannot updateRun local asset checks and the published-channel validator
Release notes use a missing or mismatched Android signing reportPublication fails or the notes cannot prove what the APK containsBind the report to the supplied APK digest and reject unverified release claims
A rehearsal is given a tag override or publish requestThe run may verify the wrong commit or expose an unreviewed releaseKeep rehearsal inputs branch-based and leave publication inputs disabled
A successful GitHub-token release does not dispatch downstream workflowsStable Android repository or release container updates do not occurRun the explicit post-publication dispatches and verify their target tag
Mobile upload reuses a build numberPlay or TestFlight rejects the uploadDerive build numbers from the shared time or run-and-attempt source
Invalid or unsafe diagnostic intake values are treated as build configurationA release can send to the wrong host or expose unusable metadataGenerate the file from validated inputs and omit values that fail validation
A package smoke test reaches the model hubCI depends on network access or downloads large model dataUse an empty cache with HF_HUB_OFFLINE=1
A mutating route is added without a recognized authorization dependencyAn API surface can ship without the required access controlInclude every serving app in the route census and add an explicit policy exception only when intended
An action pin points to a different commit than its version labelCI runs code other than the reviewed action versionRun the GitHub-backed pin check with a token when rate limits apply
The crash report hits its issue fetch capThe recurrence metric understates the failure classNarrow the date window and merge the resulting windows
A crash report counts unknown freshness as currentReliability work is judged against reports whose build cannot be establishedRequire the version or build-status stamp and keep unknown reports separate
CI path detection skips a job that the change can affectA required product path is not checked before mergeTreat deletions, renames, large changes, and detection errors as full-scope changes
A lockfile is not updated with a workspace changeDependency installation fails in CI or later in the image buildUse frozen installs and regenerate the lockfile with the workspace change

Key files

FileWhy to read it
deploy/DockerfileDefines the headless image, compute variants, persistent data boundary, cached dependency build, dependency guards, and health probe
deploy/docker-compose.ymlShows local container profiles, access defaults, GPU pass-through, readiness, and state volumes
scripts/install.sh and scripts/install.ps1Explain verified installation, source builds, platform fallback, legacy asset compatibility, and user-data preservation
scripts/setup-api.mjs and scripts/setup.pyShow local runtime and compute preparation during first launch, including unsupported and fallback platforms
scripts/cli_install_smoke.pyShows the command-line launcher replacement contract and environment preservation check
scripts/build_vendored_wheels.pyShows how pinned dependency wheels are rebuilt and verified before packaging
scripts/run.sh and scripts/dev-backend.mjsShow developer startup, readiness waiting, reloads, and crash recovery
.github/…/electron-release.ymlDefines desktop release channels, rehearsal, platform validation, signing evidence, draft creation, explicit publication, updater-feed preservation, and downstream dispatches
scripts/release_signing_notes.pyShows how release notes describe measured desktop and mobile downloads and signing state
config/distributions.mjs and scripts/validate_store_foundation.mjsDefine store profiles and shared publication gates
.github/…/mobile-release.yml and mobile/…/prepare_resources.pyShow mobile artifact generation, review boundaries, and packaged shared metadata
scripts/prepare_android_repository.pyDefines verified Android repository publication and signing identities
scripts/generate_supermetry_config.pyDefines validated private app-intake build metadata and its safe output behavior
scripts/crash_class_report.pyDefines version-aware recurrence measurement for backend startup and crash failures
scripts/dump_route_auth.pyDefines the route authorization census across the main and telephony apps
scripts/verify_action_pins.pyDefines the network-backed check that action labels match their pinned commits
backend/…/startup_progress.py, backend/…/diagnose.py, and backend/…/diagnostic_bundle.pyDefine startup readiness, self-checks, and failure evidence
.github/…/ci.ymlDefines application, packaging, cross-platform, offline, and required-result gates