nx_honesty_grader.nx
buildroot/runtime/nx_honesty_grader.nx
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
imports: nx_claim_audit.nxnx_dependency_audit.nxnx_wired_status.nx
imported by: nobody (leaf or entry point)
structs
| 53 | struct ArcHonestyReport |
consts
| 28 | const NX_HONESTY_PRISTINE: i64 = 1 // >= 95% claim-honest; zero overstated |
| 29 | const NX_HONESTY_NOMINAL: i64 = 2 // >= 80% claim-honest |
| 30 | const NX_HONESTY_DRIFT_PRESENT: i64 = 3 // 60-80%; overstated detected |
| 31 | const NX_HONESTY_SIGNIFICANT_DRIFT: i64 = 4 // 40-60%; multiple overstated |
| 32 | const NX_HONESTY_LIE_RICH: i64 = 5 // <40%; substrate-level pause on prose generation |
| 69 | const NX_ARC_HONESTY_REPORT_BYTES: i64 = 96 // 12 fields * 8 bytes |
| 141 | const NX_PROSE_GATE_PASS: i64 = 1 |
| 142 | const NX_PROSE_GATE_BLOCK_OVERSTATED: i64 = 2 |
| 143 | const NX_PROSE_GATE_WARN_UNDERSTATED: i64 = 3 |
| 144 | const NX_PROSE_GATE_AUDIT_UNAVAILABLE: i64 = 4 |
functions
| 34 | func nx_honesty_tier_name(t: i64) -> *u8 |
| 43 | func nx_honesty_tier_from_score(score_q10: i64) -> i64 called by 1: nx_honesty_arc_report |
| 73 | func nx_honesty_arc_report( calls 1: nx_honesty_tier_from_score |
| 122 | func nx_honesty_arc_max_verb(report: *ArcHonestyReport) -> i64 called by 1: nx_prose_gate_check |
| 146 | func nx_prose_gate_check( calls 1: nx_honesty_arc_max_verb |