Only reims-go.exe ships now; reims-go-cli.exe is gone. Without
arguments it opens the window, with a command it runs command-line mode
(cmd/reims-go moved to internal/cli). Missing standard handles are
attached to the parent console; handles the caller passes in (pipes,
files) are kept, so scripts and agents get output and exit codes.
`vm start` hands the VM to the window process so it gets Guest Tools
and the Win10 cold-reboot watcher, which a command that exits could not
run:
- a running window gets the request through Wails' single-instance
protocol and stays hidden;
- otherwise the command launches the window tray-only (--background),
detached from the caller's console and handles;
- the window writes the outcome, with the VM's last log lines on
failure, to <DataRoot>\tmp\cli-start-*.json (it accepts no other
path) and the command reports it.
With --data-root the VM still starts in the command itself.
The window now takes a single-instance lock: a second double-click
brings the running window forward. `wails dev` builds use their own
lock name.
Tested on Win10 19045 with macos-tahoe: start from the command line
with no window running (4 s, exit 0) and with one running (3 s, exit 0,
same process); the cold-reboot monitor was held by the window.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New internal/vmstart holds the steps both front ends need: commit-memory
precheck, offline helper disk, recovery boot picker, guest-language replay,
WHPX nested-virt compatibility, and P-core pinning after start. app.go's
StartVM and the CLI's "vm start" / "vm create --start" (cmd/reims-go/start.go)
call it, replacing memcheck.go and the copies in install/opencore flows.
"vm start" now refuses a VM that is already running instead of rewriting its
OpenCore image. Guest Tools bridging and the Win10 cold-reboot watcher still
need a long-lived process and stay GUI-only (architecture.md 3.5).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Runtime channel "candidate" is now "alpha"; configs, the --candidate flag
and SetRuntimeChannel("candidate") still map to alpha.
- ListRemote follows GitHub's Link pagination so stable runtimes are not
pushed off the first page by daily alphas.
- patches/series.txt is the single patch queue for CI and pack-runtime.ps1;
pack-runtime takes -Patches and derives allowed changed files from the
patches (fixes a false "undeclared change" with the coroutine patch).
- build-runtime.yml runs daily: resolves upstream HEAD, skips commits already
released, applies the queue via apply-patch-series.ps1 (skips patches
already upstream, stops on conflicts), gates with check-runtime-alpha.ps1,
publishes an alpha prerelease, keeps the 7 newest alphas, and files issues
on failure or merged patches. Stable promotion stays manual.
- AGENTS.md and runtime docs updated for the alpha channel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- extractTarZst uses Windows' System32 tar.exe (reads .tar.zst and D:\
paths); a bare "tar" could resolve to GNU tar, whose failure left the
zstd | tar pipe deadlocked. The fallback now decompresses to a temp file.
- pack-runtime.ps1 casts raw_bytes to an integer (PowerShell 7 summed to a
double, "962466926.0", which the Go reader rejected); the reader now also
accepts whole-number floats.
- `runtime fetch latest --candidate` honours flags after the positional arg.
- Docs: release layout, source package contents and the open MSYS2 source
question (portable-runtime-spec.md §4, §7); roadmap M1.2 and M2.1 progress.
Verified: a fresh `reims-go runtime fetch latest --candidate` downloads the
published runtime-3731afd from GitHub, checks SHA256SUMS.txt, unpacks and
activates it (75 s for 169 MB); reims-ctl and QEMU run from the result.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Runtime: list and fetch runtimes from this repo's GitHub Releases
(stable by default, candidate on request), with SHA256 check and resume.
CLI gains `runtime available` and `runtime fetch`; the host page gets an
online install row and a "receive candidates" switch.
- First launch: pick a data folder (non-system drives first, USB never
recommended); the choice is recorded in %APPDATA%\reims-go\location.json.
Existing installs in the default folder are adopted without asking.
- pack-runtime.ps1: also builds the matching source package, records every
patch with its SHA256 and the channel, and refuses undeclared changes in
the build trees.
- patches: declare reims-vgpu-cargo-lock.patch (Cargo.lock source lines).
- UI: sidebar and VM page restyle, new design tokens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Offline installers (roadmap M1.3):
- internal/installer drives `reims-util --json offline-installer` and parses
its JSON event stream (upstream reims-vgpu 3731afd, reims_util.rs:423-509)
- downloads hold installers/.lock like reims-ctl, so the two never write the
same file; checked against the real reims-ctl (TestLockExcludesReimsCtl)
- pause = stop the process, rerun resumes; deletes go through
`reims-ctl downloads delete`, which refuses files in use or downloading
- CLI: reims-go installer list | download | cached | delete
- Wails bindings: ListOfflineReleases, DownloadInstaller, ListInstallers,
DeleteInstaller
Task events (ui-redesign B1):
- tasks.go tracks long-running work and emits "reims:task" (throttled to
200 ms per task); VM creation turns reims-ctl's progress lines into task
progress and logs each step once
- the status bar shows the current task with a progress bar, details in a
tooltip and a pause button; the frontend regex merging is removed
Win10 cold reboot workaround:
- host probes whether WinHvPlatform.dll lacks WHvResetPartition (Win10 19045)
- internal/qmp watches a dedicated QMP channel for guest resets; with
-no-reboot the app restarts the VM in a fresh partition
- architecture.md documents download routing and the workaround
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>