Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/docs/independent-verification/AGENT_PROMPT.md # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / docs / independent-verification / AGENT_PROMPT.md` 113 lines · 7373 bytes Raw Blame History Rendered 1 # Agent prompt: finish independent native GPU replication 2 3 Work in public repository https://github.com/aien-dev/CUDApp. Extend existing 4 issue #91 and its independent physical replication addendum, under release 5 review #88. Do not create a duplicate issue or take over #79's .om migration, 6 #15/#16/#17's qualification owners, trace work or shader pilot #86. 7 8 The goal is an independently reproducible, narrowly scoped physical GB10 9 vector result with inspectable evidence. The documentation and collection 10 schema in `docs/independent-verification/` prepare that work; they are not a 11 hardware receipt or a completed checker. Read the README and PLAN there first. 12 13 Reconcile current main, open PRs, owners and leases before editing. Read the 14 repository AGENTS.md, relevant .crumb files and local `.agents/skills` if a 15 needed skill is absent from your catalog. Follow the current Omega Harness, 16 encoding, communication and crumb guidance. Work in an isolated branch. Keep 17 unrelated changes and immutable evidence intact. Open or update a draft PR; 18 do not merge, release, deploy or change repository settings. 19 20 Known historical evidence: `evidence/speculation/release-candidate-teardown/receipt.json` 21 records CUDApp ``2e2421694f6110bd84885ae0b2d3caf249809d34``, compiler source 22 `omega-mv@`d7390d88d07dbf48cfbb0583070599c350f814d3``, and compiler SHA256 23 ``9749f38841a55917d41924a68bce31463ec2339910bddd5e6cbf6ea4420551db``. 24 It reports an owner-operated GB10 pass, privately retained raw syscall trace, 25 and independent hardware replication NOT_RUN. Verify the receipt and current 26 source rather than treating this historical pin as qualification of main. 27 NVIDIA open kernel modules 580.173.02 and GSP firmware remain dependencies. 28 The recorded machine had the toolkit installed; not using it is not absence. 29 30 Implement the missing test capabilities in seeded .om using the existing 31 `native/nvrm/context.om`, `native/blackwell/vector.om`, 32 `native/blackwell/launch.om` and `tests/speculation/` harness. Do not build a 33 second encoder/runtime or add a permanent C/Python wrapper implementation. 34 Independent external test oracles remain clearly separate from the product. 35 Do not compose experimental trace emitters into this qualification path. 36 37 Before hardware use, write and exercise host tests for externally supplied 38 input/output transport, malformed or truncated inputs, supported size bounds, 39 stale output, wrong digest, missing writes and independent-oracle tampering. 40 The current harness uses fixed salts and an in-process CPU checker, checks 41 only available trailing words, and lacks an explicit no-submission arm. 42 Repair those gaps without disabling compiler loop limits, admission, bounds, 43 cleanup or existing test gates. If a required language feature is missing, 44 report the smallest reproducible need to its existing owner instead of adding 45 a hidden foreign fallback. Obtain independent review of the final code. 46 47 Arrange a real operator independent of candidate generation. Freeze the exact 48 candidate, harness, compiler, reviewed kernel variants and launch-builder 49 hashes before that operator chooses fresh unpredictable challenges. Runtime 50 launch descriptors/arguments depend on sizes and allocation addresses: hash 51 the finalized bytes after challenge selection/allocation and before each 52 submission, binding them to the frozen builder and exact inputs. Keep expected results in a separate CPU 53 oracle process/workspace and verify every output byte. Record custody, 54 timestamps and a witnessed challenge commitment, not just a hard-coded seed. 55 A source-reviewing agent is not itself an independent physical operator. 56 57 No device work is authorized until the owner explicitly grants the existing 58 reservation and safe admission for the selected machine and bounded workload. 59 If that authority or supported hardware is missing, complete host work and 60 report the exact pending action; leave all hardware rows NOT_RUN. Do not stop 61 a resident model, touch other jobs, uninstall CUDA, change drivers/firmware, 62 unload modules or reset/reboot the machine. A toolkit-absent test may run only 63 in a separately approved environment, never by altering the user's Spark. 64 65 In an admitted run, execute the correct kernel, a reviewed safe wrong-math 66 kernel, a fresh restored correct kernel, and a no-submission control that 67 leaves poisoned output unchanged and never waits for an unsubmitted launch. 68 Choose poison independently and check it against the oracle; do not leak 69 expected values by publishing their reversible complement as poison. 70 Check inputs and guards in every arm. Do not discard failed attempts or 71 repeat runs selectively to report only successes; diagnose failures and retain 72 all attempts. Use the existing cleanup path and owner recovery process if state is 73 uncertain. Capture exact commands, UTC times, exits, full output, source and 74 artifact digests, device/driver identity, bounded-memory admission and health. 75 76 Keep static ELF/build dependency evidence separate from dynamic process-tree, 77 load/device-call/submission/completion observations. Capture full raw logs and 78 correlate them to the exact kernel and readback. Static linking, an ioctl, 79 matching hashes, signatures or a printed PASS alone cannot prove GPU work. 80 Disclose the observer's coverage and the kernel/firmware floor. Distinguish 81 installed tools, build/oracle tools and runtime dependencies. 82 83 Create a new immutable public evidence bundle. Sanitize and manually review 84 all new text, logs, commands and artifacts before publication. Retain raw 85 originals in authorized custody, record raw and sanitized hashes, document 86 redactions and preserve event ordering and consistent aliases. Do not expose 87 private paths, addresses, service details, prompts, credentials or vendor 88 binaries/listings. Record exact-source license/provenance obligations and 89 coordinate unresolved findings with #89; do not assume the whole current 90 tree has one license or relicense source. Missing critical public evidence 91 stays incomplete; a hash 92 of a private trace is not public inspectability. 93 94 Fill an operator report, not the NOT_RUN template. The manifest is only a 95 collection envelope: COLLECTED is not PASS and claim_status stays 96 NOT_EVALUATED. Independently verify artifact existence, digests, references, 97 chronology, admission and semantic control outcomes. The operator describes 98 what they personally observed, their relationship to the author and remaining 99 trust assumptions; a separate reviewer accepts only the supported scope. 100 Record a second operator on the same device separately from an optional 101 second-machine replication. Neither can be invented from synthetic fixtures. 102 103 Run the repository's complete applicable host checks on the final commit; 104 report every failure by name. Requalify after executable inputs change. The 105 known x86_64 `ds` assembler failure in `src/omega_blackwell_engine.c` is not 106 permission to replace barriers with no-ops. Keep host/simulator/native host, 107 owner hardware, independent hardware and second-machine results separate. 108 109 Return the draft PR and issue links, exact final commits and artifact hashes, 110 commands/exits, independent review, a public evidence index, remaining 111 NOT_RUN/BLOCKED rows and the next required owner action. Do not auto-close 112 #91 or claim full-model correctness, performance superiority, all-GPU support, 113 C retirement or independence from NVIDIA kernel modules/GSP firmware.