M3.6 joins the M3 pieces: strategy_for derives a StrategyConfig from the metabolic budget, founders are pre-diverged variants admitted to the lineage archive, and evo-sim --ensemble runs them over a resource and temperature grid with every cell's seeds split in half and never merged. ADR-0029's driver is untouched, so the M2.6 fingerprint still holds. Nothing mutates during an episode, so NPC mutation stays open. Three things measurement found, kept rather than smoothed over. The report aggregates were default-initialized, leaving their scalar counters indeterminate. The resource level never reaches strategy derivation at all, so the header now says where each axis acts instead of claiming both shape a strategy. And the resource axis is not monotonic: a sweep peaks near 8000 femtograms and falls away on both sides, because only one consumer may bite a target per tick, so scarcity concentrates mass into individuals that reach the threshold while abundance spreads the same income too thin. The test asserts that an axis moves the outcome and never a direction; an earlier draft asserted a direction that held at two cells and the sweep disproves. Earning a birth at all required pinning the investment fraction to the schema floor, since intake scales with surface and investment with mass. That is a finding about the ADR-0031/0032 cost model, now the second priority in STATUS. Release 33/33, analysis, ASan 33/33 and clang-format all ran and passed here; no Clang or GCC compile happens on this host, so Linux CI is still the first result for this increment. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
22 lines
1.1 KiB
C++
22 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "evo/biology/metabolism.hpp"
|
|
#include "evo/processes/ecosystem.hpp"
|
|
#include "evo/processes/feeding.hpp"
|
|
|
|
namespace evo::processes {
|
|
// The first place a genome reaches the M2 fixtures. Opening inventory stays the
|
|
// caller's: a genome describes what an organism can do, never the resources it
|
|
// happens to hold, and inventing an opening balance would create matter.
|
|
[[nodiscard]] std::expected<ConsumerConfig, biology::DevelopmentError>
|
|
consumer_for(const biology::Genome& genome, biology::GrowthState growth,
|
|
biology::EnvironmentState environment, accounting::Inventory opening);
|
|
// The same budget as an episode strategy. A parent reproduces once it holds what
|
|
// it would invest, so no separate margin is invented. Lifespan stays the
|
|
// harness's own scheduling constant rather than a trait read from the genome.
|
|
[[nodiscard]] std::expected<StrategyConfig, biology::DevelopmentError>
|
|
strategy_for(const biology::Genome& genome, biology::GrowthState growth,
|
|
biology::EnvironmentState environment, accounting::Inventory opening,
|
|
std::uint32_t lifespan);
|
|
} // namespace evo::processes
|