omega-harness
Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories
Brought by drakestapleton
GitHub aien-dev/omega-harness#117 (code only)
Fetch it
curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/0fb509aa17dbab43.bundle -o 0fb509aa17dbab43.bundle git fetch 0fb509aa17dbab43.bundle refs/pull/117/head
Provenance
github-import 1
aien-dev/omega-harness
117
e61b502a2f67c438790dd70bcb7dcf2455c3bf6c
{"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":117,"url":"https://github.com/aien-dev/omega-harness/pull/117","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:32Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index 053b69a..14c1e0a 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -1399,6 +1399,30 @@ omega MCP pin `2c824805…`, lack both. (reproduced at omc `2c824805…`: `d = xor c get A 0` is error 7, `xor c ulong get A 0` compiles). - Host words and `global` need program mode: without `fn main` the unit compiles in function mode and every host word is error 9 with an empty output file, which reads like a broken pin. +- **Owned DMA-window integration: PENDING, not the main compiler or a kernel driver.** + Depends on the VFIO words documented by pending + [guide #79](https://github.com/aien-dev/omega-harness/pull/79), compiler + [omega-mv#890](https://github.com/aien-dev/omega-mv/pull/890) stacked on #878, exact source + `397e67040fb74853c6814097fe02ae4e1ebd6f66`, omc sha256 + `bcfa582892afca8f65e551fe56867d918d86e84540c7381be8fa9ef18d0cf0f6`. + Driver source + [`c69470f5`](https://github.com/aien-dev/omega-gpu-driver/blob/c69470f5fac6fe603a45b2c4af0c79eea3409ec6/chan/gmmu.om) + distinguishes simulator `mmwinit` (`mmwin`) from `mmwalloc` (owned shared anonymous handle). + CPU accesses use handle+offset; IOVA, informational CPU base and GPU VA remain separate. + `mmwdmap(epoch, fd)` maps the whole owned extent; `mmwpublish(epoch)` must precede any externally + visible DMA reference. Epoch/handle/length/IOVA/container identity stays fixed for that lifetime. + Rebuild MAP_DMA requests after every call: the compiler overwrites vaddr even on ioctl error. + An unpublished DMA-mapped extent closes only after UNMAP_DMA returns its exact original length, + then successful `mapdrop`; a never-mapped OWN extent drops directly. Only EBADF is proven no-target; + uncertain mapping errors, + failed/partial/unexpected unmaps and drop failures retain backing. Published or quarantined backing + cannot be reset/reused/dropped: TLB invalidation or a simulator idle is not a documented DMA-idle + proof, and no GB10 reclaim-proof API exists here. The single owner must retain process/container + lifetime (no fork, fd close/reuse or restart); the latch is process-local, not crash-safe containment. + `tests/dma_host.sh`: EXERCISED anonymous memory, real invalid-fd refusal/retry, 23 explicit host + replay/boundary cases and 11 compiling negative-control mutants. Simulator parity remains 391 + byte-identical C-reference lines. This is Linux userspace VFIO, not a Linux kernel module; + hardware/DMA/kernel execution NOT_RUN. It neither opens a VFIO device nor grants authorization. - **VFIO device words: PENDING, not on `main`.** Draft [omega-mv#878](https://github.com/aien-dev/omega-mv/pull/878), rechecked 2026-10-30 at head `019108d5cbaae12bdad818741b6a97ac8572501b` (committed omc sha256