Appendix C: Feature Flags and Environment Variables
REAL
Generated from noetl/server v3.161.2 (commit 983e36e3ec4c, 2026-11-12), files orchestrate-core/schema/dsl-manifest.json, orchestrate-core/schema/resource-model.json. The server's own tests fail if these files drift from the code that defines the grammar, so this page is as current as the pin.
The flags and environment variables the DSL artifacts name: the gates on tool kinds and DSL features, and the limits a worker reads, followed by the runtime flags the chapters cite. It is not every environment variable the server and worker read.
Gates
every catalog flag is OFF by default (each is strict "true", read once per process); with a flag off the server behaves as if the feature did not exist
| Variable | Read by | What it enables | Default | Requires |
|---|---|---|---|---|
NOETL_AGENT_CALLBACK_ORIGINS | server | allowed callback origins for metadata.expose.agent | ||
NOETL_AGENT_ENDPOINT | server | serves metadata.expose.agent: GET /api/agents, GET /api/agents/cards/{path}, POST /api/agents/send, GET /api/agents/tasks/{id} | off | |
NOETL_CATALOG_CAS | server | catalog: content_addressing: digest on register, dedup, /api/catalog/{resolve,blob,sources,pin} | off | |
NOETL_CATALOG_DISCOVERY | server | catalog: discovery: POST /api/catalog/peer/resolve (signed, trusted peers only), POST /api/catalog/locate (internal token); imports under peer/ | off | NOETL_CATALOG_CAS, NOETL_INSTANCE_REGISTRY, NOETL_CATALOG_PEER_KEY_FILE |
NOETL_CATALOG_HOT_RELOAD | server | serves metadata.catalog.hot_reload: an explicit @latest sub-playbook reference inside this root's pinned execution tree | off | NOETL_CATALOG_PINNING, NOETL_CATALOG_CAS |
NOETL_CATALOG_PINNING | server | catalog: execution_pinning: POST /api/execute version (a positive integer or "latest") and digest (sha256:, wins over version) are honoured, and path may be a reference form. A kind: playbook step sends version as an integer only, so it asks for @latest or a digest through its path. A child of a pinned execution with no version resolves to the root's pinned version. With the flag off, version/digest are ignored and the path resolves to its latest version | off | NOETL_CATALOG_CAS |
NOETL_CATALOG_REMOTE_CALLS | server | catalog: remote_execution: inside a pinned tree a remote reference resolves to what the ROOT first got for it, in both modes, even if the owner registers a new version mid-run; a child of an imported playbook resolves bare names on its home instance (peer/remote: delegate is refused by name and nothing else changes | off | NOETL_CATALOG_PINNING, NOETL_CATALOG_CAS |
NOETL_CATALOG_URI_FETCH | server | catalog: uri_fetch: locate fetches a reference's own source URI; fail closed, nothing is fetched without an allowlist | off | NOETL_CATALOG_DISCOVERY, NOETL_CATALOG_URI_ALLOW |
NOETL_MCP_SERVER | server | serves metadata.expose.mcp: POST /api/mcp (one MCP tool per exposed playbook) | off | |
NOETL_TOOL_KIND_AGENT | server | enables kind: agent | off | |
NOETL_TOOL_KIND_MCP | server | enables kind: mcp | off | |
NOETL_WORKER_AGENT_TOOL | worker | lets a worker run kind: agent | off |
Limits
| Variable | Default | Unit | Note | Source |
|---|---|---|---|---|
NOETL_AGENT_MAX_TOOL_CALLS | 32 (DEFAULT) | tool calls per agent step | positive integers only; the model cannot raise it; exceeding it ends the step with agent.final refused: tool_call_budget | noetl/worker@d1c9584 src/executor/agent_host.rs:50 |
NOETL_AGENT_TOOL_TIMEOUT_SECS | 180 (DEFAULT) | s per playbook-bound child | noetl/worker@d1c9584 src/executor/agent_host.rs:51 | |
NOETL_COMMAND_CONTEXT_MAX_BYTES | 524288 (DEFAULT) | bytes | a command context above it is offloaded as a context_ref | noetl/server src/config/app.rs:242-246 |
NOETL_EVENT_EMIT_OUTAGE_BUDGET_SECS | 120 (DEFAULT) | s | extra retry window for event emits during a server outage; the slot stays held | noetl/worker@d1c9584 src/client/control_plane.rs:125, 133-140 |
NOETL_EVENT_RESULT_CONTEXT_MAX_BYTES | 102400 (DEFAULT) | bytes | a step result above it is spilled to the result store and replaced by a reference: a downstream read then costs a fetch | noetl/worker@d1c9584 src/executor/command.rs:1843, 1857-1865 |
NOETL_RECONCILE_MAX_NOOPS | 225 (DEFAULT) | consecutive no-progress polls at an 8 s tick (~30 min) | how long a stuck execution is re-driven before the server stops | noetl/server src/config/app.rs:702-726 |
NOETL_WASM_FUEL | 10000000000 (DEFAULT) | fuel units per invocation | 0 / off / none / unlimited removes the limit; an unparseable value keeps the default; a trip increments noetl_worker_plugin_limit_trips_total{limit} | noetl/worker@d1c9584 src/plugin.rs:41 |
NOETL_WASM_MAX_MEMORY_MB | 1024 (DEFAULT) | MiB linear memory | noetl/worker@d1c9584 src/plugin.rs:47 | |
NOETL_WASM_TIMEOUT_MS | 30000 (DEFAULT) | ms wall clock per invocation | 10 ms deadline granularity | noetl/worker@d1c9584 src/plugin.rs:44 |
NOETL_WORKER_DRAIN_TIMEOUT_SECS | 150 (DEFAULT) | s | on SIGTERM a worker finishes in-flight commands within this budget | noetl/worker@d1c9584 src/worker.rs:1139 |
WORKER_MAX_CONCURRENT | 4 (DEFAULT) | slots per worker process | noetl/worker@d1c9584 src/config.rs:115-118 |
Agent budgets
| Variable | Default | Scope |
|---|---|---|
NOETL_AGENT_MAX_TOOL_CALLS | 32 | tool calls per agent step |
NOETL_AGENT_TOOL_TIMEOUT_SECS | 180 | seconds per playbook-bound child |
Runtime flags the chapters cite
Variables the server, worker, gateway or CLI read that the DSL artifacts do not publish, listed because a chapter names them. Each was checked against the source at the release shown; a deployment may override any default. Built from tools/flags-cited.json; CI fails if a chapter names a variable that is in neither this table nor the ones above.
| Variable | Read by | Default | What it does | Source | Cited in |
|---|---|---|---|---|---|
GATEWAY_AUTH_BYPASS | gateway | false | accept any session token (only exactly true or 1 enables it); reported by noetl_gateway_auth_bypass_enabled | gateway v3.22.1 src/auth/middleware.rs:13-18 | 30.0 |
GATEWAY_SESSION_VALIDATE_VIA_PLAYBOOK | gateway | true | validate an uncached session by running the auth playbook | gateway v3.22.1 src/auth/mod.rs:174-181 | 10.1 |
NOETL_ALLOW_INSECURE_DEFAULT_KEY | server | false | start with a random per-process key when no encryption key is set; data is unreadable after a restart | server v3.161.2 src/main.rs:1139-1171 | 31.0 |
NOETL_AUTHZ_SYNC | gateway | false | the same synchronous path for authorization checks | gateway v3.22.1 src/auth/mod.rs:231-235 | 10.1 |
NOETL_AUTH_SYNC | gateway | false | validate sessions through the server's synchronous auth path instead of a playbook (a code comment says prod runs it on) | gateway v3.22.1 src/auth/mod.rs:205-209, 224 | 10.1 |
NOETL_CATALOG_LOG | server | off | shadow: also record each registration in the EHDB catalog tier | server v3.161.2 src/handlers/catalog_log.rs:26-27, src/services/catalog.rs:163 | 3.4 |
NOETL_CATALOG_MODEL | no reader at catalog 473b2d5 | not implemented | named in the catalog design as the later shadow read-path gate (value shadow). No Rust file at that commit reads it | noetl/catalog 473b2d5 design/catalog-model.md plan table (P4); grep of crates for the name found the design spec only | 16.0 |
NOETL_CATALOG_PEERS | server | empty | comma-separated control-plane URLs, optionally with #audience, to which this instance advertises | server v3.165.5 src/services/catalog_peer.rs:66, 104-117, 231-241 | 17.2, 17.4 |
NOETL_CATALOG_PEER_KEY_FILE | server | unset | path to the instance key used to sign catalog peer requests; discovery stays off without it | server v3.165.5 src/services/catalog_peer.rs:67, 116-117, 198-213 | 17.4 |
NOETL_CATALOG_READ_SOURCE | server | postgres | where the catalog's latest version resolves from: postgres, verify, or tier | server v3.161.2 src/handlers/catalog_read.rs:3-13, 37 | 3.4 |
NOETL_CATALOG_REMOTE_MODE | server | import | default remote-reference mode when a step does not set remote; invalid values log and fall back to import | server v3.165.5 src/services/catalog_remote.rs:72, 82-101, 118-137 | 17.2, 17.4 |
NOETL_CATALOG_REMOTE_PUSH | server | false (only strict true enables it) | mount the caller's delegated wait route and let an owner hold a signed execution-status request for up to 10 seconds | server v3.165.5 src/services/catalog_remote.rs:919-931, 1148-1165, 1215-1225 | 17.0, 17.2, 17.6 |
NOETL_CATALOG_REMOTE_SERVE | server | false (only strict true enables it) | enable the owner-side signed peer execute and execution routes when pinning and discovery are ready | server v3.165.5 src/services/catalog_remote.rs:73-74, 107-145, 1203-1232 | 17.2, 17.3, 17.4 |
NOETL_CATALOG_REMOTE_SERVE_ALLOW | server | empty (refuse every peer execute) | comma-separated path globs the owner is allowed to execute for peers | server v3.165.5 src/services/catalog_remote.rs:74, 139-155, 1025-1035, 1226-1230 | 17.2, 17.4 |
NOETL_CATALOG_SELF_URL | server | NOETL_PUBLIC_SERVER_URL, otherwise unset | public server URL placed in this instance's peer advertisement | server v3.165.5 src/services/catalog_peer.rs:68, 118-123 | 17.4 |
NOETL_CHAIN_ADVANCE | server | off (same allow-list) | advance each execution's chain head as events arrive | server v3.161.2 src/chain_advance.rs:47 | 13.7 |
NOETL_CHAIN_POPULATE | server (ehdb-l0) | off (allow-list: 1/true/yes/on) | populate the chain store from the event log | ehdb v0.15.1 crates/ehdb-l0/src/chain_populator.rs:71 | 13.7 |
NOETL_CHAIN_SOURCE | server | off (anything but chain) | chain: read execution history from the chain store (needs the other two gates) | server v3.161.2 src/db/queries/event_chain.rs:218-262 | 13.7 |
NOETL_COMMAND_BUS | server, worker | none (required) | the command bus; only the EHDB bus is accepted, NATS is refused | server v3.161.2 src/command_bus.rs:47-90; worker v6.15.0 src/command_bus.rs:85-115 | 10.3, 13.1 |
NOETL_COMMAND_BUS_ACK_WAIT_SECS | worker (writer) | 30 | seconds before an unacked command is redelivered | worker v6.15.0 src/command_bus.rs:191 | 10.3 |
NOETL_COMMAND_BUS_HOST | worker | false | run this worker process as the command-bus writer (the cmdbus-writer) | worker v6.15.0 src/command_bus.rs:178 (env_bool), src/worker.rs:159-204 | 10.3, 13.4 |
NOETL_DISABLE_METRICS | server | false | remove the unauthenticated /metrics route | server v3.161.2 src/config/app.rs:38-40, src/main.rs:100-104 | 30.0 |
NOETL_DSL_KB | server | false | mount the DSL knowledge-base routes | server v3.161.2 src/main.rs:1064 | 4.0, 26.2 |
NOETL_EHDB_ELECTION | worker (writer) | off | run the shard writer election (Kubernetes Lease ehdb-shard-<shard>) | worker v6.15.0 src/ehdb/lease_store.rs:162-166 | 13.5 |
NOETL_EHDB_ELECTION_LEASE_SECS | worker (writer) | 15 | lease duration | worker v6.15.0 src/ehdb/election.rs:95; ehdb v0.15.1 crates/ehdb-reference/src/election.rs:53 | 13.5 |
NOETL_EHDB_ELECTION_RENEW_SECS | worker (writer) | 5 | lease renew interval | worker v6.15.0 src/ehdb/election.rs; ehdb v0.15.1 crates/ehdb-reference/src/election.rs:55 | 13.5 |
NOETL_EHDB_FENCING | worker (writer) | off | epoch fence mode: off, shadow or enforce | worker v6.15.0 src/ehdb/election.rs:312; ehdb v0.15.1 crates/ehdb-core/src/fence.rs:50-62 | 13.5 |
NOETL_EHDB_FLOOR_EXACT | server | off | confirm the prune-floor holder with an exact read, so a bloom false positive cannot pin the floor | server v3.161.2 src/services/event_archive.rs:2059, 2428-2440 | 13.3 |
NOETL_EHDB_SEAL_MAX_AGE_MS | worker | unset (off) | seal the active part once it is this old | worker v6.15.0 src/ehdb/eventlog_backend.rs:246-256 | 13.2 |
NOETL_EHDB_SEAL_MAX_AGE_SECS | server | unset (off) | seal the server store's active part once it is this old (checked every NOETL_EHDB_SEAL_TICK_SECS, 60) | server v3.161.2 src/handlers/ehdb_embedded.rs:734, 916 | 13.2 |
NOETL_EHDB_TAIL_CLEANUP | server | on | clean up replicated tail objects; false keeps every tail object | server v3.161.2 src/handlers/ehdb_embedded.rs:1004 | 13.6 |
NOETL_EHDB_TAIL_REPLICATION | server | off | copy the unsealed tail off the node on a timer (B3; tick default 15 s) | server v3.161.2 src/handlers/ehdb_embedded.rs:1015-1033 | 13.6 |
NOETL_EHGRAPH_CONFIG | server | unset | path to the ehgraph TOML. Required once the embedded graph is armed | server v3.161.2 src/ehgraph_embedded.rs:81 | 15.5 |
NOETL_EHGRAPH_EMBEDDED | server | false | open the embedded ehgraph noetl-cluster graph and mount it under /ehgraph/noetl-cluster | server v3.161.2 src/ehgraph_embedded.rs:77, Cargo.toml:233-235 | 15.0, 15.1, 15.2, 15.3, 15.5 |
NOETL_EHGRAPH_HOST_ORDINAL | server | derived from HOSTNAME when unset | this pod's StatefulSet ordinal. Only 0 may write the embedded graph | server v3.161.2 src/ehgraph_embedded.rs:85, 139-143 | 15.5 |
NOETL_EHGRAPH_HOST_REPLICAS | server | unset (unset refuses) | how many server replicas run this configuration. Must be 1 or the embedded graph refuses to open | server v3.161.2 src/ehgraph_embedded.rs:83, 170-174 | 15.5 |
NOETL_EHGRAPH_TOPOLOGY_NAMESPACE | server | topology | namespace the instance-registry projection writes | server v3.161.2 src/instances/graph.rs:44-45 | 15.5 |
NOETL_EHGRAPH_TOPOLOGY_TOKEN_FILE | server | unset | file holding the bearer token the topology writer uses. The writer does not start without a readable, non-empty file | server v3.161.2 src/instances/graph.rs:43, 227-233 | 15.5 |
NOETL_EHGRAPH_TOPOLOGY_WRITER | server | off (must be exactly true) | project the instance registry into the embedded graph; also needs a token file with a write grant | server v3.161.2 src/instances/graph.rs:28-33, 42 | 15.1, 15.5 |
NOETL_ENCRYPTION_KEY | server | none (required) | master key for the credential and keychain stores' KEK; the server refuses to start without it (also _FILE) | server v3.161.2 src/main.rs:1119-1163 | 31.0 |
NOETL_EVENT_BUS_HOST | worker | false | also host the event bus (SSE feed, KV, WAL fan-out) | worker v6.15.0 src/event_bus.rs:6, 203 | 10.3, 13.4 |
NOETL_EVENT_FEED_ADDR | gateway | none (required) | EHDB events feed the gateway streams to clients over SSE | gateway v3.22.1 src/main.rs:181-197, src/event_feed.rs:9 | 10.1 |
NOETL_EVENT_INGEST_PUBLISH_ONLY | server | false | publish ingested events to the EHDB events feed (the gateway's SSE source); off, the feed receives nothing | server v3.161.2 src/config/app.rs:118-125, src/handlers/event_write.rs:304-318 | 10.1, 13.4 |
NOETL_EXECUTION_AFFINITY | server | false | route each execution's events to the replica that owns it. The embedded ehgraph refuses to open when this is true | server v3.161.2 src/config/app.rs:569-574; src/ehgraph_embedded.rs:165-168 | 15.5 |
NOETL_EXECUTION_WAIT | server, worker (playbook tool) | false | mount and use the execution completion long-poll instead of sleeping before each status poll | server v3.165.5 src/config/app.rs:198-206, src/main.rs:428-440; tools v4.7.3 src/tools/playbook.rs:265-271 | 17.2 |
NOETL_FEED_FILTER_SUBJECT | worker | none (required) | the pool this worker claims for, e.g. noetl.commands.shared.>; the worker refuses to start without it | worker v6.15.0 src/config.rs:40-46, src/worker.rs:233-244 | 10.3 |
NOETL_GCP_KMS_KEY | server | none | the Cloud KMS key, required when NOETL_KMS_PROVIDER=gcp-kms | server v3.161.2 src/crypto/mod.rs:62 | 31.0 |
NOETL_INSTANCE_REGISTRY | server | false (only exact true enables it) | mount the signed instance registry and operator listing and expose its state to catalog discovery | server v3.165.5 src/instances/mod.rs:34-38, 73-81, 682-704 | 17.0, 17.1 |
NOETL_INSTANCE_TRUST | server | allowlist | instance admission mode; only open accepts every valid signer, otherwise the trusted-id allowlist applies | server v3.165.5 src/instances/gate.rs:16-20, 32-59 | 17.0 |
NOETL_INSTANCE_TRUSTED_IDS | server | empty (admit nobody in allowlist mode) | comma-separated instance ids admitted by the default trust mode | server v3.165.5 src/instances/gate.rs:16-20, 40-55 | 17.0, 17.1, 17.4 |
NOETL_INTERNAL_API_TOKEN | server, worker, gateway, catalog | unset | bearer for internal routes; the gateway's push ingress is refused without it; catalog 473b2d5 returns 503 on a write when it is unset or blank | server v3.161.2 src/auth_gate.rs:47; gateway v3.22.1 src/main.rs:419-434; noetl/catalog 473b2d5 crates/catalog-api/src/lib.rs:41-68, src/main.rs:16-21 | 10.1, 16.0, 16.4, 31.0 |
NOETL_INTERNAL_AUTH_MODE | server | shadow | bearer gate on internal and credential routes: shadow counts, only enforce rejects | server v3.161.2 src/auth_gate.rs:25-93 | 31.0 |
NOETL_KEYCHAIN_ENV_VARS | worker | empty | allow-list of environment variables copied into every command's secrets | worker v6.15.0 src/executor/command.rs:55-63 | 31.0 |
NOETL_KEYCHAIN_STRICT | worker | false | fail the command when a referenced keychain alias does not resolve, instead of rendering it empty | worker v6.15.0 src/executor/keychain_namespace.rs:33-51 | 4.4 |
NOETL_KMS_PROVIDER | server | local | where the KEK lives: local, or gcp-kms (Cloud KMS); any other value fails start-up | server v3.161.2 src/crypto/mod.rs:33-61 | 31.0 |
NOETL_KV_ADDR | gateway | none (required) | EHDB KV address for sessions, the request store and execution owners | gateway v3.22.1 src/main.rs:132-161 | 10.1 |
NOETL_LOCAL_DIR | CLI | ~/.noetl/local | root of the local runtime's event buffer | CLI v6.4.1 src/local_buffer.rs:11 | 1.3, 8.4 |
NOETL_MCP_REQUEST_TIMEOUT_SECONDS | worker (mcp tool) | 60 | MCP request timeout when the step sets none | tools v4.6.0 src/tools/mcp.rs:782 | 6.5, 21.2 |
NOETL_MCP_URL | worker (mcp tool), CLI | unset | fallback MCP endpoint after NOETL_MCP_ | tools v4.6.0 src/tools/mcp.rs:28; CLI v6.4.1 executor/src/playbook.rs:599 | 8.2 |
NOETL_NONCONVERGENCE_SWEEP_ENABLED | server | false | fail an execution whose newest event has not moved for a grace period while nothing can move it | server v3.161.2 src/config/app.rs:680-700 | 10.3 |
NOETL_ORCHESTRATE_PLUGIN_DRIVE | server | true | run each drive pass as the __orchestrate__ WASM command on the system pool; false drives in process | server v3.161.2 src/config/app.rs:70-87 | 10.2 |
NOETL_ORPHAN_SWEEP_ENABLED | server | false | fail (playbook.failed) a RUNNING execution whose outstanding claim belongs to a dead worker | server v3.161.2 src/config/app.rs:600-627 | 10.3 |
NOETL_PLAYBOOK_AWAIT_CHILD_RESULT | worker (playbook tool) | true | kill-switch: false reverts an awaited child's result to the legacy status payload | tools v4.6.0 src/tools/playbook.rs:51-53 | 7.1 |
NOETL_PLAYBOOK_AWAIT_PARK | server, worker (playbook tool) | false | let an awaited local child park its parent step and free the worker slot; delegated calls are not eligible | server v3.165.5 src/config/app.rs:208-218, src/services/await_park.rs:14-29; tools v4.7.3 src/tools/playbook.rs:257-262 | 17.2 |
NOETL_RESULT_URI_ACCEPT | server | false | accept and validate the worker-stamped canonical result URI (shadow; not yet resolved by) | server v3.161.2 src/config/app.rs:442-470 | 36.1 |
NOETL_SEALED_CREDENTIALS | worker | off | fetch auth: credentials through the sealed endpoint (needs WORKER_ID); otherwise plaintext | worker v6.15.0 src/executor/auth_alias.rs:425-460 | 31.0 |
NOETL_SECRET_AUDIT_REQUIRED | server | false | parsed, but has no effect at this release: nothing constructs the audit service | server v3.161.2 src/services/secret_audit.rs:216-222 | 31.0 |
NOETL_SERVER_REGION | server | empty (legacy mode) | the server's region for secret residency; empty means no residency checks | server v3.161.2 src/secrets/mod.rs:96-108 | 31.0 |
NOETL_SHARD_COUNT | server | unset (treated as 1) | total server shard count. The embedded ehgraph refuses to open when it is greater than 1 | server v3.161.2 src/config/app.rs:177-185; src/ehgraph_embedded.rs:159-163 | 15.5 |
NOETL_TASK_SEQUENCE_MAX_ITERATIONS | worker (task_sequence tool) | 1000000 | cap on iterations inside one tool list | tools v4.6.0 src/tools/task_sequence.rs:252-257 | 5.2 |
NOETL_TLS_CERT | server | none | server certificate; with NOETL_TLS_KEY turns on HTTPS (one without the other fails start-up) | server v3.161.2 src/tls.rs:47 | 31.0 |
NOETL_TLS_CLIENT_CA | server | none | CA for client certificates; set with the cert and key, turns on mTLS | server v3.161.2 src/tls.rs:49 | 31.0 |
NOETL_TLS_CLIENT_CERT | worker | none | worker client certificate for mTLS to the server | worker v6.15.0 src/client/tls.rs:41 | 31.0 |
NOETL_TLS_CLIENT_KEY | worker | none | worker client key for mTLS | worker v6.15.0 src/client/tls.rs:42 | 31.0 |
NOETL_TLS_KEY | server | none | server private key for HTTPS | server v3.161.2 src/tls.rs:48 | 31.0 |
NOETL_WORKER_DRAIN_TIMEOUT_SECS | worker | 150 (20 on a writer host) | how long a SIGTERM'd worker waits for in-flight commands before exiting; 0 abandons them at once | worker v6.15.0 src/worker.rs:1139-1162 | 21.3, 29.0 |
WORKER_ID | worker | none | this worker's identity; required for sealed credential delivery | worker v6.15.0 src/config.rs:65 | 31.0 |
WORKER_METRICS_BIND | worker | 0.0.0.0:9090 | address of the worker's /metrics, health and EHDB query routes | worker v6.15.0 src/config.rs:124-134 | 30.0 |