Skip to main content

Config surface precedence

b1e55ed merges configuration from multiple “surfaces”. Later surfaces override earlier ones.
  1. config/default.yaml — repo defaults
  2. config/presets/*.yaml — preset overlays
  3. config/user.yaml — operator overlay
  4. Environment variables (B1E55ED_*) — overrides and secrets
Operationally: keep structure in YAML, keep secrets in environment variables.

Environment variable mapping

The config model maps nested keys using:
  • Prefix: B1E55ED_
  • Nested delimiter: __
Examples:

weights

Domain synthesis weights. Must sum to 1.0 (±0.001).
Env var equivalents:

risk

Risk controls and hard limits.
Env var equivalents (examples):

brain

Brain cycle timing.
Env:

execution

Execution mode and paper-trading defaults.
Env (examples):
paper_min_days: 14 is the recommended minimum time in paper mode before going live.

kill_switch

Kill switch thresholds (risk tripwires).
Env (examples):

karma

Karma configuration and treasury routing.
Env (examples):

universe

Defines which symbols b1e55ed collects/scores.

Scoring universe auto-derivation

The brain’s scoring universe is automatically derived from your enabled bundle symbols. You do not need to maintain a separate universe.symbols list when bundles are configured. universe.symbols is an optional supplement, not a replacement. If you set it, those symbols are appended to the bundle-derived universe (deduplicating any overlaps). This is useful for scoring symbols you want to monitor but haven’t placed into a bundle yet. Disabled bundles are never included. Env (examples):
If you’re unsure what to trade, configure a bundle with your core symbols and leave universe.symbols empty. The brain will automatically score everything in the enabled bundle.

api

API server settings.
Env:

dashboard

Dashboard server settings.
Env:

eas (Ethereum Attestation Service)

Optional EAS integration (disabled by default).
Env (examples):
Related CLI:
  • b1e55ed eas status
  • b1e55ed eas verify --uid <uid>

publish.github (GitHub auto-publish)

Optional publishing of contributor attestations to GitHub as issues.
If token is empty, publishing is skipped with a WARN log entry — registration still succeeds.

export

Defaults for b1e55ed export karma.
Env:

Webhooks

Webhook subscriptions are database-backed and managed via CLI (there is no YAML block in this version):

Authoritative schema/model: engine/core/config.py.
See also: Legacy Configuration Guide for additional context.