code wiki / (root) / nx_governance_behavior.nx

nx_governance_behavior.nx

buildroot/runtime/nx_governance_behavior.nx

5095 B99 linesdepth 0pulls 0 transitivereach 0 importersview sourcekind orphan library
docsdependenciesstructsconstsfunctions

about

nx_governance_behavior.nx -- sealed bannable-BEHAVIOR enum. license_tier: PUBLIC_NISHI_SUBSTRATE genealogy_id: 1st_amendment_speech_vs_conduct_distinction + cda_section_230 + ietf_mod_taxonomy + nishi_pillar_3_censorship_critique_2026 Pillar 3 of the greenhouse prevention framework: make the behavior-vs-viewpoint distinction MECHANICAL. This file is the sealed enum of BANNABLE BEHAVIORS. There is intentionally NO corresponding bannable-viewpoint enum. Viewpoints get tagged (see nx_governance_viewpoint_tag.nx) and filtered; never banned. The type system guarantee: a ModerationAction primitive requires a value of type `nx_governance_behavior` to construct. No codepath exists to construct a ModerationAction from a viewpoint tag. Compile-time enforcement. ===== The behaviors ============================================== Each is objectively definable; each requires evidence; each is appealable via tribunal-of-three (random verified growers from outside the disputants' chapters). HARASSMENT_TARGETED - sustained targeting of an identifiable individual with abuse, threats, doxxing setup, etc. DOXXING - publishing private information (home address, employer, children's school) without consent. FRAUD_CONFIRMED - in marketplace context: tribunal confirmed fraudulent transaction (seed never shipped, lineage falsified, identity stolen). REPEATED_OBJECTIVE_FALSE - repeated factual claims contradicted by tribunal- verified evidence (e.g. faking germ rates with photos that

dependencies 0 imports · 0 importers

imports: none

imported by: nobody (leaf or entry point)

structs

none

consts

55const NX_GOV_BEHAVIOR_HARASSMENT_TARGETED: i64 = 1
56const NX_GOV_BEHAVIOR_DOXXING: i64 = 2
57const NX_GOV_BEHAVIOR_FRAUD_CONFIRMED: i64 = 3
58const NX_GOV_BEHAVIOR_REPEATED_OBJECTIVE_FALSE: i64 = 4
59const NX_GOV_BEHAVIOR_SPAM_AUTOMATED: i64 = 5
60const NX_GOV_BEHAVIOR_THREAT_OF_VIOLENCE: i64 = 6
61const NX_GOV_BEHAVIOR_CHILD_SAFETY: i64 = 7
62const NX_GOV_BEHAVIOR_IP_FRAUD: i64 = 8
86const NX_GOV_MOD_WARNED: i64 = 1
87const NX_GOV_MOD_RELOCATED_OFFTOPIC: i64 = 2
88const NX_GOV_MOD_RATE_LIMITED: i64 = 3
89const NX_GOV_MOD_CHAPTER_QUARANTINED: i64 = 4
90const NX_GOV_MOD_EXPELLED: i64 = 5

functions

64func nx_gov_behavior_name(v: i64) -> *u8
78func nx_gov_behavior_is_one_strike(v: i64) -> i64
92func nx_gov_mod_verdict_name(v: i64) -> *u8