{
  "version": "3.15",
  "name": "Test06: Write File Operations",
  "registry": {
    "params": ["content(STRING)"],
    "vars": ["$status(STRING)"],
    "files": { "inputs": [], "artifacts": ["Output/*"] }
  },
  "steps": [
    {
      "id": "Write_Main",
      "target": "Output/test06_result.txt",
      "value": "=content",
      "next": "Write_Append"
    },
    {
      "id": "Write_Append",
      "mode": "append",
      "target": "Output/test06_result.txt",
      "value": "\"\\n--- Appended content ---\"",
      "next": "Set_Status"
    },
    {
      "id": "Set_Status",
      "target": "$status",
      "value": "\"file_written_successfully\"",
      "next": "Stop_End"
    },
    { "id": "Stop_End" }
  ]
}
