Version 2.0.1 for Windows

Codex Desktop Autonomy Kit

A click-first setup kit that configures Codex Desktop for practical local software-development autonomy: persistent instructions, full local development access, toolchain bootstrap, diagnostics, an audited full-administrator helper, and a capability self-assessment rule that stops an agent inventing limits it never tested.

What it does

Configures Codex

Creates or refreshes a kit-managed ~/.codex/config.toml with autonomy-oriented settings and persistent developer instructions.

Installs useful tools

Bootstraps common user-scope development tools: Python, uv, Node.js, GitHub CLI, ripgrep, jq, SQLite, and Playwright. Remote bootstrap scripts run only after release-pinned SHA-256 verification.

Handles elevation

Optionally installs a scheduled-task helper whose RunTrustedPowerShellScript action gives owner-authorized scripts under trusted lexical roots full local-administrator execution. Atomic job publication, queued overlapping starts, and stable queue draining keep requests from being stranded.

Tests its own access

Installs a capability-check skill and a standing rule that make the agent probe what it can actually do instead of stopping to ask for permissions it already has.

Never eats your config

Replaces config.toml only on an exact template match or explicit force. Customized settings — models, theme, plugins, hooks, project trust — are left untouched, byte-for-byte. Any overwrite records the exact backup and hash, and uninstall restores only that recorded backup.

Designed for no-CLI operation

Install or update.
Double-click Install-Autonomy.cmd. The installer runs setup, Doctor, and helper refresh checks.
Approve UAC only when needed.
The helper path asks for Windows administrator approval during initial setup or refresh.
Restart Codex Desktop.
Setup also stages the instruction profiles, installs the capability-check skill, and adds the capability rule to AGENTS.md. After restart, the kit is active through Codex Desktop configuration.
Maintain by double-clicking.
Use Doctor, Refresh Helper, Run Tests, or Uninstall from the root launcher files.

Architecture

Codex Desktop Autonomy Kit architecture diagram

Stops the imagined blocker

The most expensive failure of an autonomous coding agent is not a missing permission. It is inventing one, then halting to ask for access it already has. Prose does not fix this — a model can rationalize past an instruction.

Probe, don't assume

The capability-check skill has the agent run real checks — test the path, attempt the write, try the command — rather than reasoning about what a sandbox probably allows.

Separate real limits

A policy rejection is Codex enforcing its command policy: it is reported exactly, not respelled or rerouted. A real limit — ACL, UAC, file lock, missing tool — gets named precisely. An imagined limit gets tested away.

Standing rule

The installer appends the rule to AGENTS.md inside markers, only if absent, backing up first. Content you wrote there is never rewritten.

Safety model

The kit is intentionally powerful because it is for owner-controlled Windows development machines. It replaces config.toml only when the file is provably kit-owned — an exact match for the generated template, or an explicit -ForceConfig. A customized config, including one the kit created but you later edited, is left byte-for-byte unchanged, and a backup is taken before any overwrite. The elevated helper accepts junction/symlink paths lexically under its trusted roots and rejects direct outside-root or prefix-collision paths. Its installed invoker is discovered through ~/.codex/autonomy-kit/helper-root.json, including custom roots and task names. Setup verifies the installer exit, task, helper hash, and invoker hash before reporting success.

Who it is for

Solo builders

People who want Codex Desktop to finish local setup, builds, tests, and repairs without turning every task into a checklist.

Windows developers

Users who need practical Windows support for services, SDKs, firewall rules, installers, and development tooling.

Kit maintainers

People who want a documented pattern for no-CLI install, diagnostics, uninstall, versioned manifests, and regression tests.