AMPLIHACK_HOME | launcher/core.py, copilot.py, codex.py, amplifier.py | Optional | ~/.amplihack | Root directory for amplihack installation |
AMPLIHACK_DEBUG | cli.py, session.py, launcher/core.py, amplifier.py | Optional | "" | Set to "true" to enable debug logging |
AMPLIHACK_ORIGINAL_CWD | cli.py, auto_mode.py, session.py | Optional | os.getcwd() | Preserves original working directory across staging |
AMPLIHACK_SKIP_REFLECTION | cli.py, session.py | Optional | "" | Set to "1" to disable post-session reflection |
AMPLIHACK_AUTO_MODE | cli.py, session.py | Optional | "" | Set to "1" when running in autonomous mode |
AMPLIHACK_NONINTERACTIVE | cli.py, launcher/core.py | Optional | "" | Set to "1" to suppress interactive prompts |
AMPLIHACK_USE_DOCKER | cli.py, docker/detector.py, docker/manager.py | Optional | "" | Set to "1" / "true" to enable Docker mode |
AMPLIHACK_IN_DOCKER | docker/detector.py | Optional | "" | Set to "1" when running inside a Docker container |
AMPLIHACK_AGENT_BINARY | cli.py, launcher/core.py, copilot.py, codex.py, auto_mode.py | Optional | "claude" | Active agent binary name (claude/copilot/codex/amplifier) |
AMPLIHACK_USE_RECIPES | workflows/execution_tier_cascade.py | Optional | "1" | Set to "0" to disable recipe execution tier |
AMPLIHACK_SKIP_UPDATE | launcher/copilot.py, codex.py | Optional | "" | Set to "1" to skip auto-update check |
AMPLIHACK_USE_RUSTYCLAWD | cli.py | Optional | "" | Set to "1" to use Rust-based Claude wrapper |
AMPLIHACK_MEMORY_ENABLED | launcher/agent_memory.py | Optional | "true" | Set to "false" to disable memory system |
AMPLIHACK_ENABLE_BLARIFY | launcher/core.py | Optional | "" | Set to "1" to enable Blarify code indexing |
AMPLIHACK_DEFAULT_MODEL | launcher/core.py | Optional | "opus[1m]" | Default Claude model for sessions |
AMPLIHACK_TRACE_LOGGING | tracing/trace_logger.py | Optional | "" | Set to "true" to enable JSONL trace logging |
AMPLIHACK_TRACE_FILE | tracing/trace_logger.py | Optional | ~/.amplihack/trace.jsonl | Path for trace log output |
AMPLIHACK_PROJECT_ROOT | uvx/manager.py | Optional | - | Framework path set during UVX execution |
AMPLIHACK_IS_STAGED | launcher/auto_stager.py, auto_mode.py | Optional | "" | Set to "1" when runtime is staged |
AMPLIHACK_STAGED_DIR | launcher/auto_mode.py | Optional | - | Path to staged runtime directory |
AMPLIHACK_PLUGIN_INSTALLED | launcher/core.py | Optional | "" | Set to "true" when plugin installed via Claude Code |
AMPLIHACK_SHUTDOWN_IN_PROGRESS | launcher/core.py | Optional | "" | Set to "1" during graceful shutdown |
AMPLIHACK_HOOK_ENGINE | settings.py, launcher/copilot.py | Optional | "python" | Hook execution engine: "rust" or "python" |
AMPLIHACK_RUST_TRIAL_HOME | rust_trial.py | Optional | - | Root directory for Rust trial binary |
AMPLIHACK_RUST_TRIAL_BINARY | rust_trial.py | Optional | - | Explicit path to Rust trial binary |
AMPLIHACK_IN_UVX | uvx/manager.py | Optional | - | Indicates running in UVX environment |
AMPLIHACK_CONTEXT_<KEY> | recipe_cli/recipe_command.py | Optional | - | Recipe context injection (dynamic keys) |
AMPLIHACK_TASK_DESCRIPTION | recipe_cli/recipe_command.py | Optional | - | Task description for recipe context |
AMPLIHACK_REPO_PATH | recipe_cli/recipe_command.py | Optional | "." | Repository path for recipe context |