OpenProgram Docs

Windows support

Independently useful levels
LevelContract
W0Community fixes accepted, known gaps documented, unsupported entries fail with a message. No promise
W1Native CLI and server, Ink and browser UI, MCP tokens, Windows CI contracts. Rich fallback without raw input. Sandbox execution and Desktop are outside W1
W2Release archives, PowerShell and Command Prompt installers, Windows doctor checks. Works without a certificate and where Smart App Control refuses the App installer
W3Electron Desktop with updates. Signed when a certificate exists. Otherwise an -unsigned.exe installer whose limits the user is told up front: SmartScreen needs More info → Run anyway, and Smart App Control has no per-app exception
W4Optional WSL2 and bubblewrap isolation. The native CLI never depends on WSL
Thin shellShell, seed, openprogram-launcher.exe, Shift check, the seed branch of install-release.ps1
Local refreshNative publication with compensating rollback

Engineering rules

  • Platform behaviour lives in openprogram/host/_platform/ (filesystem, locking, processes, process ownership, command shell, terminal, environment) or an adapter it selects.
  • Prefer capability detection. Unsupported features fail at their entry point, not with a late NotImplementedError.
  • A weaker replacement for a POSIX safety property is an explicit, documented decision.
  • A fix is incomplete until a Windows CI contract covers it.
  • POSIX 0600, 0700 are not Windows requirements: the profile's inherited ACL stays, and no step removes inheritance or rewrites entries. Atomic replace and process-safe locks are still required.

W1: native CLI and server

