code wiki / (root) / nx_quad_companion_compose_test.nx

nx_quad_companion_compose_test.nx

buildroot/runtime/nx_quad_companion_compose_test.nx

8754 B237 linesdepth 6pulls 20 transitivereach 0 importersview sourcekind gate/prooftopic quad
docsdependenciesstructsconstsfunctions

about

nx_quad_companion_compose_test.nx -- 4-modality concurrent integration. Closes the parallel-companion north star: FOUR actors of DIFFERENT modalities running interleaved through one scheduler + message bus + multiplexer. NARRATOR (LLM, priority 80) -- nx_actor_role_llm NPC (LLM, priority 60) -- nx_actor_role_llm AUDIO_QC (audio grader, priority 50) -- nx_actor_role_audio_grader GAME_LOGIC (tictactoe, priority 70) -- nx_actor_role_game_logic Replaces the image grader from the original quad attempt with the lighter-deps game-logic actor per [[feedback-nxc2-module-const-ceiling]] guidance. Each actor calls a DIFFERENT other-agent / sibling-arc primitive: LLM -> nx_embedding_lookup + nx_blas_matmul + nx_sample_categorical AUDIO -> nx_audio_scene_grade (5-axis Q14 verdict) GAME -> nx_ttt_pick + nx_ttt_try_apply + nx_ttt_evaluate Proves the substrate handles arbitrary heterogeneous modalities through one uniform actor + message + multiplexer pipeline.

dependencies 9 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_tensor.nx nx_actor.nx nx_message.nx nx_stream_multiplexer.nx nx_actor_role_llm.nx nx_actor_role_audio_grader.nx nx_actor_role_game_logic.nx nx_quad_companion_compose_test

imports: nx_syscalls.nxnx_tier.nxnx_tensor.nxnx_actor.nxnx_message.nxnx_stream_multiplexer.nxnx_actor_role_llm.nxnx_actor_role_audio_grader.nxnx_actor_role_game_logic.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap nx_t_alloc nx_dt_is_valid nx_dt_element_bytes sys_mmap ↻ nx_t_compute_strides_rowma _fill_q10 nx_ac_sched_new sys_mmap ↻ nx_ms_bus_new sys_mmap ↻ nx_sm_new sys_mmap ↻ nx_ac_spawn nx_ms_register sys_mmap ↻ nx_ms_subscribe nx_ms_kind_is_valid nx_lr_actor_new sys_mmap ↻ nx_t_alloc ↻ nx_prng_init nx_ag_actor_new sys_mmap ↻ nx_gl_actor_new nx_gl_difficulty_is_valid sys_mmap ↻ nx_ttt_new sys_mmap ↻ nx_prng_init ↻ nx_ac_pick_next _ac_at nx_ac_state_is_runnable nx_lr_actor_step _lr_step_embed sys_mmap ↻ nx_embedding_lookup nx_t_is_contiguous _lr_step_proj

structs

none

consts

none

functions

34func _fill_q10(t: *NxTensor, base: i64, stride: i64) -> i64
called by 1: main
44func main() -> i64