Status: IN
Task results in the automation context are categorized as `changed`, `ok`, or `failed`.
Source: entries/2026/05/11/examples-06-automation-context-example_auto_summary.md
async with automation() as ftl:
result = await ftl.file(path="/tmp/test", state="touch")
if result.changed:
print("File was created")
elif result.failed:
print(f"Error: {result.error}")
else:
print("Already exists, no change")