Repository navigation
Windows App Server 0.171.0-alpha.13.2: How can a client verify MXC-or-refusal and effective permissions before command/exec?
#64076
Replies: 1 comment
|
Looking at the protocol schemas and documentation pinned to There are four relevant interfaces to distinguish. 1. Windows sandbox readinessAfter completing App Server initialization, send: {
"id": 1,
"method": "windowsSandbox/readiness",
"params": null
}The response schema exposes three possible statuses:
However, There is no selected-backend identifier or explicit no-fallback guarantee in this response. 2. Configuration and precedenceQuery the same App Server connection using the intended working directory: {
"id": 2,
"method": "config/read",
"params": {
"cwd": "C:\\workspace\\project",
"includeLayers": true
}
}The response includes The relevant configuration keys include:
Explicitly selecting MXC and preferring MXC are different configuration intents. Neither should be treated as runtime attestation based solely on the returned configuration. I'd also inspect 3. Named versus default permission profilesThe version-matched protocol exposes: {
"id": 3,
"method": "permissionProfile/list",
"params": {
"cwd": "C:\\workspace\\project"
}
}However, An There is also an interesting schema inconsistency: Consequently, I would not rely on that property as a supported per-command selector without further confirmation from the maintainers. 4. What is missingFor a strict MXC-or-refusal security requirement, I would expect a preflight interface returning:
That last point matters because configuration could change between inspection and execution, introducing a time-of-check/time-of-use problem. I could not identify such a contract in the version-matched interfaces examined here. If MXC-or-refusal is a hard security requirement, the conservative client behavior is to refuse to submit the workload when these guarantees cannot be established. A successful readiness check should not be presented as proof of enforcement. Version-matched references:
This is based on inspection of the published schemas and documentation, not runtime testing of the Windows binary. Maintainer clarification on the intended MXC fallback behavior and the missing |
Uh oh!
There was an error while loading. Please reload this page.
For Codex App Server 0.171.0-alpha.13.2 on Windows (source revision ad9d659), is there a supported way to establish, before a workload is created, that a specific local service will use MXC or refuse, and which file-read, file-write and network rules it will enforce for a standalone command/exec at a specified directory? Please point to the version-matched interface, schema or documented procedure, including how it ties the result to the service, handles named versus default profiles, and reports configuration precedence and fallback. If this build exposes only partial evidence, which part is unavailable?
All reactions