aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
aien-sovereign-core-mv / crates / aien-omega-compose / abi / rxc_host_abi.manifest
| 1 | # The rxc_host C ABI contract (omega src/runtime/rxc_host_abi.h) that aien-omega-compose |
| 2 | # mirrors in src/ffi.rs. Checked from both sides: tests/abi_manifest.rs (Rust declarations, |
| 3 | # every build) and build.rs (pinned C header, compiled layout probe, archive symbols). |
| 4 | # Format: aien-abi-conformance src/manifest.rs. Regenerate the fact lines from Rust with |
| 5 | # AIEN_ABI_BLESS=1 cargo test -p aien-omega-compose --test abi_manifest |
| 6 | # only together with the omega.lock change that makes the C side agree. |
| 7 | abi rxc_host 2 |
| 8 | header src/runtime/rxc_host_abi.h |
| 9 | struct RxcHostInfo 88 8 |
| 10 | field RxcHostInfo abi_version 0 4 u32 1 |
| 11 | field RxcHostInfo machine_root 4 1 u8 1 |
| 12 | field RxcHostInfo machine_id 5 32 u8 32 |
| 13 | field RxcHostInfo machine_id_was_stored 40 4 u32 1 |
| 14 | field RxcHostInfo tail_torn 44 4 u32 1 |
| 15 | field RxcHostInfo opened 48 4 u32 1 |
| 16 | field RxcHostInfo open_rc 52 4 i32 1 |
| 17 | field RxcHostInfo records 56 8 u64 1 |
| 18 | field RxcHostInfo recovered_record 64 8 u64 1 |
| 19 | field RxcHostInfo rolled_back 72 4 u32 1 |
| 20 | field RxcHostInfo recovered_completed 76 4 u32 1 |
| 21 | field RxcHostInfo anchor_unknown 80 4 u32 1 |
| 22 | field RxcHostInfo n_skills 84 4 u32 1 |
| 23 | struct RxcHostResult 168 8 |
| 24 | field RxcHostResult run_rc 0 4 i32 1 |
| 25 | field RxcHostResult outcome 4 4 i32 1 |
| 26 | field RxcHostResult committed 8 4 u32 1 |
| 27 | field RxcHostResult n_branches 12 4 u32 1 |
| 28 | field RxcHostResult branches_reclaimed 16 4 u32 1 |
| 29 | field RxcHostResult winner 20 4 u32 1 |
| 30 | field RxcHostResult winner_skill 24 4 u32 1 |
| 31 | field RxcHostResult aegis_pass_mask 28 4 u32 1 |
| 32 | field RxcHostResult task 32 8 u64 1 |
| 33 | field RxcHostResult result 40 8 u64 1 |
| 34 | field RxcHostResult cx_goal 48 8 u64 1 |
| 35 | field RxcHostResult cx_candidate 56 16 u64 2 |
| 36 | field RxcHostResult cx_evidence 72 8 u64 1 |
| 37 | field RxcHostResult cx_promotion 80 8 u64 1 |
| 38 | field RxcHostResult cx_admission 88 16 u64 2 |
| 39 | field RxcHostResult winner_digest 104 32 u8 32 |
| 40 | field RxcHostResult record_digest 136 32 u8 32 |
| 41 | struct RxcHostRecord 120 8 |
| 42 | field RxcHostRecord id 0 8 u64 1 |
| 43 | field RxcHostRecord cls 8 4 u32 1 |
| 44 | field RxcHostRecord kind 12 4 u32 1 |
| 45 | field RxcHostRecord subject 16 8 u64 1 |
| 46 | field RxcHostRecord t 24 8 u64 1 |
| 47 | field RxcHostRecord generation 32 8 u64 1 |
| 48 | field RxcHostRecord tag 40 8 u64 1 |
| 49 | field RxcHostRecord links 48 32 u64 4 |
| 50 | field RxcHostRecord n_payload 80 4 u32 1 |
| 51 | field RxcHostRecord verified 84 4 u32 1 |
| 52 | field RxcHostRecord digest 88 32 u8 32 |
| 53 | struct RxcHostRepair 160 8 |
| 54 | field RxcHostRepair repaired 0 4 u32 1 |
| 55 | field RxcHostRepair tail_torn 4 4 u32 1 |
| 56 | field RxcHostRepair anchor_present 8 4 u32 1 |
| 57 | field RxcHostRepair cause 12 4 i32 1 |
| 58 | field RxcHostRepair opens 16 4 u32 1 |
| 59 | field RxcHostRepair open_rc 20 4 i32 1 |
| 60 | field RxcHostRepair rolled_back 24 4 u32 1 |
| 61 | field RxcHostRepair recovered_completed 28 4 u32 1 |
| 62 | field RxcHostRepair cut_lo 32 8 u64 1 |
| 63 | field RxcHostRepair cut_hi 40 8 u64 1 |
| 64 | field RxcHostRepair partial_records 48 8 u64 1 |
| 65 | field RxcHostRepair anchor_records 56 8 u64 1 |
| 66 | field RxcHostRepair records_kept 64 8 u64 1 |
| 67 | field RxcHostRepair dropped_records 72 8 u64 1 |
| 68 | field RxcHostRepair event_id 80 8 u64 1 |
| 69 | field RxcHostRepair cut_bytes_kept 88 8 u64 1 |
| 70 | field RxcHostRepair cut_sha256 96 32 u8 32 |
| 71 | field RxcHostRepair anchor_head 128 32 u8 32 |
| 72 | const RXC_HOST_ABI_VERSION 2 |
| 73 | const RXC_HOST_MAX_HANDLES 4 |
| 74 | const RXC_HOST_MAX_SKILLS 2 |
| 75 | const RXC_HOST_NAME_MAX 64 |
| 76 | const RXC_HOST_NONE 4294967295 |
| 77 | const RXC_HOST_SUBJECT_GOAL 1 |
| 78 | const RXC_HOST_SUBJECT_STATE 5 |
| 79 | const RXC_HOST_SUBJECT_HOST 0 |
| 80 | const RXC_HOST_TAG_REPAIR_TAIL 1 |
| 81 | const RXC_HOST_NOTE_CONSTRAINT 2 |
| 82 | const RXC_HOST_NOTE_AUTHORIZATION 3 |
| 83 | const RXC_HOST_NOTE_EFFECT 4 |
| 84 | const RXC_HOST_NOTE_MAX 16384 |
| 85 | const RXC_HOST_NP_LEN 0 |
| 86 | const RXC_HOST_NP_SHA 1 |
| 87 | const RXC_HOST_NP_BYTES 5 |
| 88 | const RXC_HOST_RP_CUT_LO 0 |
| 89 | const RXC_HOST_RP_CUT_HI 1 |
| 90 | const RXC_HOST_RP_DROPPED 5 |
| 91 | const RXC_HOST_RP_CAUSE 6 |
| 92 | const RXC_HOST_OK 0 |
| 93 | const RXC_HOST_E_ARG -1 |
| 94 | const RXC_HOST_E_IDENTITY -2 |
| 95 | const RXC_HOST_E_TORN -3 |
| 96 | const RXC_HOST_E_OPEN -4 |
| 97 | const RXC_HOST_E_FULL -5 |
| 98 | const RXC_HOST_E_STATE -6 |
| 99 | const RXC_HOST_E_RUN -7 |
| 100 | const RXC_HOST_E_NOMEM -8 |
| 101 | const RXC_HOST_E_NOT_FOUND -9 |
| 102 | const RXC_HOST_E_DIGEST -10 |
| 103 | const RXC_HOST_E_REPLAY -11 |
| 104 | fnptr RxcHostSkillFn fn(*mut c_void, u64, *mut u64) -> i32 |
| 105 | fnptr RxcHostVerifyFn fn(*mut c_void, u64, u64) -> i32 |
| 106 | fn rxc_host_abi_layout fn(*mut u32) -> u32 |
| 107 | fn rxc_host_open fn(*const c_char, u32, *const u8, usize, u64, u32, *mut *mut RxcHost, *mut RxcHostInfo) -> i32 |
| 108 | fn rxc_host_register_skill fn(*mut RxcHost, *const c_char, *const u8, u64, RxcHostSkillFn, *mut c_void) -> i32 |
| 109 | fn rxc_host_set_verify fn(*mut RxcHost, RxcHostVerifyFn, *mut c_void) -> i32 |
| 110 | fn rxc_host_run fn(*mut RxcHost, u64, u64, *mut RxcHostResult) -> i32 |
| 111 | fn rxc_host_recall fn(*mut RxcHost, u64, *mut RxcHostRecord, u32, *mut u32, *mut u64) -> i32 |
| 112 | fn rxc_host_record fn(*mut RxcHost, u64, *mut RxcHostRecord) -> i32 |
| 113 | fn rxc_host_payload fn(*mut RxcHost, u64, *mut u64, u32) -> i32 |
| 114 | fn rxc_host_info fn(*mut RxcHost, *mut RxcHostInfo) -> i32 |
| 115 | fn rxc_host_note fn(*mut RxcHost, u32, *const u64, *const u8, usize, *mut u64) -> i32 |
| 116 | fn rxc_host_recover fn(*const c_char, u32, *const u8, usize, *mut RxcHostRepair) -> i32 |
| 117 | fn rxc_host_close fn(*mut RxcHost) -> () |
| 118 | fn rxc_host_set_wait_ms fn(*mut RxcHost, u32) -> i32 |