PH-HW WP1: lig governance, kernel catalog, multi-vendor bench schema¶
Status: Ready for review
Repo: li-langverse/lic
PH / REQ: PH-HW WP1 (HW-0 governance); targets branch feat/ph-hw-multi-vendor
Summary¶
Documents the lig GPU package (import lig), LKIR layout, kernel catalog IDs, and lig-kernels.toml multi-vendor bench columns — docs and benchmarks only; no packages/lig/src/lib.li implementation (WP2+).
Agent continuation¶
- Read:
docs/game-dev/specs/lig-rfc.md,docs/game-dev/lig-kernel-catalog.md,benchmarks/competitive/lig-kernels.toml. - Run:
rg 'import gpu|li-gpu' docs/(should only hit redirect/migration text);./scripts/check-hpc-competitive.shif extended for lig-kernels in WP2. - Then: WP2 —
git mv packages/li-gpu packages/lig(or steward), implementlig.device|present|kernel|memory|custominpackages/lig/src/lib.li. - Blocked on: vendor lowering and timed fills in
lig-kernels.tomluntil WP2 harness lands.
Changed¶
| Area | What | Evidence |
|---|---|---|
| RFC | Full lig-rfc.md; li-gpu-lkir-rfc.md redirect | docs/game-dev/specs/ |
| Catalog | Stable lig.kernel.* IDs | docs/game-dev/lig-kernel-catalog.md |
| Benches | Schema cpu\|cuda\|hip\|metal\|custom_lab | benchmarks/competitive/lig-kernels.toml |
| Vision | lig replaces gpu / li-gpu | docs/game-dev/world-studio-vision.md, PH-world-studio-program.md |
| Ecosystem | Package register + P1 order | docs/ecosystem/algorithms-and-libraries-plan.md |
| Portable targets | [engine.lig] | docs/game-dev/specs/portable-targets-rfc.md |
Not changed¶
packages/lig/src/lib.lior LKIR lowering codegen — WP2+.liccompiler GPU backend emission — no codegen edits in WP1.benchmarks/competitive/registry.tomltier-1/2 CPU rows — separate harness.- Studio viewport runtime — WP3 (
lig.presentwire-up). provability-gaps.md, master plan phase order — not edited.
Breaking changes¶
None shipped (documentation only). Future breaking: import gpu removal after alias period (documented in lig-rfc.md).
Security¶
N/A — no trusted surface or FFI in this PR. WP2 must gate lig.custom / custom_lab manifest per lig-rfc security gate.
Performance¶
N/A — lig-kernels.toml rows are stub (empty vendor columns). No dashboard ratio claims until WP2 ingest.
Downstream¶
| Repo | Action |
|---|---|
| benchmarks dashboard | Ingest lig-kernels.toml when WP2 fills timings |
| studio / render | Read lig-rfc before present path PRs |