AreaBehaviour
Source installerCheckout .venv, npm lockfile, Web and Ink builds, selected extras, openprogram.cmd on user PATH. -Minimal: Python CLI and server only
LaunchersOne openprogram.cmd: PowerShell prefers a .ps1 of the same name and the default Restricted policy refuses it, so installers delete old ones. PowerShell scripts: UTF-8 with BOM. Batch: BOM-free UTF-8 with an ASCII code-page preamble, delayed expansion off, percent signs escaped, caller code page restored, exit status kept. Installers run as powershell.exe -ExecutionPolicy Bypass -File for that process only; no machine execution-policy or locale changes
One batch writerThe release installer writes every .cmd through Write-CmdLauncher; the store's bin-openprogram.cmd and the source installer carry the same preamble, and a test keeps the three equal. The launcher on PATH in front of a version store switches the console before it reads the store's path, then starts the store's launcher without call, which would double carets in quoted arguments, and passes the caller's code page on in _OPENPROGRAM_CALLER_CODEPAGE for that launcher to restore
InkCapability-based on every OS. Windows Terminal and ConPTY run full-screen; MinTTY and others fall back to Rich with stdio restored. Tokenizer splits control bytes from printable spans; bracketed paste stays one event
MCP tokensUnique temp file plus atomic hard link. Reads revalidate the file and its ancestors
ProcessesPowerShell CIM, not WMIC. Liveness and creation time from read-only native queries; signal zero is never used. --print treats Ctrl-Break as it does Ctrl-C. A blocking wait wakes for no signal there, so the run waits in polls of at most half a second, the Worker socket included
Stopping the workerNo signal reaches another process, so worker stop names the worker in worker.stop. A file event (ReadDirectoryChangesW) reports it at once and the worker shuts down in order; its main thread also wakes each second for Ctrl-C and reads the file then. Five seconds unanswered ends its tree
Worker identityA command or the App recognises the worker from outside it. msvcrt refuses reads of a byte another handle has locked, so the file lock sits on a byte far past the data and worker.lock stays readable, naming its holder as on POSIX. The lock is the only proof: a live process named in worker.pid is not taken for the worker. web auth-url, worker status and worker stop rely on it
Worker at logonA least-privilege per-user scheduled task, one per profile, retried after a failed run. Its launcher sets the profile and state folder, since the task does not inherit the installing shell's environment. Once installed it owns the worker: start and restart rewrite its launcher for the current runtime and start the task; stop asks the worker, then ends the task run so the retry does not bring it back
File journalsShared cross-process lock. Apply and rollback keep separate guard files
Text and bytesText opens name UTF-8, except six the repository contract counts; each text-mode subprocess under openprogram/state does too. The .pth file of an application environment is written in the locale encoding, the one Python's site module reads on every supported version. Descriptors written with os.write are binary, so a line ends in LF and byte offsets hold
UTF-8 modeEvery launcher and installer starts Python with -X utf8: openprogram-launcher.exe, each openprogram.cmd, the seed installer, the command-line installer's verifier, and a worker restarted from such a Python. Release workflows leave PYTHONUTF8 unset. -I drops PYTHONUTF8, so the mode travels as an argument. The .pth file keeps the locale encoding in this mode. netstat, schtasks and the task-service PowerShell answer in the OEM code page, so their output is read as bytes and decoded with it
State file replacefilesystem.replace_file publishes every file written as a temporary file and renamed: config, credentials, schedules, the Agent registry, projects, checkpoints, update records. It retries for one second while another handle, an indexer or an antivirus scan holds the destination. An unlocked config read retries the same way. Seven renames stay direct; the repository contract names each with its reason
Conversation folder renameWindows refuses to rename a folder while a file inside it is open. move_session_folder retries for one second, then raises SessionFolderBusy with the folder where it was. Nothing is copied instead. See a held conversation folder
Shadow repositoryEvery Git command pins its own settings: no line-ending conversion, file names unquoted, long paths on, no commit signing. The user's Git configuration does not reach it. A restored file is the committed bytes
Checkpoints, backup, restorePath-based fallback without descriptor-relative operations: rejects symlinks and junctions, revalidates parents, binary atomic writes
Workspace reviewReads Git metadata and objects in bounded batches; Git invocations do not grow with changed files
Shell toolsGit Bash when installed, otherwise PowerShell 7, then Windows PowerShell; never cmd.exe. One function picks it: the command shell. The system prompt names the one in use and its syntax, not COMSPEC; with the sandbox on it names WSL bash with Linux paths, and the host shell for escalated commands. Each command is a Job Object, so stop ends its whole tree. No-window processes. Git Bash source goes through a temporary environment variable; Python children default to UTF-8
PowerShell commandsUTF-16 source in one base64 argument, so no quoting layer touches it. No profile, non-interactive, text output, and execution policy Bypass for that process: npm and pnpm resolve to .ps1 shims the default policy refuses; Group Policy still wins. Input, output and pipes are UTF-8; progress records are off. The last program's exit code is passed on, where PowerShell alone reports 0 or 1
HooksA config.json hook runs in the same shell as the command tool, not cmd.exe, with the event as UTF-8 on standard input and no console window. A program that exits 2 still denies
Paths in permission rulesA rule and a call meet as one resolved name: either slash, \\?\ and \\.\ prefixes removed, short names expanded, trailing dots, spaces and ::$DATA dropped. Deny and ask ignore case, cover a file's named streams and resolve a relative path against the conversation's working directory; allow compares the full path in the case the volume stores. A share is \\server\share with backslashes throughout or //server/share; deny and ask also cover the mixed spelling
Commands in allow rulesA rule reads a command as POSIX shell. Where a command may run in PowerShell, a prefix or pattern allow rule never matches one with {, } or ,, whose PowerShell meaning that reading misses. "Always allow" on such a command saves its exact text, which matches that text only. Deny and ask rules still match it
SSH environmentsWindows' OpenSSH client has no connection sharing, so every call opens its own connection. Remote text is read as UTF-8; the client opens no console window
Links copied into a worktreeA link named by .worktreeinclude is recreated as a directory link when it points at a directory. Without the right to create links the file is reported as not copied
Program discoveryDirect metadata lookups, not a full import-to-distribution map per connection
Session store shutdownCancels timers, waits for in-flight writes outside locks, flushes the latest snapshot. Failed writes stay dirty. No threads: save synchronously
LF editsMatch CRLF files and keep the ending; duplicates rejected; mixed endings need exact text
Self-update and CI

Journal reads are portable, but the in-conversation controller exists only on macOS. Chat prepare and retry check the capability in host/_platform/environment.py before creating state, and point to the CLI and Desktop updaters. Status and cancellation are not gated. Native candidate tests and activation remain unimplemented.

Push and pull-request checks supersede older runs on the same branch. Installation acceptance and scheduled smoke runs use unique groups. Both architectures run in every matrix. The core job covers compatibility seams, checkpoints, backup, upgrade, installer contract and Task Scheduler; the smoke job does a full PowerShell install, starts the worker, runs doctor and stops it.

