interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

omega-harness: CUDApp hardware capability manifest (PENDING CUDApp#367)

open 859d7921b4ffaa71 #209 · opened 2026-11-07 05:41 UTC

Imported from GitHub aien-dev/omega-harness#209, by drakestapleton

Base bd107ca15c40b6cdfef0f23afb03a884fe3c8086 · Head b16d6117316fbf86158d0a84f5f0dc56154ef6ca

drakestapleton wrote on 2026-11-07 05:41 UTC

Draft, pending aien-dev/CUDApp#367 (DRA-400, DRA-401; tracked head 47f27d2f8fb97ef569fe1fafbc617941e47b816d). Adds a guide section next to "CUDApp portable backend": 21-family register, the six route kinds, the hwman admit and lifecycle commands, the closed runner table (check exit 3 for unknown runner, wrong family/route, or op outside the table; exit 6 is not-admitted only), fail-closed handle persistence (74 state_write_failed), the exact fault oracles (badsize -22, badcc 0x000b0143 from the Linux TPM resource manager), the admitted X925 CPU and NPCT75x TPM, the GPU refusal without a lease, and the receipt evidence/HW-MANIFEST-20261107T0606Z (pass=121 fail=0 not_run=2; before/after review regression in HW-MANIFEST-20261107T0602Z). It also corrects the CPU naming: the GB10 CPU is Arm X925/A725, not Grace. Docs only; no example changed; linked paths checked against the CUDApp head above. Refresh the head sha when #367 merges. — hwdirect / claude-opus-5-5

Apply it

git checkout -b patch-859d7921b4ffaa71 bd107ca15c40b6cdfef0f23afb03a884fe3c8086
curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/859d7921b4ffaa71.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/omega-harness
209
b16d6117316fbf86158d0a84f5f0dc56154ef6ca
{"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":209,"url":"https://github.com/aien-dev/omega-harness/pull/209","export_sha256":"81c8a50ec4f210545ba0c1f58b0895bf875fb250a73642ad466e88a680f2107e","imported_utc":"2026-11-18T16:39:28Z"}

Changes

diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md
index ac073fd..155d745 100644
--- a/skills/omega-harness/SKILL.md
+++ b/skills/omega-harness/SKILL.md
@@ -896,6 +896,41 @@ Paths below are on CUDApp main (present at `cc0908bdc0`).
 - Gate: `make test-multitarget OMC=…` with negative controls; receipts
   `evidence/MULTITARGET-20261027T0638Z/` (host EXERCISED, 63 checks, CUDApp `0ec44766`). Never say a
   vendor is "supported" or "runs" from these host runs.
+
+### CUDApp hardware capability manifest, PENDING CUDApp #367
+
+This section stays pending until [CUDApp #367](https://github.com/aien-dev/CUDApp/pull/367) merges
+(draft, head `47f27d2f8fb97ef569fe1fafbc617941e47b816d`; DRA-400, DRA-401).
+
+- `backend/hw/manifest.tsv` registers all 21 requested families (CPU, GPU, APU, PPU, SPU, NPU, TPU, LPU,
+  MCU, ISP, TPM, Secure Enclave, ASIC, FPGA, DPU, WSE, neuromorphic, photonic, QPU, TSU, BPU). Each row
+  names a route: NATIVE_ISA, DIRECT_DEVICE, VENDOR_RUNTIME, REMOTE_SERVICE, FIRMWARE_OWNED, or UNRESOLVED
+  (PPU, SPU and ASIC are BLOCKED_NAME until Drake names the part). A row that is not CHIP_TESTED with
+  evidence must carry an exact blocker. Do not add a backend for a BLOCKED row.
+- `hwman` is seeded Omega (`backend/hw/{core,cpu,tpm,main}.om`, concatenated, pinned omc `e5b32567`).
+  `hwman admit MAN OP [TARGET]` is the admission query (proposed scheduler interface, DRA-407).
+  `hwman run` goes through discover → claim → prepare → submit → complete → quiesce → release with a
+  generation-checked, `flock`ed handle. The exit classes are listed in `backend/hw/README.md`.
+- Every `hwman-` runner is bound by one closed table (`core.om` `TRUN`): hwman-cpu = CPU, NATIVE_ISA,
+  `sumsq64`/`fnv1a64`; hwman-tpm = TPM, DIRECT_DEVICE, `props`/`getrandom`. `check` refuses (exit 3) an
+  unknown runner, a runner on another family or route, or an operation outside the table, and `admit`
+  and `run` load the register through `check`. Exit 6 means not admitted only. A new operation needs a
+  table entry and its runner code in the same change.
+- The handle fails closed: byte 0 becomes `x` (synced) before submission, and release writes and syncs
+  the record with byte 0 last. Any failed or short write or failed sync exits 74 `state_write_failed`,
+  never PASS, and the handle stays unreadable (7) until the operator replaces it.
+- `hwman fault` passes only on the exact result: `badsize` kernel errno -22, `badcc` rc `0x000b0143`
+  (TPM2_RC_COMMAND_CODE with the resource-manager layer 11<<16, synthesized by Linux
+  `tpm-dev-common.c`; the chip never sees the frame). Anything else is 13.
+- Admitted on the branch: Cortex-X925 processor 19 (`midr_el1=0x410fd851`) and the Nuvoton NPCT75x TPM on
+  `/dev/tpmrm0`. The GB10 GPU row is PRIOR_RECEIPT and is refused (exit 6, not admitted) without a
+  spark-window lease. The GB10 CPU is Arm X925/A725, not Grace.
+- Gate: `make test-hw OMC=…` under the CPU pool wrapper. The persistence and fault-oracle controls
+  inject faults with `strace -e inject` (a test tool only; NOT_RUN without strace). The receipt is
+  `evidence/HW-MANIFEST-20261107T0606Z/` (pass=121 fail=0 not_run=2, CHIP_TESTED on spark-b87b in one
+  run: EXERCISED, not QUALIFIED); `HW-MANIFEST-20261107T0602Z/` holds the before/after regression of
+  every review control against `06237840`. Not run: `neg-cpu-unpinned` and `cpu-gb10-a725`.
+
 ### Omegese GPU kernels (sm_121), PENDING omega-mv #885
 
 This section stays pending until [omega-mv #885](https://github.com/aien-dev/omega-mv/pull/885) merges. It was exercised on its branch `c1/chip-fix` at