---
remediation_report: true
remediator_model: claude-opus-4.7
remediated_at: 2026-05-15T17:30:00+00:00
target_doc: ir-reference/metadata.md
review_report: ../../reviews/ir-reference/metadata.md.review.md
target_doc_source_commit_before: e75b9a3d03659cefb39882da3adecb2eb8751e0d
target_doc_source_commit_after: 470b96e8c29ca660c537d4d0f88cc21a12f962e6
actions:
  fixed: 2
  rejected_bogus: 0
  rejected_out_of_scope: 0
  deferred: 0
  escalated: 0
---

# Remediation report for ir-reference/metadata.md

## Summary

Two major findings addressed: SPIR-V asm Opcode cells now use the
Lua entry names (`__truncate`, `__entryPoint`, ...) and the three
grouping-parent rows (`SemanticAttr`, `LayoutResourceInfoAttr`,
`SPIRVAsmOperand`) have been replaced with inline notes alongside
their concrete children.

## Actions

| Finding ID | Action | Rationale | Fix summary |
| --- | --- | --- | --- |
| F-001 | fixed | `source/slang/slang-ir-insts.lua:2823-2858` defines the asm operands by their `__truncate` / `__entryPoint` / `__sampledType` / `__imageType` / `__sampledImageType` Lua keys; the C++ wrapper names belong in the wrapper column. | Renamed the five Opcode cells in the SPIR-V inline-asm table to their Lua entry names; preserved the C++ wrapper column. |
| F-002 | fixed | `source/slang/slang-ir-insts.lua:2685-2694` and `:2756-2862` show `SemanticAttr`, `LayoutResourceInfoAttr`, and `SPIRVAsmOperand` as grouping-only parents with no IR opcode of their own. | Removed the three grouping-parent rows; folded their identity into a short parenthetical on the first concrete child row in each table (`userSemantic`, `size`, `SPIRVAsmOperandLiteral`). |