W2: release installer

A native runner builds OpenProgram-<version>-runtime-windows-x86_64.zip with its SHA-256 file; arm64 is built when OPENPROGRAM_RELEASE_WINDOWS_ARM64 is on. One runtime/ root. tui.ink is recorded only after an Ink startup probe succeeds.

  1. install.ps1 (or install.cmd, which fetches it) resolves a stable release, stops and names the platform when the release manifest has no package for it, and hands off to the installer from that immutable tag. On Windows 11 on Arm a release without an Arm package installs the x64 one, which runs under emulation, and says so.
  2. For that fallback, check that the tagged installer can pick the x64 package; refuse the release by name otherwise, before any download.
  3. Check free space, download with resume, validate the checksum and every ZIP entry; reject links and reparse points.
  4. Verify capabilities and cold-start a worker in isolated staging state, under an exclusive per-runtime lock.
  5. Move the verified candidate into its version directory.
  6. Atomically replace the .cmd launcher, keeping openprogram.previous.cmd.

Managed upgrades select the Windows ZIP and tagged PowerShell installer through the compatibility seam. A failure while piped into iex sets the exit code and throws, so the window stays open.

Activation and extraction details
  • Versions stay in directories and the previous launcher is retained. Cached versions are revalidated.
  • The launcher is prepared and snapshotted first. A failed replacement restores it; a failed restore keeps the original at a reported path.
  • ZIP names are validated before writing; files stream through extended-length paths, checking expanded bytes and lengths. Inspection and cleanup use the same APIs. The long-path registry value is untouched.
  • PowerShell passes NullString for the .NET replace, because PowerShell 5 otherwise binds $null as an invalid empty path.
  • Build helpers restore workspace, toolchain, download and browser-cache environment, including on failure.
  • doctor reports long-path and Defender state as read-only advice.

W3: Desktop

AreaBehaviour
Buildx64 per-user NSIS, assisted, from the thin shell and a seed unpacked in the App (arm64 follows the W2 switch). The Release job requires the seed to be inside the App
Release gateThe Windows leg runs the Windows contracts (scripts/release/windows-contracts.txt), then installs the App it built, starts it to a healthy worker, sends one turn through it and uninstalls. The turn goes to a loopback stand-in model whose one reply calls the command tool with echo 你好; exit 3; the text and the exit code must come back. A failure leaves only that App out, as for macOS and Linux. The Windows ZIP install runs the same turn before cli-verified
SigningWith WINDOWS_CSC_LINK and WINDOWS_CSC_KEY_PASSWORD: OpenProgram.exe and the installer Authenticode Valid, or the job fails. Without them: both must be NotSigned and the installer is renamed -unsigned.exe
CertificateWINDOWS_CSC_LINK is a PFX, base64 or an HTTPS link; WINDOWS_CSC_KEY_PASSWORD opens it. Both present make the leg signed. Public certificate authorities keep code-signing keys on hardware or in a cloud service, so an exportable PFX is rare; a cloud signing service needs a signing step of its own
What an unsigned installer showsThe browser may say the file is not commonly downloaded. Starting it shows Windows protected your PC with an unknown publisher; More info → Run anyway continues, with no administrator prompt. Smart App Control blocks it with no override. Files signed with a new certificate can meet the same warning until they gain reputation
RuntimeSealed versions under %USERPROFILE%\.openprogram\runtime, unpacked from the seed on first start behind a progress page. A link in the seed becomes a junction for a folder and a second name for a file, since a symbolic link needs a privilege. Terminal: Windows PowerShell, else COMSPEC, via node-pty ConPTY. Browser import from normal paths
Worker processThe App starts the worker detached through openprogram-launcher.exe. A launcher with no console starts Python with no console window and hands it its own output handles, so the worker writes to worker.log; from a terminal it shares the terminal. Arguments are read from the wide command line as UTF-8
Inherited handlesNode starts the launcher with handle inheritance on, so it first closes every inherited handle except its standard ones. The App's DevTools listening socket would otherwise stay open for the worker's whole life, and the reopened App could not take its port
Seed install from a terminalWindows' tar.exe reads its arguments in the ANSI code page, so the installer runs it inside the destination with an ASCII path relative to the archive; a profile folder outside the code page (a Chinese user name on English Windows) unpacks as any other, and the openprogram command it leaves on PATH runs from such a folder in any console code page. tar.exe is called by its System32 path
Installer hooksA fresh install runs no PowerShell before it installs. An upgrade over an install with OpenProgram.exe and resources\app.asar first stops the processes under it, and stops the install only when they keep running. Each hook's text goes to powershell.exe -Command, with its paths in environment variables: an execution policy covers script files only, and -ExecutionPolicy Bypass cannot beat one set by Group Policy. The release gate installs under a Group Policy that allows only signed scripts
UninstallRemoving the App stops the worker, asking it first, and removes its logon task; an upgrade or reinstall does neither. The state folder stays as it is: conversations, settings and the version store. A worker that will not stop does not block the uninstall, and an uninstaller run in place is never among the processes ended
Application identityThe shell sets the application id ai.openprogram.desktop, the one the installer writes on the Start menu shortcut, before any window opens. Toasts, the taskbar button and its pin belong to that id
UpdaterTakes a sealed version through openprogram upgrade --json. The file OpenProgram-<version>-win-<arch>.exe, or -unsigned.exe, is offered only when the release needs a newer shell. The running App's own signature fixes the update line: NotSigned is accepted only on an unsigned-built App, after size and SHA-256 passed; a signed App requires Valid and the same publisher. Failure deletes the candidate. Visible user handoff: Automatic updates
CIx64 and arm64 install dependencies and native PTY, run Desktop contracts and Web tests
Runtime preparation and version preflight

