harb/tools/push3-evolution/evolution.conf
openhands 524a05286e fix: address review feedback on evolution-daemon.sh (#748)
- Stream evolve.sh output directly to stderr instead of buffering in a
  command substitution; long runs (tens of minutes) are now visible live.
- Use an array (EVOLVE_ARGS) for evolve.sh arguments instead of an
  unquoted DIVERSE_FLAG string variable.
- Abort the current run (continue to next loop iteration) when the patch
  fails to apply, rather than silently running with wrong evaluation semantics.
- Fix notify() to pass the message via stdin to avoid SSH single-quote
  interpolation breakage on messages containing special characters.
- Fix step comment/counter mismatch: "Step 7" comment now reads "Step 6"
  to match the [6/7] log label for the summary-write step.
- Clarify in evolution.conf that GAS_LIMIT and ANCHOR_WIDTH_UNBOUNDED are
  documentation-only (they document what evolution.patch does); editing
  them has no runtime effect.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 17:39:20 +00:00

37 lines
2.1 KiB
Text

# evolution.conf — configuration for evolution-daemon.sh
#
# All parameters here override the defaults in evolve.sh.
# Set BASE_RPC_URL to a Base network RPC endpoint before starting the daemon.
# ── Fitness backend ─────────────────────────────────────────────────────────────
EVAL_MODE=revm
# Base network RPC endpoint (required for EVAL_MODE=revm).
# Export in your shell or set here (do NOT commit credentials).
# BASE_RPC_URL=https://mainnet.base.org
# ── Population & selection ──────────────────────────────────────────────────────
POPULATION=20
GENERATIONS=30
MUTATION_RATE=1
ELITES=2
DIVERSE_SEEDS=true
# ── Evolution-specific overrides — DOCUMENTATION ONLY ──────────────────────────
# These two variables are NOT read by evolution-daemon.sh at runtime.
# They document the semantic intent of evolution.patch, which is the actual
# mechanism that changes the compiled Solidity constants before each run.
# Editing these values here has NO runtime effect; to change the overrides,
# regenerate evolution.patch (see the patch file for instructions).
#
# GAS_LIMIT=500000 (patch raises CALCULATE_PARAMS_GAS_LIMIT 200k→500k)
# ANCHOR_WIDTH_UNBOUNDED=true (patch sets MAX_ANCHOR_WIDTH to type(uint24).max)
# ── Notification (openclaw) ─────────────────────────────────────────────────────
# SSH target for `openclaw system event` notifications.
# Leave empty to disable notifications.
OPENCLAW_SSH_TARGET=
# ── Seed ────────────────────────────────────────────────────────────────────────
# Path to the primary seed file, relative to the repo root.
SEED=tools/push3-evolution/seeds/optimizer_v3.push3