Repository navigation
fix(desktop): unregister managed policy engine plugins - #4725
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 4 Skipped Deployments
|
Original test record: v1 headless rollback — PassedCommit pnpm evals:e2e desktop-policy-restricted-mode --local --engine v1 --surface web --case POLICY-ROLLBACKSource: This is the original parsed record, including assertion evidence and trace, without omitted fields. Original JSON record and observable assertions{
"name": "POLICY-ROLLBACK tools complete when policy HTTP fails and IPC is disconnected",
"dir": "/private/var/folders/d9/xqhkvsp94rg0n0n523snqztm0000gn/T/opencode/wt-remove-policy-plugin/evals/results/test-runs/2026-09-10T02-11-43-457Z-policy-rollback-tools-complete-when-policy-http-fails-and-ipc-is-disconnected",
"createdAt": "2026-09-10T02:11:43.457Z",
"closedAt": "2026-09-10T02:12:00.593Z",
"gitSha": "50dcf4c052135c95a597d25082ac02390423a0ce",
"engine": "v1",
"branch": "fix/remove-desktop-policy-plugin",
"summary": {
"ok": true,
"totalArtifacts": 1,
"passedArtifacts": 1,
"failedArtifacts": 0,
"unvalidatedArtifacts": 0,
"pendingArtifacts": 0,
"passedExpectations": 1,
"failedExpectations": 0,
"pendingJudgments": 0
},
"artifacts": [
{
"caption": "v1 executes read and shell with policy HTTP 503 and disconnected IPC",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:11:59.444Z",
"description": "{\"engine\":\"v1\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006303472\\n\\n(End of file - total 1 lines)\\n</content>\"},{\"type\":\"step-finish\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"bash\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006303472' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\"}]}]},\"body\":{\"session\":{\"id\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"slug\":\"quick-panda\",\"projectID\":\"global\",\"directory\":\"/private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"path\":\"private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"summary\":{\"additions\":0,\"deletions\":0,\"files\":0},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"title\":\"Copy a local file during policy outage\",\"agent\":\"openwork\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"version\":\"1.18.30\",\"time\":{\"created\":1789006315977,\"updated\":1789006318406}},\"messages\":[{\"info\":{\"id\":\"msg_0891607ab000453ada9e746143\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"role\":\"user\",\"time\":{\"created\":1789006317529},\"summary\":{\"diffs\":[]},\"agent\":\"openwork\",\"model\":{\"providerID\":\"policy-rollback-witness\",\"modelID\":\"policy-rollback-model\"},\"system\":\"User context:\\n- Time zone: America/Los_Angeles (UTC-07:00)\\n- Today's date in that time zone: Wednesday 2026-09-09\\n- Locale: en-US\\nResolve \\\"today\\\", \\\"tomorrow\\\", \\\"this week\\\", and other relative dates and times in this time zone, even when another date or clock in this prompt or on the host differs. For the exact current time, read the system clock and convert it to this time zone.\"},\"parts\":[{\"id\":\"prt_0891607dc001cuVNIK8dWTCu5A\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607ab000453ada9e746143\",\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\"}]},{\"info\":{\"id\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"role\":\"assistant\",\"time\":{\"created\":1789006317542,\"completed\":1789006318402},\"parentID\":\"msg_0891607ab000453ada9e746143\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"finish\":\"tool-calls\"},\"parts\":[{\"id\":\"prt_089160949001QzUEWckr1xK6Sy\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"type\":\"step-start\"},{\"id\":\"prt_0891609da001FsYuiyyxvtlUBr\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"tool\":\"read\",\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006303472\\n\\n(End of file - total 1 lines)\\n</content>\",\"title\":\"tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"metadata\":{\"preview\":\"tool-read-witness-1789006303472\",\"truncated\":false,\"loaded\":[],\"display\":{\"type\":\"file\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"text\":\"tool-read-witness-1789006303472\",\"lineStart\":1,\"lineEnd\":1,\"totalLines\":1,\"truncated\":false}},\"time\":{\"start\":1789006318048,\"end\":1789006318396}}},{\"id\":\"prt_089160b3e001yiRCskC4di3Whf\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"type\":\"step-finish\",\"reason\":\"tool-calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}}]},{\"info\":{\"id\":\"msg_089160b43001kT0nSKHDpa1Gb3\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"role\":\"assistant\",\"time\":{\"created\":1789006318403},\"parentID\":\"msg_0891607ab000453ada9e746143\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},\"parts\":[{\"id\":\"prt_089160bf3001uqI38n9Tg5J2sK\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_089160b43001kT0nSKHDpa1Gb3\",\"type\":\"step-start\"},{\"id\":\"prt_089160c88001tJ2vv1J7dfIa49\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_089160b43001kT0nSKHDpa1Gb3\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"tool\":\"bash\",\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006303472' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\",\"title\":\"printf '%s' 'tool-read-witness-1789006303472' > 'policy-tool-output.txt'\",\"metadata\":{\"output\":\"(no output)\",\"exit\":0,\"truncated\":false},\"time\":{\"start\":1789006318732,\"end\":1789006318760}}}]}]}},\"output\":\"tool-read-witness-1789006303472\",\"policyRequests\":[\"/managed-policy/evaluate\"]}",
"model": "",
"ok": true,
"results": [
{
"expectation": "v1 executes read and shell with policy HTTP 503 and disconnected IPC",
"passed": true,
"evidence": "{\"engine\":\"v1\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006303472\\n\\n(End of file - total 1 lines)\\n</content>\"},{\"type\":\"step-finish\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"bash\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006303472' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\"}]}]},\"body\":{\"session\":{\"id\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"slug\":\"quick-panda\",\"projectID\":\"global\",\"directory\":\"/private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"path\":\"private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"summary\":{\"additions\":0,\"deletions\":0,\"files\":0},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"title\":\"Copy a local file during policy outage\",\"agent\":\"openwork\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"version\":\"1.18.30\",\"time\":{\"created\":1789006315977,\"updated\":1789006318406}},\"messages\":[{\"info\":{\"id\":\"msg_0891607ab000453ada9e746143\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"role\":\"user\",\"time\":{\"created\":1789006317529},\"summary\":{\"diffs\":[]},\"agent\":\"openwork\",\"model\":{\"providerID\":\"policy-rollback-witness\",\"modelID\":\"policy-rollback-model\"},\"system\":\"User context:\\n- Time zone: America/Los_Angeles (UTC-07:00)\\n- Today's date in that time zone: Wednesday 2026-09-09\\n- Locale: en-US\\nResolve \\\"today\\\", \\\"tomorrow\\\", \\\"this week\\\", and other relative dates and times in this time zone, even when another date or clock in this prompt or on the host differs. For the exact current time, read the system clock and convert it to this time zone.\"},\"parts\":[{\"id\":\"prt_0891607dc001cuVNIK8dWTCu5A\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607ab000453ada9e746143\",\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\"}]},{\"info\":{\"id\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"role\":\"assistant\",\"time\":{\"created\":1789006317542,\"completed\":1789006318402},\"parentID\":\"msg_0891607ab000453ada9e746143\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"finish\":\"tool-calls\"},\"parts\":[{\"id\":\"prt_089160949001QzUEWckr1xK6Sy\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"type\":\"step-start\"},{\"id\":\"prt_0891609da001FsYuiyyxvtlUBr\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"tool\":\"read\",\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006303472\\n\\n(End of file - total 1 lines)\\n</content>\",\"title\":\"tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"metadata\":{\"preview\":\"tool-read-witness-1789006303472\",\"truncated\":false,\"loaded\":[],\"display\":{\"type\":\"file\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"text\":\"tool-read-witness-1789006303472\",\"lineStart\":1,\"lineEnd\":1,\"totalLines\":1,\"truncated\":false}},\"time\":{\"start\":1789006318048,\"end\":1789006318396}}},{\"id\":\"prt_089160b3e001yiRCskC4di3Whf\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"type\":\"step-finish\",\"reason\":\"tool-calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}}]},{\"info\":{\"id\":\"msg_089160b43001kT0nSKHDpa1Gb3\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"role\":\"assistant\",\"time\":{\"created\":1789006318403},\"parentID\":\"msg_0891607ab000453ada9e746143\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},\"parts\":[{\"id\":\"prt_089160bf3001uqI38n9Tg5J2sK\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_089160b43001kT0nSKHDpa1Gb3\",\"type\":\"step-start\"},{\"id\":\"prt_089160c88001tJ2vv1J7dfIa49\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_089160b43001kT0nSKHDpa1Gb3\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"tool\":\"bash\",\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006303472' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\",\"title\":\"printf '%s' 'tool-read-witness-1789006303472' > 'policy-tool-output.txt'\",\"metadata\":{\"output\":\"(no output)\",\"exit\":0,\"truncated\":false},\"time\":{\"start\":1789006318732,\"end\":1789006318760}}}]}]}},\"output\":\"tool-read-witness-1789006303472\",\"policyRequests\":[\"/managed-policy/evaluate\"]}"
}
],
"judgments": [
{
"expectation": "v1 executes read and shell with policy HTTP 503 and disconnected IPC",
"state": "passed",
"reasoning": "{\"engine\":\"v1\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006303472\\n\\n(End of file - total 1 lines)\\n</content>\"},{\"type\":\"step-finish\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"bash\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006303472' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\"}]}]},\"body\":{\"session\":{\"id\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"slug\":\"quick-panda\",\"projectID\":\"global\",\"directory\":\"/private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"path\":\"private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"summary\":{\"additions\":0,\"deletions\":0,\"files\":0},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"title\":\"Copy a local file during policy outage\",\"agent\":\"openwork\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"version\":\"1.18.30\",\"time\":{\"created\":1789006315977,\"updated\":1789006318406}},\"messages\":[{\"info\":{\"id\":\"msg_0891607ab000453ada9e746143\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"role\":\"user\",\"time\":{\"created\":1789006317529},\"summary\":{\"diffs\":[]},\"agent\":\"openwork\",\"model\":{\"providerID\":\"policy-rollback-witness\",\"modelID\":\"policy-rollback-model\"},\"system\":\"User context:\\n- Time zone: America/Los_Angeles (UTC-07:00)\\n- Today's date in that time zone: Wednesday 2026-09-09\\n- Locale: en-US\\nResolve \\\"today\\\", \\\"tomorrow\\\", \\\"this week\\\", and other relative dates and times in this time zone, even when another date or clock in this prompt or on the host differs. For the exact current time, read the system clock and convert it to this time zone.\"},\"parts\":[{\"id\":\"prt_0891607dc001cuVNIK8dWTCu5A\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607ab000453ada9e746143\",\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\"}]},{\"info\":{\"id\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"role\":\"assistant\",\"time\":{\"created\":1789006317542,\"completed\":1789006318402},\"parentID\":\"msg_0891607ab000453ada9e746143\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"finish\":\"tool-calls\"},\"parts\":[{\"id\":\"prt_089160949001QzUEWckr1xK6Sy\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"type\":\"step-start\"},{\"id\":\"prt_0891609da001FsYuiyyxvtlUBr\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"tool\":\"read\",\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006303472\\n\\n(End of file - total 1 lines)\\n</content>\",\"title\":\"tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"metadata\":{\"preview\":\"tool-read-witness-1789006303472\",\"truncated\":false,\"loaded\":[],\"display\":{\"type\":\"file\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006303472/workspace/policy-transport-input.txt\",\"text\":\"tool-read-witness-1789006303472\",\"lineStart\":1,\"lineEnd\":1,\"totalLines\":1,\"truncated\":false}},\"time\":{\"start\":1789006318048,\"end\":1789006318396}}},{\"id\":\"prt_089160b3e001yiRCskC4di3Whf\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_0891607e6001sJVpGamGgHwJdO\",\"type\":\"step-finish\",\"reason\":\"tool-calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}}]},{\"info\":{\"id\":\"msg_089160b43001kT0nSKHDpa1Gb3\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"role\":\"assistant\",\"time\":{\"created\":1789006318403},\"parentID\":\"msg_0891607ab000453ada9e746143\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006303472/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},\"parts\":[{\"id\":\"prt_089160bf3001uqI38n9Tg5J2sK\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_089160b43001kT0nSKHDpa1Gb3\",\"type\":\"step-start\"},{\"id\":\"prt_089160c88001tJ2vv1J7dfIa49\",\"sessionID\":\"ses_f76e9fe36ffev8zrZocXLhyEaH\",\"messageID\":\"msg_089160b43001kT0nSKHDpa1Gb3\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"tool\":\"bash\",\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006303472' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\",\"title\":\"printf '%s' 'tool-read-witness-1789006303472' > 'policy-tool-output.txt'\",\"metadata\":{\"output\":\"(no output)\",\"exit\":0,\"truncated\":false},\"time\":{\"start\":1789006318732,\"end\":1789006318760}}}]}]}},\"output\":\"tool-read-witness-1789006303472\",\"policyRequests\":[\"/managed-policy/evaluate\"]}"
}
]
}
],
"trace": [
{
"seq": 1,
"at": "2026-09-10T02:11:43.482Z",
"stage": "world",
"channel": "seed",
"verb": "mock",
"detail": "mock(mcp)",
"ok": true,
"ms": 0
},
{
"seq": 2,
"at": "2026-09-10T02:11:54.768Z",
"stage": "world",
"channel": "seed",
"verb": "appWeb",
"detail": "appWeb(local)",
"ok": true,
"ms": 11286
},
{
"seq": 3,
"at": "2026-09-10T02:11:54.786Z",
"stage": "world",
"channel": "seed",
"verb": "workspace",
"detail": "workspace(/tmp/openwork-policy-transport-rollback-1789006303472/workspace)",
"surface": "policy-transport-rollback-75364-eb84c9a2",
"ok": true,
"ms": 18
},
{
"seq": 4,
"at": "2026-09-10T02:11:54.868Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-75364-eb84c9a2",
"ok": true,
"ms": 82
},
{
"seq": 5,
"at": "2026-09-10T02:11:54.869Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-75364-eb84c9a2",
"ok": true,
"ms": 1
},
{
"seq": 6,
"at": "2026-09-10T02:11:55.877Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-75364-eb84c9a2",
"ok": true,
"ms": 1008
},
{
"seq": 7,
"at": "2026-09-10T02:11:56.782Z",
"stage": "world",
"channel": "seed",
"verb": "session",
"detail": "session(\"Copy a local file during policy outage\")",
"surface": "policy-transport-rollback-75364-eb84c9a2",
"ok": true,
"ms": 905
},
{
"seq": 8,
"at": "2026-09-10T02:11:56.789Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-75364-eb84c9a2",
"ok": true,
"ms": 7
},
{
"seq": 9,
"at": "2026-09-10T02:11:56.794Z",
"stage": "body",
"channel": "step",
"verb": "step",
"detail": "the isolated engine starts with a failing policy transport",
"ok": true,
"ms": 5
},
{
"seq": 10,
"at": "2026-09-10T02:11:56.822Z",
"stage": "body",
"channel": "user",
"verb": "type",
"detail": "type(composer, \"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\")",
"surface": "policy-transport-rollback-75364-eb84c9a2",
"ok": true,
"ms": 28
},
{
"seq": 11,
"at": "2026-09-10T02:11:57.839Z",
"stage": "body",
"channel": "agent",
"verb": "run",
"detail": "run(composer.send)",
"surface": "policy-transport-rollback-75364-eb84c9a2",
"ok": true,
"ms": 1017
},
{
"seq": 12,
"at": "2026-09-10T02:11:58.909Z",
"stage": "body",
"channel": "probe",
"verb": "eventually",
"detail": "eventually(read and shell completed in native engine history)",
"ok": true,
"ms": 1070
},
{
"seq": 13,
"at": "2026-09-10T02:11:58.909Z",
"stage": "body",
"channel": "step",
"verb": "step",
"detail": "real read and command tools complete despite the fault",
"ok": true,
"ms": 1070
},
{
"seq": 14,
"at": "2026-09-10T02:11:59.444Z",
"stage": "body",
"channel": "user",
"verb": "see",
"detail": "see(text=The requested file was copied successfully., timeoutMs=30000)",
"surface": "policy-transport-rollback-75364-eb84c9a2",
"ok": true,
"ms": 535
}
],
"steps": [
{
"seq": 1,
"name": "the isolated engine starts with a failing policy transport",
"depth": 0,
"ok": true,
"ms": 5
},
{
"seq": 2,
"name": "real read and command tools complete despite the fault",
"depth": 0,
"ok": true,
"ms": 1070
}
],
"outcome": "passed"
} |
Original test record: v2 headless rollback — PassedCommit pnpm evals:e2e desktop-policy-restricted-mode --local --engine v2 --surface web --case POLICY-ROLLBACKSource: This is the original parsed record, including assertion evidence and trace, without omitted fields. Original JSON record and observable assertions{
"name": "POLICY-ROLLBACK tools complete when policy HTTP fails and IPC is disconnected",
"dir": "/private/var/folders/d9/xqhkvsp94rg0n0n523snqztm0000gn/T/opencode/wt-remove-policy-plugin/evals/results/test-runs/2026-09-10T02-12-02-257Z-policy-rollback-tools-complete-when-policy-http-fails-and-ipc-is-disconnected",
"createdAt": "2026-09-10T02:12:02.258Z",
"closedAt": "2026-09-10T02:12:19.477Z",
"gitSha": "50dcf4c052135c95a597d25082ac02390423a0ce",
"engine": "v2",
"branch": "fix/remove-desktop-policy-plugin",
"summary": {
"ok": true,
"totalArtifacts": 1,
"passedArtifacts": 1,
"failedArtifacts": 0,
"unvalidatedArtifacts": 0,
"pendingArtifacts": 0,
"passedExpectations": 1,
"failedExpectations": 0,
"pendingJudgments": 0
},
"artifacts": [
{
"caption": "v2 executes read and shell with policy HTTP 503 and disconnected IPC",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:12:13.702Z",
"description": "{\"engine\":\"v2\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76e9c596ffeqnMQrK2aI2d7mA\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"shell\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006322283' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[]}]},\"body\":{\"session\":{\"data\":{\"id\":\"ses_f76e9c596ffeqnMQrK2aI2d7mA\",\"projectID\":\"a7480d82dab6f7d3842d9f39455cdaf543979065\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"time\":{\"created\":1789006330474,\"updated\":1789006331939},\"title\":\"Copy a local file during policy outage\",\"location\":{\"directory\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace\"},\"subpath\":\"../../../../tmp/openwork-policy-transport-rollback-1789006322282/workspace\"}},\"messages\":{\"data\":[{\"id\":\"msg_0891642a7001q7KAnrUix6tQBn\",\"time\":{\"created\":1789006332892,\"streamed\":1789006333194,\"completed\":1789006333231},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"name\":\"shell\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006322283' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"content\":[{\"type\":\"text\",\"text\":\"(no output)\"},{\"type\":\"text\",\"text\":\"Command exited with code 0.\"}],\"metadata\":{\"status\":\"completed\",\"truncated\":false,\"exit\":0}},\"time\":{\"created\":1789006332894,\"ran\":1789006333192,\"completed\":1789006333230}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089164032001aHFvO3rfZ3WFrP\",\"time\":{\"created\":1789006332266,\"streamed\":1789006332569,\"completed\":1789006332577},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"name\":\"read\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\"},\"content\":[{\"type\":\"text\",\"text\":\"Read file /tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt, lines 1-1\\n1: tool-read-witness-1789006322283\"}],\"metadata\":{\"truncated\":false}},\"time\":{\"created\":1789006332268,\"ran\":1789006332567,\"completed\":1789006332575}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089164023001rtxO2D0sdEHYMP\",\"time\":{\"created\":1789006331949},\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"type\":\"user\"},{\"id\":\"msg_089164012001bpm23M0cTUc2H9\",\"time\":{\"created\":1789006331922},\"type\":\"model-switched\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\"}}],\"cursor\":{\"previous\":\"eyJpZCI6Im1zZ18wODkxNjQyYTcwMDFxN0tBbnJVaXg2dFFCbiIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6InByZXZpb3VzIn0\",\"next\":\"eyJpZCI6Im1zZ18wODkxNjQwMTIwMDFicG0yM00wY1RVYzJIOSIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6Im5leHQifQ\"}}}},\"output\":\"tool-read-witness-1789006322283\",\"policyRequests\":[\"/managed-policy/evaluate\"]}",
"model": "",
"ok": true,
"results": [
{
"expectation": "v2 executes read and shell with policy HTTP 503 and disconnected IPC",
"passed": true,
"evidence": "{\"engine\":\"v2\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76e9c596ffeqnMQrK2aI2d7mA\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"shell\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006322283' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[]}]},\"body\":{\"session\":{\"data\":{\"id\":\"ses_f76e9c596ffeqnMQrK2aI2d7mA\",\"projectID\":\"a7480d82dab6f7d3842d9f39455cdaf543979065\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"time\":{\"created\":1789006330474,\"updated\":1789006331939},\"title\":\"Copy a local file during policy outage\",\"location\":{\"directory\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace\"},\"subpath\":\"../../../../tmp/openwork-policy-transport-rollback-1789006322282/workspace\"}},\"messages\":{\"data\":[{\"id\":\"msg_0891642a7001q7KAnrUix6tQBn\",\"time\":{\"created\":1789006332892,\"streamed\":1789006333194,\"completed\":1789006333231},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"name\":\"shell\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006322283' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"content\":[{\"type\":\"text\",\"text\":\"(no output)\"},{\"type\":\"text\",\"text\":\"Command exited with code 0.\"}],\"metadata\":{\"status\":\"completed\",\"truncated\":false,\"exit\":0}},\"time\":{\"created\":1789006332894,\"ran\":1789006333192,\"completed\":1789006333230}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089164032001aHFvO3rfZ3WFrP\",\"time\":{\"created\":1789006332266,\"streamed\":1789006332569,\"completed\":1789006332577},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"name\":\"read\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\"},\"content\":[{\"type\":\"text\",\"text\":\"Read file /tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt, lines 1-1\\n1: tool-read-witness-1789006322283\"}],\"metadata\":{\"truncated\":false}},\"time\":{\"created\":1789006332268,\"ran\":1789006332567,\"completed\":1789006332575}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089164023001rtxO2D0sdEHYMP\",\"time\":{\"created\":1789006331949},\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"type\":\"user\"},{\"id\":\"msg_089164012001bpm23M0cTUc2H9\",\"time\":{\"created\":1789006331922},\"type\":\"model-switched\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\"}}],\"cursor\":{\"previous\":\"eyJpZCI6Im1zZ18wODkxNjQyYTcwMDFxN0tBbnJVaXg2dFFCbiIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6InByZXZpb3VzIn0\",\"next\":\"eyJpZCI6Im1zZ18wODkxNjQwMTIwMDFicG0yM00wY1RVYzJIOSIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6Im5leHQifQ\"}}}},\"output\":\"tool-read-witness-1789006322283\",\"policyRequests\":[\"/managed-policy/evaluate\"]}"
}
],
"judgments": [
{
"expectation": "v2 executes read and shell with policy HTTP 503 and disconnected IPC",
"state": "passed",
"reasoning": "{\"engine\":\"v2\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76e9c596ffeqnMQrK2aI2d7mA\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"shell\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006322283' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[]}]},\"body\":{\"session\":{\"data\":{\"id\":\"ses_f76e9c596ffeqnMQrK2aI2d7mA\",\"projectID\":\"a7480d82dab6f7d3842d9f39455cdaf543979065\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"time\":{\"created\":1789006330474,\"updated\":1789006331939},\"title\":\"Copy a local file during policy outage\",\"location\":{\"directory\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace\"},\"subpath\":\"../../../../tmp/openwork-policy-transport-rollback-1789006322282/workspace\"}},\"messages\":{\"data\":[{\"id\":\"msg_0891642a7001q7KAnrUix6tQBn\",\"time\":{\"created\":1789006332892,\"streamed\":1789006333194,\"completed\":1789006333231},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"name\":\"shell\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006322283' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"content\":[{\"type\":\"text\",\"text\":\"(no output)\"},{\"type\":\"text\",\"text\":\"Command exited with code 0.\"}],\"metadata\":{\"status\":\"completed\",\"truncated\":false,\"exit\":0}},\"time\":{\"created\":1789006332894,\"ran\":1789006333192,\"completed\":1789006333230}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089164032001aHFvO3rfZ3WFrP\",\"time\":{\"created\":1789006332266,\"streamed\":1789006332569,\"completed\":1789006332577},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"name\":\"read\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt\"},\"content\":[{\"type\":\"text\",\"text\":\"Read file /tmp/openwork-policy-transport-rollback-1789006322282/workspace/policy-transport-input.txt, lines 1-1\\n1: tool-read-witness-1789006322283\"}],\"metadata\":{\"truncated\":false}},\"time\":{\"created\":1789006332268,\"ran\":1789006332567,\"completed\":1789006332575}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089164023001rtxO2D0sdEHYMP\",\"time\":{\"created\":1789006331949},\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"type\":\"user\"},{\"id\":\"msg_089164012001bpm23M0cTUc2H9\",\"time\":{\"created\":1789006331922},\"type\":\"model-switched\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\"}}],\"cursor\":{\"previous\":\"eyJpZCI6Im1zZ18wODkxNjQyYTcwMDFxN0tBbnJVaXg2dFFCbiIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6InByZXZpb3VzIn0\",\"next\":\"eyJpZCI6Im1zZ18wODkxNjQwMTIwMDFicG0yM00wY1RVYzJIOSIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6Im5leHQifQ\"}}}},\"output\":\"tool-read-witness-1789006322283\",\"policyRequests\":[\"/managed-policy/evaluate\"]}"
}
]
}
],
"trace": [
{
"seq": 1,
"at": "2026-09-10T02:12:02.296Z",
"stage": "world",
"channel": "seed",
"verb": "mock",
"detail": "mock(mcp)",
"ok": true,
"ms": 1
},
{
"seq": 2,
"at": "2026-09-10T02:12:07.788Z",
"stage": "world",
"channel": "seed",
"verb": "appWeb",
"detail": "appWeb(local)",
"ok": true,
"ms": 5492
},
{
"seq": 3,
"at": "2026-09-10T02:12:09.566Z",
"stage": "world",
"channel": "seed",
"verb": "workspace",
"detail": "workspace(/tmp/openwork-policy-transport-rollback-1789006322282/workspace)",
"surface": "policy-transport-rollback-76943-b822a6c9",
"ok": true,
"ms": 1778
},
{
"seq": 4,
"at": "2026-09-10T02:12:09.583Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-76943-b822a6c9",
"ok": true,
"ms": 17
},
{
"seq": 5,
"at": "2026-09-10T02:12:09.584Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-76943-b822a6c9",
"ok": true,
"ms": 1
},
{
"seq": 6,
"at": "2026-09-10T02:12:10.373Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-76943-b822a6c9",
"ok": true,
"ms": 789
},
{
"seq": 7,
"at": "2026-09-10T02:12:11.183Z",
"stage": "world",
"channel": "seed",
"verb": "session",
"detail": "session(\"Copy a local file during policy outage\")",
"surface": "policy-transport-rollback-76943-b822a6c9",
"ok": true,
"ms": 810
},
{
"seq": 8,
"at": "2026-09-10T02:12:11.193Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-76943-b822a6c9",
"ok": true,
"ms": 10
},
{
"seq": 9,
"at": "2026-09-10T02:12:11.198Z",
"stage": "body",
"channel": "step",
"verb": "step",
"detail": "the isolated engine starts with a failing policy transport",
"ok": true,
"ms": 5
},
{
"seq": 10,
"at": "2026-09-10T02:12:11.228Z",
"stage": "body",
"channel": "user",
"verb": "type",
"detail": "type(composer, \"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\")",
"surface": "policy-transport-rollback-76943-b822a6c9",
"ok": true,
"ms": 30
},
{
"seq": 11,
"at": "2026-09-10T02:12:12.242Z",
"stage": "body",
"channel": "agent",
"verb": "run",
"detail": "run(composer.send)",
"surface": "policy-transport-rollback-76943-b822a6c9",
"ok": true,
"ms": 1014
},
{
"seq": 12,
"at": "2026-09-10T02:12:13.273Z",
"stage": "body",
"channel": "probe",
"verb": "eventually",
"detail": "eventually(read and shell completed in native engine history)",
"ok": true,
"ms": 1031
},
{
"seq": 13,
"at": "2026-09-10T02:12:13.273Z",
"stage": "body",
"channel": "step",
"verb": "step",
"detail": "real read and command tools complete despite the fault",
"ok": true,
"ms": 1031
},
{
"seq": 14,
"at": "2026-09-10T02:12:13.701Z",
"stage": "body",
"channel": "user",
"verb": "see",
"detail": "see(text=The requested file was copied successfully., timeoutMs=30000)",
"surface": "policy-transport-rollback-76943-b822a6c9",
"ok": true,
"ms": 428
}
],
"steps": [
{
"seq": 1,
"name": "the isolated engine starts with a failing policy transport",
"depth": 0,
"ok": true,
"ms": 5
},
{
"seq": 2,
"name": "real read and command tools complete despite the fault",
"depth": 0,
"ok": true,
"ms": 1031
}
],
"outcome": "passed"
} |
Original test record: v2 provider hot injection — PassedCommit OPENWORK_WORLD_PLACE=local pnpm evals:pr specs/opencode-v2-provider-hot-inject.test.tsSource: This is the original parsed record, including assertion evidence and trace, without omitted fields. Original JSON record and observable assertions{
"name": "opencode v2 injects providers at runtime without an engine reload",
"dir": "/private/var/folders/d9/xqhkvsp94rg0n0n523snqztm0000gn/T/opencode/wt-remove-policy-plugin/evals/results/test-runs/2026-09-10T02-12-20-937Z-opencode-v2-injects-providers-at-runtime-without-an-engine-reload",
"createdAt": "2026-09-10T02:12:20.938Z",
"closedAt": "2026-09-10T02:12:26.177Z",
"gitSha": "50dcf4c052135c95a597d25082ac02390423a0ce",
"engine": "v1",
"branch": "fix/remove-desktop-policy-plugin",
"summary": {
"ok": true,
"totalArtifacts": 8,
"passedArtifacts": 8,
"failedArtifacts": 0,
"unvalidatedArtifacts": 0,
"pendingArtifacts": 0,
"passedExpectations": 8,
"failedExpectations": 0,
"pendingJudgments": 0
},
"artifacts": [
{
"caption": "an occupied port cannot impersonate the sidecar or receive its credential",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:12:21.462Z",
"description": "A pre-bound fake healthy listener caused startup to reject; it received zero health requests. The normal boot below uses the child-announced OS-assigned port.",
"model": "",
"ok": true,
"results": [
{
"expectation": "an occupied port cannot impersonate the sidecar or receive its credential",
"passed": true,
"evidence": "A pre-bound fake healthy listener caused startup to reject; it received zero health requests. The normal boot below uses the child-announced OS-assigned port."
}
],
"judgments": [
{
"expectation": "an occupied port cannot impersonate the sidecar or receive its credential",
"state": "passed",
"reasoning": "A pre-bound fake healthy listener caused startup to reject; it received zero health requests. The normal boot below uses the child-announced OS-assigned port."
}
]
},
{
"caption": "C1 positive baseline and negative provider absence",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:12:22.061Z",
"description": "The freshly booted v2 engine listed models after 599ms while containing neither witness A nor witness B before injection. The package cache is shared; this is not cold-cache installation proof.",
"model": "",
"ok": true,
"results": [
{
"expectation": "C1 positive baseline and negative provider absence",
"passed": true,
"evidence": "The freshly booted v2 engine listed models after 599ms while containing neither witness A nor witness B before injection. The package cache is shared; this is not cold-cache installation proof."
}
],
"judgments": [
{
"expectation": "C1 positive baseline and negative provider absence",
"state": "passed",
"reasoning": "The freshly booted v2 engine listed models after 599ms while containing neither witness A nor witness B before injection. The package cache is shared; this is not cold-cache installation proof."
}
]
},
{
"caption": "mirrored provider credentials are readable only by their owner",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:12:22.325Z",
"description": "The sidecar root, config directory, and provider file have no group or other-user permission bits after live provider injection.",
"model": "",
"ok": true,
"results": [
{
"expectation": "mirrored provider credentials are readable only by their owner",
"passed": true,
"evidence": "The sidecar root, config directory, and provider file have no group or other-user permission bits after live provider injection."
}
],
"judgments": [
{
"expectation": "mirrored provider credentials are readable only by their owner",
"state": "passed",
"reasoning": "The sidecar root, config directory, and provider file have no group or other-user permission bits after live provider injection."
}
]
},
{
"caption": "C2 positive hot injection and negative bounded-wait failure",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:12:22.325Z",
"description": "Witness A appeared through the watched config in 264ms, within the 15s bound and without a startup operation.",
"model": "",
"ok": true,
"results": [
{
"expectation": "C2 positive hot injection and negative bounded-wait failure",
"passed": true,
"evidence": "Witness A appeared through the watched config in 264ms, within the 15s bound and without a startup operation."
}
],
"judgments": [
{
"expectation": "C2 positive hot injection and negative bounded-wait failure",
"state": "passed",
"reasoning": "Witness A appeared through the watched config in 264ms, within the 15s bound and without a startup operation."
}
]
},
{
"caption": "shell execution cannot inherit the host policy credential or IPC channel",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:12:22.753Z",
"description": "The real v2 shell completed a presence-only probe: neither policy nor client credentials nor a process IPC capability were inherited.",
"model": "",
"ok": true,
"results": [
{
"expectation": "shell execution cannot inherit the host policy credential or IPC channel",
"passed": true,
"evidence": "The real v2 shell completed a presence-only probe: neither policy nor client credentials nor a process IPC capability were inherited."
}
],
"judgments": [
{
"expectation": "shell execution cannot inherit the host policy credential or IPC channel",
"state": "passed",
"reasoning": "The real v2 shell completed a presence-only probe: neither policy nor client credentials nor a process IPC capability were inherited."
}
]
},
{
"caption": "C3 positive provider A execution and negative wrong-credential routing",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:12:23.532Z",
"description": "The A session received the witness nonce, and the witness observed model A paired with only the expected Bearer key A assertion.",
"model": "",
"ok": true,
"results": [
{
"expectation": "C3 positive provider A execution and negative wrong-credential routing",
"passed": true,
"evidence": "The A session received the witness nonce, and the witness observed model A paired with only the expected Bearer key A assertion."
}
],
"judgments": [
{
"expectation": "C3 positive provider A execution and negative wrong-credential routing",
"state": "passed",
"reasoning": "The A session received the witness nonce, and the witness observed model A paired with only the expected Bearer key A assertion."
}
]
},
{
"caption": "C5 positive warm re-injection and negative clobbering or key leakage",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:12:26.144Z",
"description": "Both providers remained listed; B produced the nonce with key B/model B, while no key A/model B request occurred.",
"model": "",
"ok": true,
"results": [
{
"expectation": "C5 positive warm re-injection and negative clobbering or key leakage",
"passed": true,
"evidence": "Both providers remained listed; B produced the nonce with key B/model B, while no key A/model B request occurred."
}
],
"judgments": [
{
"expectation": "C5 positive warm re-injection and negative clobbering or key leakage",
"state": "passed",
"reasoning": "Both providers remained listed; B produced the nonce with key B/model B, while no key A/model B request occurred."
}
]
},
{
"caption": "C4 positive same-process health and negative engine replacement",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:12:26.144Z",
"description": "Health retained pid 78574, the child remained live, and stdout contained exactly one server-listening boot line after both injections.",
"model": "",
"ok": true,
"results": [
{
"expectation": "C4 positive same-process health and negative engine replacement",
"passed": true,
"evidence": "Health retained pid 78574, the child remained live, and stdout contained exactly one server-listening boot line after both injections."
}
],
"judgments": [
{
"expectation": "C4 positive same-process health and negative engine replacement",
"state": "passed",
"reasoning": "Health retained pid 78574, the child remained live, and stdout contained exactly one server-listening boot line after both injections."
}
]
}
],
"trace": [],
"steps": [],
"outcome": "passed"
} |
Runtime verification — Passed; merge review blockedCommit v1 headless rollback — PassedOriginal record, assertions, and trace
Reproduce (exit 0): v2 headless rollback — PassedOriginal record, assertions, and trace
Reproduce (exit 0): v2 provider hot injection — PassedOriginal record, assertions, and trace
Reproduce (exit 0): All commands used Node 24.15.0 and DISABLE_V8_COMPILE_CACHE=1. Headless CLI placement: local (--local); provider spec launches a local engine directly and does not print a placement line. Publication: The protected review-app upload failed because the available BLOB_READ_WRITE_TOKEN belongs to a public store, while that app requires a private store. Complete original records are published above through the supported GitHub-comment fallback; no private Warden analysis logs are published. Review: Final local Warden exited 1 with 4PD-XK6 (high; same root cause as prior RGS-SPX): intentional removal of v2 engine-local enforcement. The authorized rollback is documented, but that finding has not been cleared by the repository review gate. See the PR description for scope, classification, disposition, and unchanged before/after refs. Proof scope: the headless case asserts successful native read/shell status and an exact shell-written witness. It does not establish model reasoning or data dependency from the read result to the subsequent shell command (advisory 555-UR6). Zero workload calls to the fault endpoint is intentional rollback behavior, not a fault-tolerance claim for a retained hook (advisory SB8-N33). Final Warden run: 5634e10a-d40f-4ea3-b0aa-40e432f7ae27, exit 1, all three applicable skills completed; no clearance claimed. |
Warden review summary — BlockedNative findings: 1. Blocking policy matches before consolidation: 1. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (151493 ms), confidentiality-review (151053 ms), spec-provenance-review (249257 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
Original test record: v1 headless rollback — PassedCommit pnpm evals:e2e desktop-policy-restricted-mode --local --engine v1 --surface web --case POLICY-ROLLBACKSource: This is the original parsed record, including assertion evidence and trace, without omitted fields. Original JSON record and observable assertions{
"name": "POLICY-ROLLBACK tools complete when policy HTTP fails and IPC is disconnected",
"dir": "/private/var/folders/d9/xqhkvsp94rg0n0n523snqztm0000gn/T/opencode/wt-remove-policy-plugin/evals/results/test-runs/2026-09-10T02-22-41-404Z-policy-rollback-tools-complete-when-policy-http-fails-and-ipc-is-disconnected",
"createdAt": "2026-09-10T02:22:41.405Z",
"closedAt": "2026-09-10T02:23:15.111Z",
"gitSha": "bc62ca9636ebdd4c353525c608033f44d467c4cb",
"engine": "v1",
"branch": "fix/remove-desktop-policy-plugin",
"summary": {
"ok": true,
"totalArtifacts": 1,
"passedArtifacts": 1,
"failedArtifacts": 0,
"unvalidatedArtifacts": 0,
"pendingArtifacts": 0,
"passedExpectations": 1,
"failedExpectations": 0,
"pendingJudgments": 0
},
"artifacts": [
{
"caption": "v1 executes read and shell with policy HTTP 503 and disconnected IPC",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:23:14.415Z",
"description": "{\"engine\":\"v1\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006961423\\n\\n(End of file - total 1 lines)\\n</content>\"},{\"type\":\"step-finish\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"bash\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006961423' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\"}]}]},\"body\":{\"session\":{\"id\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"slug\":\"curious-mountain\",\"projectID\":\"global\",\"directory\":\"/private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"path\":\"private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"summary\":{\"additions\":0,\"deletions\":0,\"files\":0},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"title\":\"Copy a local file during policy outage\",\"agent\":\"openwork\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"version\":\"1.18.30\",\"time\":{\"created\":1789006990977,\"updated\":1789006993372}},\"messages\":[{\"info\":{\"id\":\"msg_08920544e0005fa013a2af4a41\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"role\":\"user\",\"time\":{\"created\":1789006992499},\"summary\":{\"diffs\":[]},\"agent\":\"openwork\",\"model\":{\"providerID\":\"policy-rollback-witness\",\"modelID\":\"policy-rollback-model\"},\"system\":\"User context:\\n- Time zone: America/Los_Angeles (UTC-07:00)\\n- Today's date in that time zone: Wednesday 2026-09-09\\n- Locale: en-US\\nResolve \\\"today\\\", \\\"tomorrow\\\", \\\"this week\\\", and other relative dates and times in this time zone, even when another date or clock in this prompt or on the host differs. For the exact current time, read the system clock and convert it to this time zone.\"},\"parts\":[{\"id\":\"prt_089205476001SGy9zjRnkage97\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920544e0005fa013a2af4a41\",\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\"}]},{\"info\":{\"id\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"role\":\"assistant\",\"time\":{\"created\":1789006992511,\"completed\":1789006993367},\"parentID\":\"msg_08920544e0005fa013a2af4a41\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"finish\":\"tool-calls\"},\"parts\":[{\"id\":\"prt_0892055e8001hbpCYM7i73JLsj\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"type\":\"step-start\"},{\"id\":\"prt_08920567a001zUvtSOuiDtmSK7\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"tool\":\"read\",\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006961423\\n\\n(End of file - total 1 lines)\\n</content>\",\"title\":\"tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"metadata\":{\"preview\":\"tool-read-witness-1789006961423\",\"truncated\":false,\"loaded\":[],\"display\":{\"type\":\"file\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"text\":\"tool-read-witness-1789006961423\",\"lineStart\":1,\"lineEnd\":1,\"totalLines\":1,\"truncated\":false}},\"time\":{\"start\":1789006993023,\"end\":1789006993360}}},{\"id\":\"prt_0892057d3001pE6nO4OiXe0f98\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"type\":\"step-finish\",\"reason\":\"tool-calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}}]},{\"info\":{\"id\":\"msg_0892057d90018fgeNN00JfNDHY\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"role\":\"assistant\",\"time\":{\"created\":1789006993369},\"parentID\":\"msg_08920544e0005fa013a2af4a41\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},\"parts\":[{\"id\":\"prt_0892058890017cMpVeelMlFw8y\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_0892057d90018fgeNN00JfNDHY\",\"type\":\"step-start\"},{\"id\":\"prt_0892059220015AJ688qY1REqq0\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_0892057d90018fgeNN00JfNDHY\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"tool\":\"bash\",\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006961423' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\",\"title\":\"printf '%s' 'tool-read-witness-1789006961423' > 'policy-tool-output.txt'\",\"metadata\":{\"output\":\"(no output)\",\"exit\":0,\"truncated\":false},\"time\":{\"start\":1789006993702,\"end\":1789006993732}}}]}]}},\"output\":\"tool-read-witness-1789006961423\",\"policyRequests\":[\"/managed-policy/evaluate\"]}",
"model": "",
"ok": true,
"results": [
{
"expectation": "v1 executes read and shell with policy HTTP 503 and disconnected IPC",
"passed": true,
"evidence": "{\"engine\":\"v1\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006961423\\n\\n(End of file - total 1 lines)\\n</content>\"},{\"type\":\"step-finish\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"bash\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006961423' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\"}]}]},\"body\":{\"session\":{\"id\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"slug\":\"curious-mountain\",\"projectID\":\"global\",\"directory\":\"/private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"path\":\"private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"summary\":{\"additions\":0,\"deletions\":0,\"files\":0},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"title\":\"Copy a local file during policy outage\",\"agent\":\"openwork\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"version\":\"1.18.30\",\"time\":{\"created\":1789006990977,\"updated\":1789006993372}},\"messages\":[{\"info\":{\"id\":\"msg_08920544e0005fa013a2af4a41\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"role\":\"user\",\"time\":{\"created\":1789006992499},\"summary\":{\"diffs\":[]},\"agent\":\"openwork\",\"model\":{\"providerID\":\"policy-rollback-witness\",\"modelID\":\"policy-rollback-model\"},\"system\":\"User context:\\n- Time zone: America/Los_Angeles (UTC-07:00)\\n- Today's date in that time zone: Wednesday 2026-09-09\\n- Locale: en-US\\nResolve \\\"today\\\", \\\"tomorrow\\\", \\\"this week\\\", and other relative dates and times in this time zone, even when another date or clock in this prompt or on the host differs. For the exact current time, read the system clock and convert it to this time zone.\"},\"parts\":[{\"id\":\"prt_089205476001SGy9zjRnkage97\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920544e0005fa013a2af4a41\",\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\"}]},{\"info\":{\"id\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"role\":\"assistant\",\"time\":{\"created\":1789006992511,\"completed\":1789006993367},\"parentID\":\"msg_08920544e0005fa013a2af4a41\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"finish\":\"tool-calls\"},\"parts\":[{\"id\":\"prt_0892055e8001hbpCYM7i73JLsj\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"type\":\"step-start\"},{\"id\":\"prt_08920567a001zUvtSOuiDtmSK7\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"tool\":\"read\",\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006961423\\n\\n(End of file - total 1 lines)\\n</content>\",\"title\":\"tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"metadata\":{\"preview\":\"tool-read-witness-1789006961423\",\"truncated\":false,\"loaded\":[],\"display\":{\"type\":\"file\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"text\":\"tool-read-witness-1789006961423\",\"lineStart\":1,\"lineEnd\":1,\"totalLines\":1,\"truncated\":false}},\"time\":{\"start\":1789006993023,\"end\":1789006993360}}},{\"id\":\"prt_0892057d3001pE6nO4OiXe0f98\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"type\":\"step-finish\",\"reason\":\"tool-calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}}]},{\"info\":{\"id\":\"msg_0892057d90018fgeNN00JfNDHY\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"role\":\"assistant\",\"time\":{\"created\":1789006993369},\"parentID\":\"msg_08920544e0005fa013a2af4a41\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},\"parts\":[{\"id\":\"prt_0892058890017cMpVeelMlFw8y\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_0892057d90018fgeNN00JfNDHY\",\"type\":\"step-start\"},{\"id\":\"prt_0892059220015AJ688qY1REqq0\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_0892057d90018fgeNN00JfNDHY\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"tool\":\"bash\",\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006961423' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\",\"title\":\"printf '%s' 'tool-read-witness-1789006961423' > 'policy-tool-output.txt'\",\"metadata\":{\"output\":\"(no output)\",\"exit\":0,\"truncated\":false},\"time\":{\"start\":1789006993702,\"end\":1789006993732}}}]}]}},\"output\":\"tool-read-witness-1789006961423\",\"policyRequests\":[\"/managed-policy/evaluate\"]}"
}
],
"judgments": [
{
"expectation": "v1 executes read and shell with policy HTTP 503 and disconnected IPC",
"state": "passed",
"reasoning": "{\"engine\":\"v1\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006961423\\n\\n(End of file - total 1 lines)\\n</content>\"},{\"type\":\"step-finish\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[{\"type\":\"step-start\",\"text\":\"\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"},{\"type\":\"tool\",\"text\":\"\",\"tool\":\"bash\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006961423' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\"}]}]},\"body\":{\"session\":{\"id\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"slug\":\"curious-mountain\",\"projectID\":\"global\",\"directory\":\"/private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"path\":\"private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"summary\":{\"additions\":0,\"deletions\":0,\"files\":0},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"title\":\"Copy a local file during policy outage\",\"agent\":\"openwork\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"version\":\"1.18.30\",\"time\":{\"created\":1789006990977,\"updated\":1789006993372}},\"messages\":[{\"info\":{\"id\":\"msg_08920544e0005fa013a2af4a41\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"role\":\"user\",\"time\":{\"created\":1789006992499},\"summary\":{\"diffs\":[]},\"agent\":\"openwork\",\"model\":{\"providerID\":\"policy-rollback-witness\",\"modelID\":\"policy-rollback-model\"},\"system\":\"User context:\\n- Time zone: America/Los_Angeles (UTC-07:00)\\n- Today's date in that time zone: Wednesday 2026-09-09\\n- Locale: en-US\\nResolve \\\"today\\\", \\\"tomorrow\\\", \\\"this week\\\", and other relative dates and times in this time zone, even when another date or clock in this prompt or on the host differs. For the exact current time, read the system clock and convert it to this time zone.\"},\"parts\":[{\"id\":\"prt_089205476001SGy9zjRnkage97\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920544e0005fa013a2af4a41\",\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\"}]},{\"info\":{\"id\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"role\":\"assistant\",\"time\":{\"created\":1789006992511,\"completed\":1789006993367},\"parentID\":\"msg_08920544e0005fa013a2af4a41\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"finish\":\"tool-calls\"},\"parts\":[{\"id\":\"prt_0892055e8001hbpCYM7i73JLsj\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"type\":\"step-start\"},{\"id\":\"prt_08920567a001zUvtSOuiDtmSK7\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"tool\":\"read\",\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\"},\"output\":\"<path>/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt</path>\\n<type>file</type>\\n<content>\\n1: tool-read-witness-1789006961423\\n\\n(End of file - total 1 lines)\\n</content>\",\"title\":\"tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"metadata\":{\"preview\":\"tool-read-witness-1789006961423\",\"truncated\":false,\"loaded\":[],\"display\":{\"type\":\"file\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006961422/workspace/policy-transport-input.txt\",\"text\":\"tool-read-witness-1789006961423\",\"lineStart\":1,\"lineEnd\":1,\"totalLines\":1,\"truncated\":false}},\"time\":{\"start\":1789006993023,\"end\":1789006993360}}},{\"id\":\"prt_0892057d3001pE6nO4OiXe0f98\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_08920547f0014OqwQPGGLvoeJ5\",\"type\":\"step-finish\",\"reason\":\"tool-calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}}]},{\"info\":{\"id\":\"msg_0892057d90018fgeNN00JfNDHY\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"role\":\"assistant\",\"time\":{\"created\":1789006993369},\"parentID\":\"msg_08920544e0005fa013a2af4a41\",\"modelID\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"mode\":\"openwork\",\"agent\":\"openwork\",\"path\":{\"cwd\":\"/private/tmp/openwork-policy-transport-rollback-1789006961422/workspace\",\"root\":\"/\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},\"parts\":[{\"id\":\"prt_0892058890017cMpVeelMlFw8y\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_0892057d90018fgeNN00JfNDHY\",\"type\":\"step-start\"},{\"id\":\"prt_0892059220015AJ688qY1REqq0\",\"sessionID\":\"ses_f76dfb17effemDL0fa0OG7eyHz\",\"messageID\":\"msg_0892057d90018fgeNN00JfNDHY\",\"type\":\"tool\",\"callID\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"tool\":\"bash\",\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006961423' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"(no output)\",\"title\":\"printf '%s' 'tool-read-witness-1789006961423' > 'policy-tool-output.txt'\",\"metadata\":{\"output\":\"(no output)\",\"exit\":0,\"truncated\":false},\"time\":{\"start\":1789006993702,\"end\":1789006993732}}}]}]}},\"output\":\"tool-read-witness-1789006961423\",\"policyRequests\":[\"/managed-policy/evaluate\"]}"
}
]
}
],
"trace": [
{
"seq": 1,
"at": "2026-09-10T02:22:41.435Z",
"stage": "world",
"channel": "seed",
"verb": "mock",
"detail": "mock(mcp)",
"ok": true,
"ms": 0
},
{
"seq": 2,
"at": "2026-09-10T02:22:57.209Z",
"stage": "world",
"channel": "seed",
"verb": "appWeb",
"detail": "appWeb(local)",
"ok": true,
"ms": 15774
},
{
"seq": 3,
"at": "2026-09-10T02:23:07.089Z",
"stage": "world",
"channel": "seed",
"verb": "workspace",
"detail": "workspace(/tmp/openwork-policy-transport-rollback-1789006961422/workspace)",
"surface": "policy-transport-rollback-86794-87a9abff",
"ok": true,
"ms": 9880
},
{
"seq": 4,
"at": "2026-09-10T02:23:09.773Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-86794-87a9abff",
"ok": true,
"ms": 2684
},
{
"seq": 5,
"at": "2026-09-10T02:23:09.774Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-86794-87a9abff",
"ok": true,
"ms": 1
},
{
"seq": 6,
"at": "2026-09-10T02:23:10.877Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-86794-87a9abff",
"ok": true,
"ms": 1103
},
{
"seq": 7,
"at": "2026-09-10T02:23:11.752Z",
"stage": "world",
"channel": "seed",
"verb": "session",
"detail": "session(\"Copy a local file during policy outage\")",
"surface": "policy-transport-rollback-86794-87a9abff",
"ok": true,
"ms": 875
},
{
"seq": 8,
"at": "2026-09-10T02:23:11.760Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-86794-87a9abff",
"ok": true,
"ms": 8
},
{
"seq": 9,
"at": "2026-09-10T02:23:11.765Z",
"stage": "body",
"channel": "step",
"verb": "step",
"detail": "the isolated engine starts with a failing policy transport",
"ok": true,
"ms": 5
},
{
"seq": 10,
"at": "2026-09-10T02:23:11.803Z",
"stage": "body",
"channel": "user",
"verb": "type",
"detail": "type(composer, \"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\")",
"surface": "policy-transport-rollback-86794-87a9abff",
"ok": true,
"ms": 38
},
{
"seq": 11,
"at": "2026-09-10T02:23:12.811Z",
"stage": "body",
"channel": "agent",
"verb": "run",
"detail": "run(composer.send)",
"surface": "policy-transport-rollback-86794-87a9abff",
"ok": true,
"ms": 1008
},
{
"seq": 12,
"at": "2026-09-10T02:23:13.879Z",
"stage": "body",
"channel": "probe",
"verb": "eventually",
"detail": "eventually(read and shell completed in native engine history)",
"ok": true,
"ms": 1068
},
{
"seq": 13,
"at": "2026-09-10T02:23:13.879Z",
"stage": "body",
"channel": "step",
"verb": "step",
"detail": "real read and command tools complete despite the fault",
"ok": true,
"ms": 1068
},
{
"seq": 14,
"at": "2026-09-10T02:23:14.415Z",
"stage": "body",
"channel": "user",
"verb": "see",
"detail": "see(text=The requested file was copied successfully., timeoutMs=30000)",
"surface": "policy-transport-rollback-86794-87a9abff",
"ok": true,
"ms": 535
}
],
"steps": [
{
"seq": 1,
"name": "the isolated engine starts with a failing policy transport",
"depth": 0,
"ok": true,
"ms": 5
},
{
"seq": 2,
"name": "real read and command tools complete despite the fault",
"depth": 0,
"ok": true,
"ms": 1068
}
],
"outcome": "passed"
} |
Original test record: v2 headless rollback — PassedCommit pnpm evals:e2e desktop-policy-restricted-mode --local --engine v2 --surface web --case POLICY-ROLLBACKSource: This is the original parsed record, including assertion evidence and trace, without omitted fields. Original JSON record and observable assertions{
"name": "POLICY-ROLLBACK tools complete when policy HTTP fails and IPC is disconnected",
"dir": "/private/var/folders/d9/xqhkvsp94rg0n0n523snqztm0000gn/T/opencode/wt-remove-policy-plugin/evals/results/test-runs/2026-09-10T02-23-16-875Z-policy-rollback-tools-complete-when-policy-http-fails-and-ipc-is-disconnected",
"createdAt": "2026-09-10T02:23:16.876Z",
"closedAt": "2026-09-10T02:23:37.997Z",
"gitSha": "bc62ca9636ebdd4c353525c608033f44d467c4cb",
"engine": "v2",
"branch": "fix/remove-desktop-policy-plugin",
"summary": {
"ok": true,
"totalArtifacts": 1,
"passedArtifacts": 1,
"failedArtifacts": 0,
"unvalidatedArtifacts": 0,
"pendingArtifacts": 0,
"passedExpectations": 1,
"failedExpectations": 0,
"pendingJudgments": 0
},
"artifacts": [
{
"caption": "v2 executes read and shell with policy HTTP 503 and disconnected IPC",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:23:33.260Z",
"description": "{\"engine\":\"v2\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76df6722ffesAjNEFCWd24ojV\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"shell\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006996903' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[]}]},\"body\":{\"session\":{\"data\":{\"id\":\"ses_f76df6722ffesAjNEFCWd24ojV\",\"projectID\":\"45cbda11ce2657008bda0cca5a1c203f755d6739\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"time\":{\"created\":1789007010015,\"updated\":1789007011492},\"title\":\"Copy a local file during policy outage\",\"location\":{\"directory\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace\"},\"subpath\":\"../../../../tmp/openwork-policy-transport-rollback-1789006996903/workspace\"}},\"messages\":{\"data\":[{\"id\":\"msg_08920a124001Q3tqsdepNXKTOR\",\"time\":{\"created\":1789007012439,\"streamed\":1789007012742,\"completed\":1789007012791},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"name\":\"shell\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006996903' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"content\":[{\"type\":\"text\",\"text\":\"(no output)\"},{\"type\":\"text\",\"text\":\"Command exited with code 0.\"}],\"metadata\":{\"status\":\"completed\",\"truncated\":false,\"exit\":0}},\"time\":{\"created\":1789007012441,\"ran\":1789007012740,\"completed\":1789007012790}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089209eb4001hQQ2OF2l70f2WG\",\"time\":{\"created\":1789007011821,\"streamed\":1789007012122,\"completed\":1789007012128},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"name\":\"read\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\"},\"content\":[{\"type\":\"text\",\"text\":\"Read file /tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt, lines 1-1\\n1: tool-read-witness-1789006996903\"}],\"metadata\":{\"truncated\":false}},\"time\":{\"created\":1789007011822,\"ran\":1789007012121,\"completed\":1789007012126}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089209ea4001oNYkZoOXz0ZY2v\",\"time\":{\"created\":1789007011502},\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"type\":\"user\"},{\"id\":\"msg_089209e95001RzkMEvLo97tBDb\",\"time\":{\"created\":1789007011477},\"type\":\"model-switched\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\"}}],\"cursor\":{\"previous\":\"eyJpZCI6Im1zZ18wODkyMGExMjQwMDFRM3Rxc2RlcE5YS1RPUiIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6InByZXZpb3VzIn0\",\"next\":\"eyJpZCI6Im1zZ18wODkyMDllOTUwMDFSemtNRXZMbzk3dEJEYiIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6Im5leHQifQ\"}}}},\"output\":\"tool-read-witness-1789006996903\",\"policyRequests\":[\"/managed-policy/evaluate\"]}",
"model": "",
"ok": true,
"results": [
{
"expectation": "v2 executes read and shell with policy HTTP 503 and disconnected IPC",
"passed": true,
"evidence": "{\"engine\":\"v2\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76df6722ffesAjNEFCWd24ojV\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"shell\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006996903' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[]}]},\"body\":{\"session\":{\"data\":{\"id\":\"ses_f76df6722ffesAjNEFCWd24ojV\",\"projectID\":\"45cbda11ce2657008bda0cca5a1c203f755d6739\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"time\":{\"created\":1789007010015,\"updated\":1789007011492},\"title\":\"Copy a local file during policy outage\",\"location\":{\"directory\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace\"},\"subpath\":\"../../../../tmp/openwork-policy-transport-rollback-1789006996903/workspace\"}},\"messages\":{\"data\":[{\"id\":\"msg_08920a124001Q3tqsdepNXKTOR\",\"time\":{\"created\":1789007012439,\"streamed\":1789007012742,\"completed\":1789007012791},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"name\":\"shell\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006996903' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"content\":[{\"type\":\"text\",\"text\":\"(no output)\"},{\"type\":\"text\",\"text\":\"Command exited with code 0.\"}],\"metadata\":{\"status\":\"completed\",\"truncated\":false,\"exit\":0}},\"time\":{\"created\":1789007012441,\"ran\":1789007012740,\"completed\":1789007012790}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089209eb4001hQQ2OF2l70f2WG\",\"time\":{\"created\":1789007011821,\"streamed\":1789007012122,\"completed\":1789007012128},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"name\":\"read\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\"},\"content\":[{\"type\":\"text\",\"text\":\"Read file /tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt, lines 1-1\\n1: tool-read-witness-1789006996903\"}],\"metadata\":{\"truncated\":false}},\"time\":{\"created\":1789007011822,\"ran\":1789007012121,\"completed\":1789007012126}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089209ea4001oNYkZoOXz0ZY2v\",\"time\":{\"created\":1789007011502},\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"type\":\"user\"},{\"id\":\"msg_089209e95001RzkMEvLo97tBDb\",\"time\":{\"created\":1789007011477},\"type\":\"model-switched\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\"}}],\"cursor\":{\"previous\":\"eyJpZCI6Im1zZ18wODkyMGExMjQwMDFRM3Rxc2RlcE5YS1RPUiIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6InByZXZpb3VzIn0\",\"next\":\"eyJpZCI6Im1zZ18wODkyMDllOTUwMDFSemtNRXZMbzk3dEJEYiIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6Im5leHQifQ\"}}}},\"output\":\"tool-read-witness-1789006996903\",\"policyRequests\":[\"/managed-policy/evaluate\"]}"
}
],
"judgments": [
{
"expectation": "v2 executes read and shell with policy HTTP 503 and disconnected IPC",
"state": "passed",
"reasoning": "{\"engine\":\"v2\",\"snapshot\":{\"ok\":true,\"status\":200,\"data\":{\"session\":{\"id\":\"ses_f76df6722ffesAjNEFCWd24ojV\",\"title\":\"Copy a local file during policy outage\"},\"messages\":[{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"shell\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006996903' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"tool\",\"text\":\"\",\"tool\":\"read\",\"callId\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\"},\"output\":\"\"}]},{\"parts\":[{\"type\":\"text\",\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"tool\":\"\",\"callId\":\"\",\"status\":\"\",\"input\":{},\"output\":\"\"}]},{\"parts\":[]}]},\"body\":{\"session\":{\"data\":{\"id\":\"ses_f76df6722ffesAjNEFCWd24ojV\",\"projectID\":\"45cbda11ce2657008bda0cca5a1c203f755d6739\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}},\"time\":{\"created\":1789007010015,\"updated\":1789007011492},\"title\":\"Copy a local file during policy outage\",\"location\":{\"directory\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace\"},\"subpath\":\"../../../../tmp/openwork-policy-transport-rollback-1789006996903/workspace\"}},\"messages\":{\"data\":[{\"id\":\"msg_08920a124001Q3tqsdepNXKTOR\",\"time\":{\"created\":1789007012439,\"streamed\":1789007012742,\"completed\":1789007012791},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_2\",\"name\":\"shell\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"command\":\"printf '%s' 'tool-read-witness-1789006996903' > 'policy-tool-output.txt'\",\"description\":\"Copy the read witness\"},\"content\":[{\"type\":\"text\",\"text\":\"(no output)\"},{\"type\":\"text\",\"text\":\"Command exited with code 0.\"}],\"metadata\":{\"status\":\"completed\",\"truncated\":false,\"exit\":0}},\"time\":{\"created\":1789007012441,\"ran\":1789007012740,\"completed\":1789007012790}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089209eb4001hQQ2OF2l70f2WG\",\"time\":{\"created\":1789007011821,\"streamed\":1789007012122,\"completed\":1789007012128},\"type\":\"assistant\",\"agent\":\"build\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\",\"variant\":\"default\"},\"content\":[{\"type\":\"tool\",\"id\":\"call_POLICY_TRANSPORT_ROLLBACK_1\",\"name\":\"read\",\"executed\":false,\"state\":{\"status\":\"completed\",\"input\":{\"filePath\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\",\"path\":\"/tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt\"},\"content\":[{\"type\":\"text\",\"text\":\"Read file /tmp/openwork-policy-transport-rollback-1789006996903/workspace/policy-transport-input.txt, lines 1-1\\n1: tool-read-witness-1789006996903\"}],\"metadata\":{\"truncated\":false}},\"time\":{\"created\":1789007011822,\"ran\":1789007012121,\"completed\":1789007012126}}],\"finish\":\"tool-calls\",\"rawFinish\":\"tool_calls\",\"cost\":0,\"tokens\":{\"input\":0,\"output\":0,\"reasoning\":0,\"cache\":{\"read\":0,\"write\":0}}},{\"id\":\"msg_089209ea4001oNYkZoOXz0ZY2v\",\"time\":{\"created\":1789007011502},\"text\":\"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\",\"type\":\"user\"},{\"id\":\"msg_089209e95001RzkMEvLo97tBDb\",\"time\":{\"created\":1789007011477},\"type\":\"model-switched\",\"model\":{\"id\":\"policy-rollback-model\",\"providerID\":\"policy-rollback-witness\"}}],\"cursor\":{\"previous\":\"eyJpZCI6Im1zZ18wODkyMGExMjQwMDFRM3Rxc2RlcE5YS1RPUiIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6InByZXZpb3VzIn0\",\"next\":\"eyJpZCI6Im1zZ18wODkyMDllOTUwMDFSemtNRXZMbzk3dEJEYiIsIm9yZGVyIjoiZGVzYyIsImRpcmVjdGlvbiI6Im5leHQifQ\"}}}},\"output\":\"tool-read-witness-1789006996903\",\"policyRequests\":[\"/managed-policy/evaluate\"]}"
}
]
}
],
"trace": [
{
"seq": 1,
"at": "2026-09-10T02:23:16.914Z",
"stage": "world",
"channel": "seed",
"verb": "mock",
"detail": "mock(mcp)",
"ok": true,
"ms": 0
},
{
"seq": 2,
"at": "2026-09-10T02:23:22.523Z",
"stage": "world",
"channel": "seed",
"verb": "appWeb",
"detail": "appWeb(local)",
"ok": true,
"ms": 5609
},
{
"seq": 3,
"at": "2026-09-10T02:23:29.108Z",
"stage": "world",
"channel": "seed",
"verb": "workspace",
"detail": "workspace(/tmp/openwork-policy-transport-rollback-1789006996903/workspace)",
"surface": "policy-transport-rollback-89775-00e22018",
"ok": true,
"ms": 6585
},
{
"seq": 4,
"at": "2026-09-10T02:23:29.132Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-89775-00e22018",
"ok": true,
"ms": 24
},
{
"seq": 5,
"at": "2026-09-10T02:23:29.133Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-89775-00e22018",
"ok": true,
"ms": 1
},
{
"seq": 6,
"at": "2026-09-10T02:23:29.914Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-89775-00e22018",
"ok": true,
"ms": 781
},
{
"seq": 7,
"at": "2026-09-10T02:23:30.729Z",
"stage": "world",
"channel": "seed",
"verb": "session",
"detail": "session(\"Copy a local file during policy outage\")",
"surface": "policy-transport-rollback-89775-00e22018",
"ok": true,
"ms": 815
},
{
"seq": 8,
"at": "2026-09-10T02:23:30.741Z",
"stage": "world",
"channel": "seed:raw",
"verb": "evalIn",
"detail": "[seed:raw] evalIn(<callback>)",
"surface": "policy-transport-rollback-89775-00e22018",
"ok": true,
"ms": 12
},
{
"seq": 9,
"at": "2026-09-10T02:23:30.748Z",
"stage": "body",
"channel": "step",
"verb": "step",
"detail": "the isolated engine starts with a failing policy transport",
"ok": true,
"ms": 6
},
{
"seq": 10,
"at": "2026-09-10T02:23:30.784Z",
"stage": "body",
"channel": "user",
"verb": "type",
"detail": "type(composer, \"Copy the supplied local file using the requested tools. POLICY_TRANSPORT_ROLLBACK\")",
"surface": "policy-transport-rollback-89775-00e22018",
"ok": true,
"ms": 36
},
{
"seq": 11,
"at": "2026-09-10T02:23:31.793Z",
"stage": "body",
"channel": "agent",
"verb": "run",
"detail": "run(composer.send)",
"surface": "policy-transport-rollback-89775-00e22018",
"ok": true,
"ms": 1009
},
{
"seq": 12,
"at": "2026-09-10T02:23:32.836Z",
"stage": "body",
"channel": "probe",
"verb": "eventually",
"detail": "eventually(read and shell completed in native engine history)",
"ok": true,
"ms": 1042
},
{
"seq": 13,
"at": "2026-09-10T02:23:32.836Z",
"stage": "body",
"channel": "step",
"verb": "step",
"detail": "real read and command tools complete despite the fault",
"ok": true,
"ms": 1043
},
{
"seq": 14,
"at": "2026-09-10T02:23:33.260Z",
"stage": "body",
"channel": "user",
"verb": "see",
"detail": "see(text=The requested file was copied successfully., timeoutMs=30000)",
"surface": "policy-transport-rollback-89775-00e22018",
"ok": true,
"ms": 424
}
],
"steps": [
{
"seq": 1,
"name": "the isolated engine starts with a failing policy transport",
"depth": 0,
"ok": true,
"ms": 6
},
{
"seq": 2,
"name": "real read and command tools complete despite the fault",
"depth": 0,
"ok": true,
"ms": 1043
}
],
"outcome": "passed"
} |
Original test record: v2 provider hot injection — PassedCommit OPENWORK_WORLD_PLACE=local pnpm evals:pr specs/opencode-v2-provider-hot-inject.test.tsSource: This is the original parsed record, including assertion evidence and trace, without omitted fields. Original JSON record and observable assertions{
"name": "opencode v2 injects providers at runtime without an engine reload",
"dir": "/private/var/folders/d9/xqhkvsp94rg0n0n523snqztm0000gn/T/opencode/wt-remove-policy-plugin/evals/results/test-runs/2026-09-10T02-23-39-472Z-opencode-v2-injects-providers-at-runtime-without-an-engine-reload",
"createdAt": "2026-09-10T02:23:39.473Z",
"closedAt": "2026-09-10T02:23:45.786Z",
"gitSha": "bc62ca9636ebdd4c353525c608033f44d467c4cb",
"engine": "v1",
"branch": "fix/remove-desktop-policy-plugin",
"summary": {
"ok": true,
"totalArtifacts": 8,
"passedArtifacts": 8,
"failedArtifacts": 0,
"unvalidatedArtifacts": 0,
"pendingArtifacts": 0,
"passedExpectations": 8,
"failedExpectations": 0,
"pendingJudgments": 0
},
"artifacts": [
{
"caption": "an occupied port cannot impersonate the sidecar or receive its credential",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:23:40.003Z",
"description": "A pre-bound fake healthy listener caused startup to reject; it received zero health requests. The normal boot below uses the child-announced OS-assigned port.",
"model": "",
"ok": true,
"results": [
{
"expectation": "an occupied port cannot impersonate the sidecar or receive its credential",
"passed": true,
"evidence": "A pre-bound fake healthy listener caused startup to reject; it received zero health requests. The normal boot below uses the child-announced OS-assigned port."
}
],
"judgments": [
{
"expectation": "an occupied port cannot impersonate the sidecar or receive its credential",
"state": "passed",
"reasoning": "A pre-bound fake healthy listener caused startup to reject; it received zero health requests. The normal boot below uses the child-announced OS-assigned port."
}
]
},
{
"caption": "C1 positive baseline and negative provider absence",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:23:40.602Z",
"description": "The freshly booted v2 engine listed models after 599ms while containing neither witness A nor witness B before injection. The package cache is shared; this is not cold-cache installation proof.",
"model": "",
"ok": true,
"results": [
{
"expectation": "C1 positive baseline and negative provider absence",
"passed": true,
"evidence": "The freshly booted v2 engine listed models after 599ms while containing neither witness A nor witness B before injection. The package cache is shared; this is not cold-cache installation proof."
}
],
"judgments": [
{
"expectation": "C1 positive baseline and negative provider absence",
"state": "passed",
"reasoning": "The freshly booted v2 engine listed models after 599ms while containing neither witness A nor witness B before injection. The package cache is shared; this is not cold-cache installation proof."
}
]
},
{
"caption": "mirrored provider credentials are readable only by their owner",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:23:40.868Z",
"description": "The sidecar root, config directory, and provider file have no group or other-user permission bits after live provider injection.",
"model": "",
"ok": true,
"results": [
{
"expectation": "mirrored provider credentials are readable only by their owner",
"passed": true,
"evidence": "The sidecar root, config directory, and provider file have no group or other-user permission bits after live provider injection."
}
],
"judgments": [
{
"expectation": "mirrored provider credentials are readable only by their owner",
"state": "passed",
"reasoning": "The sidecar root, config directory, and provider file have no group or other-user permission bits after live provider injection."
}
]
},
{
"caption": "C2 positive hot injection and negative bounded-wait failure",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:23:40.868Z",
"description": "Witness A appeared through the watched config in 266ms, within the 15s bound and without a startup operation.",
"model": "",
"ok": true,
"results": [
{
"expectation": "C2 positive hot injection and negative bounded-wait failure",
"passed": true,
"evidence": "Witness A appeared through the watched config in 266ms, within the 15s bound and without a startup operation."
}
],
"judgments": [
{
"expectation": "C2 positive hot injection and negative bounded-wait failure",
"state": "passed",
"reasoning": "Witness A appeared through the watched config in 266ms, within the 15s bound and without a startup operation."
}
]
},
{
"caption": "shell execution cannot inherit the host policy credential or IPC channel",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:23:41.305Z",
"description": "The real v2 shell completed a presence-only probe: neither policy nor client credentials nor a process IPC capability were inherited.",
"model": "",
"ok": true,
"results": [
{
"expectation": "shell execution cannot inherit the host policy credential or IPC channel",
"passed": true,
"evidence": "The real v2 shell completed a presence-only probe: neither policy nor client credentials nor a process IPC capability were inherited."
}
],
"judgments": [
{
"expectation": "shell execution cannot inherit the host policy credential or IPC channel",
"state": "passed",
"reasoning": "The real v2 shell completed a presence-only probe: neither policy nor client credentials nor a process IPC capability were inherited."
}
]
},
{
"caption": "C3 positive provider A execution and negative wrong-credential routing",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:23:43.123Z",
"description": "The A session received the witness nonce, and the witness observed model A paired with only the expected Bearer key A assertion.",
"model": "",
"ok": true,
"results": [
{
"expectation": "C3 positive provider A execution and negative wrong-credential routing",
"passed": true,
"evidence": "The A session received the witness nonce, and the witness observed model A paired with only the expected Bearer key A assertion."
}
],
"judgments": [
{
"expectation": "C3 positive provider A execution and negative wrong-credential routing",
"state": "passed",
"reasoning": "The A session received the witness nonce, and the witness observed model A paired with only the expected Bearer key A assertion."
}
]
},
{
"caption": "C5 positive warm re-injection and negative clobbering or key leakage",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:23:45.749Z",
"description": "Both providers remained listed; B produced the nonce with key B/model B, while no key A/model B request occurred.",
"model": "",
"ok": true,
"results": [
{
"expectation": "C5 positive warm re-injection and negative clobbering or key leakage",
"passed": true,
"evidence": "Both providers remained listed; B produced the nonce with key B/model B, while no key A/model B request occurred."
}
],
"judgments": [
{
"expectation": "C5 positive warm re-injection and negative clobbering or key leakage",
"state": "passed",
"reasoning": "Both providers remained listed; B produced the nonce with key B/model B, while no key A/model B request occurred."
}
]
},
{
"caption": "C4 positive same-process health and negative engine replacement",
"fileName": "",
"hash": "",
"route": "",
"at": "2026-09-10T02:23:45.749Z",
"description": "Health retained pid 91746, the child remained live, and stdout contained exactly one server-listening boot line after both injections.",
"model": "",
"ok": true,
"results": [
{
"expectation": "C4 positive same-process health and negative engine replacement",
"passed": true,
"evidence": "Health retained pid 91746, the child remained live, and stdout contained exactly one server-listening boot line after both injections."
}
],
"judgments": [
{
"expectation": "C4 positive same-process health and negative engine replacement",
"state": "passed",
"reasoning": "Health retained pid 91746, the child remained live, and stdout contained exactly one server-listening boot line after both injections."
}
]
}
],
"trace": [],
"steps": [],
"outcome": "passed"
} |
|
Finalization update: the requester explicitly accepted the disclosed intentional engine-local enforcement rollback. The PR is ready for review and normal squash auto-merge is enabled for head bc62ca9. The EAM-TQ6 discussion is resolved with an accepted-regression disposition, not a technical fix or security clearance; local Warden remains exit 1 (run 5634e10a-d40f-4ea3-b0aa-40e432f7ae27). SB8-N33 remains a scope-mismatch advisory and 555-UR6 a disclosed data-dependency coverage limitation. Published runtime evidence still matches this head; native browser/Den UI cases were not newly runtime proved. GitHub currently reports REVIEW_REQUIRED: organization rules require one eligible approving review, code-owner review, and approval of the latest push by an eligible reviewer other than its pusher. The required openwork-tests-required check passes. A normal squash merge attempt was rejected by base-branch policy; auto-merge will wait for normal requirements. No approval or branch protection was bypassed. HEAD and origin/dev remain bc62ca9 and c744e2d; the dedicated worktree is clean. |
…ash tool while Den returns 503 (#4808) Daytona-only testkit journey for the #4725 rollback: a signed-in member's admitted turn holds its first real bash tool at a fixture gate, the fault proxy then returns 503 for every /api/den request, a separate new admission is rejected with policy_unavailable, and the next real bash tool still completes and writes its file while Den stays unreachable. Runtime config is checked before and during the outage for the absence of any managed-policy plugin registration. Signed-off-by: Guillaume Loret <[email protected]>
Authorized rollback
Unregister the automatically injected desktop managed-policy engine plugins in v1 and v2 so per-tool HTTP/IPC policy communication cannot block agent tools. Based on c744e2d; no opt-in lease changes.
Verification at bc62ca9
Complete assertion evidence and original records.
Node 24.15.0 and DISABLE_V8_COMPILE_CACHE=1:
pnpm evals:e2e desktop-policy-restricted-mode --local --engine v1 --surface web --case POLICY-ROLLBACK— exit 0; 1 selected pass, 0 selected skips. Printed placement: local (--local).--engine v2— exit 0; 1 selected pass, 0 selected skips. Printed placement: local (--local).OPENWORK_WORLD_PLACE=local pnpm evals:pr specs/opencode-v2-provider-hot-inject.test.ts— exit 0; 1 passed, 0 skipped. Direct local engine; this PR-lane command does not print a placement line.The headless cases assert real completed read/shell tool records, exact shell-written output, rendered final answer, a configured HTTP 503 policy fault, disconnected IPC, and zero workload policy HTTP calls. They do not prove reasoning or data dependency from the read result to shell output. Each selected case leaves three existing native policy journeys not run; no native browser or Den UI regression pass is claimed.
Supplementary checks: targeted server startup/config tests 17 passed / 335 assertions; browser check 823 callbacks passed; catalog/reporting checks 18 passed. CI core, build, and required-test aggregation pass on this head. The initial CI catalog expectation failure was reproduced locally and fixed.
Full
pnpm evals:typecheckexits 2 on branch and a fresh clean c744e2d control with matching first diagnostics (agent-context-cloud-probe.ts:216 TS1294 erasableSyntaxOnly, followed by broader baseline diagnostics). The provider shell probe initially exited 134 on both branch and control because the login shell selected a broken system Node; the updated test pins the runner Node 24 and passes.The private review-app publisher failed because the available Blob token is for a public store. Complete parsed original records and assertions are published in GitHub comments instead; private Warden analysis logs are not published.
Final local Warden — accepted intentional regression
Bare
pnpm warden:check, using Infisical OpenAI credentials with unchanged config/model, exit 1. Run 5634e10a-d40f-4ea3-b0aa-40e432f7ae27, 2026-09-10T02:24:02Z, scope origin/dev...HEAD, clean committed branch, 15 files / 36 chunks.Expected and completed: diff-security-review (15 files), confidentiality-review (15), spec-provenance-review (3). desktop-den-sync-review: not applicable to changed paths. Confidentiality returned no findings.
Before and after final review: HEAD=bc62ca9636ebdd4c353525c608033f44d467c4cb; origin/dev=c744e2d7bf1882b3e3455eb4d58376ca922faae7, unchanged. The initial auth-failed run and earlier-head reviews are superseded. GitHub workflow exit 0 is not security clearance: its native security check is neutral and reports EAM-TQ6, the same accepted regression. No local review or runtime checks were repeated because the committed code, base, review configuration, and model are unchanged.
No personal desktop or live organization was mutated. No product release or existing-engine restart was performed.