Appendix C: Feature Flags and Environment Variables

REAL

Generated

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

VariableRead byWhat it enablesDefaultRequires
NOETL_AGENT_CALLBACK_ORIGINSserverallowed callback origins for metadata.expose.agent
NOETL_AGENT_ENDPOINTserverserves metadata.expose.agent: GET /api/agents, GET /api/agents/cards/{path}, POST /api/agents/send, GET /api/agents/tasks/{id}off
NOETL_CATALOG_CASservercatalog: content_addressing: digest on register, dedup, /api/catalog/{resolve,blob,sources,pin}off
NOETL_CATALOG_DISCOVERYservercatalog: discovery: POST /api/catalog/peer/resolve (signed, trusted peers only), POST /api/catalog/locate (internal token); imports under peer//offNOETL_CATALOG_CAS, NOETL_INSTANCE_REGISTRY, NOETL_CATALOG_PEER_KEY_FILE
NOETL_CATALOG_HOT_RELOADserverserves metadata.catalog.hot_reload: an explicit @latest sub-playbook reference inside this root's pinned execution treeoffNOETL_CATALOG_PINNING, NOETL_CATALOG_CAS
NOETL_CATALOG_PINNINGservercatalog: 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 versionoffNOETL_CATALOG_CAS
NOETL_CATALOG_REMOTE_CALLSservercatalog: 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//). With the flag off remote: delegate is refused by name and nothing else changesoffNOETL_CATALOG_PINNING, NOETL_CATALOG_CAS
NOETL_CATALOG_URI_FETCHservercatalog: uri_fetch: locate fetches a reference's own source URI; fail closed, nothing is fetched without an allowlistoffNOETL_CATALOG_DISCOVERY, NOETL_CATALOG_URI_ALLOW
NOETL_MCP_SERVERserverserves metadata.expose.mcp: POST /api/mcp (one MCP tool per exposed playbook)off
NOETL_TOOL_KIND_AGENTserverenables kind: agentoff
NOETL_TOOL_KIND_MCPserverenables kind: mcpoff
NOETL_WORKER_AGENT_TOOLworkerlets a worker run kind: agentoff

Limits

VariableDefaultUnitNoteSource
NOETL_AGENT_MAX_TOOL_CALLS32 (DEFAULT)tool calls per agent steppositive integers only; the model cannot raise it; exceeding it ends the step with agent.final refused: tool_call_budgetnoetl/worker@d1c9584 src/executor/agent_host.rs:50
NOETL_AGENT_TOOL_TIMEOUT_SECS180 (DEFAULT)s per playbook-bound childnoetl/worker@d1c9584 src/executor/agent_host.rs:51
NOETL_COMMAND_CONTEXT_MAX_BYTES524288 (DEFAULT)bytesa command context above it is offloaded as a context_refnoetl/server src/config/app.rs:242-246
NOETL_EVENT_EMIT_OUTAGE_BUDGET_SECS120 (DEFAULT)sextra retry window for event emits during a server outage; the slot stays heldnoetl/worker@d1c9584 src/client/control_plane.rs:125, 133-140
NOETL_EVENT_RESULT_CONTEXT_MAX_BYTES102400 (DEFAULT)bytesa step result above it is spilled to the result store and replaced by a reference: a downstream read then costs a fetchnoetl/worker@d1c9584 src/executor/command.rs:1843, 1857-1865
NOETL_RECONCILE_MAX_NOOPS225 (DEFAULT)consecutive no-progress polls at an 8 s tick (~30 min)how long a stuck execution is re-driven before the server stopsnoetl/server src/config/app.rs:702-726
NOETL_WASM_FUEL10000000000 (DEFAULT)fuel units per invocation0 / 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_MB1024 (DEFAULT)MiB linear memorynoetl/worker@d1c9584 src/plugin.rs:47
NOETL_WASM_TIMEOUT_MS30000 (DEFAULT)ms wall clock per invocation10 ms deadline granularitynoetl/worker@d1c9584 src/plugin.rs:44
NOETL_WORKER_DRAIN_TIMEOUT_SECS150 (DEFAULT)son SIGTERM a worker finishes in-flight commands within this budgetnoetl/worker@d1c9584 src/worker.rs:1139
WORKER_MAX_CONCURRENT4 (DEFAULT)slots per worker processnoetl/worker@d1c9584 src/config.rs:115-118

