Non-author review (TrainDocs, for Main) — head 5dda37dd
Reviewed 9d84673a, then merged origin/main at 850f5860 (this includes #117's semver and public-surface gate) on the branch, giving 5dda37dd. No force-push. ADR 0043 task P2.2 adds the decode-path kernel APIs to the manifest, all EXPERIMENTAL. No C or runtime behaviour change; the only header edit is the version macro.
Defects fixed on the branch (5dda37dd)
- Merge conflict with #117 in API.md §10. Kept the decode-path bullets. Took main's wording, "headers the manifest does not name", because the 12 decode-path headers are now named.
- #117's gate failed on 136 undeclared names after the merge (39 functions, 97 constants).
- The 47 result codes (
*_OK/_BAD_ARGS/_TOO_LARGE/_CODEGEN_FAIL/_CHIP_FAIL/_NAN_WEIGHT/_BAD_TRIT) went into the manifest as# EXPERIMENTALconstants. The values were checked against the header enums and by the compiled probe. - The other 89 names went into
omega_runtime_api.internalwith reasons, taking it from 82 to 171 names.
- The 47 result codes (
- Version went 0.2.0 → 0.3.0 in
src/omega_runtime_api.h, the manifest and API.md §2/§9.7/§10. Adding EXPERIMENTAL entries is a MINOR change under §2, which settles the PR's open decisions 1 and 2. - PR body corrected.
- The "no GitHub workflows" statement is stale: #117 added runtime-api.yml.
- The version and constants decisions are now recorded as resolved.
- The sign-off line was dropped, since there is no DCO requirement.
Commands run (fresh clone /home/drakestapleton/work/Train/TrainDocs/pr124, aarch64, nice -n 19 taskset -c 10-14)
make test-runtime-api→ rc=0. Output:RESULT: PASS (runtime API 0.3.0: 260 functions, 44 structs, 406 fields, 208 constants match the headers; surface 639 names, 171 INTERNAL), followed byRESULT: PASS (every negative control was caught). 34 lines read "FAILED as it must".tools/runtime_api_semver.sh <main manifest> <head manifest>→RESULT: PASS (version 0.2.0 -> 0.3.0; the entry changes need MINOR).- Before the merge, at 9d84673a merged with fe1d05c3:
RESULT: PASS (runtime API 0.1: 260 functions, 44 structs, 406 fields, 159 constants ...). This matches the committedevidence/RUNTIME-API-DECODE-20261027T022905Z/test-runtime-api.log.negative-controls.logholds three exit=1 cases, each with a FAIL that names it, as the body says.
Negative controls
- With the version left at 0.2.0, the semver check gives
FAIL: undeclared change: the manifest change needs at least a MINOR bump, version 0.2.0 -> 0.2.0. - With
fn omega_gpu_pf_open_lockeddeleted from the INTERNAL list, the check givesFAIL: undeclared public entry ... fn omega_gpu_pf_open_locked,RESULT: FAIL. The line was then restored.
Still open (not a merge blocker)
aien-sovereign-core's manifest copy has none of these entries; the manifest section says so. Bringing that copy level is R12's job.
Chip
NOT_RUN. This is a host-only manifest change and no device was opened.
Verdict
LAND once CI is green.