code wiki / (root) / nx_tier2_immune_compose_test.nx

nx_tier2_immune_compose_test.nx

buildroot/runtime/nx_tier2_immune_compose_test.nx

7821 B175 linesdepth 6pulls 12 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_tier2_immune_compose_test.nx -- colony immunity + federation. The Tier-2 unified demonstration: multi-cell host where one cell detects + matures an antibody, immune system orchestrates clonal expansion to peer cells, pollinate federates the federation-ready antibody to remote peer hosts, vitals catches Intel ME activity invisible at OS layer (power draw during reported idle). Per [[feedback-unified-immune-architecture-three-tier]] Tier-2 + federation closure. Lifecycle simulated: 1. Host has 3 cells (voxel-world / image-grader / reader-audio) 2. Each cell has its own nx_antibody_array; all registered with nx_immune as HEALTHY initially 3. Vitals baseline captured during clean idle (pkg 5000 mW) 4. Intel ME activity: vitals sample shows pkg 5800 mW during OS-reported idle -- 16% above baseline -- ANOMALY fires 5. Image-grader cell encounters a malicious classifier-poison payload; pamp_meta cross-validates HIGH_DECEPTION; antibody generated; matures through 10 hits to MEMORY state 6. nx_immune_clonal_expand broadcasts the antibody to voxel-world and reader-audio (the other cells), so they detect the same attack on first encounter 7. Antibody is federation-ready (affinity 870+); operator approves via nx_pollinate_consent; payload queued for distribution to 3 known peer hosts 8. Final state: 3 cells immunized with same signature; vitals anomaly count > 0; pollinator outbox has the antibody payload awaiting transport

dependencies 10 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_evict_journal.nx nx_pamp.nx nx_pamp_meta.nx nx_antibody.nx nx_lysis.nx nx_vitals.nx nx_immune.nx nx_pollinate.nx nx_tier2_immune_compose_test.n

imports: nx_syscalls.nxnx_tier.nxnx_evict_journal.nxnx_pamp.nxnx_pamp_meta.nxnx_antibody.nxnx_lysis.nxnx_vitals.nxnx_immune.nxnx_pollinate.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_evict_journal_new sys_mmap nx_immune_new sys_mmap ↻ nx_antibody_array_new sys_mmap ↻ nx_immune_register_cell _immune_find_cell _immune_at _immune_at ↻ nx_immune_global_status _immune_at ↻ nx_vs_envelope_new sys_mmap ↻ nx_vs_reading_new sys_mmap ↻ nx_vs_classify _vs_deviation nx_vv_is_concerning nx_vv_verdict_is_valid nx_vs_classify_off_state_a nx_vs_envelope_new ↻ nx_vs_reading_new ↻ nx_vs_classify ↻ sys_mmap ↻ nx_pamp_scan _pamp_scan_homoglyph _pamp_scan_nopsled _pamp_scan_entropy sys_mmap ↻ nx_pcm_reading_new sys_mmap ↻ nx_pcm_verdict nx_pcm_max_disagreement_q1 _pcm_mean_q10 _pcm_abs_diff nx_immune_set_cell_status nx_col_status_is_valid _immune_find_cell ↻

structs

none

consts

none

functions

43func main() -> i64