feat(cellular): energy cycles back through the spent pool (ADR-0182 section 14)
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m42s
Foundation / checks (checks) (push) Successful in 6s
Foundation / checks (client) (push) Successful in 5s
Foundation / postgres-tools (push) Successful in 31s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / server-image (push) Successful in 4m45s
Foundation / checks (network) (push) Successful in 4s
Foundation / image (push) Successful in 5m31s

Energy cells used went to the region's heat store and never returned, so a
region without photosynthesizers drained: region 16's wildlife ate its energy
and starved, and its matter-only drip filled the deposit limit.

Two optional rules-13 tuning keys, adoptable live: spent.heat_recycle_per_mille
moves that share of the heat store to the spent pool at the end of every tick,
before the drip (1,000 closes the loop and returns heat built up before), and
spent.drip_absorb lets a drip at the deposit limit join the first existing bubble
at or after its spot. Both use the reserved word after the offer interval, so
rules without them keep their bytes, digests, checkpoints and replays. The DEV
revamp file turns both on. The region view reports heat and the cycle; the
portal counts heat in the region's energy and ledger.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-28 10:18:24 -04:00
co-authored by Claude Opus 5.5
parent 944f6719cf
commit cc2eaf2e05
14 changed files with 264 additions and 25 deletions
@@ -40,6 +40,11 @@ predation.kill_bubble_per_mille = 500 # a kill's remainder left as bubbles; th
spent.drip_interval_ticks = 20 # once a second
spent.drip_bubble_pj = 20_000_000 # largest energy bubble per drip
spent.drip_bubble_fg = 1_000_000 # largest matter bubble per drip and channel
# Energy cycle (ADR-0182 section 14; optional, 0 when absent): the share of the region's heat
# (energy its cells used) returned to the spent pool every tick before the drip, and whether a
# drip at the deposit limit (8,192) joins an existing bubble instead of waiting.
spent.heat_recycle_per_mille = 1_000 # all of it: energy cycles back like matter
spent.drip_absorb = 1
# Mutation offers (mutation plan section 3). Chances in parts per million.
mutation.options = 3