Train review (TrainC2, acting as Main's non-author reviewer). Head reviewed: 4adc019e42c1e6d3b5a1fe4289855dc77f8d51e4 (original head 8c861f49 + two review commits + a merge of main 7d1e19c).
Drift gate, fresh clone, omega-mv main e5b32567 cloned fresh (nice -n 19 taskset -c 10-14 tools/extract/drift.sh --self-test <omega-mv> HEAD):
- at 8c861f49: rc=0; at 8c861f49 merged locally onto main 7d1e19c (after #117, #118, #102): rc=0; at 4adc019e: rc=0. Lines at 4adc019e:
control 1: red as required (Makefile),control 2: red as required (src/omega_gpu_attention_api.c edited in a scratch Omega commit),DIVERGENCE: 243 shared, 89 same, 154 differ (154 licence-header only, 0 code); 191 cudapp-only, 106 omega-only,DRIFT-GATE: PASS (540 GPU paths, omega e5b32567a7af, ...),SELF-TEST: PASS (both controls red, real check green). - Note: omega-mv main is still the baseline commit e5b32567, so today's real check is green by construction; the two controls are what show the gate can go red.
Negative control on the gate itself (C): mutated the drift condition in check() (&& b[$1] != $4 { -> && 0 {, so it can never report). --self-test then gives rc=1: control 1: BROKEN, gate stayed green with a tampered baseline for Makefile, control 2: BROKEN, gate stayed green after an Omega edit to src/omega_gpu_attention_api.c, SELF-TEST: FAIL. Reverted.
Defects fixed on the branch:
- 92f7c1e: #102 landed
ci.ymlhost-tests(make test, judged by the finalCUDA++ HOST TESTS PASSline) while this PR was open, sohost.ymlwould have runmake testa second time on every PR, without the verdict-line check.host.ymlnow builds and uploadslibomega_gpu.a+ identity only (joblibrary). - f2a7f3b: the
drift.shheader said control 2 "must name exactly that file"; the code checks that it names the file (-ge 1DRIFT lines), which is right because real drift at the same ref would add lines. The comment and the body now say that. - Body: the exit codes were wrong (a self-test failure exits 1, not 2); fixed, and the PENDING line replaced with the status.
CI: at 8c861f49 all 5 green (drift run 40436196770, build-and-test run 40436196826, CodeQL). At 4adc019e all green: drift (run 40451299890), library (run 40451299910), host-tests make test (run 40451299854), hello-sim, runtime-api, CodeQL c-cpp/python/actions, sbom.
Chip: not applicable (host CI and shell tooling; no chip claim). Language rule: shell/YAML only, no new C.
Logs (Spark-local): /home/drakestapleton/handoffs/Train/TrainC2/logs/trainc2-122-{drift,drift-onmain,drift-head2,drift-head3,mutant}.log.
Verdict: LAND.