omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / evidence / RUNTIME-R1-API-review-fixes / README.md
| 1 | # R1 Runtime API: review findings fixed (#955, omega-mv#594) |
| 2 | |
| 3 | Review record: `docs/runtime/API-REVIEW.md`, review 1 (ApiReview594, head 2908f13a against main 62d1d0d6; the same |
| 4 | tree as PR head 933dcdba). Host only (aarch64 Linux, gcc 13.3.0), no GPU, no physics checkout. |
| 5 | |
| 6 | | File | Result | |
| 7 | |---|---| |
| 8 | | `test-runtime-api.log` | exit 0: PASS (96 functions, 28 structs, 237 fields, 159 constants) and all 13 negative controls caught. | |
| 9 | | `red-stale-internal-and-no-aux-info.log` | exit 1 twice: a name in API.md section 10 that no header declares, and a compiler without `-aux-info`. | |
| 10 | |
| 11 | What changed: |
| 12 | - N1: `tools/runtime_api_check.sh` scans the manifest headers back with gcc `-aux-info`. Every external function they |
| 13 | declare must be a manifest `fn` or be named in API.md section 10; every name there must still be declared. The scan |
| 14 | found 41 declarations in no list; section 10 now names all of them. New controls: `removed-padding-field` |
| 15 | (`OmegaGpuCmdListOpts.first_barrier_none`), `new-header-function`, `internal-unlisted`. |
| 16 | - F1-F3, N5: API.md section 3 and the `omega_gpu_session_recover` header comment no longer cite #518 or claim the RM |
| 17 | client close frees every buffer; the chip effect of the close is stated as intended and not shown |
| 18 | (`evidence/C5-ISOLATION/`), with the unmapped-buffer gap of the Linux reference. The command-list-only latch and |
| 19 | recover's return values are documented. |
| 20 | - F4, F5: which calls take the session lock (the accessors do not; `omega_gpu_matmul_cta_budget` races with |
| 21 | `omega_gpu_matmul_set_cta_budget`), and the hosted build's lock installs the Linux platform. |
| 22 | - F6, F7, N2, N3, N4: section 9.6 wording, the review-state line, `first_barrier_none`, the launch argument checks |
| 23 | (`L` not NULL, `spin_us` bound, `timeout_ms` 0), and INTERNAL comments on four session declarations. |
| 24 | |
| 25 | Not checked here: that the prose is true (review only); the fixes have not been reviewed again. |