code wiki / _hdl_build / nx_cms_session_gate.nx
nx_cms_session_gate.nx
buildroot/runtime/_hdl_build/nx_cms_session_gate.nx
about
nx_cms_session_gate.nx -- INTEGRATION gate for the #8 session-timeout wiring in nx_cms_admin. Drives the
REAL ca_session_ok through the login lifecycle: no-session -> reject; fresh login (st_hex128 rotate +
sess_issue stamp) -> accept (proves the wiring did NOT break login); absolute-aged + idle-aged sessions
-> reject (proves the timeout fires). `now` is the real clock; session AGE is simulated by setting the
packed issued_at/last_seen, so no waiting. exit 0 = pass, N = assertion N failed.
dependencies 3 imports · 0 importers
imports: nx_cms_admin.nxnx_session_ttl.nxnx_assert.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
| none |
functions
| 11 | func g_req(buf: *u8, sess: *u8) -> i64 |
| 18 | func main() -> i64 |