4 Commits
Author SHA1 Message Date
dingoandClaude Opus 5 67637ac14c Fix newborns funding a second birth in their own tick
Births validated each parent against the progressively modified
candidate, so a child allocated earlier in the same batch was already
active and could fund a further birth. Two generations could appear in
one tick, which ADR-0028 forbids. The contract was already correct; the
implementation did not enforce it.

Fix parent eligibility on entry to the reproduction phase, after terminal
facts and feeding, and check every intent before applying any birth. A
rejected cascade leaves the whole tick unchanged, as before.

The regression test admits one intent whose parent is created by the
preceding intent and requires unborn_actor with balances, progress,
receipts and slot states untouched. It fails against the unguarded
implementation and passes with the guard. The same pair succeeds across
two ticks and records the grandchild ancestry. Native Release, clang-tidy
analysis, ASan and format checks were rerun and pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 17:18:18 -04:00
dingoandClaude Opus 5 c84a701edf Add funded reproduction with retained lineage identity
Close the M2.5 fixture cycle. A bounded list of trusted reproduction
intents runs after feeding and before decomposition, so a consumer can
fund offspring from what it ingested and a process terminated in that
tick cannot reproduce. The intent names a withdrawal from the parent
reservoir; a fixed construction fraction endows the child and the
remainder becomes real heat and waste. Nothing is credited from outside
the community, so conserved totals are unchanged by a birth.

Reserved slots are pre-allocated at creation, so a birth never grows the
ledger and a full community rejects rather than funding a smaller child.
Slots never return to the unborn state, so process identities are never
reused, and a parent reference plus origin tick outlive both organisms
and survive decomposition. A child duplicates the configuration of its
parent because no genome exists yet; this is duplication, not heredity.

Default zero capacity leaves the M2.4 reservoir layout and every existing
result unchanged, including golden d61ad5bf0c928c76. Native Release,
clang-tidy analysis, ASan and format checks pass; Linux CI has not run
for this increment yet. This defines no reproductive strategy, fecundity
rule, mutation model, gestation, spatial placement or account ownership.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 20:36:49 -04:00
dingo e17a9a7279 Preserve terminal inventories and add bounded decomposition 2026-09-20 15:26:58 -04:00
dingo b7dd466f57 Add shared feeding community with atomic resource transfers 2026-09-20 10:28:54 -04:00