code wiki / _hdl_build / nx_frontier_store.nx
nx_frontier_store.nx source
↩ module page · 15 lines · 989 B
1// nx_frontier_store.nx -- F-201 (store-law): the frontier backlog SSOT in the sovereign seg-store
2// knowledge/store/frontier- (operator: "we arent supposed to be using .tsv"). Thin adapter: the
3// generic store-seed codec now lives in nx_store_seed_lib (sts_seed/sts_load) -- the "one store-seed,
4// not 30 bespoke" unification. frs_seed/frs_load are kept as named entry points so nx_frontier_board
5// + nx_frontier_store_seed + nx_common_tasks stay one-line callers.
6// Record model: "q:n" count + "q:<seq>" row bytes (id title w dur owner status deps milestone lane).
7// The flat frontier_queue.tsv is put-file STAGING; frs_seed migrates it in.
8// license_tier: ORIGINAL No hw writes (Rule 26).
9import "nx_store_seed_lib.nx"
10import "nx_syscalls.nx"
11
12const FRS_PREFIX: *u8 = "knowledge/store/frontier-"
13
14func frs_seed(prefix: *u8, buf: *u8, n: i64) -> i64 { return sts_seed(prefix, buf, n) }
15func frs_load(prefix: *u8, out: *u8, cap: i64) -> i64 { return sts_load(prefix, out, cap) }