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 / docs / learn53 / CONTINUATION-PLAN.md
| 1 | # Frozen public catalog and canonical framework attachment |
| 2 | |
| 3 | > **For agentic workers:** REQUIRED SUB-SKILL: use superpowers:executing-plans. Continue the authorized L777 implementation inline. |
| 4 | |
| 5 | **Goal:** Freeze all eight supported public CUL1 families into a compiled catalog and attach the independent evaluator to the existing Omega653 component. |
| 6 | **Architecture:** task.om stays authoritative for CUL1 validation/reference. catalog.om supplies fixed public data. omega-adapter.om prepares independent expected bytes and calls unchanged pinned lbegin/lobserve/lattempt APIs; lfinish remains canonical. No second scheduler, budget recorder, custodian, process runner, hash implementation or judge. |
| 7 | **Tech Stack:** seeded .om, source-only compiler191b776e; Linux AArch64. |
| 8 | **Spec:** CUDApp #53/#52, docs/learn53/CONTRACT.md and pinned Omega docs/learning/benchmark-v1.md. |
| 9 | |
| 10 | ## Global Constraints |
| 11 | - Reuse existing worktree and PR61. Preserve all old receipts and source11ad6a0. |
| 12 | - Canonical dependency: omega-mv84d03c5523f39ca1045d1c313c5f62597779462b, src/learning/benchmark/core.om, SHA256 a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c. AGPL-3.0. No vendored fork. |
| 13 | - IDs1..8: add3/add8/add17/reduce3/reduce8/reduce17/mat2x3x2/mat3x2x3. All public development; these are NOT disjoint heldout pools. |
| 14 | - Fixed membership eight, one attempt per task. Metadata, costs and compiler/ELF identities are trusted executor inputs, never candidate result fields. |
| 15 | - Genuine source/structure/family/lineage metadata and measured costs belong to the qualified framework caller. Unit metadata/cost fixtures are SYNTHETIC, not validated feedback or measured baseline costs. |
| 16 | - No model, GPU, process isolation, receipt authentication, protected splits, production cutover or full-issue acceptance. |
| 17 | |
| 18 | ## Review Focus |
| 19 | Candidate bytes cannot alter input values, strides, arithmetic, shape, tolerances or membership. Missing/duplicate tasks cannot produce valid complete-run scores. Invalid next run cannot expose stale completed-valid state. Bounds precede reads; invalid IDs preserve buffers. Tests must not be promoted to measured experiment records. |
| 20 | |
| 21 | ### Task 1: Fixed public domain catalog |
| 22 | Files: native/learn53/catalog.om; tests/learn53/catalog-fixtures.om, catalog-unit.om. |
| 23 | Interfaces: kload(id:ulong)->ulong returns canonical task byte count; zero on unsupported ID without changing kt/ko. kput(word,value) is internal LE32 serialization. |
| 24 | - [ ] Tests: all eight independently derived literal outputs, exact headers/bounds, every output tail corrupted, invalid0/9/max IDs preserve buffers, poisoned policy reset on reload. |
| 25 | - [ ] Compile stub; expected behavioral FAIL and fixed nonzero status. |
| 26 | - [ ] Implement catalog; compiled test expected all PASS. |
| 27 | |
| 28 | ### Task 2: Canonical observation and accounting attachment |
| 29 | Files: native/learn53/omega-adapter.om, omega653.lock; tests/learn53/omega-unit.om. |
| 30 | Interfaces: aobserve(id,status,code,n)->ulong consumes LGot and builds LWant using kexpect; abegin(budget)->ulong validates fixed scalar LT fields and calls lbegin(8,1,budget); aattempt(index,ordinal,status,code,n)->ulong calls aobserve then lattempt. Production never synthesizes LC/LPin. Caller finishes via lfinish. |
| 31 | - [ ] Synthetic unit-only fixtures: full8, omitted task, duplicate, wrong values/guard/tail/stride/PASS spoof, failed process, empty/oversize, poisoned manifest reset, unknown ID, wrong compiler/ELF identity word, missing costs, over-budget, invalid-next-run stale-state rejection. |
| 32 | - [ ] Compile stubs, observe intended behavioral failures. |
| 33 | - [ ] Implement thin adapter; expected all PASS. |
| 34 | |
| 35 | ### Task 3: Immutable qualification, review and publication |
| 36 | - [ ] Replay exact pinned upstream185 checks before dependent gates. Exercise original native suites. |
| 37 | - [ ] Compile behavioral mutants; require successful native ELF build then intended test failure. Preserve all failed attempts. |
| 38 | - [ ] Freeze source, fresh export/reconstruction, source/binary hashes, commands, raw results and limitations. |
| 39 | - [ ] One independent exact-source review; fix findings through RED/GREEN. |
| 40 | - [ ] Push existing feature branch, verify remote head, update issues and existing desk intake. No second PR or full53 acceptance claim. |
| 41 | |
| 42 | ## Ruling |
| 43 | The initially considered native candidate experiment is not supported by the published component: custody/process/cost prerequisites remain unqualified. Deliver native domain/API composition with explicitly synthetic accounting tests instead of fabricating real source identities or lifecycle measurements. Cost if wrong: this component must not be promoted as an experiment runner. |