code wiki / (root) / nx_lane_conf.nx

nx_lane_conf.nx

buildroot/runtime/nx_lane_conf.nx

3521 B88 linesdepth 2pulls 2 transitivereach 4 importersview sourcekind librarytopic lane
docsdependenciesstructsconstsfunctions

about

nx_lane_conf.nx -- shared hot-read key/value conf getter (rule 11: thresholds, limits, timeouts and weights live in CONFIG, never in code; rule 15: three organs were about to hand-roll this). Format: `key<TAB or SPACE>value` rows, `#` comments. Re-read on EVERY call (files are ~1KB; the gen_steps.conf precedent) so an edit takes effect with no rebuild and no restart. Resolution: CWD-relative first, then the estate-absolute fallback -- the same dual-path the gen orchestrator proved, because daemons run from three different roots (the CWD-artifact class). license_tier: ORIGINAL module: nishi-core.lib.laneconf

dependencies 1 imports · 4 importers

nx_syscalls.nx nx_lane_conf.nx nx_charmem.nx nx_write.nx nx_writejob_sweep.nx nx_writer_serve.nx

imports: nx_syscalls.nx

imported by: nx_charmem.nxnx_write.nxnx_writejob_sweep.nxnx_writer_serve.nx

structs

none

consts

10const LC_BUF: i64 = 65536

functions

12func lc_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: lc_geti
15func lc_read(path: *u8, buf: *u8) -> i64
32func lc_geti(relpath: *u8, abspath: *u8, key: *u8, dflt: i64) -> i64
84func lc_write_lane(key: *u8, dflt: i64) -> i64