gate-subsystem-enabled-via-parameter

Status: IN

The gate subsystem is enabled by passing `gate_subsystem=True` to the `automation()` context manager; gate processes persist for the lifetime of the `async with automation()` block.

Source: entries/2026/05/11/ftl2-htop-CLAUDE.md

Example

# From ftl2-servercraft/__init__.py — gate_modules with dependencies
async with automation(
    state_file=str(config.state_path),
    fail_fast=True,
    auto_install_deps=True,
    gate_modules="auto",
    gate_dependencies=["httpx"],
) as ftl:
    await script.provision(ftl, config, log)

JSON