code wiki / self

topic: self

45 modules sharing the self name family (derived from the tree's prefix discipline).

The 'self' topic family in the Nishi sovereign ecosystem focuses on validating the self-hosting capabilities of the NishiLang runtime, ensuring it can correctly interpret and execute low-level operations. Modules like _self_host_li_test verify accurate handling of large constants, while _self_host_mem_test confirms proper memory management through mmap and store operations. _self_host_or_shift_test investigates bitwise operations, ensuring expressions involving shifts and OR function as expected within the self-host environment.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
_self_host_lane_binops_test.nxone smoke each.651
_self_host_li_boundary_test.nxexercises corner cases at591
_self_host_li_test.nxTest that the self-host can load a 49-bit constant correctly.101
_self_host_mem_test.nxTest that mmap+store+read works in self-host.141
_self_host_neg_li_test.nxTest that li of large negative value works through self-host.91
_self_host_or_shift3_test.nx91
_self_host_or_shift_test.nxBisect: does `expr | (expr << N)` work in self-host?101
_self_host_pack4_neg_test.nxTest pack4_i16 with negative first arg + vreduce_min.222
_self_host_pack4_oneline.nxSame pack4 but body on ONE line. If this passes but multiline132
_self_host_pack4_repro.nxExact reproduction of pack4_i16 to isolate the bug.172
_self_host_sat_trio_test.nxexercise 3 new saturating ops621
_self_host_shift32_test.nx91
_self_host_shift_arith_matrix.nxRegression matrix: every shift + funct7-discriminated arith op 867
_self_host_simd_i32_test.nxi32x8 set: 5 ops verified.461
_self_host_simd_i64_test.nxi64x4 closes the 4-width spectrum.631
_self_host_simd_i8_test.nxi8x32 set: 6 ops, 6 assertions.521
_self_host_simd_minmax_sat_test.nx3 ops in one smoke.492
_self_host_simd_shift_test.nxvsll/vsrl/vsra for i16x16.551
_self_host_simd_sum_bcast_test.nxvreduce_sum + vbroadcast.581
_self_host_stmt_boundary_regression.nxRegression for at_stmt_boundary refinement (2026-05-16). 484
_self_host_vdot_full.nxfull vdot [1..16] . [1..16] via self-host. 311
_self_host_vdot_simple.nxminimal sanity: dot([1,1,..1] . [1,1,..1]) = 16. 201
_self_host_vdot_test.nxproves the self-host can emit392
_self_host_vreduce_min_test.nxMinimal smoke for vreduce_min: just call it and return modulo 100.141
nx_self_audit.nxsubstrate-native self-awareness primitive.1843
nx_self_build.nxthe 3-tier SELF-BUILD POLICY + the reversible-modify36514
nx_self_build_cycle_test.nxTHE CAPSTONE: a full autonomous SELF-BUILD CYCLE,1095
nx_self_build_test.nxTHE NET, PROVEN BEFORE THE TRAPEZE.1866
nx_self_compose.nxAUTONOMOUS compose+derive (the rung up: the team composes its OWN15414
nx_self_heal_conductor.nxthe CONDUCTOR's autonomous self-heal BEAT. The Conductor622
nx_self_heal_conductor_test.nxprove the CONDUCTOR's Warden-gated self-heal beat on565
nx_self_host_candidate_verify.nxthe TEAM's capability to drive codegen741
nx_self_host_load_codegen_repro.nxMINIMAL REPRO for the522
nx_self_measure_cost.nxBUILD OUR OWN cost data, on whatever chip the seed536
nx_self_model_lint.nxthe LIBRARIAN's validator for the self-model registry, so a bug like a cap486
nx_self_model_regen.nxthe LIBRARIAN regenerates the self-model count FROM the registry (data), instead254
nx_self_model_regen_test.nxprove the registry-driven self-model: a SMALL loop writes CAPREG lines555
nx_self_reliance_gate.nxHONEST self-reliance map (operator: "total self reliance, self sufficient, building573
nx_self_repair_cycle_test.nxthe self-build cycle UPGRADED to self-REPAIR,1254
nx_self_similarity.nxbox-counting fractal dimension primitive.2536
nx_self_similarity_test.nxsmoke for box-counting fractal dim. 1131
nx_self_sufficiency.nxthe team models its OWN full-loop self-sufficiency (operator: "what is our505
nx_self_sufficiency_test.nxhonest map of the full loop. Two cases:453
nx_self_tune.nxLOCAL-ONLY DRIVER SELF-TUNE (X-DRV-F3).16412
self_parse_test.nxfeed parse.nx's OWN source through the 491