You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: env: map in mantle.yaml for workflow expression variables (#74) (#119)
* feat(config): add env map for workflow expression variables (#74)
Add Env map[string]string field to Config struct, parsed from the env:
section in mantle.yaml. Keys are normalized to uppercase to match the
MANTLE_ENV_* convention used by the CEL evaluator.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat(cel): merge config env with MANTLE_ENV_, log overrides (#74)
Rename envVars() to mergeEnvVars(configEnv) which starts with config
values from mantle.yaml env: section, then overlays MANTLE_ENV_*
OS environment variables. When a key exists in both sources, the OS
env var wins and an info log is emitted. Add SetConfigEnv setter to
avoid changing the NewEvaluator signature.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat(engine): wire config env map into CEL evaluator (#74)
Call eng.CEL.SetConfigEnv(cfg.Env) after engine.New(database) in the
run and serve CLI commands so that env: values from mantle.yaml are
available in CEL workflow expressions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: document env: config section for workflow variables (#74)
Add Workflow Expression Variables section to configuration docs covering
the env: YAML syntax, CEL expression usage, and MANTLE_ENV_* override
precedence with info logging on conflicts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: correct max_concurrent_executions_per_team default to 0 (unlimited) in docs
* docs: clarify env key case sensitivity and uppercase normalization
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments