CUDApp
CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.
Brought by drakestapleton
CUDApp / evidence / independent-verification / host-contract-20261026 / README.md
| 1 | # Host-only documentation and manifest checks |
| 2 | |
| 3 | Measured 2026-10-26 on Linux x86_64, GCC `14.2.0`, Python `3.12.14`, external |
| 4 | `jsonschema` package `4.26.0`. Base: `c73afb25cce8d22e039287a8ab2e4cd4c7aecf67`. |
| 5 | The changed document/schema hashes are listed in `artifacts.sha256`. |
| 6 | This is not native AArch64, GPU, independent-operator or release qualification. |
| 7 | No device was opened. No benchmark or claim of physical proof was produced. |
| 8 | |
| 9 | ## Contract checks |
| 10 | |
| 11 | An external JSON Schema referee checked draft 2020-12 schema validity and the |
| 12 | empty template. Before the schema/template were added, the check stopped with |
| 13 | `AssertionError: schema and NOT_RUN template must exist`, exit 1. The final |
| 14 | shape/refusal checks exited 0; raw summary: [schema-checks.log](schema-checks.log). |
| 15 | Synthetic in-memory data was used only to test validation, never saved as a |
| 16 | receipt or labeled as physical evidence. |
| 17 | |
| 18 | Reproduce the positive structural check from the repository root using an |
| 19 | already available external JSON Schema validator; do not install it into the |
| 20 | product or add a runtime dependency. For the measured external referee: |
| 21 | |
| 22 | ```sh |
| 23 | python3 - <<'PY' |
| 24 | import json |
| 25 | from pathlib import Path |
| 26 | from jsonschema import Draft202012Validator, FormatChecker |
| 27 | root = Path('docs/independent-verification') |
| 28 | schema = json.loads((root / 'manifest.schema.json').read_text()) |
| 29 | template = json.loads((root / 'manifest.NOT_RUN.json').read_text()) |
| 30 | Draft202012Validator.check_schema(schema) |
| 31 | formats = FormatChecker() |
| 32 | print('date-time format checker available:', 'date-time' in formats.checkers) |
| 33 | validator = Draft202012Validator(schema, format_checker=formats) |
| 34 | validator.validate(template) |
| 35 | print('EMPTY_TEMPLATE_STRUCTURALLY_VALID_NOT_PHYSICAL_PROOF') |
| 36 | PY |
| 37 | ``` |
| 38 | |
| 39 | The measured negative checks copied the empty template in memory, applied |
| 40 | one change per copy, and required `list(validator.iter_errors(copy))` to be |
| 41 | nonempty. Each of these copies was rejected: |
| 42 | |
| 43 | | Mutation | Refusal boundary | |
| 44 | | --- | --- | |
| 45 | | Delete `checks.no_submission` | Required control row | |
| 46 | | Template `checks.correct_kernel.status = COLLECTED`, evidence = `["fake"]` | Template cannot claim collection | |
| 47 | | `claim_status = PASS` | No physical verdict field | |
| 48 | | Add top-level `physical_proof = true` | Unknown field | |
| 49 | | Template `operator.identity = test-operator` | No template attribution | |
| 50 | | Set `record_kind = operator_report`, correct-kernel status COLLECTED, no evidence | Collection requires artifact references | |
| 51 | | Delete correct-kernel `observation` | Required observed meaning/blocker | |
| 52 | |
| 53 | A separate synthetic operator-report shape added artifact `test-file`, path |
| 54 | `test.stdout`, SHA256 of 64 lowercase `a` characters, byte count zero, no |
| 55 | redaction, and null raw custody fields. Its correct-kernel row was COLLECTED |
| 56 | with evidence `["test-file"]`, empty commands and observation explicitly saying |
| 57 | synthetic. It was structurally accepted. **No such artifact or event existed.** |
| 58 | This control shows why structural acceptance cannot establish a real result. |
| 59 | Starting with that shape, these independent mutations were rejected: |
| 60 | |
| 61 | - SHA256 `xyz`. |
| 62 | - An absolute public path or `../file` traversal. |
| 63 | - Byte count `-1`. |
| 64 | - Redaction `sanitized` without raw hash/custody/sanitization-report identity. |
| 65 | |
| 66 | Independent review additionally found that `$` anchors accepted a final |
| 67 | newline in digests, commits, IDs and public paths, and date-time format alone |
| 68 | allowed non-UTC offsets. These inputs were reproduced as unexpectedly valid |
| 69 | before repair. Exact digest lengths and actual-end patterns now reject the |
| 70 | newline cases; timestamps have an explicit UTC lexical/range pattern ending |
| 71 | in `Z`. The local `FormatChecker` has no optional `date-time` implementation, |
| 72 | so a suffix alone also accepted invalid text. The new pattern rejects |
| 73 | `not-a-dateZ` and `2026-99-99T99:99:99Z`. Calendar-specific validity, such as |
| 74 | February having fewer than 31 days, is not established by this local referee; |
| 75 | it requires a format-capable validator or a separate calendar check. No |
| 76 | chronology check is claimed. The regression checks reject every case above |
| 77 | and accept a UTC-shaped timestamp. |
| 78 | See [review-refusals.log](review-refusals.log). |
| 79 | |
| 80 | The referee does not check real file contents, ID resolution, time ordering, |
| 81 | independence, permission, computation or device execution. Those remain |
| 82 | manual review or future qualified .om checker obligations. |
| 83 | |
| 84 | ## Repository checks, unchanged failures retained |
| 85 | |
| 86 | | Command | Exit | Observation | |
| 87 | | --- | --- | --- | |
| 88 | | `make test` | 2 | `src/omega_blackwell_engine.c:558` and `:393`: assembler operand mismatch for `ds`; aggregate suite did not complete | |
| 89 | | `make test-native-artifact` | 2 | Same unchanged engine compilation blocker; target did not complete | |
| 90 | | `make zero-cuda-gate` | 2 | Same unchanged engine compilation blocker; gate did not execute | |
| 91 | | `python3 tools/figures/make_figures.py --check` | 1 | Stale `stack.svg` | |
| 92 | | `bash tools/extract/audit-selftest.sh` | 0 | Scanner found all planted test secrets, including historical/deleted-file and commit-message cases | |
| 93 | | `git diff --check` | 0 | No whitespace errors | |
| 94 | | `crumb validate docs/independent-verification` | 0 | New crumb structurally valid | |
| 95 | | `crumb verify .` | 1 | Existing `docs/device-trace` and `tests/device-trace` crumbs are UNCOMPILED; no unrelated crumb repair included | |
| 96 | |
| 97 | The external crumb tool was built from architecture revision |
| 98 | `d0f0b95d344b4c6628c3d868346932fd247ce168`. Its compile operation walks the |
| 99 | repository even when passed a directory. Generated changes to the unrelated |
| 100 | existing trace crumbs were discarded; the new directory reports CURRENT. |
| 101 | The remaining root verification failure is preserved in [crumb-verify.log](crumb-verify.log). |
| 102 | |
| 103 | The same engine failure was measured on the original `b5e0da48` base before |
| 104 | this change. No barrier, target or gate was disabled. Raw final logs are |
| 105 | adjacent. `build/hello_gpu --sim` was not run because the build prerequisite |
| 106 | failed. Native host execution, all GPU arms, dynamic tracing, external |
| 107 | operator collection, second-machine and toolkit-absent experiments are |
| 108 | NOT_RUN. The schema is not a substitute for those tests. |
| 109 | |
| 110 | Only new public content was scanned with the repository secret/private rules |
| 111 | and manually reviewed. This is not a whole-history audit; #89 owns that work. |