nx_ferment_invent.nx
buildroot/runtime/nx_ferment_invent.nx
about
nx_ferment_invent.nx -- R5 of the FERMENTATION ladder: GENERATIVE design.
"Actually create new fermentations." Given a substrate (-> ferment
kind), an oxygen regime, a hold-temperature range, a time target, and a
salt level, the inventor SEARCHES the design space, PREDICTS each
candidate's set-time with R3 (nx_ferment_kinetics), and HARD-GATES every
candidate through R0 (nx_ferment_validate, the never-poison law). It
returns the fastest-setting candidate that is SAFE -- or none.
The defining property: a returned recipe is SAFE BY CONSTRUCTION. No
cookbook does this -- it cannot generate a NOVEL process and prove it
won't poison anyone. An unsafe candidate (too-cold anaerobic that never
reaches pH 4.6 in time; an under-salted vegetable ferment) is REJECTED
by the same R0 gate the live process uses. Composition, not a new stack.
genealogy_id: nishi_ferment_safety_r0 + nishi_ferment_kinetics_r3
+ generate_and_test_synthesis
dependencies 3 imports · 1 importers
imports: nx_syscalls.nxnx_ferment_safety.nxnx_ferment_kinetics.nx
imported by: nx_ferment_invent_test.nx
structs
| 23 | struct NxFermentRecipe |
consts
| 21 | const K_MAGIC_999999: i64 = 999999 |
functions
| 35 | func nx_ferment_invent(env: *NxFermentSafetyEnvelope, called by 1: main calls 4: sys_mmapnx_ferment_kinetics_set_timenx_ferment_kinetics_ph_atnx_ferment_validate |