nx_asset_policy_seed.nx
buildroot/runtime/nx_asset_policy_seed.nx
about
nx_asset_policy_seed.nx -- seed the asset VISIBILITY POLICY into the native seg_store (no TSV).
The migration step: writes the source->visibility rules (authored in nx_asset_visibility's vis_seed)
into the content-addressed policy store knowledge/store/asset-vispolicy-, so nx_asset_visibility reads
the policy from the nishi-native store instead of a flat .tsv. Idempotent in effect (re-seeding
appends a new segment that shadows the old rows; ADDITIVE #13). Run this once (or after editing the
rules in vis_seed) to (re)publish the policy. No hardware writes (#26). license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_asset_visibility.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 sp_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 13 | func main() -> i64 |