Add finite producer capture and resource-limited growth process
This commit is contained in:
@@ -117,3 +117,32 @@ process operations and finite flux budgets. Never treat conservation as biologic
|
||||
validity. There is no import/mint API, organism lifecycle, persisted ledger codec
|
||||
or cross-ledger transaction in M2.1. Persistent integration must checkpoint both
|
||||
inventories and action watermark atomically; M1 snapshots do not include them.
|
||||
|
||||
## Implemented M2.2 synthetic producer
|
||||
|
||||
[ADR-0025](../adr/0025-finite-producer-process.md) defines the independent
|
||||
`evo::processes::ProducerProcess` fixture. It owns four reservoirs and exposes only
|
||||
read-only balances and exact-next-tick advancement. Source energy and C/N/P/other
|
||||
substrates are finite opening inventories. Capture divides actual source uptake
|
||||
between reserve and heat. Growth moves a configured whole recipe from substrates
|
||||
to structure and its energy cost from reserve to heat. The API cannot reuse heat.
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
S[Finite source energy] -->|rate-limited capture| R[Producer reserve]
|
||||
S -->|conversion loss| H[Heat]
|
||||
N[Finite substrates] -->|funded recipe units| B[Producer structure]
|
||||
R -->|growth energy cost| H
|
||||
```
|
||||
|
||||
Rates are rational inventories/recipe units per integer tick count. Independent
|
||||
carried remainders preserve capture, growth and efficiency fractions. Unfunded
|
||||
whole quotas expire; no starvation debt or future burst accumulates. Remainders
|
||||
and tick advance only after the ledger transaction succeeds. Arithmetic uses
|
||||
quotient/remainder decomposition, not overflow-prone numerator multiplication.
|
||||
|
||||
This is a synthetic process, not a biological founder or organism. Its parameters
|
||||
do not select photosynthetic chemistry, area, metabolic efficiency, world time
|
||||
or the final units library. No producer state is attached to the particle world,
|
||||
serialized, connected to PostgreSQL or deployed. Later persistent integration
|
||||
must include config, reservoirs, tick and all three remainders in one checkpoint.
|
||||
|
||||
Reference in New Issue
Block a user