code wiki / _hdl_build / nx_survey_daemon.nx
nx_survey_daemon.nx
buildroot/runtime/_hdl_build/nx_survey_daemon.nx
about
nx_survey_daemon.nx -- the DEPLOYABLE Nishi Pulse survey/poll daemon (ops shell around the gated pure
core nx_survey_serve). Binds 0.0.0.0:8031; CWD = nishihost on the NAS. Mounted at nishifamily.com/survey
via a proxy_routes.conf row (the /office precedent). Store = seg_store prefix knowledge/survey/pulse_
(self-healed on startup: the relate-daemon lesson -- root-owned knowledge/ may lack the subdir).
Admin lane reads survey_admin.key from CWD per request (FAIL-CLOSED when absent).
SO_REUSEADDR so the reconcile cron can rebind instantly after a crash (the office TIME_WAIT lesson).
Build with --build-only; run deliberately. license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_survey_serve.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 10 | const SD_PORT: i64 = 0x1f5f // 8031 |
functions
| 12 | func sd_addr(out: *u8, port: i64) -> i64 called by 1: main |
| 22 | func main() -> i64 |