AppContainer child-process experiment record
This companion record preserves the environment, complete results, source references and collection scope for native AC, MXC and FinShield child-process experiments. Findings concern the versions and configurations below and support the technical article.
Results at a glance
| Cases completing their expected flow | Ordinary | Native AC control | MXC 1.0.1 | FinShield 0.11.72 |
|---|---|---|---|---|
| Python/Node.js mechanisms | 29/29 | 0/29 | 12/29 | 29/29 |
| Real Agent execution entries | 6/6 | 0/6 | 1/6 | 6/6 |
These counts describe completion of the expected functional flow. Entry initialization failures count as incomplete flows and do not establish that the intended child-process API ran. Identity observations in all 35 final FinShield cases matched the expected AC boundary. The two asyncio mechanism cases and two AgentScope entries used default execution code without an IPv6 substitution.
Tests invoke actual release code without a model. MCP uses synthetic local services and does not include tool calls. DSH Host extracts the shipped DesktopHostProcess declaration and runs the real packaged Host, with its parent harness also inside the tested boundary. Complete desktop UI, presentation delivery and all resource boundaries were not evaluated here.
Environment and comparison conditions
Native AC and MXC results were collected on November 28; the final FinShield campaign completed on November 29. The public repository's experiment directory contains the scripts and collectors.
| Item | Version or configuration |
|---|---|
| OS | Windows 11 23H2 x64, 22631.6199 |
| Python mechanisms / AgentScope | CPython 3.12.10; AgentScope 2.0.12 |
| Hermes | v0.23.5 installed from its release lock; CPython 3.14.7 |
| Node mechanisms / DSH shell | Node.js 24.22.1, libuv 1.52.1; DSH 0.2.2-rc.5 |
| DSH Desktop | 0.2.2-rc.5; Electron 44.7.0 / Node 24.21.0 |
| OpenCode | Windows release executable 1.19.6, using its shipped runtime |
| MXC control | SDK 1.0.1, appcontainer-dacl |
| Final FinShield campaign | Public 0.11.72 CLI/runtime, existing shared identity, network host |
Native zero-capability directory grants, MXC policy preparation and FinShield's existing shared authorization are not equivalent security policies. Directory layouts and some dependency installations also differ. Cross-product tables show observed functional results and do not establish equivalent security policies. Code and evidence-script hashes stayed unchanged during the final campaign.
Six execution paths and their public sources
| Product and entry | Execution chain | Public source reference |
|---|---|---|
| AgentScope local command | LocalBackend.exec_shell → asyncio child → output | Command backend |
| AgentScope local MCP | MCP client → stdio service → protocol | MCP client |
| Hermes long-lived process | _spawn_long_lived → byte stdio → requests and EOF | Long-lived process |
| DSH Desktop Host | Electron Node mode → Host → stdio and IPC | Host lifecycle |
| DSH PowerShell | PwshLocalExecutor → subprocess service → PowerShell → tool | PowerShell provider |
| OpenCode local MCP | MCP client → stdio transport → service | stdio transport |
Complete comparison of all 29 mechanism cases
An entry failure means the process exited during drive-metadata lookup before its intended API ran. Failure and timeout are not passes. Negative cases, such as missing executables and expected nonzero exits, pass when the expected error is observed.
| Case | Ordinary | Native AC control | MXC 1.0.1 | FinShield 0.11.72 |
|---|---|---|---|---|
| Python Popen, separate stdout/stderr | pass | fail | pass | pass |
| Python Popen, merged stderr | pass | fail | pass | pass |
| Python Popen, inherited stdio | pass | fail | pass | pass |
| Python Popen, ignored stdio | pass | fail | pass | pass |
| Python asyncio, direct execution | pass | timeout | timeout | pass |
| Python asyncio, Shell execution | pass | timeout | timeout | pass |
| Python bidirectional stdio and EOF | pass | fail | pass | pass |
| Python repeated output | pass | fail | pass | pass |
| Python 256 KiB output | pass | fail | pass | pass |
| Python multiprocessing spawn | pass | fail | fail | pass |
| Python → cmd → tool | pass | fail | fail | pass |
| Python → PowerShell → tool | pass | fail | pass | pass |
| Python → Node | pass | fail | fail | pass |
| Python missing executable | pass | fail | pass | pass |
| Python expected nonzero exit | pass | fail | pass | pass |
| Python bounded timeout | pass | fail | pass | pass |
| Python cancel direct child | pass | fail | pass | pass |
| Node spawn, pipe | pass | entry failure | entry failure | pass |
| Node spawn, inherit | pass | entry failure | entry failure | pass |
| Node spawn, ignore | pass | entry failure | entry failure | pass |
| Node exec | pass | entry failure | entry failure | pass |
| Node execFile | pass | entry failure | entry failure | pass |
| Node fork, IPC roundtrip | pass | entry failure | entry failure | pass |
| Node bidirectional stdio and EOF | pass | entry failure | entry failure | pass |
| Node repeated output | pass | entry failure | entry failure | pass |
| Node 256 KiB output | pass | entry failure | entry failure | pass |
| Node → Python | pass | entry failure | entry failure | pass |
| Node missing executable | pass | entry failure | entry failure | pass |
| Node expected nonzero exit | pass | entry failure | entry failure | pass |
Repeated-output checks establish content completeness, not arrival latency; 256 KiB output is not a throughput benchmark. Timeout and cancellation checks target a direct child and do not establish arbitrary descendant-tree cleanup.
Complete comparison of all six real execution entries
| Actual execution entry | Ordinary | Native AC control | MXC 1.0.1 | FinShield 0.11.72 |
|---|---|---|---|---|
| AgentScope command | pass | timeout before method | timeout before method | pass |
| AgentScope local MCP | pass | timeout before method | timeout before method | pass |
| Hermes long-lived process | pass | initialization timeout | pass | pass |
| DSH Desktop Host | pass | NUL initialization failure | drive-metadata failure | pass |
| DSH PowerShell | pass | drive-metadata failure | drive-metadata failure | pass |
| OpenCode local MCP | pass | drive-metadata failure | drive-metadata failure | pass |
MCP results cover connection/initialization, discovery and applicable close behavior, without tool calls. Observing any-Job membership does not establish a particular Job's limits.
Collection, partial authorization updates and coverage limits
python_probe.py and node_probe.mjs cover APIs, communication, nested execution and errors. python_channels.py, node_channels.mjs and asyncio_bootstrap.py separate initialization problems. agent_python.py, agent_dsh.mjs and agent_dsh_host.cjs invoke actual released implementations. Collectors retain commands, versions, source hashes, output and exit/timeout status, and inspect process tokens. Missing results, abnormal exits and unknown identities cannot count as passes.
The campaign also checked a partial authorization update. After changing only network configuration, the official check returned filesystem: same, network: different; after reauthorization, both returned same. Filesystem digests, authorization receipts, propagation progress and compatibility records stayed unchanged. The network digest changed and the identity stayed fixed, supporting reuse of filesystem authorization in this transition.
Network content inspection, complete model tasks and presentation rendering, and full resource/descendant-lifecycle acceptance are outside these conclusions. Raw logs contain local paths and transient service tokens and are not published as a download. Public reproduction code is not a copy of all author-side raw evidence.
