interplane.Get Omega
Read in your language

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

branch main Branches Tags History

CUDApp / evidence / independent-verification / host-contract-20261026 / README.md

111 lines · 6248 bytes Raw Blame History Rendered
1# Host-only documentation and manifest checks
2
3Measured 2026-10-26 on Linux x86_64, GCC `14.2.0`, Python `3.12.14`, external
4`jsonschema` package `4.26.0`. Base: `c73afb25cce8d22e039287a8ab2e4cd4c7aecf67`.
5The changed document/schema hashes are listed in `artifacts.sha256`.
6This is not native AArch64, GPU, independent-operator or release qualification.
7No device was opened. No benchmark or claim of physical proof was produced.
8
9## Contract checks
10
11An external JSON Schema referee checked draft 2020-12 schema validity and the
12empty template. Before the schema/template were added, the check stopped with
13`AssertionError: schema and NOT_RUN template must exist`, exit 1. The final
14shape/refusal checks exited 0; raw summary: [schema-checks.log](schema-checks.log).
15Synthetic in-memory data was used only to test validation, never saved as a
16receipt or labeled as physical evidence.
17
18Reproduce the positive structural check from the repository root using an
19already available external JSON Schema validator; do not install it into the
20product or add a runtime dependency. For the measured external referee:
21
22```sh
23python3 - <<'PY'
24import json
25from pathlib import Path
26from jsonschema import Draft202012Validator, FormatChecker
27root = Path('docs/independent-verification')
28schema = json.loads((root / 'manifest.schema.json').read_text())
29template = json.loads((root / 'manifest.NOT_RUN.json').read_text())
30Draft202012Validator.check_schema(schema)
31formats = FormatChecker()
32print('date-time format checker available:', 'date-time' in formats.checkers)
33validator = Draft202012Validator(schema, format_checker=formats)
34validator.validate(template)
35print('EMPTY_TEMPLATE_STRUCTURALLY_VALID_NOT_PHYSICAL_PROOF')
36PY
37```
38
39The measured negative checks copied the empty template in memory, applied
40one change per copy, and required `list(validator.iter_errors(copy))` to be
41nonempty. 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
53A separate synthetic operator-report shape added artifact `test-file`, path
54`test.stdout`, SHA256 of 64 lowercase `a` characters, byte count zero, no
55redaction, and null raw custody fields. Its correct-kernel row was COLLECTED
56with evidence `["test-file"]`, empty commands and observation explicitly saying
57synthetic. It was structurally accepted. **No such artifact or event existed.**
58This control shows why structural acceptance cannot establish a real result.
59Starting 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
66Independent review additionally found that `$` anchors accepted a final
67newline in digests, commits, IDs and public paths, and date-time format alone
68allowed non-UTC offsets. These inputs were reproduced as unexpectedly valid
69before repair. Exact digest lengths and actual-end patterns now reject the
70newline cases; timestamps have an explicit UTC lexical/range pattern ending
71in `Z`. The local `FormatChecker` has no optional `date-time` implementation,
72so 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
74February having fewer than 31 days, is not established by this local referee;
75it requires a format-capable validator or a separate calendar check. No
76chronology check is claimed. The regression checks reject every case above
77and accept a UTC-shaped timestamp.
78See [review-refusals.log](review-refusals.log).
79
80The referee does not check real file contents, ID resolution, time ordering,
81independence, permission, computation or device execution. Those remain
82manual 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
97The external crumb tool was built from architecture revision
98`d0f0b95d344b4c6628c3d868346932fd247ce168`. Its compile operation walks the
99repository even when passed a directory. Generated changes to the unrelated
100existing trace crumbs were discarded; the new directory reports CURRENT.
101The remaining root verification failure is preserved in [crumb-verify.log](crumb-verify.log).
102
103The same engine failure was measured on the original `b5e0da48` base before
104this change. No barrier, target or gate was disabled. Raw final logs are
105adjacent. `build/hello_gpu --sim` was not run because the build prerequisite
106failed. Native host execution, all GPU arms, dynamic tracing, external
107operator collection, second-machine and toolkit-absent experiments are
108NOT_RUN. The schema is not a substitute for those tests.
109
110Only new public content was scanned with the repository secret/private rules
111and manually reviewed. This is not a whole-history audit; #89 owns that work.