M11.1: development version 2 and the primitive founder (first bud in 5-15 min)
Foundation / checks (deploy) (push) Successful in 3m28s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (client) (push) Successful in 12m36s
Foundation / checks (network) (push) Failing after 10m52s
Foundation / checks (tsan) (push) Successful in 7m50s
Foundation / checks (checks) (push) Successful in 33m6s
Foundation / checks (postgres) (push) Successful in 46m9s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
Foundation / checks (deploy) (push) Successful in 3m28s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (client) (push) Successful in 12m36s
Foundation / checks (network) (push) Failing after 10m52s
Foundation / checks (tsan) (push) Successful in 7m50s
Foundation / checks (checks) (push) Successful in 33m6s
Foundation / checks (postgres) (push) Successful in 46m9s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
Development version 2 is defined per second; phenotype/budget rates carry their period (rate_microseconds: 50 ms for v1, 1 s for v2) and the M2 fixture adapters accept only v1. Tunable v2 constants (maintenance 10, membrane upkeep 15, movement 50 pJ/s per 1000 fg) and the primitive founder (schema 2: 1 um membrane, 8e6 fg, 200 um/s, 574,000 fg/s ingestion, 500 per-thousand bud) give a first bud in 300/600/901 s when feeding 100/50/33 % of the time at full-speed movement (bud_funding_seconds; never at 10 %), the maintainer's 5-15 minute target. Tests pin the range; v1 is unchanged. 11.1 complete. Refresh the dev session window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
|
||||
#include "evo/biology/genome.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
#include <expected>
|
||||
|
||||
// The primitive founder (ADR-0098): every new life starts from this same genome, so no
|
||||
// account carries a biological advantage into a new life. Genome schema 2 and development
|
||||
// version 2 (rates per second, ADR-0099). Its parameters are tunable playtest values, not
|
||||
// locked rules: with development version 2 a full-grown founder funds its first bud in
|
||||
// about 5 minutes feeding all of the time, 10 minutes feeding half of it and 15 minutes
|
||||
// feeding a third of it, while moving at full speed throughout (ADR-0098 decision 7).
|
||||
namespace evo::biology {
|
||||
// Per-second rates and sizes of the founder, reviewable as a unit.
|
||||
struct FounderParameters {
|
||||
std::uint32_t energy_conversion; // per thousand
|
||||
std::uint32_t membrane; // micrometres
|
||||
std::uint32_t target_size; // femtograms
|
||||
std::uint32_t movement; // micrometres per second
|
||||
std::uint32_t ingestion; // femtograms per second at the reference surface
|
||||
std::uint32_t reproduction; // per thousand of the body invested in a bud
|
||||
};
|
||||
inline constexpr FounderParameters primitive_founder_parameters{400, 1, 8'000'000,
|
||||
200, 574'000, 500};
|
||||
inline constexpr std::uint32_t primitive_founder_development_version = 2;
|
||||
// The founder genome under a world-scoped identity and its origin event. Fails only on
|
||||
// an invalid identity (zero).
|
||||
[[nodiscard]] std::expected<Genome, GenomeError> primitive_founder(std::uint64_t id,
|
||||
std::uint64_t origin_event);
|
||||
} // namespace evo::biology
|
||||
Reference in New Issue
Block a user