Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Environment Configuration Guide

This guide is the working registry for Aura environment variables.

Use three buckets:

  • product runtime: user-facing runtime configuration that affects production shells or handlers
  • harness / tooling: local automation, browser harness, CI, or workflow bring-up knobs
  • test-only: fixture generation, compatibility baselines, compile-fail helpers, or artifact capture used only in tests

Do not add new env reads ad hoc. Add the variable to the appropriate bucket first, then expose it through a small typed helper near the owning runtime boundary.

Product Runtime

VariableOwnerPurpose
AURA_PATHaura-agent::core::configBase root used to resolve the default Aura storage directory
AURA_BOOTSTRAP_BROKER_BINDaura-terminal::envOverride bootstrap-broker bind address for mixed native/browser startup
AURA_BOOTSTRAP_BROKER_URLaura-terminal::envOverride externally reachable bootstrap-broker base URL
AURA_BOOTSTRAP_BROKER_ALLOW_LAN_BINDaura-terminal::envExplicitly allow a bootstrap broker bind address that is visible off loopback
AURA_BOOTSTRAP_BROKER_AUTH_TOKENaura-terminal::envBearer token required for bootstrap-broker HTTP endpoints
AURA_BOOTSTRAP_BROKER_INVITATION_TOKENaura-terminal::envUnguessable one-time token sent as the bootstrap-broker invitation retrieval header
AURA_CLIPBOARD_MODEaura-terminal::envSelect clipboard behavior for terminal code display (system, file_only, disabled)
AURA_CLIPBOARD_FILEaura-terminal::envCapture clipboard writes to a file for constrained or automated environments
AURA_DEMO_DEVICE_IDaura-terminal::envEnable demo-only neighborhood assist behavior when a demo device id is staged
AURA_TCP_LISTEN_ADDRaura-effects::transport::envOverride the stateless TCP receive bind address
AURA_TUI_ALLOW_STDIOaura-terminal::envDisable fullscreen stdio redirection for debugging
AURA_TUI_LOG_PATHaura-terminal::envOverride the storage key/path used for persisted TUI logs

Harness / Tooling

Variable familyOwnerPurpose
AURA_HARNESS_*aura-harness, aura-app::workflows::runtime, aura-agent::runtime_bridge, aura-ui::app::shell::modal_submitHarness orchestration, convergence, browser bootstrap, and render-stability controls
AURA_WEB_APP_URLaura-harnessFallback browser app URL for harness/browser bring-up
AURA_ALLOW_FLOW_COVERAGE_SKIP, AURA_FLOW_COVERAGE_*aura-harness::governanceGovernance/coverage policy knobs
GITHUB_*, CIharness/tooling onlyCI-aware defaults for harness governance and parity rotation

Harness env reads may stay close to the owning harness boundary, but they should still be routed through small typed helpers when reused in multiple places.

Test-only

Examples:

  • AURA_PROTOCOL_COMPAT_*
  • AURA_CONSENSUS_ITF_*
  • AURA_CONFORMANCE_*
  • AURA_PROPERTY_MONITOR_*
  • AURA_TELLTALE_*
  • compile-fail helpers that only inspect Cargo-provided environment variables

These should not be mixed into product-runtime or harness-runtime registries. Keep them local to the owning test module unless they become shared fixture infrastructure.