Keep the phenotype wire-stable: rate period on the budget, not the phenotype
Foundation / checks (deploy) (push) Successful in 3m28s
Foundation / checks (ecs) (push) Successful in 1m55s
Foundation / checks (client) (push) Successful in 12m43s
Foundation / checks (network) (push) Successful in 13m32s
Foundation / checks (tsan) (push) Successful in 7m48s
Foundation / checks (checks) (push) Successful in 32m55s
Foundation / checks (postgres) (push) Successful in 46m26s
Foundation / postgres-tools (push) Successful in 1m41s
Foundation / server-image (push) Successful in 4m13s
Foundation / image (push) Successful in 2m35s
Foundation / checks (deploy) (push) Successful in 3m28s
Foundation / checks (ecs) (push) Successful in 1m55s
Foundation / checks (client) (push) Successful in 12m43s
Foundation / checks (network) (push) Successful in 13m32s
Foundation / checks (tsan) (push) Successful in 7m48s
Foundation / checks (checks) (push) Successful in 32m55s
Foundation / checks (postgres) (push) Successful in 46m26s
Foundation / postgres-tools (push) Successful in 1m41s
Foundation / server-image (push) Successful in 4m13s
Foundation / image (push) Successful in 2m35s
CI run 136 failed network: Phenotype::rate_microseconds (added with development version 2) is not carried by either session protocol, so the organism view no longer re-encoded canonically. The phenotype keeps its replicated shape; the period follows from the development version (development_rate_microseconds) and MetabolicBudget carries it. No protocol change; first-bud times unchanged. Refresh the dev session window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ struct ConstructionTransition {
|
||||
struct MetabolicBudget {
|
||||
Phenotype phenotype;
|
||||
accounting::Inventory body; // matter only; a body is not energy
|
||||
// Rates are per phenotype.rate_microseconds (the development version's period).
|
||||
// Rates are per rate_microseconds, the development version's period.
|
||||
accounting::Picojoules maintenance; // per rate period
|
||||
accounting::Picojoules movement; // per rate period at full speed, a capacity
|
||||
accounting::Picojoules demand; // maintenance plus movement
|
||||
@@ -45,6 +45,8 @@ struct MetabolicBudget {
|
||||
// Zero without the reproduction capability, rather than a default.
|
||||
accounting::Inventory reproduction_investment;
|
||||
std::uint16_t assimilation_per_thousand{};
|
||||
// The period of the rates above and of the phenotype's (development_rate_microseconds).
|
||||
std::uint64_t rate_microseconds{};
|
||||
auto operator<=>(const MetabolicBudget&) const = default;
|
||||
};
|
||||
[[nodiscard]] std::expected<MetabolicRules, DevelopmentError>
|
||||
|
||||
Reference in New Issue
Block a user