2026-07-12 21:03:41 +08:00
{
"steps" : [
{
"op" : "initialize"
} ,
{
"op" : "newSession"
} ,
2026-07-14 01:09:44 +08:00
{
"op" : "setConfigOption" ,
"configId" : "permission" ,
"value" : "workspace-write"
} ,
2026-07-12 21:03:41 +08:00
{
"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" ,
2026-07-14 01:09:44 +08:00
"value" : "danger-full-access"
2026-07-12 21:03:41 +08:00
} ,
{
"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."
}
]
}