{"id":"ai-loop-host-accessor-syntax","text":"AI-loop action functions use the `ftl[\"hostname\"].module()` accessor pattern with `await` for sequential module calls (e.g., `await ftl[\"stargate\"].user(name=\"admin\")`).","truth_value":"IN","source":"entries/2026/05/11/deployments-stargate-rules-harden_stargate_ssh.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{"example":"await ftl[\"stargate\"].shell(cmd=\"systemctl restart caddy\")\nawait ftl[\"web01\"].copy(content=config, dest=\"/etc/app/config.yml\")\nawait ftl[\"db01\"].user(name=\"admin\", groups=\"wheel\")"},"explanation":{"steps":[{"node":"ai-loop-host-accessor-syntax","truth_value":"IN","reason":"premise"}]}}