code wiki / gate

topic: gate

48 modules sharing the gate name family (derived from the tree's prefix discipline).

The 'gate' topic family in the Nishi sovereign ecosystem provides standardized mechanisms for controlling and validating access to system components. The nx_gate module defines the canonical gate I/O and stdout helpers, ensuring consistent behavior across the ecosystem. nx_gate_always_red serves as a negative control, offering a way to test failure scenarios in deploy-guard logic. nx_gate_discover enables sovereign gate discovery through NishiLang, eliminating the need for external tools like grep or shell scripts, thereby enhancing integration and maintainability.

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
nx_gate.nxcanonical gate I/O. ONE definition of the gate stdout helpers (gw/gn/gwb), replacing the ~23 ad-hoc233
nx_gate_always_red.nxNEGATIVE CONTROL: a gate that always FAILS (exit 1). Used only to prove the deploy-guard81
nx_gate_anchor_edit.nxTHE MECHANICAL HALF OF THE D001 ANCHOR RUNG (seq585; D001-B lane 2026-07-31).24911
nx_gate_author_gate.nxthe X-AUT-GATE-001 close gate: proves the team authors GATE organs from525
nx_gate_base.nxProvides functions to write null-terminated strings to stdout and calculate their lengths.52
nx_gate_baseline_harness.nxretrofit a REGRESSION BASELINE onto ANY gate with ZERO gate-source edits.3447
nx_gate_baseline_sweep.nxMASS-WRAP orchestrator: roll nx_gate_baseline_harness across the whole36413
nx_gate_bite.nxNON-VACUITY BY MUTATION. Answers the one question a green gate cannot answer about179840
nx_gate_bite_gate.nxTHE GATE FOR THE MUTATION HARNESS ITSELF (2026-08-25).2499
nx_gate_build_sweep.nxTHE UNBUILT-GATE PARTITIONER (2026-07-31, ws=gate-dry-d001).61819
nx_gate_discover.nxSOVEREIGN gate discovery (NishiLang, no .sh, no grep).2677
nx_gate_discover_test.nxGATE + proof for nx_gate_discover (the dynamic feed1375
nx_gate_dry_apply.nxTHE D001 CANDIDATE GENERATOR (2026-07-31, ws=gate-dry-d001).71914
nx_gate_dry_ratchet_gate.nxTHE PERMANENT HALF OF D001 (2026-07-31, ws=gate-dry-d001).24610
nx_gate_emit_lib.nxshared gate-emit helpers (g_puts / g_pn / g_check) for the nofloat (+ other) gate163
nx_gate_energy_test.nxthe EFFICIENCY leg of the triangle, measured BITS-UP21120
nx_gate_fixture_ratchet_gate.nxA GATE MUST NOT SHARE ITS FIXTURE WITH A PRODUCTION BEAT.35712
nx_gate_gn.nxConverts a signed 64-bit integer to its string representation using memory-mapped buffers for output.41
nx_gate_gn_gate.nxthe gate for the integer printer 437 GATES IMPORT.925
nx_gate_green.nxshared LAST-VERDICT-LINE judging (the Examiner pattern1006
nx_gate_green_test.nxKATs for the shared last-verdict-line judge (GATE).824
nx_gate_grow.nxOutputs a pass/fail message and the provided name, returning the ok value.41
nx_gate_lib.nxTHE SHARED BASE FOR GATE ORGANS (gl_*), authored 2026-07-25 to eat debt seq938.19713
nx_gate_loop.nxTEAM-OWNED loop daemon that runs nx_gate_sentinel on a27812
nx_gate_loop_register.nxGOVERNED registration of the gate loop daemon1246
nx_gate_migrate.nxD001 GATE-DRY MIGRATION VERIFIER (2026-07-22).75524
nx_gate_mutation_probe.nxSOVEREIGN MUTATION TESTING of gate sensor power (the SOTA ruler).54014
nx_gate_mutation_sweep.nxBATCH mutation-scoring across the gate universe (the liar-killer worklist58112
nx_gate_read.nxReads bytes from a file into a buffer using system calls and returns the total number of bytes read.91
nx_gate_rig_motion_20260909.nxNative real-asset gate; admission oracle copied unchanged from nx_nxa_retarget 2026-09-09.86524
nx_gate_rig_motion_context_t140.nxNative real-asset gate; admission oracle copied unchanged from nx_nxa_retarget 2026-09-09.108226
nx_gate_rig_motion_palette_t140.nxNative real-asset gate; admission oracle copied unchanged from nx_nxa_retarget 2026-09-09.95426
nx_gate_rig_motion_stream_t140.nxNative real-asset gate; admission oracle copied unchanged from nx_nxa_retarget 2026-09-09.100126
nx_gate_rollup.nxONE ANSWER TO "ARE ALL THE GATES GREEN?" (eats debt seq986).1911
nx_gate_roster_gate.nxEND-TO-END GATE for nx_gate_roster_run's ADMIT contract (journal -> roster conf).2492
nx_gate_roster_run.nxTHE DATA-DRIVEN GATE ROSTER BEAT: run every gate named in a conf, on the72111
nx_gate_run.nxSOVEREIGN gate runner: build an organ through the sovereign lane, run it, and check its1015
nx_gate_runner.nxSOVEREIGN gate runner (NishiLang, no .sh, no grep).2947
nx_gate_sentinel.nxTEAM-OWNED watchdog over nx_game_gate (operator:1519
nx_gate_sentinel_register.nxGOVERNED registration of the gate sentinel973
nx_gate_subjects_gate.nxproves gv_subjects makes THE EMPTY-SET LAW structural.1123
nx_gate_sweep.nxRuns each gate in the sovereign ecosystem sequentially, reporting pass/fail based on exit codes.1348
nx_gate_total_scan.nxscans *_gate.nx sources for the DUPLICATED tooth-total magic number.1849
nx_gate_triage.nxTEAM-OWNED failure LOCALIZER for the game gate2138
nx_gate_verdict.nxTHE canonical gate-AUTHORING verdict lib (D001 first rung, 2026-07-18).90640
nx_gate_verdict_lib.nxthe SHARED reader for "what does this gate log say?". NO main() ON PURPOSE.19311
nx_gate_verdict_plan_gate.nxQualification of named test-plan completeness, independent of publisher behavior.291
nx_gate_vocab_census.nxHOW MANY GATES CAN THE D001 ORACLE ACTUALLY ACCEPT? (2026-07-31, ws=gate-dry-d001)2168