code wiki / (root) / nx_allelopathy.nx

nx_allelopathy.nx

buildroot/runtime/nx_allelopathy.nx

9943 B232 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_allelopathy.nx -- refused-niche enforcement per ecosystem-defense §2.4. Biology: allelopathy is the biological phenomenon of one organism producing chemicals that inhibit growth or survival of others. Black walnut produces juglone (5-hydroxy-1,4-naphthoquinone) that kills sensitive species in the root zone. Eucalyptus secretes volatile terpenes that inhibit understory competitors. This isn't reactive defense; it's structural REFUSAL TO COEXIST with incompatible neighbors. Substrate equivalent: nx_seed structurally refuses to assemble for niches Nishi will not enable -- WEAPONS_PLATFORM / MASS_SURVEILLANCE_ NODE / PREDATORY_AI_INFERENCE / STATE_ACTOR_OFFENSIVE / HUMAN_RIGHTS_ VIOLATION_CONTEXT. The license clauses + niche-gating + refused- deployment detection together raise the cost of weaponization above what most attackers can pay. Per META-CARDINAL feedback-ecosystem-defense-risk-register-three-fears §2.4: anti-weaponization is partly SOCIAL technology (license clauses depend on courts + community + reputation to enforce). Against determined sovereign-state attackers with unlimited resources no software primitive solves the problem; this primitive is HONEST about the limit. What it CAN do: - raise legal + reputational cost of weaponization - make resistance to talent recruitment for weaponized projects structurally easier (the substrate's stance is visible) - give whistleblowers a defensible reporting channel - ensure ongoing substrate development steers AWAY from weaponization-enabling features Composes: nx_niche -- niche enum extended w/ refused niches nx_seed -- refused-niche enforcement at assembly nx_covenant -- multi-stakeholder consent extends to refused- use scope nx_aposematism -- public refused-deployment signaling V1 ships the refused-niche enum + assembly-gate predicate + license- clause classification + honest-limit predicate.

dependencies 2 imports · 1 importers

nx_syscalls.nx nx_tier.nx nx_allelopathy.nx nx_allelopathy_test.nx

imports: nx_syscalls.nxnx_tier.nx

imported by: nx_allelopathy_test.nx

structs

none

consts

73const NX_RN_NONE: nx_int = 0
74const NX_RN_WEAPONS_PLATFORM: nx_int = 1
75const NX_RN_MASS_SURVEILLANCE_NODE: nx_int = 2
76const NX_RN_PREDATORY_AI_INFERENCE: nx_int = 3
77const NX_RN_STATE_ACTOR_OFFENSIVE: nx_int = 4
78const NX_RN_HUMAN_RIGHTS_VIOLATION_CONTEXT: nx_int = 5
79const NX_RN_N_REFUSED: nx_int = 6
87const NX_LC_HIPPOCRATIC: nx_int = 0
88const NX_LC_ANTI_WEAPONS: nx_int = 1
89const NX_LC_ANTI_SURVEILLANCE: nx_int = 2
90const NX_LC_ANTI_DISCRIMINATION: nx_int = 3
91const NX_LC_DEFENSIVE_PATENT_GRANT: nx_int = 4
92const NX_LC_AGPL_COPYLEFT: nx_int = 5
93const NX_LC_N_CLAUSE_KINDS: nx_int = 6
97const NX_AL_OK_ALLOWED: nx_int = 0
98const NX_AL_REFUSED: nx_int = 1
99const NX_AL_NEEDS_OPERATOR_REVIEW: nx_int = 2
100const NX_AL_INVALID: nx_int = 99
101const NX_AL_N_VERDICTS: nx_int = 3
146const NX_LC_BIT_HIPPOCRATIC: nx_int = 1
147const NX_LC_BIT_ANTI_WEAPONS: nx_int = 2
148const NX_LC_BIT_ANTI_SURVEILLANCE: nx_int = 4
149const NX_LC_BIT_ANTI_DISCRIMINATION: nx_int = 8
150const NX_LC_BIT_DEFENSIVE_PATENT: nx_int = 16
151const NX_LC_BIT_AGPL: nx_int = 32

functions

105func nx_rn_is_valid(n: nx_int) -> nx_int
116func nx_rn_is_refused(n: nx_int) -> nx_int
124func nx_lc_kind_is_valid(k: nx_int) -> nx_int
called by 1: main
132func nx_al_verdict_is_valid(v: nx_int) -> nx_int
called by 1: main
153func nx_rn_canonical_clauses(n: nx_int) -> nx_int
called by 1: main
187func nx_al_assembly_verdict(refused_niche: nx_int) -> nx_int
called by 1: main calls 2: nx_rn_is_validnx_rn_is_refused
201func nx_al_honest_limit_acknowledged() -> nx_int
called by 1: main
221func nx_al_can_address_threat(threat_actor_class: nx_int) -> nx_int
called by 1: main