Agent budgets

VariableDefaultScope
NOETL_AGENT_MAX_TOOL_CALLS32tool calls per agent step
NOETL_AGENT_TOOL_TIMEOUT_SECS180seconds 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.

VariableRead byDefaultWhat it doesSourceCited in
GATEWAY_AUTH_BYPASSgatewayfalseaccept any session token (only exactly true or 1 enables it); reported by noetl_gateway_auth_bypass_enabledgateway v3.22.1 src/auth/middleware.rs:13-1830.0
GATEWAY_SESSION_VALIDATE_VIA_PLAYBOOKgatewaytruevalidate an uncached session by running the auth playbookgateway v3.22.1 src/auth/mod.rs:174-18110.1
NOETL_ALLOW_INSECURE_DEFAULT_KEYserverfalsestart with a random per-process key when no encryption key is set; data is unreadable after a restartserver v3.161.2 src/main.rs:1139-117131.0
NOETL_AUTHZ_SYNCgatewayfalsethe same synchronous path for authorization checksgateway v3.22.1 src/auth/mod.rs:231-23510.1
NOETL_AUTH_SYNCgatewayfalsevalidate 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, 22410.1
NOETL_CATALOG_LOGserveroffshadow: also record each registration in the EHDB catalog tierserver v3.161.2 src/handlers/catalog_log.rs:26-27, src/services/catalog.rs:1633.4
NOETL_CATALOG_MODELno reader at catalog 473b2d5not implementednamed in the catalog design as the later shadow read-path gate (value shadow). No Rust file at that commit reads itnoetl/catalog 473b2d5 design/catalog-model.md plan table (P4); grep of crates for the name found the design spec only16.0
NOETL_CATALOG_PEERSserveremptycomma-separated control-plane URLs, optionally with #audience, to which this instance advertisesserver v3.165.5 src/services/catalog_peer.rs:66, 104-117, 231-24117.2, 17.4
NOETL_CATALOG_PEER_KEY_FILEserverunsetpath to the instance key used to sign catalog peer requests; discovery stays off without itserver v3.165.5 src/services/catalog_peer.rs:67, 116-117, 198-21317.4
NOETL_CATALOG_READ_SOURCEserverpostgreswhere the catalog's latest version resolves from: postgres, verify, or tierserver v3.161.2 src/handlers/catalog_read.rs:3-13, 373.4
NOETL_CATALOG_REMOTE_MODEserverimportdefault remote-reference mode when a step does not set remote; invalid values log and fall back to importserver v3.165.5 src/services/catalog_remote.rs:72, 82-101, 118-13717.2, 17.4
NOETL_CATALOG_REMOTE_PUSHserverfalse (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 secondsserver v3.165.5 src/services/catalog_remote.rs:919-931, 1148-1165, 1215-122517.0, 17.2, 17.6
NOETL_CATALOG_REMOTE_SERVEserverfalse (only strict true enables it)enable the owner-side signed peer execute and execution routes when pinning and discovery are readyserver v3.165.5 src/services/catalog_remote.rs:73-74, 107-145, 1203-123217.2, 17.3, 17.4
NOETL_CATALOG_REMOTE_SERVE_ALLOWserverempty (refuse every peer execute)comma-separated path globs the owner is allowed to execute for peersserver v3.165.5 src/services/catalog_remote.rs:74, 139-155, 1025-1035, 1226-123017.2, 17.4
NOETL_CATALOG_SELF_URLserverNOETL_PUBLIC_SERVER_URL, otherwise unsetpublic server URL placed in this instance's peer advertisementserver v3.165.5 src/services/catalog_peer.rs:68, 118-12317.4
NOETL_CHAIN_ADVANCEserveroff (same allow-list)advance each execution's chain head as events arriveserver v3.161.2 src/chain_advance.rs:4713.7
NOETL_CHAIN_POPULATEserver (ehdb-l0)off (allow-list: 1/true/yes/on)populate the chain store from the event logehdb v0.15.1 crates/ehdb-l0/src/chain_populator.rs:7113.7
NOETL_CHAIN_SOURCEserveroff (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-26213.7
NOETL_COMMAND_BUSserver, workernone (required)the command bus; only the EHDB bus is accepted, NATS is refusedserver v3.161.2 src/command_bus.rs:47-90; worker v6.15.0 src/command_bus.rs:85-11510.3, 13.1
NOETL_COMMAND_BUS_ACK_WAIT_SECSworker (writer)30seconds before an unacked command is redeliveredworker v6.15.0 src/command_bus.rs:19110.3
NOETL_COMMAND_BUS_HOSTworkerfalserun 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-20410.3, 13.4
NOETL_DISABLE_METRICSserverfalseremove the unauthenticated /metrics routeserver v3.161.2 src/config/app.rs:38-40, src/main.rs:100-10430.0
NOETL_DSL_KBserverfalsemount the DSL knowledge-base routesserver v3.161.2 src/main.rs:10644.0, 26.2
NOETL_EHDB_ELECTIONworker (writer)offrun the shard writer election (Kubernetes Lease ehdb-shard-<shard>)worker v6.15.0 src/ehdb/lease_store.rs:162-16613.5
NOETL_EHDB_ELECTION_LEASE_SECSworker (writer)15lease durationworker v6.15.0 src/ehdb/election.rs:95; ehdb v0.15.1 crates/ehdb-reference/src/election.rs:5313.5
NOETL_EHDB_ELECTION_RENEW_SECSworker (writer)5lease renew intervalworker v6.15.0 src/ehdb/election.rs; ehdb v0.15.1 crates/ehdb-reference/src/election.rs:5513.5
NOETL_EHDB_FENCINGworker (writer)offepoch fence mode: off, shadow or enforceworker v6.15.0 src/ehdb/election.rs:312; ehdb v0.15.1 crates/ehdb-core/src/fence.rs:50-6213.5
NOETL_EHDB_FLOOR_EXACTserveroffconfirm the prune-floor holder with an exact read, so a bloom false positive cannot pin the floorserver v3.161.2 src/services/event_archive.rs:2059, 2428-244013.3
NOETL_EHDB_SEAL_MAX_AGE_MSworkerunset (off)seal the active part once it is this oldworker v6.15.0 src/ehdb/eventlog_backend.rs:246-25613.2
NOETL_EHDB_SEAL_MAX_AGE_SECSserverunset (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, 91613.2
NOETL_EHDB_TAIL_CLEANUPserveronclean up replicated tail objects; false keeps every tail objectserver v3.161.2 src/handlers/ehdb_embedded.rs:100413.6
NOETL_EHDB_TAIL_REPLICATIONserveroffcopy the unsealed tail off the node on a timer (B3; tick default 15 s)server v3.161.2 src/handlers/ehdb_embedded.rs:1015-103313.6
NOETL_EHGRAPH_CONFIGserverunsetpath to the ehgraph TOML. Required once the embedded graph is armedserver v3.161.2 src/ehgraph_embedded.rs:8115.5
NOETL_EHGRAPH_EMBEDDEDserverfalseopen the embedded ehgraph noetl-cluster graph and mount it under /ehgraph/noetl-clusterserver v3.161.2 src/ehgraph_embedded.rs:77, Cargo.toml:233-23515.0, 15.1, 15.2, 15.3, 15.5
NOETL_EHGRAPH_HOST_ORDINALserverderived from HOSTNAME when unsetthis pod's StatefulSet ordinal. Only 0 may write the embedded graphserver v3.161.2 src/ehgraph_embedded.rs:85, 139-14315.5
NOETL_EHGRAPH_HOST_REPLICASserverunset (unset refuses)how many server replicas run this configuration. Must be 1 or the embedded graph refuses to openserver v3.161.2 src/ehgraph_embedded.rs:83, 170-17415.5
NOETL_EHGRAPH_TOPOLOGY_NAMESPACEservertopologynamespace the instance-registry projection writesserver v3.161.2 src/instances/graph.rs:44-4515.5
NOETL_EHGRAPH_TOPOLOGY_TOKEN_FILEserverunsetfile holding the bearer token the topology writer uses. The writer does not start without a readable, non-empty fileserver v3.161.2 src/instances/graph.rs:43, 227-23315.5
NOETL_EHGRAPH_TOPOLOGY_WRITERserveroff (must be exactly true)project the instance registry into the embedded graph; also needs a token file with a write grantserver v3.161.2 src/instances/graph.rs:28-33, 4215.1, 15.5
NOETL_ENCRYPTION_KEYservernone (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-116331.0
NOETL_EVENT_BUS_HOSTworkerfalsealso host the event bus (SSE feed, KV, WAL fan-out)worker v6.15.0 src/event_bus.rs:6, 20310.3, 13.4
NOETL_EVENT_FEED_ADDRgatewaynone (required)EHDB events feed the gateway streams to clients over SSEgateway v3.22.1 src/main.rs:181-197, src/event_feed.rs:910.1
NOETL_EVENT_INGEST_PUBLISH_ONLYserverfalsepublish ingested events to the EHDB events feed (the gateway's SSE source); off, the feed receives nothingserver v3.161.2 src/config/app.rs:118-125, src/handlers/event_write.rs:304-31810.1, 13.4
NOETL_EXECUTION_AFFINITYserverfalseroute each execution's events to the replica that owns it. The embedded ehgraph refuses to open when this is trueserver v3.161.2 src/config/app.rs:569-574; src/ehgraph_embedded.rs:165-16815.5
NOETL_EXECUTION_WAITserver, worker (playbook tool)falsemount and use the execution completion long-poll instead of sleeping before each status pollserver v3.165.5 src/config/app.rs:198-206, src/main.rs:428-440; tools v4.7.3 src/tools/playbook.rs:265-27117.2
NOETL_FEED_FILTER_SUBJECTworkernone (required)the pool this worker claims for, e.g. noetl.commands.shared.>; the worker refuses to start without itworker v6.15.0 src/config.rs:40-46, src/worker.rs:233-24410.3
NOETL_GCP_KMS_KEYservernonethe Cloud KMS key, required when NOETL_KMS_PROVIDER=gcp-kmsserver v3.161.2 src/crypto/mod.rs:6231.0
NOETL_INSTANCE_REGISTRYserverfalse (only exact true enables it)mount the signed instance registry and operator listing and expose its state to catalog discoveryserver v3.165.5 src/instances/mod.rs:34-38, 73-81, 682-70417.0, 17.1
NOETL_INSTANCE_TRUSTserverallowlistinstance admission mode; only open accepts every valid signer, otherwise the trusted-id allowlist appliesserver v3.165.5 src/instances/gate.rs:16-20, 32-5917.0
NOETL_INSTANCE_TRUSTED_IDSserverempty (admit nobody in allowlist mode)comma-separated instance ids admitted by the default trust modeserver v3.165.5 src/instances/gate.rs:16-20, 40-5517.0, 17.1, 17.4
NOETL_INTERNAL_API_TOKENserver, worker, gateway, catalogunsetbearer for internal routes; the gateway's push ingress is refused without it; catalog 473b2d5 returns 503 on a write when it is unset or blankserver 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-2110.1, 16.0, 16.4, 31.0
NOETL_INTERNAL_AUTH_MODEservershadowbearer gate on internal and credential routes: shadow counts, only enforce rejectsserver v3.161.2 src/auth_gate.rs:25-9331.0
NOETL_KEYCHAIN_ENV_VARSworkeremptyallow-list of environment variables copied into every command's secretsworker v6.15.0 src/executor/command.rs:55-6331.0
NOETL_KEYCHAIN_STRICTworkerfalsefail the command when a referenced keychain alias does not resolve, instead of rendering it emptyworker v6.15.0 src/executor/keychain_namespace.rs:33-514.4
NOETL_KMS_PROVIDERserverlocalwhere the KEK lives: local, or gcp-kms (Cloud KMS); any other value fails start-upserver v3.161.2 src/crypto/mod.rs:33-6131.0
NOETL_KV_ADDRgatewaynone (required)EHDB KV address for sessions, the request store and execution ownersgateway v3.22.1 src/main.rs:132-16110.1
NOETL_LOCAL_DIRCLI~/.noetl/localroot of the local runtime's event bufferCLI v6.4.1 src/local_buffer.rs:111.3, 8.4
NOETL_MCP_REQUEST_TIMEOUT_SECONDSworker (mcp tool)60MCP request timeout when the step sets nonetools v4.6.0 src/tools/mcp.rs:7826.5, 21.2
NOETL_MCP_URLworker (mcp tool), CLIunsetfallback MCP endpoint after NOETL_MCP__ENDPOINTtools v4.6.0 src/tools/mcp.rs:28; CLI v6.4.1 executor/src/playbook.rs:5998.2
NOETL_NONCONVERGENCE_SWEEP_ENABLEDserverfalsefail an execution whose newest event has not moved for a grace period while nothing can move itserver v3.161.2 src/config/app.rs:680-70010.3
NOETL_ORCHESTRATE_PLUGIN_DRIVEservertruerun each drive pass as the __orchestrate__ WASM command on the system pool; false drives in processserver v3.161.2 src/config/app.rs:70-8710.2
NOETL_ORPHAN_SWEEP_ENABLEDserverfalsefail (playbook.failed) a RUNNING execution whose outstanding claim belongs to a dead workerserver v3.161.2 src/config/app.rs:600-62710.3
NOETL_PLAYBOOK_AWAIT_CHILD_RESULTworker (playbook tool)truekill-switch: false reverts an awaited child's result to the legacy status payloadtools v4.6.0 src/tools/playbook.rs:51-537.1
NOETL_PLAYBOOK_AWAIT_PARKserver, worker (playbook tool)falselet an awaited local child park its parent step and free the worker slot; delegated calls are not eligibleserver 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-26217.2
NOETL_RESULT_URI_ACCEPTserverfalseaccept and validate the worker-stamped canonical result URI (shadow; not yet resolved by)server v3.161.2 src/config/app.rs:442-47036.1
NOETL_SEALED_CREDENTIALSworkerofffetch auth: credentials through the sealed endpoint (needs WORKER_ID); otherwise plaintextworker v6.15.0 src/executor/auth_alias.rs:425-46031.0
NOETL_SECRET_AUDIT_REQUIREDserverfalseparsed, but has no effect at this release: nothing constructs the audit serviceserver v3.161.2 src/services/secret_audit.rs:216-22231.0
NOETL_SERVER_REGIONserverempty (legacy mode)the server's region for secret residency; empty means no residency checksserver v3.161.2 src/secrets/mod.rs:96-10831.0
NOETL_SHARD_COUNTserverunset (treated as 1)total server shard count. The embedded ehgraph refuses to open when it is greater than 1server v3.161.2 src/config/app.rs:177-185; src/ehgraph_embedded.rs:159-16315.5
NOETL_TASK_SEQUENCE_MAX_ITERATIONSworker (task_sequence tool)1000000cap on iterations inside one tool listtools v4.6.0 src/tools/task_sequence.rs:252-2575.2
NOETL_TLS_CERTservernoneserver certificate; with NOETL_TLS_KEY turns on HTTPS (one without the other fails start-up)server v3.161.2 src/tls.rs:4731.0
NOETL_TLS_CLIENT_CAservernoneCA for client certificates; set with the cert and key, turns on mTLSserver v3.161.2 src/tls.rs:4931.0
NOETL_TLS_CLIENT_CERTworkernoneworker client certificate for mTLS to the serverworker v6.15.0 src/client/tls.rs:4131.0
NOETL_TLS_CLIENT_KEYworkernoneworker client key for mTLSworker v6.15.0 src/client/tls.rs:4231.0
NOETL_TLS_KEYservernoneserver private key for HTTPSserver v3.161.2 src/tls.rs:4831.0
NOETL_WORKER_DRAIN_TIMEOUT_SECSworker150 (20 on a writer host)how long a SIGTERM'd worker waits for in-flight commands before exiting; 0 abandons them at onceworker v6.15.0 src/worker.rs:1139-116221.3, 29.0
WORKER_IDworkernonethis worker's identity; required for sealed credential deliveryworker v6.15.0 src/config.rs:6531.0
WORKER_METRICS_BINDworker0.0.0.0:9090address of the worker's /metrics, health and EHDB query routesworker v6.15.0 src/config.rs:124-13430.0