Local dist:win packaging with a full runtime:

PartRule
BuildUnique staging directory under an exclusive lock
Old payloadStays until the replacement is ready and matches the Desktop version
On failureOld payload restored, or its backup kept at a reported path
Deep or read-only filesExtended paths
Directory linksRemoved without following
Installed AppNot replaced

verify-release-version.py --installed-app takes the install directory or EXE, reads PE version metadata without launching, and requires agreement with the runtime manifest and embedded Python package metadata. A zero fourth component is normalized; nonzero is not dropped.

Local refresh publication

windows-refresh-transaction.ps1 publishes ordered, already-verified sibling source and destination pairs for the App, CLI runtime and launchers. Loading it has no side effects.

Transaction contract
  • Paths must not overlap; drive-relative paths and redirected ancestors are rejected. Extended paths, no ACL or machine changes.
  • One exclusive OS lock in the first destination's parent. Payload inspection happens under it.
  • Four callbacks: quiesce old, verify published, quiesce failed, restore old service. Each must return exactly Boolean true.
  • A flushed JSON journal records every source, destination and backup. Publish in order, compensate in reverse.
  • Success keeps originals and a receipt; no runtime tree is deleted. A failed shutdown or rollback keeps the journal and refuses later attempts.
  • Compensating, not crash-atomic: recovery must inspect recorded paths, not trust the last flags.
  • Still to build: freeze the checkout, one wheel for App and CLI, verify before stopping the worker, validate on the default profile and port, coordinate with CLI and Desktop install locks.

W4: command sandbox

The seam finds a real WSL2 distribution, verifies Bash and bubblewrap, probes a namespace, and translates paths with wslpath. Bubblewrap gives the Linux boundaries: read-only root, writable workspace roots, deny paths, PID/IPC/UTS namespaces, private temp, and a network namespace unless policy allows network.

sandbox.modeBehaviour
off (default)Sandboxed only in a conversation with Sandbox on
autoEvery conversation, once the probe succeeds; otherwise native and unsandboxed
workspace-writeReports the missing WSL2 or bubblewrap at the entry point; refuses the command only with sandbox.unavailable_policy=refuse, otherwise runs it in the host shell

No probe changes ACLs, ownership, modes, Defender or WSL settings. AppContainer needs per-application capability and ACL work. Job Objects give CPU and process limits but no filesystem or network boundary.

Without WSL2 the Sandbox switch is disabled and its hint says Sandbox unavailable: needs WSL2, what is missing and wsl --install; doctor says the same. sandbox.unavailable_policy defaults to warn on Windows and refuse elsewhere, so commands run in the host shell instead of all failing.

Why this design

