Status: IN
Using `gate_modules="auto"` records module usage on the first run to `.ftl2-modules.txt` and reads from that file on subsequent runs.
Source: entries/2026/05/11/api-automation-init.md
# From ftl2-servercraft/__init__.py — first run records, subsequent runs read
async with automation(
gate_modules="auto", # records to .ftl2-modules.txt on first run
gate_dependencies=["httpx"], # extra deps bundled into gate zipapp
) as ftl:
await script.provision(ftl, config, log)