1.4 KiB
ChimeraBot
ChimeraBot is an exact behavioral copy of DevControlBot at bootstrap: same
run loop, same radar (commanded before go()), same TFIL survival movement,
same ELM gun, same full-black team colours (white = not programmed,
black = programmed and running). The fork exists to host CHIMERA
experiments; see ../docs/chimera-spec.md.
The faithful-copy reference is DevControlBot_garage/DevControlBot/: any
divergence from that source is a bug until an experiment deliberately changes it.
Sources live in src/ (ChimeraBot.nim, .json, .nimble, .sh,
ChimeraBot/modules/); unit tests in tests/; out/ is reserved and builds
stay throwaway (mktemp -d).
Run
cd ChimeraBot_garage/src && nimble runBot # release build + run
cd ChimeraBot_garage/src && nimble test # unit tests
SERVER_URL / SERVER_SECRET come from the environment; an optional .env
beside the .nimble is loaded without ever overriding a preexisting variable.
CHIMERA modules (M2)
src/ChimeraBot/chimera/ holds the inert CHIMERA libraries implemented at M2 —
physics.nim (server-math mirror), ledger.nim (intent ledger), dsl.nim (the
v0 kernel library), hedge.nim (Hedge posterior) and oracle.nim (G1 harness).
They are not wired into the run loop: the bot still runs the exact
DevControlBot copy unchanged. They become live at M3.