code wiki / (root) / nx_probiome_garden.nx

nx_probiome_garden.nx

buildroot/runtime/nx_probiome_garden.nx

4174 B94 linesdepth 3pulls 3 transitivereach 1 importersview sourcekind librarytopic probiome
docsdependenciesstructsconstsfunctions

about

nx_probiome_garden.nx -- R6c: the PLANT-KINGDOM payoff. Matches a crop to the beneficial soil/root microbe that helps it grow -- real agronomy (Rhizobium inoculant for legumes, Azospirillum for cereals, arbuscular mycorrhizae for root crops, Bacillus biocontrol for disease-prone fruiting crops) -- and VALIDATES every recommendation through the R6 never-HARM gate for the PLANT host. So the garden gets "healthy opportunities" from the same beneficial-microbe engine that runs the cheese/yogurt cultures, and can never be handed an unsafe organism. Separation of concerns (Rule 9): nx_probiome knows WHICH microbes are safe and WHAT they do; this rung adds the crop<->microbe agronomy and leans on the probiome gate to prove the pick is safe + plant-beneficial. Biology note: Rhizobium fixes nitrogen only in SYMBIOSIS with legume root nodules (host-specific), so it is matched to legumes; cereals and leafy crops get the ASSOCIATIVE / free-living diazotrophs (Azospirillum, Azotobacter) that work in any rhizosphere. genealogy_id: nishi_probiome_r6 + legume_rhizobium_inoculation_agronomy

dependencies 2 imports · 1 importers

nx_syscalls.nx nx_probiome.nx nx_probiome_garden.nx nx_probiome_garden_test.nx

imports: nx_syscalls.nxnx_probiome.nx

imported by: nx_probiome_garden_test.nx

structs

none

consts

26const PG_CROP_LEGUME: i64 = 0 // beans/peas/lentils -> symbiotic N-fixer
27const PG_CROP_CEREAL: i64 = 1 // corn/wheat/rice (grasses) -> associative N
28const PG_CROP_LEAFY: i64 = 2 // lettuce/brassica (heavy N) -> free-living N
29const PG_CROP_FRUITING: i64 = 3 // tomato/pepper/squash -> biocontrol + P
30const PG_CROP_ROOT: i64 = 4 // carrot/potato/onion -> mycorrhizal P uptake
31const PG_CROP_TREE: i64 = 5 // fruit trees/perennials -> mycorrhiza
32const PG_CROP_N: i64 = 6

functions

35func pg_crop_mechanism(crop: i64) -> i64
46func pg_inoculant(crop: i64) -> i64
59func pg_inoculant_admit(crop: i64) -> i64
67func pg_inoculant_benefit(crop: i64) -> i64
called by 1: main calls 2: pg_inoculantnx_probiome_strain
76func pg_inoculant_delivers_need(crop: i64) -> i64
86func pg_count_served() -> i64
called by 1: main calls 1: pg_inoculant_admit