Skip to content

Local State

Platform State root
Windows %LOCALAPPDATA%\Codex\workflow-skill-router
macOS ~/Library/Application Support/Codex/workflow-skill-router
Linux ${XDG_STATE_HOME:-~/.local/state}/codex/workflow-skill-router

Set WORKFLOW_SKILL_ROUTER_DATA_DIR to use another directory. The runtime rejects a state path inside the Plugin installation/cache boundary.

Personal Routing Profile files live under profiles/personal/*.json inside the same external data root. Workspace Profiles remain project-owned at .codex/workflow-skill-router.json; the Router reads only that fixed path, and MCP mode requires the root to be advertised by the Client or configured in WORKFLOW_SKILL_ROUTER_WORKSPACE_ROOTS. Profile files never belong in the Plugin cache.

Profile content is strict routing data, not executable instructions. Invalid existing files fail closed. A valid match is still intended-unverified until Runtime Capability Discovery checks the selected SKILLs.

Bundled local R0 stores durable plan records, state versions, idempotency keys, workflow/work-graph IDs, envelope decisions, and objective digests. It does not store plaintext objectives in the local plan table. Verified Host integrations may add event, projection, artifact, and evaluation stores under separate authority.

The state root resolves outside the Plugin installation/cache boundary. The automated local-root replacement rehearsal verifies resolver continuity while that external path is retained. It does not prove that a real codex plugin remove followed by reinstall preserves state, and Windows/macOS/Linux lifecycle verification remains release-candidate migration evidence that has not yet been completed.

Keep the external state path while you need audit history or resumable work. Before an upgrade or uninstall workflow, record the exact path and treat any state preservation outcome as unverified until the corresponding lifecycle evidence exists.

Before removing any state file, stop active Router processes and verify that no Goal depends on it. Remove only the explicit file or directory you have reviewed; the project never treats uninstall as permission for silent recursive deletion.

Terminal window
python plugins/workflow-skill-router/runtime/workflow_skill_router.pyz doctor

No telemetry is enabled by default. A configured model adapter can use provider quota; its evidence and retention policy must be disclosed separately.

The public surface contains 20 MCP tools. Memory uses a separate Operational DB and Optional Memory DB. Managed writes are limited to managed-personal and managed-workspace-local; User-owned Profile writes still require their original authority.

The four decisions remain separate: policy autonomy, trusted Workspace binding, Profile ownership/target authority, and Runtime/Side-effect execution authority. A trusted root is not a Host write grant.

Skill consistency is unavailable without receipt evidence. A planned route may be intended-unverified; it is not activation proof. The Memory Flight Recorder uses fixture-trace or sanitized runtime records. Its deterministic-local-pilot is not Model Evidence and never contains actual Personal Memory.

The Operational DB continues workflow/control state. The Optional Memory DB is lazily created only by enabled Memory writes. Managed Personal state, Workspace-Digest-scoped managed state and immutable Revision snapshots stay under the external data root; disabling capture does not silently purge them.