{"id":"default-state-file-is-ftl2-state-json","text":"The default state file path is `.ftl2-state.json`; it enables crash recovery by persisting dynamically added hosts.","truth_value":"IN","source":"entries/2026/05/11/api-automation-init.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{"example":"async with automation(state_file=\".ftl2-state.json\") as ftl:\n    ftl.add_host(hostname=\"web01\", ansible_host=\"10.0.1.5\")\n    # Host persisted to state file; survives crash and re-run"},"explanation":{"steps":[{"node":"default-state-file-is-ftl2-state-json","truth_value":"IN","reason":"premise"}]}}