Claude Code (srt-win with a WFP sublayer) and Codex (windows-sandbox-rs, RestrictedToken and Elevated) sandbox natively; MiniMax Code vendors srt-win. A native sandbox is a Rust or C subsystem of ACLs, tokens and filters, so WSL2 stays for now and a native one follows Codex's RestrictedToken level later.

Most Windows machines have no WSL2, and a refuse default made the switch mean "every command fails". The reason sits on the switch, the one control it concerns.

The command shell

Which shell a command and a hook run in, what the model is told about it, and how permission rules read PowerShell: Windows command shell.

Shortcut keys in a browser on Windows and Linux

Hints and handlers ask lib/shortcut-keys.ts: ⌘ on macOS, Ctrl elsewhere. In the Desktop App the menu owns the keys below. In a browser tab the browser or the system acts on them first.

KeyIn the pageThe browser or system does
Ctrl+NNew chatOpens a browser window
Ctrl+WClose the focused paneCloses the browser tab
Ctrl+Shift+TReopen the last closed tabReopens the browser's last closed tab
Alt+SpaceHold to dictateWindows opens the window menu; some Linux desktops open a launcher
Ctrl+Alt+arrowsNot bound: tiling keys are macOS only, and the menu shows no key elsewhereSome Linux desktops switch workspaces
Ctrl+K in a terminalNot bound: the shell keeps it, so clearing the view has no keyNone

Features that depend on the operating system

Each feature either works or refuses with a sentence naming what this computer lacks. GET /api/system/features returns one row per feature for the worker's computer: available, a reason, and the setting key its control writes. Permission grants are a separate report: System access.

FeaturemacOSWindowsLinux
Command sandboxSeatbeltbubblewrap inside the default WSL2 distribution; see W4 for what each mode does without itbubblewrap; refuses with the reason when user namespaces are blocked
Sandbox network rules by domainWorksRefuses: needs macOSRefuses: needs macOS
Computer use, application windowsAccessibility and ScreenCaptureKitUI Automation and PrintWindow; needs comtypesAT-SPI and xdotool on X11. Wayland and headless sessions refuse
Computer use, whole screenScreenCaptureKit, and pointer and key events posted at the HID tapReported as application windows are; no screen target is offeredSame as Windows
Computer use, codeWorksNot offeredNot offered
Recording an application's soundScreenCaptureKitWASAPI process loopbackparec and pactl; refuses without them
Text read off a screenshotVisiontesseract when installed, else nonetesseract when installed, else none
Workflow recordingWorksRefuses: macOS onlyRefuses: macOS only
MeetingsMicrophone and the computer's sound; speakers told apartMicrophone only; the meeting reports the computer's sound as unsupportedMicrophone only; same report
Notification with no App window openThe runtime bundle, else osascriptA toast posted through Windows PowerShell, under its namenotify-send; none without it
CredentialsJSON files in the profile, mode 0600; no KeychainThe same files under the profile's inherited ACL; no Credential ManagerThe same files, mode 0600; no libsecret
Background browserPlaywright's Chromium, else Chrome or Edge in /ApplicationsPlaywright's Chromium, else Chrome or Edge under Program Files or LOCALAPPDATAPlaywright's Chromium, else google-chrome or microsoft-edge on PATH
Your Chrome or EdgeExtension found in ~/Library/Application SupportExtension found under LOCALAPPDATAExtension found in ~/.config
Click at a screenshot point after actingPixels compared through Core GraphicsPixels compared by a PNG reader in the driverSame reader
Prevent idle sleepIOKit assertionA system-required power requestsystemd-inhibit lock on idle and sleep; one warning without it
Show in file manageropen -Rexplorer.exe /selectxdg-open on the folder; refuses without a desktop session
/copy in the Rich REPLpbcopyclip.exe, UTF-16wl-copy, xclip or xsel; prints the text otherwise
Speech playbackafplayA player on PATH, else PowerShell's media playermpg123, ffplay or mpv; else the file is kept and a warning logged
Update from a conversationWorksWorks from the version store, whose controller runs as a Scheduled Task; an install outside it refuses and names the CLI and Desktop updatersSame as Windows
Local timeThe system's local zone through Python; no time zone database or locale lookup is needed

