Repository navigation
Description
Subject: Codex on Windows: requested workspace-write became read-only — embedded exec policy resolution and child permission support
Status: Local request; not submitted.
2026-10-05 diagnostic update: Exact standalone 0.160.0 version/help and
fresh experimental schema export were inspected without RPC or a model turn.
The image matches the recorded SHA-256. The readiness response exposes only
ready/notConfigured/updateRequired; environment info exposes shell/default cwd;
environment status exposes connectivity; permission-profile listing exposes
IDs and whether selection is allowed (permissionProfile/list). These fields do not establish the exact
exec-selected executor, Windows sandbox level or policy restriction cause.
Current general subagent docs list sandbox_mode, while the pinned 0.160.0 V1
source projection omits it. Please resolve this release-specific difference.
The local preflight report
records scope and side effects. The five questions below remain open.
Research refinement: The local research in responce.md suggests a separate
app-server thread/start without turn/start as a possible partial runtime
snapshot. This is a proposal, not an executed diagnostic or an authoritative
support answer. No complete inspector was identified within the advertised CLI
and selected schemas inspected; this does not establish that no supported
inspector exists elsewhere. Please distinguish release-pinned support from
current documentation and confirm the procedure's limits for 0.160.0.
Environment and observations
We are validating a custom-agent workflow on native Windows.
Historical failing case
-
Native CLI version: 0.159.3.
-
The exact backend serving that capture was not identified.
-
Invocation used these options:
codex exec --ignore-user-config --strict-config --enable multi_agent --json --sandbox workspace-write -C <owned temporary fixture> <fixed task>This is a schematic invocation; the runner also supplied a fixture-specific trust override.
-
The captured parent policy was read-only before the child was spawned.
-
The child's role configuration requested
workspace-write, but its captured policy was alsoread-only. -
Task evidence was present; the child's model and reasoning effort matched its configuration.
-
This case remains a sandbox-policy validation failure.
Current environment after upgrade
- Native standalone CLI is now 0.160.0, independently verified.
- Verified standalone executable SHA-256:
fdda5fa3cf3fb3d000b876720742857676293e4315e4b045fae6f8bd7e866d1d. - The read-only
codex app-server daemon versiondiagnostic reported:status: runningbackend: pidcliVersion: 0.160.0managedCodexVersion: 0.160.0appServerVersion: 0.160.0
- This diagnostic describes the separate managed daemon. It does not bind ordinary embedded exec or explain its enforced policy.
- No fresh paid behavioral capture has been run after the upgrade.
Checks already performed
Before the upgrade:
config/readreportedsandbox_mode: workspace-writefrom the user configuration layer.configRequirements/readreturnedrequirements: null.- That config read did not reproduce the historical invocation's CLI flags or session scope, so it does not explain the captured restriction.
The inspected 0.160.0 typed thread/read response did not expose a defined field for enforced-policy origin or serving-backend identity. We did not resume a thread or inspect private database files.
Release-pinned source findings (0.160.0 only)
We inspected official release rust-v0.160.0 at commit
a956835. These are static source findings,
not a vendor answer or a measurement of the historical 0.159.3 run.
- Ordinary exec dispatch starts an embedded in-process app-server. Separate
managed-daemon binding is not a prerequisite established by this source path. - The legacy Windows path converts workspace-write to read-only when the
effective Windows sandbox level is Disabled. This can occur with an explicit
sandbox argument; we have not measured the relevant historical level. - Requirements can constrain a configured profile; environment selection can
supply the effective profile returned in the thread snapshot. - The default sandbox-selection fallback and the core loader's separate
requirements-constrained fallback are distinct paths. A default-only fallback
must not be used to explain an explicit CLI sandbox request without tracing
the actual resolution path. - ThreadStartResponse includes snapshot sandbox and optional experimental
activePermissionProfile. Exec's bootstrap conversion uses its local config
permission profile, rather than response.sandbox, for that profile field. - JSONL thread.started contains only thread_id. The non-JSON stderr sandbox
summary also uses local config; it is not complete server-policy provenance. - V1 child preparation reapplies the parent live permission snapshot after role
setup. Its typed role override projection does not forward sandbox_mode or
permission-profile fields. A role TOML declaration alone therefore does not
establish role-specific enforcement in 0.160.0.
Pinned references:
embedded route,
Windows selection,
output conversion,
child preparation,
role projection.
Questions requiring an answer
1. How can we inspect embedded exec policy without a paid turn?
For native standalone 0.160.0, identify a supported command or API that shows
the policy resolved for the exact exec invocation, including:
- Whether the supplied CLI sandbox/ignore-user-config/strict-config options apply.
- The selected executor environment and effective Windows sandbox level/type.
- The requested policy, resolved configuration profile, and environment-effective
thread/turn policy, with relevant writable roots and restriction source/precedence. - How the evidence binds to the executable version and invocation/session.
Please provide method, parameters, response fields, schema and interpretation.
Can this be obtained before creating a thread or starting a model turn?
If it cannot, please state that limitation and the supported minimum procedure.
For the proposed separate app-server thread/start diagnostic, please provide:
- Exact launch arguments,
initializecapability requirements, and request
payloads supported by 0.160.0, including whetherephemeral: trueis supported
and what it guarantees. - How to reproduce exec's resolved configuration, trust context, CLI overrides,
permission-profile selection and executor environment. State any differences
between the two launch paths rather than assuming equivalence. - Which returned fields are observations of that newly created thread only,
and whether any supported mechanism binds them to the exact embedded exec
invocation being investigated. - A list of unresolved fields after this procedure. A separate-thread snapshot
alone cannot establish exact-exec provenance, Windows restriction cause or
child-policy enforcement.
2. Is the Windows read-only transition intended?
Please confirm the supported behavior of explicit workspace-write when the
legacy Windows sandbox level is Disabled. How can we distinguish this platform
fallback from a managed requirement or an executor-environment restriction
without weakening policy or changing global configuration?
Please identify the observations needed to distinguish the Windows Disabled
fallback, default sandbox selection, the core loader's requirements-constrained
fallback, and an environment-selected profile. Explain which supported field
reveals the selected branch and restriction precedence, or state that this
information is unavailable.
We have not established that this condition caused the historical 0.159.3
failure. Please identify version-specific guidance for that historical analysis
separately; do not assume a mixed-version managed-daemon pairing served it.
3. Which policy output is supported as evidence?
ThreadStartResponse has snapshot policy fields, but ordinary exec JSONL does
not emit them in thread.started, and its bootstrap/human summary uses the local
configuration profile. Which supported surface exposes the actual responding
thread/turn policy and its source, including environment differences?
If suggesting config/read or thread/read, identify the exact fields and scope.
If suggesting logging, specify a stable allowlist and privacy-safe collection
procedure rather than a raw environment, configuration or transcript dump.
Proposed session.policy events are not assumed to exist.
For a thread/start snapshot, distinguish sandbox, cwd,
runtimeWorkspaceRoots, and optional experimental activePermissionProfile
from configuration inputs and profile catalog entries. An active profile's
id/extends does not by itself establish restriction origin or precedence;
permissionProfile/list describes available profiles and selection eligibility,
not the enforced policy of an existing exec thread.
Provide a field-by-field allowlist for any proposed config/read,
configRequirements/read, profile-list or thread response capture. Include only
necessary policy fields and sanitized identifiers/paths; do not request whole
configuration or requirements objects by default.
4. Are custom-agent sandbox restrictions supported in 0.160.0?
Please confirm whether sandbox_mode or permission-profile settings in a custom
agent TOML are supported runtime controls for V1 spawning. The inspected role
projection does not forward them, and parent runtime permissions are reapplied.
In particular, what supported mechanism makes a read-only child remain
read-only under a workspace-write parent? How can we prove requested and
effective child policy, parent lineage and restriction source without relying
only on role-file content? Please identify limitations or a version-specific
alternative; we need guidance before running role-specific behavioral gates.
Please name the exact supported method or event that exposes the child's
effective policy and parent linkage. If none is available in this release,
separate that observability limitation from whether a child restriction is
supported, and describe any required enforcement test and its side effects.
5. What are the diagnostic side effects?
Identify whether the proposed procedure creates/persists a thread, resumes
finished state, starts a model turn, writes metadata or requires a lifecycle
change. We need zero-model-turn, bounded read-only checks first. Preserve enforced
restrictions and existing configuration. Zero model turns must not be described
as a guarantee of no writes, network activity or other side effects.
For each step, explicitly identify:
- Model/provider requests, possible billing, and whether omitting
turn/start
prevents all model requests in the proposed procedure. - Thread/session creation, rollout/database/metadata writes, logs and caches,
including what ephemeral mode does and does not prevent. - Execution-environment connection or startup, remote activity, MCP startup,
hooks and authentication interactions.environment/infoconnects to an
environment; do not classify it as a passive status-only read. - Required permissions, initialization failures, shutdown/unsubscribe behavior,
and any necessary cleanup, without resuming existing threads or altering
global configuration or enforced restrictions.
Separate truly passive checks from no-model-turn thread creation and later
behavioral probes. Please supply a reviewable procedure before execution; this
request does not authorize the proposed thread creation or lifecycle changes.
Requested outcome and acceptance
A supported evidence procedure must establish the ordinary embedded launch
route and selected executor, requested/resolved/environment-effective parent
policy and cause, and supported child-policy semantics. Matching daemon version
strings do not close these gaps. State any unavailable field or unavoidable
side effect explicitly.
Collect only sanitized allowlisted evidence tied to the relevant version and
invocation/session. Any later write-denial probe needs an owned disposable
target outside every effective writable root, including temporary directories.
Until accepted independent validation/review closes the preflight, it remains
BLOCKED. Historical L8 remains FAIL with seven cases NOT RUN; release NOT READY,
runtimeValidated false. No fresh paid run is authorized by this request.
Please support release-specific claims with documentation or source references
pinned to 0.160.0 (or explicitly identify a different applicable release).
Mutable main references, broken citation placeholders and current general
documentation alone do not resolve a release-specific discrepancy. Distinguish
confirmed behavior, bounded source findings and hypotheses about 0.159.3.
Activity
github-actions commentedon Oct 5, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action