Files
reims-vgpu/.gitignore
T
Anees Iqbal 9ca7e7eab3 📝 A translator defect is packaged for the tree that owns it, instead of described in a tree that cannot fix it
AGENTS.md and .gitignore. No behaviour change.

Some of what reads as a device bug belongs to `metal2vulkan`, and the handoff
this repository has been producing for those is a kb entry — prose, in a
gitignored directory, in a repository whose agent cannot act on it. Two such
entries then carried a fix that turned out not to be implementable at all, for
a day, because nothing in the format required a reproduction.

So `bugs/<defect-name>/` is now where an upstream defect goes: a README, the AIR
that reproduces it, the verbatim failure with its per-tier retry trace, and a
`repro.sh`. That is metal2vulkan's own FALLBACK repro-bundle shape rather than a
new one, so its agent recognises the layout without being told. Gitignored,
because every payload is Apple's AIR and third-party bytes stay local; a
directory is handed over by copying it.

Two directories exist locally and are not part of this commit:

- `opaque-handle-in-aggregate` — two AIR blobs, both reproducing the
  `OpCompositeInsert` of an `OpTypeImage` into a pointer-typed struct member
  that costs macos-14/15/26 three to six compute pipelines a boot.
- `inline-sroa-unknown-block-label` — one blob where `inline_sroa` dies in the
  emitter before validation, taking out the five tiers that would otherwise
  repair the first defect on that kernel.

Both were reproduced with no VM. `m2v_cache::translate_air` writes each blob to
a fixed scratch name under `/tmp/reims-vgpu-m2v-cache-<pid>/`, one directory per
boot, and those directories are never cleaned up — so a machine that has booted
these rails already holds one last-kernel blob per past boot. Twenty distinct
kernels came back that way and three of them reproduced. `bugs/README.md`
records that, and the polling variant for capturing a whole family live.

Also recorded: check `git ls-remote` on a dependency before diagnosing a defect
into it. The arm that makes this class's repair reachable was one commit ahead
of what we pinned, and two sessions read the dependency's source without ever
asking what its remote had.

Verified: `git check-ignore` confirms `bugs/` and its payloads are excluded;
`repro.sh` in both directories runs from a copy of the directory alone and
reproduces (INVALID on all three inputs) against the pinned rev's CLI built from
its own cargo checkout. No Rust source touched, so no test or clippy run applies.
2026-08-10 00:34:55 +03:00

69 lines
1.5 KiB
Plaintext

build/
# build output
.cache/
# caches / scratch
dist/
*.dmg
.DS_Store
# editor / OS cruft
*.fd
/target/
/host/target/
.idea/
# (Negations must re-include the parent dir before re-including files within it.)
*.o
OVMF_VARS*.fd
*.part
*.png
!/assets/
!/assets/readme/
!/assets/readme/reims-vgpu-macos-arm64-desktop.png
!/assets/readme/reims-vgpu-macos-x86-desktop.png
*.ppm
__pycache__/
*.qcow2
*.spv
*.spv.h
*.swp
/vm/*
!/vm/boot-arm64.sh
!/vm/boot-x86.sh
!/vm/guest-authorize.sh
!/vm/rail-debug-posture.sh
vm/debug/
vm/logs/
# OVMF firmware blobs (CODE/VARS .fd) — large binary runtime, never commit
/vm/ovmf/
!/vm/README.md
!/vm/.version
.vscode/
Vulkan-Headers/
.claude/worktrees/
.claude/settings.local.json
/.agents/
# Private research notes and handoff material.
/kb/
/journal/
/m2v-handoff/
# Packaged metal2vulkan defects: a README plus the Apple AIR that reproduces each.
# Apple bytes, so local only — hand a directory over by copying it. See AGENTS.md.
/bugs/
# vendor/qemu is a git submodule (steelbrain/qemu-reims-vgpu, branch host-reims-vgpu-vmapple).
# Its own build/ output is ignored by QEMU's own .gitignore.
# In-workspace vmapple guest bundle (provisioned by scripts/vmapple-provision;
# disk/aux images + instance-specific vm.json + per-boot run scratch). Large/private.
/vm/guest/
/vm/ipsw/
# Guest crash reports (.ips) — Apple diagnostic artifacts, keep local, never commit
.agents/crashes/
# LLVM coverage artifacts (scripts/runtime-dead writes under /tmp; these are
# what a stray instrumented `cargo test` drops in the tree).
*.profraw
*.profdata