Files
deepseek-harness/examples/acp-agent/tests/snapshots/permission-switching/input.json
2026-07-14 01:09:44 +08:00

33 lines
816 B
JSON

{
"steps": [
{
"op": "initialize"
},
{
"op": "newSession"
},
{
"op": "setConfigOption",
"configId": "permission",
"value": "workspace-write"
},
{
"op": "prompt",
"text": "Use the bash tool to run exactly this one command in a single call: printf 'before\\n' > out.txt && cat out.txt. Then reply with the single word DONE and stop."
},
{
"op": "setConfigOption",
"configId": "permission",
"value": "danger-full-access"
},
{
"op": "prompt",
"text": "Use the bash tool to run exactly: cat out.txt. Then reply with the single word DONE and stop."
},
{
"op": "prompt",
"text": "Without using any tools, state your current approval policy in one short sentence and stop."
}
]
}