Drive wildlife with a deterministic controller recorded in the trace

M11.5d (ADR-0125): wildlife_intents gives each unowned cell a bud intent when it
can fund one (at most once a second), else steers it to the nearest perceived
food patch and feeds, else wanders. The cellular server puts these intentions
into each tick's baseline, so replay and publication treat them like player
input. fund_bud refuses a reserve short of the bare investment before scanning
growth levels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-14 06:45:48 -04:00
co-authored by Claude Opus 5.5
parent f22a540135
commit 212ca14e83
8 changed files with 174 additions and 1 deletions
+9
View File
@@ -68,3 +68,12 @@ descendant, and no special wildlife biology.
offers `cellular-v3` (rules 4). A rules-4 owner refuses founder identities at
or above 2^63; the allocator keeps its full range. PostgreSQL tests publish a
real bud from a fed founder, restart the host and recover the wildlife cell.
- 11.5d (code): `wildlife_intents` (server/lifecycle/wildlife_controller) is the
pure controller: per unowned life, a bud intent at most once a second when
`fund_bud` would succeed; else steer to the nearest perceived patch holding
energy and feed from it (no movement once touching it); else wander, changing
direction every two seconds from the life id and tick. `serve_cellular` puts its
intentions into each tick's baseline, so they ride the trace like a player's.
`fund_bud` now refuses a reserve short of the bare investment before its growth
scan (same answer, bounded cost per wildlife tick). The rules-4 DEV region
(`cellular-v3`) follows once CI publishes images with schema v36.