feat(cellular): show growth and gate splits; DEV splits at half growth
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 5s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m32s
Foundation / postgres-tools (push) Successful in 28s
Foundation / server-image (push) Successful in 4m21s
Foundation / image (push) Successful in 5m1s

Playtest: after one mutation every later choice came back "split refused"
because a split needs a grown cell, and the client gave no reason. The v14
body block now carries the body's growth per thousand (the reserved bytes)
and a split-ready flag; the client disables Stay / Become until the cell can
split ("Grow to split (now 62%)") and shows growth in the Body panel.
Adhesion and organism choices do not split and stay open.

The DEV revamp tuning splits once half grown (split_min_growth 500, was full
growth); it takes effect in the next region opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-26 08:28:57 -04:00
co-authored by Claude Opus 5.5
parent 542cefafce
commit e2da92768c
10 changed files with 47 additions and 21 deletions
+5 -2
View File
@@ -617,6 +617,8 @@ void v14_carries_the_revamp() {
d.emerge_members = 8;
d.exclude = 0b0101;
d.can_emerge = false;
d.split_ready = true;
d.growth_per_thousand = 620;
d.payable_energy_pj = 12'000;
d.total_mass_fg = 24'000'000;
for (std::size_t i = 0; i < d.traits.size(); ++i)
@@ -638,10 +640,11 @@ void v14_carries_the_revamp() {
bad[block + 4] = 0x10;
CHECK(!decode_session(bad));
bad = bytes;
bad[block + 5] = 2;
bad[block + 5] = 4; // Flags: bit 0 Emerge open, bit 1 split ready.
CHECK(!decode_session(bad));
bad = bytes;
bad[block + 6] = 1;
bad[block + 6] = 0xE9; // Growth 1,001 per thousand.
bad[block + 7] = 0x03;
CHECK(!decode_session(bad));
// A cleared view carries an empty block.
CellularPerception cleared{78, 0, {}, std::nullopt};