Show what a bud costs (ADR-0129 amendment)
Foundation / checks (ecs) (push) Successful in 2m20s
Foundation / checks (deploy) (push) Successful in 4m4s
Foundation / checks (tsan) (push) Successful in 9m59s
Foundation / checks (client) (push) Successful in 19m19s
Foundation / checks (network) (push) Successful in 19m24s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 32m13s
Foundation / checks (checks) (push) Canceled after 32m19s
Foundation / checks (ecs) (push) Successful in 2m20s
Foundation / checks (deploy) (push) Successful in 4m4s
Foundation / checks (tsan) (push) Successful in 9m59s
Foundation / checks (client) (push) Successful in 19m19s
Foundation / checks (network) (push) Successful in 19m24s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 32m13s
Foundation / checks (checks) (push) Canceled after 32m19s
The v10 cellular perception carries the bud cost after the diagnostics block: the energy (construction plus the bud's provision) and matter per channel one bud takes from a fully grown cell's reserve. biology::bud_cost reads it from fund_bud itself, so the shown cost is exactly the charge; the server caches it per genome. The client shows it and names the channels the reserve is short on. v10 clients must be rebuilt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -82,6 +82,19 @@ and byte 78 the bud result (0 not reported, 1 not requested,
|
||||
2 budded, 3 not able, 4 insufficient funding, 5 no placement); bytes 79-81 stay
|
||||
zero, and both results are zero without tick effects. v9 keeps bytes 77-81 zero.
|
||||
|
||||
A v10 diagnostics block is followed by the bud cost (ADR-0129 amendment, 2026-10-15),
|
||||
so v10 patch records start at payload offset 122:
|
||||
|
||||
| Payload offset | Size | Field |
|
||||
|---:|---:|---|
|
||||
| 82 | 8 | bud cost energy, pJ: construction plus the bud's provision |
|
||||
| 90 | 32 | bud cost C, N, P, other, each fg: the investment matter |
|
||||
|
||||
It is what one bud takes from the reserve once the cell is fully grown and undamaged,
|
||||
exactly as the owner funds it, and it does not depend on tick effects. All zero means
|
||||
this genome cannot bud. A cleared zero-life view must carry an all-zero bud cost. v9
|
||||
has no bud cost.
|
||||
|
||||
Type 27 (server to owner, reliable stream, v10 only) is exactly 24 bytes: the
|
||||
tick (u64, nonzero), the life identity (u64, nonzero), the cause (u8: 0 not
|
||||
recorded, 1 starved, 2 engulfed) and seven zero bytes.
|
||||
|
||||
Reference in New Issue
Block a user