Computer use is left out of the tool list on a computer that cannot run it, and code is left out of its parameters. Sandbox mode and its reason reach the composer through the conversation's sandbox state.

The background worker in the tray

The Assistant and the Butler keep the worker running after every window closes, so the App shows it in the menu bar (macOS) or the notification area (Windows, Linux), with the system's own menu:

  • A status line from the health probe, refreshed every 10 seconds.
  • Open OpenProgram.
  • Stop background: stops the worker as switching versions does, then quits, since the App's windows would start it again.

Closing a window and Quit do what they did and ask nothing. The icon is a single-colour App icon, apps/desktop/main/worker/tray/trayTemplate.png; without that file no tray is created.

Why this design

Claude Code and Codex have no resident process, and OpenCode's server follows its CLI. Alma, a resident desktop assistant, stays in the menu bar or tray, as OpenProgram's always-on agents need to. Asking at every quit would add a prompt to an everyday action. A native menu is not a new panel; its one hint sits on the Stop item.

Uninstalling and the version store

<state>\runtime\users.json lists the installs using the version store (versions/users.py): {install_id, kind: app|cli, path}. Every worker start adds its install, so an older install registers on its first start.

The App's installer adds itself only to a store that already holds a version: a first launch unpacks the seed into an empty <state>\runtime and refuses a folder with anything else in it. Writers take a lock and publish with replace_file.

An uninstall takes its entry off the list; when none is left, it asks whether to delete the downloaded runtime versions too, naming their size; the default answer is No and a silent uninstall keeps them. Conversations, settings and credentials are never deleted.

Why this design
ComparedOn uninstall
Claude CodeKeeps versions apart from user data and leaves the data
CodexIts script removes only its binary
OpenCodeLeft to the package manager

Offering deletion only to the last user is ours: the CLI, the App and a dev profile can share one store. Its gigabytes can be downloaded again, so deletion may be offered; it is destructive, so it defaults to No.

Release decisions

TopicDecision
A failed Windows packageOnly that package is missing from the release, and Check every planned package names it, as for macOS and Linux. Codex releases all or nothing on "built and signed"; one platform's failure here does not hold back another's fix
Release smokeEach Windows leg installs its package, pipes a prompt to openprogram --print, then runs one tool call through a stand-in model (scripts/release/smoke-tool-call.py); the Windows contracts include the PowerShell rule tests and the Ctrl-Break stop of --print
SigningAzure Trusted Signing, as Codex signs: no hardware certificate to keep, a monthly fee, and SmartScreen stops blocking the first install
Windows on ArmThe x64 package, run under emulation, until the five locked packages have arm64 wheels; then a native package, as Codex's installer picks one. Under emulation platform.machine() tells x64 Python ARM64, so whatever picks wheels, a bundled Git, a release asset or an on-demand package folder asks the interpreter's own build (openprogram/host/_platform/architecture.py), never the machine
Update from a conversationThe version store's controller: build the new version, move the pointer, keep the previous one for rollback, on Windows as everywhere. A version being retired whose files a process holds stays where it is and is moved to trash on a later pass
Why this design

Claude Code renames a running executable to .old.<timestamp> and removes it on the next start, because it replaces its binary in place.

The version store never does: each version has its own folder and only the pointer moves. A folder holding an open file can be neither moved nor renamed on Windows, so retention leaves it and tries again on the next pass, which is the effect the rename gives Claude Code.

Implementation status

