M11.2a: fund equal primitive lives from finite spawn pools
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m44s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (network) (push) Canceled after 13s
Foundation / checks (checks) (push) Canceled after 3m9s
Foundation / checks (client) (push) Canceled after 3m8s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m44s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (network) (push) Canceled after 13s
Foundation / checks (checks) (push) Canceled after 3m9s
Foundation / checks (client) (push) Canceled after 3m8s
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
|
||||
## Status
|
||||
|
||||
Proposed for M11.2, 2026-10-09, following M11.1 commit `93e1ab0`.
|
||||
Server side only; client UI remains deferred to the maintainer. No implementation
|
||||
or gameplay rule is accepted by this proposal. Founder funding needs a maintainer
|
||||
decision; ADR-0099 explicitly leaves it to 11.2.
|
||||
Accepted direction for M11.2, 2026-10-09, following M11.1 commit `93e1ab0`.
|
||||
The maintainer authorized the recommendations and subsequent implementation
|
||||
choices, with review after the fact and a commit/push between subsections.
|
||||
Server side only; client UI remains deferred. Implementation progress and limits
|
||||
are recorded below; acceptance of the design does not claim completed durability.
|
||||
|
||||
## Context and architectural conflicts
|
||||
|
||||
@@ -25,7 +26,7 @@ Per AGENTS.md, implementation must not expand through conflicting contracts.
|
||||
The proposed resolution is a new cellular profile and an atomic publication
|
||||
contract for biological actions. Existing fixture/probe contracts remain intact.
|
||||
|
||||
## Proposed decision
|
||||
## Decision
|
||||
|
||||
### Identity and control
|
||||
|
||||
@@ -44,27 +45,34 @@ World-scoped identities need durable allocation and exhaustion checks. Independe
|
||||
region-local counters cannot guarantee uniqueness. Failed reservations may leave
|
||||
gaps but never reuse issued identities or publish unfunded organisms.
|
||||
|
||||
### Starting body and funding: pending gameplay decision
|
||||
### Starting body and funding
|
||||
|
||||
Recommendation, not an accepted rule:
|
||||
Accepted for founder-life rules 1; numerical choices are tunable and versioned:
|
||||
|
||||
- Every account starts with the same fully grown, undamaged primitive founder.
|
||||
- Derive body composition and construction energy from development version 2;
|
||||
do not duplicate biological constants in SQL or server code.
|
||||
- Give every founder the same versioned reserve. Specify its amount and recheck
|
||||
the first-bud target before implementation; "small reserve" is not a rule.
|
||||
- Give every founder 30 seconds of full-speed demand as energy only: 7,824,000 pJ
|
||||
with development 2. No spare matter. Phosphorus still binds the first bud at
|
||||
300, 600 and 901 seconds for the analyzed feeding shares; energy does not buy
|
||||
missing phosphorus.
|
||||
- Transfer body material, construction energy and reserve from an explicit finite
|
||||
spawn inventory. Construction energy goes to heat, not usable reserve.
|
||||
Allocation, placement or funding failure spends nothing.
|
||||
- Retain source and creation-event provenance. No automatic replenishment or
|
||||
account-age/ancestry bonus is implied.
|
||||
|
||||
Alternatives are local habitat withdrawal or an explicit external input per life.
|
||||
Rejected for this version: local habitat withdrawal or external input per life.
|
||||
External input must appear in the conservation equation, never as a transfer from
|
||||
an empty source. These choices determine whether depletion blocks entry and
|
||||
whether repeated lives inject resources. Starting growth, reserve, placement and
|
||||
any replenishment must be recorded as rules/tunables, not inferred from fixtures.
|
||||
Choosing a funding source alone does not select those other values.
|
||||
Placement uses a bounded, lexicographically ordered list of server-provisioned
|
||||
habitat sites in region/frame-local integer micrometres. Select the first free
|
||||
site; validate that 20 um founder squares do not overlap. This is an explicit
|
||||
initial nursery configuration, not a planet generation or organism movement rule.
|
||||
The pool has explicit provisioning provenance and no automatic refill. Each
|
||||
region owns a disjoint pool; inter-region funding is not implied.
|
||||
|
||||
### Atomic publication and retries
|
||||
|
||||
@@ -151,6 +159,23 @@ separate from the proven probe experiment.
|
||||
|
||||
## Consequences
|
||||
|
||||
Settle funding and this profile/publication resolution before enabling spawning.
|
||||
Only enable network spawning after the profile/publication integration is proven.
|
||||
The [delivery plan](../engineering/M11_2_DELIVERY_PLAN.md) lists acceptance evidence.
|
||||
No golden, simulation version, schema or deployed world changes in this proposal.
|
||||
Existing goldens, simulation versions, schemas and deployed worlds are unchanged.
|
||||
|
||||
## 11.2a: Funded creation
|
||||
|
||||
`biology::primitive_endowment` derives the full body, energy-only reserve and
|
||||
435,200 pJ construction price. `server::PrimitiveLives` owns the finite pool,
|
||||
heat, body/reserve pairs, genome archive, births and request/origin bindings.
|
||||
It is a portable server orchestration target, independent of transport/database
|
||||
and outside `evo::simulation`. A detached candidate is swapped only after every
|
||||
fallible operation succeeds, including ledger and archive admission.
|
||||
|
||||
Capacity is 256 retained lives and provisioned sites (engineering bound). Exact
|
||||
successful retries return the original allocation before checking capacity or
|
||||
funding. Another action for the same living account is refused. The host supplies
|
||||
world-allocated identities, never the client. This layer checks local collisions;
|
||||
world-wide allocation and authorization are enforced in 11.2c/d. Refusals here
|
||||
are in-memory errors, not durable action outcomes. There are no live ticks or
|
||||
death/logout transitions yet, so this subsection is not deployable gameplay.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Architecture decision records
|
||||
|
||||
- [ADR-0100: Primitive lives and persistent control](0100-primitive-lives-and-persistent-control.md) - proposed M11.2 cellular checkpoint and atomic spawn publication; founder funding pending maintainer decision. No implementation yet.
|
||||
- [ADR-0100: Primitive lives and persistent control](0100-primitive-lives-and-persistent-control.md) - accepted M11.2 direction: finite spawn pools, equal full-grown founders, new cellular checkpoint and atomic life publication. 11.2a adds in-memory funded creation; durability/integration follow.
|
||||
|
||||
- [ADR-0058: Region durability contract](0058-region-durability-contract.md) - accepted M7.1 full checkpoint batches and explicit state closure; storage implementation follows.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user