code wiki / (root) / nx_honesty_grader.nx

nx_honesty_grader.nx

buildroot/runtime/nx_honesty_grader.nx

7972 B184 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind orphan library
docsdependenciesstructsconstsfunctions

about

nx_honesty_grader.nx -- aggregate honesty score per repo + per arc. module: nishi-core.audit.honesty_grader depends: nishi-core.audit.claim_audit, nishi-core.audit.dependency_audit disk_kb: 4 capability: CORE_IO wired_status: PARTIAL_WIRED license_tier: PUBLIC_NISHI_SUBSTRATE genealogy_id: nishi_no_false_ok_cardinal_2026 Per cardinal [[feedback-no-false-ok-substrate-honesty-audit]]: aggregate report combining nx_claim_audit + nx_dependency_audit outputs into a single per-arc honesty score. Substrate refuses to allow descriptive verbs ("shipped", "wired", "off C") in external prose above the honest tier. The grader emits the MAX-CLAIMABLE-VERB per primitive + per arc; downstream prose generation (commit messages, README updates, status reports to user) must respect the grader output.

dependencies 3 imports · 0 importers

nx_claim_audit.nx nx_dependency_audit.nx nx_wired_status.nx nx_honesty_grader.nx

imports: nx_claim_audit.nxnx_dependency_audit.nxnx_wired_status.nx

imported by: nobody (leaf or entry point)

structs

53struct ArcHonestyReport

consts

28const NX_HONESTY_PRISTINE: i64 = 1 // >= 95% claim-honest; zero overstated
29const NX_HONESTY_NOMINAL: i64 = 2 // >= 80% claim-honest
30const NX_HONESTY_DRIFT_PRESENT: i64 = 3 // 60-80%; overstated detected
31const NX_HONESTY_SIGNIFICANT_DRIFT: i64 = 4 // 40-60%; multiple overstated
32const NX_HONESTY_LIE_RICH: i64 = 5 // <40%; substrate-level pause on prose generation
69const NX_ARC_HONESTY_REPORT_BYTES: i64 = 96 // 12 fields * 8 bytes
141const NX_PROSE_GATE_PASS: i64 = 1
142const NX_PROSE_GATE_BLOCK_OVERSTATED: i64 = 2
143const NX_PROSE_GATE_WARN_UNDERSTATED: i64 = 3
144const NX_PROSE_GATE_AUDIT_UNAVAILABLE: i64 = 4

functions

34func nx_honesty_tier_name(t: i64) -> *u8
43func nx_honesty_tier_from_score(score_q10: i64) -> i64
73func nx_honesty_arc_report(
122func nx_honesty_arc_max_verb(report: *ArcHonestyReport) -> i64
called by 1: nx_prose_gate_check
146func nx_prose_gate_check(