LevelStatus
W1Present; Windows jobs are the merge gate. The worker stop request, the scheduled task's start, stop and restart, and Ctrl-Break handling are tested with an injected platform name; the stop request also runs against a real child in the Windows unit job. No job installs the scheduled task, so its launcher, including the profile it sets, is checked only as generated text
W2Implemented. The Release job builds the x64 ZIP on a Windows runner and installs it there with install-release.ps1 under Windows PowerShell 5.1; v1.1.0 publishes it. The public install.ps1 bootstrap and a worker started from the published ZIP are checked only by the Windows install smoke workflow, which has not run
W3Implemented. The Release job builds the unsigned x64 installer on a Windows runner; v1.1.0 left it out because its Windows update files failed, and v1.2.0 is the first release built to carry it. The App has never launched on Windows. The install, launch and tool-call gate has not run; a rehearsal on main is its first proof. It compares versions without the zero fourth part electron-builder adds (1.2.0.0)
W4Implemented; native AppContainer and quotas are future work
SigningNever exercised: the repository has no Windows certificate, so every installer so far is unsigned. Azure Trusted Signing is decided and waits for the account; the step to add is azure/trusted-signing-action in the Windows legs of release.yml, with its credentials in secrets
Windows on ArmOff by default and never built in a Release run. Four locked packages have no arm64 Windows wheel (cryptography, httptools, tiktoken, torch), so that build depends on compiling them. The runner label windows-11-vs2026-arm exists. The command-line installer falls back to the x64 package on Windows 11 on Arm, from the first release whose installer carries the fallback; whether that package and the x64 App installer work there under emulation is untested
x64 on ArmThe Windows install smoke workflow installs the x64 files on an Arm runner as well; it has not run
Thin shellImplemented. The launcher cross-compiles for x64 and arm64; its console, Unicode and UTF-8 mode tests run only in the Windows core job. The Release leg and the install smoke workflow install the App under a Chinese-named user folder, start it, check the worker's console, log, UTF-8 mode, shortcut id and path lengths, make one tool call, then uninstall
App window in the smokeA healthy worker is not enough: the smoke waits until web auth-url gives a signed-in address and the App's window, read over its DevTools port, shows /chat. It then closes the App, keeps the worker, reopens the App and checks the DevTools port belongs to the new App
App smoke, first runThe 1.2.0 rehearsal, x64: install, first launch to a healthy worker, the version store (no links, longest path 239 characters) and the tool call passed. Three checks of the smoke itself were wrong and are fixed: the worker's quoted command line, the Start menu folder (now asked of the shell, other places named), and output in cp1252. Whether the shortcut exists, the uninstall, the checksum and upload steps and the Arm run are unproven
UninstallThe users list, the installer's entry and the last uninstaller's question are built; the question is a Yes/No box with No as default rather than a checkbox on a custom page. The command-line install adds itself only when its worker starts, and has no uninstaller to remove itself, so a computer that had both keeps the store until the CLI's entry is gone. Neither answer has run on Windows. Named profiles' workers and tasks are not stopped
Long pathsThe shell and the launcher open long paths themselves; Python needs the system switch. The deepest file sits about 218 characters below the user's folder, inside the 260 limit for folder names up to 32 characters. The smoke workflow measures it
Text and filesThe encoding, replace and binary-descriptor rules are held by a repository contract and by tests that inject the platform name; none has run on Windows. Outside openprogram/state, 94 text-mode subprocess calls decode as UTF-8 in the shipped mode, which a tool printing in the OEM code page breaks. Helper processes started with -I and the App's short commands still run in the system code page. OPENPROGRAM_STATE_DIR moves the installed runtime only: config, sessions and credentials stay under the home directory
File replacePublishes and conversation folder renames wait out a sharing violation; tests inject the refusal, and none has run on Windows. The wait is one second, so a folder held by a command still running in it is refused. Deleting a conversation removes files in place and leaves what Windows holds. Provider recordings write through text-mode descriptors
Host featuresThe Windows power request, toast, clipboard and Explorer commands, the Linux sleep lock and the PNG reader are tested with stand-ins at the platform boundary; none has run on Windows or Linux. No client reads /api/system/features yet, so the recording button, the meeting page and the idle-sleep toggle still learn of a missing feature on use. Outside macOS, meetings record no computer sound and workflow recording has no backend
Local refreshPrimitive only: orchestration, crash recovery, installed-App acceptance open
Command shellSee Windows command shell
TrayBuilt without its icon, which waits for the owner to approve a before-and-after comparison; no tray appears until it is added. The status line says running or not; the number of running tasks needs an authenticated read and is not shown
Sandbox without WSL2The warn default and the WSL2 reason are tested with an injected platform; none has run on Windows. A native sandbox, following Codex's RestrictedToken level, is future work
Shortcut keys in a browserThe keys the browser keeps have no second binding on Windows and Linux, and dictation has no key that Windows leaves free. Undecided
Paths in permission rulesTested through Windows path rules with a stand-in volume, not on Windows. Allow rules on macOS compare case as typed, so a rule in another case asks again

Installation and packaging

Last updated · 2026-11-25