code wiki / (root) / nx_license_wall_audit.nx

nx_license_wall_audit.nx

buildroot/runtime/nx_license_wall_audit.nx

4702 B164 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_license_wall_audit.nx -- audit substrate's licensing wall. Walks a hand-listed set of canonical substrate files and verifies each declares a compliant `// license_tier:` header. Exits 0 only when every file passes; otherwise returns the 1-based index of the first failing file so the operator can fix it. This is the substrate's first concrete enforcement of the refined cardinal feedback-licensing-absorb-vs-copy-discipline. It does NOT scan the entire tree yet -- that needs sys_readdir wiring (queued). For now it audits the grader + daemon stack we just declared. expect_exit: 0 license_tier: ORIGINAL

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_types.nx nx_tier.nx nx_license_check.nx nx_license_wall_audit.nx

imports: nx_syscalls.nxnx_runtime.nxnx_types.nxnx_tier.nxnx_license_check.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main _audit_one nx_license_scan_file sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_license_extract nx_license_verdict_for_tie

structs

none

consts

none

functions

29func _audit_one(path: *u8) -> nx_int
36func main() -> nx_int
calls 1: _audit_one