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.
| module | description | lines | funcs |
|---|---|---|---|
| nx_gate.nx | canonical gate I/O. ONE definition of the gate stdout helpers (gw/gn/gwb), replacing the ~23 ad-hoc | 23 | 3 |
| nx_gate_always_red.nx | NEGATIVE CONTROL: a gate that always FAILS (exit 1). Used only to prove the deploy-guard | 8 | 1 |
| nx_gate_anchor_edit.nx | THE MECHANICAL HALF OF THE D001 ANCHOR RUNG (seq585; D001-B lane 2026-07-31). | 249 | 11 |
| nx_gate_author_gate.nx | the X-AUT-GATE-001 close gate: proves the team authors GATE organs from | 52 | 5 |
| nx_gate_base.nx | Provides functions to write null-terminated strings to stdout and calculate their lengths. | 5 | 2 |
| nx_gate_baseline_harness.nx | retrofit a REGRESSION BASELINE onto ANY gate with ZERO gate-source edits. | 344 | 7 |
| nx_gate_baseline_sweep.nx | MASS-WRAP orchestrator: roll nx_gate_baseline_harness across the whole | 364 | 13 |
| nx_gate_bite.nx | NON-VACUITY BY MUTATION. Answers the one question a green gate cannot answer about | 1798 | 40 |
| nx_gate_bite_gate.nx | THE GATE FOR THE MUTATION HARNESS ITSELF (2026-08-25). | 249 | 9 |
| nx_gate_build_sweep.nx | THE UNBUILT-GATE PARTITIONER (2026-07-31, ws=gate-dry-d001). | 618 | 19 |
| nx_gate_discover.nx | SOVEREIGN gate discovery (NishiLang, no .sh, no grep). | 267 | 7 |
| nx_gate_discover_test.nx | GATE + proof for nx_gate_discover (the dynamic feed | 137 | 5 |
| nx_gate_dry_apply.nx | THE D001 CANDIDATE GENERATOR (2026-07-31, ws=gate-dry-d001). | 719 | 14 |
| nx_gate_dry_ratchet_gate.nx | THE PERMANENT HALF OF D001 (2026-07-31, ws=gate-dry-d001). | 246 | 10 |
| nx_gate_emit_lib.nx | shared gate-emit helpers (g_puts / g_pn / g_check) for the nofloat (+ other) gate | 16 | 3 |
| nx_gate_energy_test.nx | the EFFICIENCY leg of the triangle, measured BITS-UP | 211 | 20 |
| nx_gate_fixture_ratchet_gate.nx | A GATE MUST NOT SHARE ITS FIXTURE WITH A PRODUCTION BEAT. | 357 | 12 |
| nx_gate_gn.nx | Converts a signed 64-bit integer to its string representation using memory-mapped buffers for output. | 4 | 1 |
| nx_gate_gn_gate.nx | the gate for the integer printer 437 GATES IMPORT. | 92 | 5 |
| nx_gate_green.nx | shared LAST-VERDICT-LINE judging (the Examiner pattern | 100 | 6 |
| nx_gate_green_test.nx | KATs for the shared last-verdict-line judge (GATE). | 82 | 4 |
| nx_gate_grow.nx | Outputs a pass/fail message and the provided name, returning the ok value. | 4 | 1 |
| nx_gate_lib.nx | THE SHARED BASE FOR GATE ORGANS (gl_*), authored 2026-07-25 to eat debt seq938. | 197 | 13 |
| nx_gate_loop.nx | TEAM-OWNED loop daemon that runs nx_gate_sentinel on a | 278 | 12 |
| nx_gate_loop_register.nx | GOVERNED registration of the gate loop daemon | 124 | 6 |
| nx_gate_migrate.nx | D001 GATE-DRY MIGRATION VERIFIER (2026-07-22). | 755 | 24 |
| nx_gate_mutation_probe.nx | SOVEREIGN MUTATION TESTING of gate sensor power (the SOTA ruler). | 540 | 14 |
| nx_gate_mutation_sweep.nx | BATCH mutation-scoring across the gate universe (the liar-killer worklist | 581 | 12 |
| nx_gate_read.nx | Reads bytes from a file into a buffer using system calls and returns the total number of bytes read. | 9 | 1 |
| nx_gate_rig_motion_20260909.nx | Native real-asset gate; admission oracle copied unchanged from nx_nxa_retarget 2026-09-09. | 865 | 24 |
| nx_gate_rig_motion_context_t140.nx | Native real-asset gate; admission oracle copied unchanged from nx_nxa_retarget 2026-09-09. | 1082 | 26 |
| nx_gate_rig_motion_palette_t140.nx | Native real-asset gate; admission oracle copied unchanged from nx_nxa_retarget 2026-09-09. | 954 | 26 |
| nx_gate_rig_motion_stream_t140.nx | Native real-asset gate; admission oracle copied unchanged from nx_nxa_retarget 2026-09-09. | 1001 | 26 |
| nx_gate_rollup.nx | ONE ANSWER TO "ARE ALL THE GATES GREEN?" (eats debt seq986). | 191 | 1 |
| nx_gate_roster_gate.nx | END-TO-END GATE for nx_gate_roster_run's ADMIT contract (journal -> roster conf). | 249 | 2 |
| nx_gate_roster_run.nx | THE DATA-DRIVEN GATE ROSTER BEAT: run every gate named in a conf, on the | 721 | 11 |
| nx_gate_run.nx | SOVEREIGN gate runner: build an organ through the sovereign lane, run it, and check its | 101 | 5 |
| nx_gate_runner.nx | SOVEREIGN gate runner (NishiLang, no .sh, no grep). | 294 | 7 |
| nx_gate_sentinel.nx | TEAM-OWNED watchdog over nx_game_gate (operator: | 151 | 9 |
| nx_gate_sentinel_register.nx | GOVERNED registration of the gate sentinel | 97 | 3 |
| nx_gate_subjects_gate.nx | proves gv_subjects makes THE EMPTY-SET LAW structural. | 112 | 3 |
| nx_gate_sweep.nx | Runs each gate in the sovereign ecosystem sequentially, reporting pass/fail based on exit codes. | 134 | 8 |
| nx_gate_total_scan.nx | scans *_gate.nx sources for the DUPLICATED tooth-total magic number. | 184 | 9 |
| nx_gate_triage.nx | TEAM-OWNED failure LOCALIZER for the game gate | 213 | 8 |
| nx_gate_verdict.nx | THE canonical gate-AUTHORING verdict lib (D001 first rung, 2026-07-18). | 906 | 40 |
| nx_gate_verdict_lib.nx | the SHARED reader for "what does this gate log say?". NO main() ON PURPOSE. | 193 | 11 |
| nx_gate_verdict_plan_gate.nx | Qualification of named test-plan completeness, independent of publisher behavior. | 29 | 1 |
| nx_gate_vocab_census.nx | HOW MANY GATES CAN THE D001 ORACLE ACTUALLY ACCEPT? (2026-07-31, ws=gate-dry-d001) | 216 | 8 |