[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JZXH1KNPGGFSSVS3EHKB5T":3,"skill-same:01M6JZXH1KNPGGFSSVS3EHKB5T":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6JZXH1KNPGGFSSVS3EHKB5T","audit-skyrim",null,"Per-game audit of Skyrim (SE + LE) compatibility — BSTriShape packed geometry, BSLightingShaderProperty shader-type dispatch, NPC equip\u002FFaceGen, multi-master load order","matiaszanolli\u002FByroRedux","matiaszanolli","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2379093?v=4","01M6JZJDYMPY01793W4XK157YG","Matias Zanolli","01M6JZJE2KE2BXSDPAYPQC6BSH",40,"MIT","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.claude\u002Fcommands\u002Faudit-skyrim\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"audit skyrim","audit","equip","geometry","se","load","shader","dimensions","type","game","multi","focus","dispatch","master","compatibility","2026-11-10 10:12:30",false,"---\ndescription: \"Per-game audit of Skyrim (SE + LE) compatibility — BSTriShape packed geometry, BSLightingShaderProperty shader-type dispatch, NPC equip\u002FFaceGen, multi-master load order\"\nargument-hint: \"--focus \u003Cdimensions>\"\n---\n\n# Skyrim Compatibility Audit (SE + LE)\n\nDeep audit of ByroRedux readiness for **Skyrim Special Edition** (BSVER 100, BSA v105) and the **2011 Skyrim LE** (BSVER 83, BSA v104).\n\n**Architecture**: Orchestrator. Each dimension runs as a Task agent (max 3 concurrent).\n\nRead `.claude\u002Fcommands\u002F_audit-common.md` (layout, game data, dedup, finding format) and `.claude\u002Fcommands\u002F_audit-severity.md`. This file carries only Skyrim-specific context.\n\n**Scope**: Skyrim SE is the renderer **control bench** (Whiterun BanneredMare — cell load and rendering both work), so this is regression coverage plus Skyrim-specific risk, not readiness scoping. The skill owns *Skyrim's data through the shared mechanisms*; mechanism defects go to the owner: NIF block\u002Fdispatch parsing → `\u002Faudit-nif`; canonical material invariants → `\u002Faudit-nifal`; ESM walker \u002F FormID remap \u002F ESL \u002F `.STRINGS` → `\u002Faudit-esm` (Dim 3 + 6); BSA\u002Fhkx\u002Ffacegen reader discipline → `\u002Faudit-parsers`; `.btr`\u002F`.bto` distant LOD, VWD culling (#3307) and the `.btt` \u002F `.lst` tree-LOD family (#4913, closed — consumed by `byroredux\u002Fsrc\u002Fcell_loader\u002Ftree_lod.rs`, a9384f9c0; a bespoke non-NIF format, pinned by `tree_lod_corpus_parses_and_resolves_every_species`), plus the baked `.btr` ground-albedo join (`terrain_lod_albedo_gain` — Skyrim 0.36, calibrated on 24 valley boxes in 08424bf29 after 0.5 in 3816518cb; FNV and FO4 1.0 measured, Oblivion \u002F FO76 \u002F Starfield 1.0 unmeasured) → `\u002Faudit-exterior`; Scaleform AVM1 HUD + `GameDelegate` catalog (`SKYRIM_SKYUI_METHODS`, 142 entries, all `Measured` since 3df616c12 — #5274; `skyrim_catalog_is_fully_measured` pins 142\u002F0) → `\u002Faudit-ui`; NPC spawn \u002F AI-package \u002F loot gameplay → `\u002Faudit-gameplay`; ragdoll \u002F rapier stepping, Skyrim LAND colliders' ground-texture Havok material (`MATT` `MNAM` → BSCRC32 → `SkyrimHavokMaterial`, 4ce5ddf2a, part of #6048 which stays open) and the missing-collision fallback — `BSEffectShaderProperty` VFX sheets never synthesize a fixed collider, 1efe39722, `render_geometry_can_collide` in `byroredux\u002Fsrc\u002Fcell_loader\u002Fspawn.rs` (Riverwood `FXrapidsBig01` wedged the capsule) → `\u002Faudit-physics` (the live Skyrim SE corpse-rig broad-phase panic, #5488, fixed by the rapier 0.36 bump ac81a09f9 + the one-step quarantine cooldown 52de1bc0a); exterior grade → `\u002Faudit-renderer` Dim 11 (a Skyrim exterior crushed ~60% to exact black was the pre-exposure contrast pivot, fixed 3bcf6c8e8 #5482 with a `tonemap::grade_contrast` mirror — not distant LOD water, as that report first concluded); runtime baseline (`.claude\u002Faudit-baselines\u002Fruntime\u002Fskyrim_se-WhiterunDragonsreach.tsv`) → `\u002Faudit-runtime`. Skyrim-hosted gameplay gates with their own owners: Story Manager dispatch (#5366, closed — Phases 1–4 live; SNAM previous-sibling walk 846e4a6dd #5385, decline on uncatalogued condition functions 395d2d831 #5380; `docs\u002Fsmoke-tests\u002Fsm1-story-manager.sh`), the `ForceGreet` procedure-tree dialect (#5367, closed; landed 287214103, `docs\u002Fsmoke-tests\u002Fdt2-skyrim-forcegreet.sh`) and the LSCR model loading cover (`byroredux\u002Fsrc\u002Fsystems\u002Floading_model.rs`, `docs\u002Fsmoke-tests\u002Fp6-loading-model.sh`; turntable runs on a cover-owned wall clock, #5306) and essential-actor bleedout (`docs\u002Fsmoke-tests\u002Fm47-2-bleedout.sh`) → `\u002Faudit-gameplay` \u002F `\u002Faudit-scripting`; Skyrim+ ambient package procedure tree (`byroredux\u002Fsrc\u002Fnpc_spawn\u002Fai_package\u002Ftree.rs` — fail-closed leaf conditions, undriven leaves named by `pack.ambient`, 88c239b35, #6660 open) and package schedules (weekday origin resolved once at load per edition — Skyrim Morndas on the LE launch master, Sundas on SE\u002FAE — and PSDT month, 02909f1ee, #6658) → `\u002Faudit-gameplay`; Skyrim `.fuz` dialogue voice (RIFF\u002FXWMA = WMA v2, not XMA; acd577a79, #5912) and REGN background music (`MUSC`\u002F`MUST` decode + `RDMO` → track resolution, 03f9d2158 — all 28 vanilla `RDMO` resolve, but every track is authored `.wav` while `Skyrim - Sounds.bsa` ships `.xwm` — `xwma_sibling` swaps the extension and `is_xwma_path` makes the streaming loader name the missing decoder instead of playing; #3816 still open) → `\u002Faudit-audio`.\n\nLive numbers (parse rate, bench FPS\u002Fentities) come from a fresh harness run or ROADMAP's compat matrix \u002F Bench-of-record — never transcribe them here.\n\n## Game Context\n\n| Aspect | State |\n|---|---|\n| NIF | v20.2.0.7; SE BSVER 100 (`BSTriShape` packed geometry), LE BSVER 83 (classic `NiTriShape` under Skyrim's shader + skin blocks — the SE gate does not exercise this path) |\n| Archives | SE BSA v105 = LZ4 **frame** (`lz4_flex::frame::FrameDecoder`, `crates\u002Fbsa\u002Fsrc\u002Farchive\u002Fextract.rs`) — NOT `lz4_flex::block` (BA2\u002FStarfield's codec). LE BSA v104 = zlib. Guard: `synthetic_v105_block_codec_payload_is_rejected_by_frame_reader` (`crates\u002Fbsa\u002Fsrc\u002Farchive\u002Ftests.rs`, #1558) |\n| Releases | LE is selected by the files on disk, not a flag: `[[profiles.skyrim_se.releases]]` in `assets\u002Fdebug_profiles.toml` → `GameProfileEntry::for_data_dir` (`crates\u002Fcore\u002Fsrc\u002Fecs\u002Fgame_profiles.rs`); unnumbered `Skyrim - Meshes.bsa` \u002F `Textures.bsa` |\n| ESM | Unified `esm\u002F` walker; SE `Skyrim.esm` form v44 \u002F HEDR 1.71, LE form v40 \u002F HEDR 0.94 |\n| Data | SE `\u002Fmnt\u002Fdata\u002FSteamLibrary\u002Fsteamapps\u002Fcommon\u002FSkyrim Special Edition\u002FData\u002F`; LE in the Wine prefix (`BYROREDUX_SKYRIMLE_DATA`, see `_audit-common.md`) |\n\n## Parameters \u002F Setup\n\n`--focus \u003Cdimensions>` (default all 5). Setup: parse `$ARGUMENTS`; `mkdir -p \u002Ftmp\u002Faudit\u002Fskyrim`; `gh issue list --repo matiaszanolli\u002FByroRedux --limit 200 --json number,title,state,labels > \u002Ftmp\u002Faudit\u002Fissues.json`; confirm the Data dir exists, else note which dimensions lose real-data validation.\n\n## Dimensions (ordered by risk, highest first)\n\n### Dimension 1: BSTriShape Packed Geometry + SSE Skinned Reconstruction\n**Subagent**: `legacy-specialist`\n**Paths**: `crates\u002Fnif\u002Fsrc\u002Fblocks\u002Ftri_shape\u002Fbs_tri_shape.rs`, `crates\u002Fnif\u002Fsrc\u002Fimport\u002Fmesh\u002F{bs_tri_shape,sse_recon,skin,tangent}.rs`, `crates\u002Fnif\u002Fsrc\u002Fblocks\u002Fmod.rs` (dispatch)\n**First step**: `git log --since=\u003Clast report> --format='%h %cs %s' -- crates\u002Fnif\u002Fsrc\u002Fimport\u002Fmesh crates\u002Fnif\u002Fsrc\u002Fblocks\u002Ftri_shape`\n**Guards**: `sse_skin_geometry_reconstruction_tests.rs`, `bs_tri_shape_partition_remap_tests.rs`, `tangent_convention_tests.rs`, `alpha_flag_tests.rs`; `bs_lod_tri_shape_skyrim_consumes_ni_tri_shape_body_plus_3u32_trailer` (`crates\u002Fnif\u002Fsrc\u002Fblocks\u002Ftri_shape_skin_vertex_tests.rs`, #838). Real-data (`#[ignore]`d — run explicitly): `sse_skin_index_space_tests.rs::packed_sse_indices_match_partition_palette_expansion_on_real_data`.\n**Checklist** (what the guards cannot see):\n- **Packed bone indices are already global** — `widen_packed_bone_indices` (`skin.rs`) widens the `BSTriShape` \u002F SSE global-buffer `[u8; 4]` channel with **no** partition-palette remap; only `NiSkinPartition`'s separate `bone_indices` is partition-local. The old #613\u002F#2577 remap corrupted 4,893 of 11,669 weighted lanes on SSE Draugr\u002Fbody\u002Fhands — re-introducing it (or any second remap) is the regression; a finding proposing it is a false premise. The indices are also **bounded**: any lane ≥ the skin's own bone count (inline arrays, SSE global buffer, classic `NiSkinData`) declines the whole weight set to bind pose via `decline_unbounded_packed_indices` — never clamps (cf9dec258, #5389; the warn is arm-neutral and the FO4 `BsSkinInstance` arm is boundary-tested too, 656e2bdc3 #5524; pinned by `bs_tri_shape_skin_with_out_of_range_bone_index_declines` \u002F `bs_tri_shape_skin_last_bone_index_is_in_range`).\n- **SSE reconstruction** (`try_reconstruct_sse_geometry`, empty-inline `BSTriShape` + populated `NiSkinPartition` global buffer, #559\u002F#638): positions\u002Fnormals Z-up→Y-up converted; partition triangles are global-buffer indices (concatenate directly, ignore `vertex_map`); the on-disk \"bitangent\" triplet is routed as the Y-up tangent (∂P\u002F∂U) so bodies do not read magenta\u002Fchrome. `BSDynamicTriShape` (facegen heads) has `VF_VERTEX` clear on every real block — positions come from external data.\n- **`BSLODTriShape` ≠ `BSMeshLODTriShape`** — `BSLODTriShape` inherits `NiTriBasedGeom` and routes to `NiLodTriShape::parse`; `BSMeshLODTriShape` (FO4) inherits `BSTriShape`. Folding the former into `BsTriShape` over-reads every Skyrim tree LOD (#838). `BSSubIndexTriShape` (segments, Arc-shared) and the four `BsTriShapeKind` variants must not be confused.\n- **Alpha-property cascade** — gated on `alpha_property_consumed`; skinned geometry inherits the parent `NiAlphaProperty` exactly once.\n- Specialty blocks: `BsLagBoneController` \u002F `BsProceduralLightningController` have dedicated parsers (without them a by-design `block_size` WARN burst fires per mesh sweep); `BSTreeNode` wind bones; `BSPackedCombined[Shared]GeomDataExtra` distant batches; `BSFadeNode` \u002F `BSBlastNode` \u002F `BSMultiBoundNode` unwrapped by the import walker.\n**Output**: `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_1.md`\n\n### Dimension 2: Shader-Type Dispatch + Skyrim Material Slice (NIFAL)\n**Subagent**: `renderer-specialist`\n**Paths**: `crates\u002Fnif\u002Fsrc\u002Fblocks\u002Fshader\u002F{lighting,effect}.rs`, `crates\u002Fnif\u002Fsrc\u002Fblocks\u002Fshader_tests\u002Fskyrim.rs`, `crates\u002Fnif\u002Fsrc\u002Fimport\u002Fmaterial\u002F{mod,dedicated_shader,shader_data}.rs`, `byroredux\u002Fsrc\u002Fmaterial_translate.rs`, `crates\u002Frenderer\u002Fshaders\u002Finclude\u002Fpbr.glsl`\n**First step**: `git log --since=\u003Clast report> --format='%h %cs %s' -- crates\u002Fnif\u002Fsrc\u002Fblocks\u002Fshader crates\u002Fnif\u002Fsrc\u002Fimport\u002Fmaterial byroredux\u002Fsrc\u002Fmaterial_translate.rs`\n**Guards**: `shader_tests\u002Fskyrim.rs` (one wire-level test per trailing-data type + `parse_bs_lighting_remaining_no_trailing_shader_types_consume_nothing_extra`, #4252); `lighting_shader_pbr_tests.rs`, `emissive_source_tests.rs`, `shader_type_data_tests.rs` (`crates\u002Fnif\u002Fsrc\u002Fimport\u002Fmaterial\u002F`). Single-boundary \u002F resolve-once invariants are `\u002Faudit-nifal`.\n**Checklist**:\n- `parse_shader_type_data` dispatches numeric types 1\u002F5\u002F6\u002F7\u002F11\u002F14\u002F16 to `EnvironmentMap` \u002F `SkinTint` \u002F `HairTint` \u002F `ParallaxOcc` \u002F `MultiLayerParallax` \u002F `SparkleSnow` \u002F `EyeEnvmap`; every other type (0\u002F2\u002F3\u002F4\u002F8–10\u002F12\u002F13\u002F15\u002F17–20) reads no trailing data — confirm none over-reads. FO76 (`BSShaderType155`, `parse_shader_type_data_fo76`) uses different numbering (4 = `Fo76SkinTint` Color4, 5 = HairTint) — the two enums must not cross-contaminate; the FO4 arm (`parse_shader_type_data_fo4`) adds fields only at BSVER 130–139 for types 1\u002F5 and delegates every other type to the Skyrim function (b99db0f11, #5737) — a field-order fix lands once, and a divergent re-typed FO4 copy is this arm regressing.\n- **Shaded, was packed-only** (fixed in b4d073454, #5961): type 16 (`EyeEnvmap`) shades via the iris-centred authored-cubemap branch in `triangle.frag` — the cubemap rides the pre-existing per-material `envMapIndex` binding (the old \"per-instance cubemap binding missing\" note was stale; Skyrim slot 4 → Environment role → `envMapIndex`, #4428-era slot routing), the reflection vector derives from `eyeLeftCenter`\u002F`eyeRightCenter` and `eyeCubemapScale` scales it. The two centres cross NIFAL Y-up: `apply_shader_type_data` runs them through `zup_to_yup_pos` once at the import boundary (52e48bd4c, #6214 — pre-fix the authored Z-up point met the Y-up instance matrix and `eyesmale.nif`'s left centre `(-2.397, 7.572, 3.750)` landed ~11.9 units off on the far side of the head, degenerating the reflection to a near-constant direction; pinned by `shader_type_data_tests.rs`). Type 11 (`MultiLayerParallax`) `refraction_scale` drives the inner layer's view-dependent UV offset. Verified by reading `triangle.frag` for both reads (search `isEyeEnvmap`, `MLP_REFRACTION_UV_PER_UNIT`); the pack gate is `pack_eye_fields` in `static_meshes.rs`.\n- Skyrim flag-bit positions differ from FO4; verify the Skyrim decode of decal \u002F alpha-test \u002F skinned \u002F glow \u002F facegen bits. SLSF2 bit 21 is `Anisotropic_Lighting` on Skyrim and FO4 (`Cloud_LOD` is the separate bit 20) and `Alpha_Decal` only on FO3\u002FFNV — a Skyrim finding that reads bit 21 as a decal or `Cloud_LOD` flag is stale (974d00657, #6514). `BSEffectShaderProperty`: soft-falloff depth, greyscale texture, lighting influence, env-map min LOD, falloff angle\u002Fopacity.\n- **Unauthored fields stay unauthored** — Skyrim's `BSEffectShaderProperty` has no `env_map_scale` wire field, so import must not write one (#4393: #4250's fabricated 1.0 flipped every inline Skyrim effect shader into the \"authored environment mapping\" PBR arm); the `env_map_scale_consumed` latch must be set by the Skyrim+ dedicated writers (#4251).\n- **PBR lobe unreachable for vanilla** — the Disney lobe is gated on `MAT_FLAG_PBR_BSDF`; vanilla Skyrim materials never author BGSM, so vanilla parse runs must set 0 instances (modded BGSM opting into PBR is the one legitimate path).\n- **`EmissiveSource`** — Skyrim `BSLightingShaderProperty.emissive_multiple` maps to `Lighting`, not `Effect` (#1280).\n- **Detail \u002F tint inputs** — vanilla Skyrim's blank detail map and alpha-less BC1 `_sk.dds` skin tint used to darken every NPC face (#4422 `detail_neutral`, #4423 `TINT_ALPHA_WEIGHT_BIT`, GpuMaterial 432 B). A Skyrim NPC rendering near-black skin is these arms regressing. Also fixed and guarded: the `_msn` texel takes the source→renderer basis flip before the posed rotation (#3922, `material_tests.rs::msn_basis_pin`); Environment Map (kind 1) glass classifies as glass — the authored-dispatch guard in `helpers.rs` is `2..=20` (#4392, `environment_map_alchemy_glass_classifies_as_glass`).\n- #1241 PBR scalars (`refraction_strength`, `lighting_effect_1\u002F2` for BSVER \u003C FO4) flow `MaterialInfo` → `ImportedMesh.material`.\n- **Authored shader type crosses NIFAL** — regression guard: fixed in 2266f7778 (#4256), `translate_material` copies `ImportedMaterial.shader_type` into `Material::source_shader_type` before the glass classifier can reassign `material_kind` (a kind-1 pane → `MATERIAL_KIND_GLASS`); pinned by `source_shader_type_survives_the_glass_reassignment_of_material_kind`. The cell-loader overlay's `TextureSlotContext` read of the imported tier runs before translate by design — not a boundary leak.\n**Output**: `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_2.md`\n\n### Dimension 3: NPC Equip + FaceGen (M41)\n**Subagent**: `general-purpose`, `model: \"sonnet\"` (`\"haiku\"` when unchanged since D, `_audit-common.md` rule 5)\n**Paths**: `byroredux\u002Fsrc\u002Fnpc_spawn\u002F` (hub `mod.rs` + `stamps` \u002F `fallback_physics` \u002F `skeleton_paths` \u002F `anim_clips` \u002F `equip` \u002F `loot_appearance` \u002F `resumable\u002F`, split from one file in 613c7f46e #6357; `tests.rs` scans the concatenated production files), `crates\u002Fplugin\u002Fsrc\u002Fequip.rs`, `crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002F{items.rs,misc\u002Fequipment.rs,actor\u002Fnpc.rs}` (ARMO \u002F ARMA `BODT`\u002F`BOD2`, `NPC_.WNAM`), `byroredux\u002Fsrc\u002Fscene\u002Fnif_loader.rs` (`select_facegen_diffuse`), `crates\u002Ffacegen\u002Fsrc\u002F`, `byroredux\u002Fsrc\u002Frender\u002Fskinned.rs`\n**First step**: `git log --since=\u003Clast report> --format='%h %cs %s' -- byroredux\u002Fsrc\u002Fnpc_spawn crates\u002Fplugin\u002Fsrc\u002Fequip.rs crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Fitems.rs crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Fmisc\u002Fequipment.rs crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Factor\u002Fnpc.rs`\n**Guards**: `docs\u002Fsmoke-tests\u002Fm41-equip.sh skyrim` — hard equip floor 5 on WhiterunBanneredMare (`Inventory` + a *named* `EquipmentSlots` on saadia, brenuin, mikael, sinmir, hulda; amaundmotierreend is authored Initially Disabled and withheld since #4813, and the unnamed player body also carries `EquipmentSlots`, so the floor counts named entities only, f4862a87e #5962); `crates\u002Fplugin\u002Fsrc\u002Fequip_template_tests.rs` (#4086); `npc_spawn\u002Ftests.rs`; `skyrim_armo_reads_bodt_body_template` \u002F `parse_arma_reads_bodt_biped_flags` (#5358); `prebaked_npc_wnam_skin_overrides_the_race_default_and_follows_the_traits_terminal` (#5359). Real-data (`#[ignore]`d): `skyrim_bodt_body_templates_decode_their_biped_masks` (`crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Ftests.rs`), `skyrim_npc_wnam_skin_census_matches_the_byte_walk` (`crates\u002Fplugin\u002Ftests\u002Fparse_real_esm.rs`).\n**Checklist**:\n- **Body-template masks** — Skyrim authors the biped mask as `BOD2` *or* the pre-`BOD2` `BODT` (u32 mask + u8 general flags + pad, armor type only in the 12-byte form); both ARMO and ARMA decode either (479414ffe, #5358). Every `Skyrim.esm` ARMA (766) and 10 ARMOs (creature skins, Draugr hairs\u002Fbeards) author `BODT`; pre-fix they read `biped_flags == 0`, so `reconcile_worn_gear` stamped Draugr hair\u002Fbeard `NpcAppearanceHidden` on every cell return and load. The #3411 covered-bits gate in `resolve_armor_meshes` is therefore **live** on Skyrim (80 redundant same-slot addons across 75 ARMOs, mostly `KhajiitRaceVampire` circlets) — a finding premised on \"Skyrim ARMA has no biped field \u002F the gate is a no-op here\" is stale; `SkinNaked`'s complementary addons (#3357) still resolve whole.\n- **Armor chain** — `resolve_armor_mesh` (`resolve_armor_meshes` on the multi-addon path) walks ARMO → ARMA → worn mesh; a Skyrim ARMA with `MOD2` but no `MOD3` (172 of `Skyrim.esm`'s 766 addons — shields, closed helms, Stormcloak boots) draws its male biped model on a female wearer, per the CK rule (d678dc578, #5510 — regression guard: `skyrim_female_wearer_falls_back_to_the_male_biped_model`); gated on `GameKind::Skyrim`, FO4+ keeps the strict reading since no rule is sourced there. Pre-fix those pieces vanished on females while their occupancy still hid the skin partitions beneath (footless female Stormcloaks); `humanoid_body_paths` returns `&[]` for Skyrim+ (the `upperbody.nif` pre-scan is Oblivion\u002FFO3\u002FFNV only). Body coverage: the intrinsic skin equips first as the lowest-priority layer (#2093) — the per-NPC `NPC_.WNAM` skin read off the `ResolvedNpc` Use-Traits terminal, else the race default `RACE.WNAM` (edb5fbdfe, #5359: 664 vanilla records author it — Alduin, Draugr variant skins, Falmer, horses; pre-fix 442 actors wore the race default) — then a post-loop occupancy filter drops any queued mesh — including the skin's — whose slot a higher-priority OTFT\u002FCNTO entry displaced (#2094). Gendered RACE skeleton paths are stored separately from body models. A *placed* ARMO reference draws the world model `MOD2`, not the worn mesh: on Skyrim `MODL` is an ARMA FormID, so pre-fix placed armor had no model and was invisible (1,683 SE interior references across 200 bases), and on FO3\u002FFNV it stood in bind pose with its gore caps (846c36bf0, #6691; `model_of` tests in `crates\u002Fplugin\u002Fsrc\u002Fesm\u002Fcell\u002Fsupport.rs`, `a_formid_modl_armor_takes_its_world_model`); the worn mesh stays on the typed item the equip path reads. LVLI flattening (`expand_leveled_form_id`) is level-gated: single-pick (highest eligible) vs multi-pick; pre-fix, LVLI outfits spawned gearless.\n- **Template chain (#4086)** — absent TPLT fields resolve down the whole chain (`resolve_inherited_*` \u002F `walk_inherited_records`), not across its two ends; nested actor lists feed every inherited category, level-gate tie-order preserved, cycles share one budget and retain the shell. Spawn reads the chain through `ResolvedNpc` (#4457); a terminal `level()` of 0 backfills from the authored entry level of the deepest LVLN\u002FLVLI pick the Use-Stats walk went through (4fbff2c6c, #4232 — every vanilla LVLI entry is ≥ 1, so pre-fix a level-0 `NPC_` behind an LVLN pick expanded no gear; `level_zero_terminal_takes_the_lvln_pick_entry_level`); a templated NPC's outfit (DOFT) and leveled-expansion level come from its TPLT terminals, not the placed record (#4812, `prebaked_equip_state_reads_outfit_and_level_from_tplt_terminals`). Of the `template_flags` bits only `0x0200` Script and `0x0400` Def Pack List still lack a `ResolvedNpc` terminal (Actor Effects, AI Data, Model\u002FAnimation and Base Data gained theirs; Script's real consumer is the M47 VMAD attach path, not the TPLT walk — eae8fd740, #4137 still open), and Skyrim's `0x0800` Use Attack Data names an `ATKD` block the parser does not read at all. Skyrim's `0x1000` Use Keywords has a `ResolvedNpc::keywords` terminal \u002F `keywords_terminal()` (`TEMPLATE_FLAG_USE_KEYWORDS`; Skyrim.esm sets it on 768 `NPC_`, 716 authoring no `KWDA`), which the `HasKeyword` `KeywordTable` reads — race included — instead of the placed shell (26850aa5f, #6515; `a_use_keywords_shell_takes_the_leveled_picks_keywords`) — a finding that one of the other bits is parsed-but-unconsumed is stale.\n- **FaceGen is pre-baked on Skyrim** — heads come from `meshes\\actors\\character\\facegendata\\facegeom\\\u003Cplugin>\\\u003Cformid>.nif` (`BSDynamicTriShape`) plus the per-NPC `facetint` DDS; there is no runtime EGM\u002FEGT morph on this path (the `crates\u002Ffacegen` EGM evaluator serves the runtime-recipe games; `.egt`\u002F`.tri` have no consumer at all). The tint override applies **only to the FaceTint (kind 4) head mesh** (#4421) — Skyrim's kind-5 shapes are overlays with their own textures (gashes, Argonian hair, Orc tusks); keying on SkinTint replaces them with atlas fragments.\n- **Prebaked-FaceGen miss** — vanilla Skyrim ships no facegeom for the player record, so the miss is the player's normal path. Regression guard: fixed in 8c925ec54 (#5095), the miss routes through `PrebakedPhase::HeadParts` (each root stamped `HeadPartRoot`); since 2a8663f39 (#5408) `prebaked_head_fallback_paths` assembles the race's per-gender base head parts (`RACE` Head Data `HEAD` → `RaceRecord::base_head_parts`), each part type the NPC's own `PNAM` authors replacing the race's, then `HDPT.HNAM` extra parts depth-first with a cycle guard — pre-fix only `PNAM` loaded and the vanilla player (one authored hair) got a hair shell with no face. Pinned by `missing_prebaked_facegen_falls_back_to_authored_head_parts` \u002F `prebaked_head_fallback_merges_race_base_parts_with_the_npcs_own` \u002F `skyrim_race_base_head_parts_decode_per_gender` and `docs\u002Fsmoke-tests\u002Fp3-player-body.sh` (requires `face_parts > 0` on the player root). A faceless player head is this arm regressing. Both sidecar file names use the **plugin-local** id (`plugin_local_object_id`: slot bits stripped, regular 24 \u002F light 12 \u002F medium 16 bit) — DLC \u002F Creation Club archives ship `dawnguard.esm\\00002b6c.nif` with a zero top byte, so the load-order-global id missed every non-slot-0 NPC's baked head (4d33e0365, #6096); the `facetint` probe is Skyrim-only via `prebaked_tint_path_for` (FO4 \u002F Starfield ship none, #6099). The facegeom path, `facetint` path, PNAM list and plugin segment all come from the **Use-Traits terminal**, not the placed shell (1dfac76f6, #6113 — the CK bakes facegeom for the record owning the face; 2,051 of 2,053 `Skyrim.esm` Use-Traits shells ship none, so pre-fix ~40% of NPC bases — LVLN bandits, guards, soldiers — wore the race-base fallback head); pinned by `prebaked_face_inputs_come_from_the_use_traits_terminal`, which also source-scans `prepare_prebaked_state` for shell `form_id` \u002F `face_morphs` reads. One race-generic face across a cell's templated NPCs is this arm regressing.\n- **Sex and voice type are Use-Traits-terminal reads too** — the dialogue voice key (VTCK + Female bit), `ActorBaseTraits` behind `GetIsSex` \u002F `GetSex` \u002F `GetVoiceType`, and the gendered animation subgraph resolve through `equip::traits_terminal`, not the placed shell (b76a74e45, #6228 — 1,133 Skyrim shells author no VTCK at all); `GetActorBase().GetSex()` stays the shell's, `GetLeveledActorBase()` returns the terminal; pinned by `resolve_inherited_call_sites_are_enumerated_and_pinned` (`byroredux\u002Fsrc\u002Fnpc_spawn\u002Ftests.rs`), which source-scans `dialogue_voice.rs` \u002F `actor_base_traits.rs` \u002F `anim_subgraph.rs` \u002F `keywords.rs` for `traits_terminal(`.\n- `BSDismemberSkinInstance` partition data routes into the skinning pipeline. NPC pool composition (#4454) and the rest of spawn\u002FAI belongs to `\u002Faudit-gameplay`.\n**Output**: `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_3.md`\n\n### Dimension 4: Multi-Master Load Order + TES5 Cell-Load Regression\n**Scope split**: `\u002Faudit-esm` owns FormID remap, ESL `0xFE` space, tombstones and `.STRINGS`; this dimension owns Skyrim's data through them (record counts, DLC authoring, this title's masters).\n**Subagent**: `general-purpose`, `model: \"sonnet\"` (`\"haiku\"` when unchanged since D, `_audit-common.md` rule 5)\n**Paths**: `byroredux\u002Fsrc\u002Fcell_loader\u002Fload_order.rs`, `crates\u002Fplugin\u002Fsrc\u002Fesm\u002F{reader,cell\u002F}`, `crates\u002Fplugin\u002Fsrc\u002Fesm\u002Fcell\u002Ftests\u002Fintegration.rs`\n**First step**: `git log --since=\u003Clast report> --format='%h %cs %s' -- byroredux\u002Fsrc\u002Fcell_loader\u002Fload_order.rs crates\u002Fplugin\u002Fsrc\u002Fesm\u002Freader.rs crates\u002Fplugin\u002Fsrc\u002Fesm\u002Fcell`\n**Guards**: `parse_real_skyrim_esm` (`#[ignore]`d; walks `Skyrim.esm`, finds `SolitudeWinkingSkeever`, 92-byte XCLL); ESL \u002F tombstone \u002F strings tests live under `\u002Faudit-esm`.\n**Checklist**:\n- **DLC repro** (engine launch — not while another instance runs): `cargo run -- --master Skyrim.esm --master Update.esm --esm Dawnguard.esm --cell Forelhost01 …` (Dawnguard's real MAST list is `[Skyrim.esm, Update.esm]`; a single `--master` 404s the second, #2583). Confirm cross-plugin REFRs land under merged global FormIDs, last-write-wins, unresolved REFRs name the missing plugin, DLC-owned names\u002Fdialogue resolve (not raw string IDs), and a DLC-deleted base REFR does not over-render. Override folds (mechanism → `\u002Faudit-esm`): a REFR an override re-authors under another CELL leaves one copy, not two (765e387a0, #6084 — 22 vanilla SE placements; `a_refr_moved_into_another_cell_leaves_one_copy`), and a CELL override's omitted sub-records stay omitted — only child records inherit from the base (2fa227d72, #6086 — `Update.esm` drops `XCWT` from 39 Skyrim cells; `cell_record_fields_come_from_the_winning_override`).\n- **Parallel walk, ordered fold (#3813)** — plugins parse on the rayon pool but `merge_from` folds in load order; last-write-wins must follow fold order, never completion order. Guard: `load_order_parallel_tests.rs::parallel_walk_matches_the_inline_walk_on_a_localized_master_chain`.\n- **DIAL quest ownership** — Skyrim authors the quest→topic link as DIAL `QNAM` (no `QSTI`); `parse_dial` feeds both into `quest_refs`. Empty `quest_refs` on Skyrim topics is this arm regressing (every NPC topic unowned). Only guard is the `#[ignore]`d real-data `ms01_eltrys_authored_placement` (`crates\u002Fplugin\u002Ftests\u002Fparse_real_esm.rs`). An override topic (`Update.esm`, DLC) folds its INFO children into the master's by FormID — not a whole-`DialRecord` replace (168b81322, #5375; pre-fix `Update.esm` emptied whole `Skyrim.esm` topics); guards `dialogue_override_folds_infos_into_the_master_topic` \u002F `dialogue_override_without_children_keeps_master_infos` (`crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Findex.rs`).\n- TES5 compressed-record groups decompress and interiors render; the minimum interior set parses (CELL, REFR, STAT, LIGH, WEAP, ARMO + Skyrim LAND heightmap scale, LTEX, TXST, ADDN); NAVM, HDPT, `BSBehaviorGraphExtraData` parse without error (out of scope to consume). `XRGD` corpse poses decode onto `PlacedRef::ragdoll_pose` (260afc33f; ids not unique, positions parent-relative) and a corpse is posed from them before its ragdoll activates (`byroredux\u002Fsrc\u002Fragdoll_pose.rs`; #5015 closed) only when its ragdoll's body-name set is one of the six verified `SKYRIM_POSABLE_RAGDOLLS` — humanoid (18b3d87a7), draugr, SkeletonS (19 bodies, jaw last), falmer, skeever, deer\u002Felk (dfbcf7e2c, #6068\u002F#6069) — and the entry count matches once the trailing-marker family is set aside (2139ae20e); 730 of 1,077 vanilla corpses posed. Spiders, goat, horse, wolf\u002Fdog, centurion, chaurus, mudcrab, slaughterfish and cow stay refused by design (entry order\u002Fconvention not established, per `scripts\u002Fxrgd-skyrim-rigs.py`) and keep the ragdoll collapse — a refused unverified rig is not a finding, a verified rig refusing is. Pinned by `ragdoll_pose_tests.rs` (`the_verified_skyrim_creature_rigs_are_posed_by_order`, `a_skeleton_s_pose_without_the_jaw_or_with_an_extra_entry_is_refused`); FO4 rigs are #6065 (`\u002Faudit-fo4`).\n- **CELL `XCCM`** is a REGN ref (`CellData::sky_region`) on TES5 \u002F FO4 \u002F FO76 \u002F Starfield (ced3a2559, #6794), a CLMT (`climate_override`) only on TES4\u002FFO3\u002FFNV (3b28dca71, #5463; all 214 vanilla `Skyrim.esm` authors are interior REGN refs; a Show-Sky interior takes its weather from the region's own Weather table, c28057083, `byroredux\u002Fsrc\u002Fenv_translate\u002Fregion_weather.rs`) — a Skyrim finding that looks `XCCM` up in the CLMT map is stale.\n- **\"Use Land Data\" children (#6594, fixed in d548def7d)** — Skyrim joins Oblivion, FO3\u002FFNV and FO4 in `needs_exterior_processing` (`byroredux\u002Fsrc\u002Fcell_loader\u002Fload_order.rs`): the seven Tamriel children (Whiterun, Windhelm, Riften, Solitude, the Dragonsreach and Windhelm-pit worldspaces, Katariah) author 308 LAND-less cells whose parent has LAND at the same grid, and a gate door into Whiterun is the exterior the control bench never sees. Pinned by `skyrim_use_land_data_children_inherit_tamriels_landscape` (`crates\u002Fplugin\u002Ftests\u002Fparse_real_esm.rs`, ignored, real `Skyrim.esm`) and the gate test `use_land_data_children_inherit_on_the_measured_games_only`. The step runs on every shared parse (#6591, f9f3eb831 — the old *exterior_ready* flag and the *exterior* parse parameter are gone), so an interior-first session does not re-parse for it. Not yet confirmed visually on a Whiterun gate approach.\n- **Control bench** — Whiterun BanneredMare entity count + FPS vs ROADMAP's Bench-of-record. Skyrim ships real `bhk` collision, so entity count is flat across collider-gate changes; any entity drop, or an FPS drop at flat entities, is a regression.\n**Output**: `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_4.md`\n\n### Dimension 5: Archives + Corpus Gates\n**Subagent**: `general-purpose`, `model: \"sonnet\"` (`\"haiku\"` when unchanged since D, `_audit-common.md` rule 5)\n**Paths**: `crates\u002Fbsa\u002Fsrc\u002Farchive\u002F`, `crates\u002Fbsa\u002Fsrc\u002Fnaming.rs`, `byroredux\u002Fsrc\u002Fasset_provider\u002Farchive.rs`, `crates\u002Fnif\u002Ftests\u002F{parse_real_nifs,common\u002Fmod}.rs`, `crates\u002Fnif\u002Fsrc\u002Fcorpus.rs`\n**First step**: `BYROREDUX_SKYRIMSE_DATA=… cargo test -p byroredux-nif --test parse_real_nifs -- --ignored skyrim` (`parse_rate_skyrim_se`, `parse_rate_skyrim_le`)\n**Guards**: real-data tests resolve the install through `test_paths::skyrim_se_data_dir()` \u002F `require_or_skip` (`crates\u002Fplugin\u002Fsrc\u002Fesm\u002Ftest_paths.rs`, #6184) — a typo'd `BYROREDUX_SKYRIMSE_DATA` no longer skips silently and an absent install fails on the strict lane (`BYROREDUX_REQUIRE_GAME_DATA`); `numeric_sibling_paths` cases in `byroredux\u002Fsrc\u002Fasset_provider\u002Ftests\u002Farchive_siblings.rs` (`siblings_skyrim_zero_start_offers_1_through_9`).\n**Checklist**:\n- v105 header, hash table, folder-record size, embedded-name flag, compressed-flag priority (archive vs per-file — which wins on disagreement); `BsaArchive::extract` decides the empty-stream edge itself on the zlib and LZ4-frame arms (size header 0 + no stream → empty file, non-zero declared size + no stream → `InvalidData`; fa2af0e89, #5660\u002F#5073 — the flate2 1.1.10 `UnexpectedEof` break hit Oblivion\u002FFO3\u002FFNV placeholders, Skyrim shares the guard); verify a known-good mesh (sweetroll) and a full sweep of `Skyrim - Meshes0\u002F1.bsa` + `Textures0`–`8`. Real-data guards (`#[ignore]`d, `crates\u002Fbsa\u002Ftests\u002Fbsa_real.rs`, ce008af1c #5903): `fo3_fnv_and_skyrimse_bsa_corpus_census` pins SE at 23 archives \u002F 172,961 entries, every one extracted; `skyrimle_bsa_corpus_full_extract_zero_errors` extracts every LE entry (resolves through `data_dir` with the Wine-prefix fallback so it can no longer pass without running — 9 archives \u002F 132,755 entries; 90c36f4c5 #6517, pinned by `every_game_data_dir_helper_routes_through_data_dir`), `skyrimse_meshes_bsa_v105_brute_force_extract_zero_errors` sweeps `Meshes0`.\n- **Loose-file tier** — loose `Data\\` textures\u002Fmeshes\u002Fmaterials are a backend appended after every archive, so last-listed-wins puts them on top (48e422a71, #6200; `byroredux\u002Fsrc\u002Fasset_provider\u002Ftests\u002Floose_override.rs`); loose keys fold with the archive readers' Unicode fold (the one exported `byroredux_bsa::normalize_path`) and two files folding onto one key resolve deterministically, lexicographically-last path wins with a one-shot collision warn (f26eb657f, #6308, `loose_keys_fold_like_the_archives`); vanilla SE ships none, so no Skyrim baseline moved.\n- **Sibling auto-load** — a zero-based `Foo0.bsa` pulls `Foo1`..`Foo9`, so distant-LOD diffuse in `Textures7.bsa` and `.btr` in `Textures8.bsa` reach the loader; re-narrowing starves distant terrain (`\u002Faudit-exterior`) of textures. Those terrain-LOD diffuse atlases (all 9,326 X8R8G8B8), the tree-LOD atlases and the DLC1 cubemaps are uncompressed 32-bpp: `parse_dds` (`crates\u002Frenderer\u002Fsrc\u002Fvulkan\u002Fdds.rs`, mechanism → `\u002Faudit-renderer`) reads the four channel masks — exact BGRA zero-copies as B8G8R8A8, X8R8G8B8 CPU-expands with A=255 (cb6a5bf0b, #5378; pre-fix R\u002FB swapped and alpha came from the X byte). Guards: `parse_uncompressed_x8r8g8b8_expands_channels_and_forces_opaque`, `parse_uncompressed_a8r8g8b8_zero_copies_as_bgra`.\n- **Corpus gate** — SE sweeps the two base mesh archives plus the account-dependent Creation Club \u002F Anniversary set (`Game::optional_mesh_archives`, present-only, kept out of the count-keyed baseline); the corpus counts `.bto`\u002F`.btr` (`NIF_ENTRY_EXTENSIONS`) — filtering on `.nif` alone hid 10,662 distant-LOD files. Expected: 100% clean, 0 truncated \u002F recovered \u002F realignment WARNs; any WARN on a clean Skyrim corpus is a regression. Report the measured count (33,468 SE NIFs across 8 archives + 22,466 LE at 2026-09-29; ROADMAP \u002F `game-compatibility.md` refreshed to these in e034de59a, #5098); every corpus filter routes through `is_nif_entry` (#5259, source-scan guarded); LE has its own per-block baseline (`crates\u002Fnif\u002Ftests\u002Fdata\u002Fper_block_baselines\u002Fskyrim_le.tsv`).\n- Real-data render trace: one creature (dragon skeleton \u002F NPC head), one tree LOD, one `BSEffectShaderProperty` magic effect → `import_nif_scene` → `translate_material` → `render\u002Fstatic_meshes.rs` \u002F `render\u002Fskinned.rs`; verify mesh count, material extraction, texture handle resolution.\n**Output**: `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_5.md`\n\n## Phase 3: Merge\n\n1. Read `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_*.md`; combine into `docs\u002Faudits\u002FAUDIT_SKYRIM_\u003CTODAY>.md`:\n   - **Executive Summary** — control bench state; regression coverage vs Skyrim-specific geometry\u002Fshader\u002Fequip risk.\n   - **Dimension Findings** — grouped by severity per dimension.\n   - **Shader-Type Coverage Matrix** — numeric type → `ShaderTypeData` arm × parse-complete \u002F import-complete \u002F render-complete (note types that map to `None`).\n   - **Cell-Load Regression Status** — TES5 cells through the unified walker; Whiterun entity count + FPS vs ROADMAP.\n2. Remove cross-dimension duplicates.\n\nSuggest: `\u002Faudit-publish docs\u002Faudits\u002FAUDIT_SKYRIM_\u003CTODAY>.md`\n(label every finding `game:skyrim` + `legacy-compat`, plus its own domain label.)\n","# Skyrim Compatibility Audit (SE + LE)\n\nDeep audit of ByroRedux readiness for **Skyrim Special Edition** (BSVER 100, BSA v105) and the **2011 Skyrim LE** (BSVER 83, BSA v104).\n\n**Architecture**: Orchestrator. Each dimension runs as a Task agent (max 3 concurrent).\n\nRead `.claude\u002Fcommands\u002F_audit-common.md` (layout, game data, dedup, finding format) and `.claude\u002Fcommands\u002F_audit-severity.md`. This file carries only Skyrim-specific context.\n\n**Scope**: Skyrim SE is the renderer **control bench** (Whiterun BanneredMare — cell load and rendering both work), so this is regression coverage plus Skyrim-specific risk, not readiness scoping. The skill owns *Skyrim's data through the shared mechanisms*; mechanism defects go to the owner: NIF block\u002Fdispatch parsing → `\u002Faudit-nif`; canonical material invariants → `\u002Faudit-nifal`; ESM walker \u002F FormID remap \u002F ESL \u002F `.STRINGS` → `\u002Faudit-esm` (Dim 3 + 6); BSA\u002Fhkx\u002Ffacegen reader discipline → `\u002Faudit-parsers`; `.btr`\u002F`.bto` distant LOD, VWD culling (#3307) and the `.btt` \u002F `.lst` tree-LOD family (#4913, closed — consumed by `byroredux\u002Fsrc\u002Fcell_loader\u002Ftree_lod.rs`, a9384f9c0; a bespoke non-NIF format, pinned by `tree_lod_corpus_parses_and_resolves_every_species`), plus the baked `.btr` ground-albedo join (`terrain_lod_albedo_gain` — Skyrim 0.36, calibrated on 24 valley boxes in 08424bf29 after 0.5 in 3816518cb; FNV and FO4 1.0 measured, Oblivion \u002F FO76 \u002F Starfield 1.0 unmeasured) → `\u002Faudit-exterior`; Scaleform AVM1 HUD + `GameDelegate` catalog (`SKYRIM_SKYUI_METHODS`, 142 entries, all `Measured` since 3df616c12 — #5274; `skyrim_catalog_is_fully_measured` pins 142\u002F0) → `\u002Faudit-ui`; NPC spawn \u002F AI-package \u002F loot gameplay → `\u002Faudit-gameplay`; ragdoll \u002F rapier stepping, Skyrim LAND colliders' ground-texture Havok material (`MATT` `MNAM` → BSCRC32 → `SkyrimHavokMaterial`, 4ce5ddf2a, part of #6048 which stays open) and the missing-collision fallback — `BSEffectShaderProperty` VFX sheets never synthesize a fixed collider, 1efe39722, `render_geometry_can_collide` in `byroredux\u002Fsrc\u002Fcell_loader\u002Fspawn.rs` (Riverwood `FXrapidsBig01` wedged the capsule) → `\u002Faudit-physics` (the live Skyrim SE corpse-rig broad-phase panic, #5488, fixed by the rapier 0.36 bump ac81a09f9 + the one-step quarantine cooldown 52de1bc0a); exterior grade → `\u002Faudit-renderer` Dim 11 (a Skyrim exterior crushed ~60% to exact black was the pre-exposure contrast pivot, fixed 3bcf6c8e8 #5482 with a `tonemap::grade_contrast` mirror — not distant LOD water, as that report first concluded); runtime baseline (`.claude\u002Faudit-baselines\u002Fruntime\u002Fskyrim_se-WhiterunDragonsreach.tsv`) → `\u002Faudit-runtime`. Skyrim-hosted gameplay gates with their own owners: Story Manager dispatch (#5366, closed — Phases 1–4 live; SNAM previous-sibling walk 846e4a6dd #5385, decline on uncatalogued condition functions 395d2d831 #5380; `docs\u002Fsmoke-tests\u002Fsm1-story-manager.sh`), the `ForceGreet` procedure-tree dialect (#5367, closed; landed 287214103, `docs\u002Fsmoke-tests\u002Fdt2-skyrim-forcegreet.sh`) and the LSCR model loading cover (`byroredux\u002Fsrc\u002Fsystems\u002Floading_model.rs`, `docs\u002Fsmoke-tests\u002Fp6-loading-model.sh`; turntable runs on a cover-owned wall clock, #5306) and essential-actor bleedout (`docs\u002Fsmoke-tests\u002Fm47-2-bleedout.sh`) → `\u002Faudit-gameplay` \u002F `\u002Faudit-scripting`; Skyrim+ ambient package procedure tree (`byroredux\u002Fsrc\u002Fnpc_spawn\u002Fai_package\u002Ftree.rs` — fail-closed leaf conditions, undriven leaves named by `pack.ambient`, 88c239b35, #6660 open) and package schedules (weekday origin resolved once at load per edition — Skyrim Morndas on the LE launch master, Sundas on SE\u002FAE — and PSDT month, 02909f1ee, #6658) → `\u002Faudit-gameplay`; Skyrim `.fuz` dialogue voice (RIFF\u002FXWMA = WMA v2, not XMA; acd577a79, #5912) and REGN background music (`MUSC`\u002F`MUST` decode + `RDMO` → track resolution, 03f9d2158 — all 28 vanilla `RDMO` resolve, but every track is authored `.wav` while `Skyrim - Sounds.bsa` ships `.xwm` — `xwma_sibling` swaps the extension and `is_xwma_path` makes the streaming loader name the missing decoder instead of playing; #3816 still open) → `\u002Faudit-audio`.\n\nLive numbers (parse rate, bench FPS\u002Fentities) come from a fresh harness run or ROADMAP's compat matrix \u002F Bench-of-record — never transcribe them here.\n\n## Game Context\n\n| Aspect | State |\n|---|---|\n| NIF | v20.2.0.7; SE BSVER 100 (`BSTriShape` packed geometry), LE BSVER 83 (classic `NiTriShape` under Skyrim's shader + skin blocks — the SE gate does not exercise this path) |\n| Archives | SE BSA v105 = LZ4 **frame** (`lz4_flex::frame::FrameDecoder`, `crates\u002Fbsa\u002Fsrc\u002Farchive\u002Fextract.rs`) — NOT `lz4_flex::block` (BA2\u002FStarfield's codec). LE BSA v104 = zlib. Guard: `synthetic_v105_block_codec_payload_is_rejected_by_frame_reader` (`crates\u002Fbsa\u002Fsrc\u002Farchive\u002Ftests.rs`, #1558) |\n| Releases | LE is selected by the files on disk, not a flag: `[[profiles.skyrim_se.releases]]` in `assets\u002Fdebug_profiles.toml` → `GameProfileEntry::for_data_dir` (`crates\u002Fcore\u002Fsrc\u002Fecs\u002Fgame_profiles.rs`); unnumbered `Skyrim - Meshes.bsa` \u002F `Textures.bsa` |\n| ESM | Unified `esm\u002F` walker; SE `Skyrim.esm` form v44 \u002F HEDR 1.71, LE form v40 \u002F HEDR 0.94 |\n| Data | SE `\u002Fmnt\u002Fdata\u002FSteamLibrary\u002Fsteamapps\u002Fcommon\u002FSkyrim Special Edition\u002FData\u002F`; LE in the Wine prefix (`BYROREDUX_SKYRIMLE_DATA`, see `_audit-common.md`) |\n\n## Parameters \u002F Setup\n\n`--focus \u003Cdimensions>` (default all 5). Setup: parse `$ARGUMENTS`; `mkdir -p \u002Ftmp\u002Faudit\u002Fskyrim`; `gh issue list --repo matiaszanolli\u002FByroRedux --limit 200 --json number,title,state,labels > \u002Ftmp\u002Faudit\u002Fissues.json`; confirm the Data dir exists, else note which dimensions lose real-data validation.\n\n## Dimensions (ordered by risk, highest first)\n\n### Dimension 1: BSTriShape Packed Geometry + SSE Skinned Reconstruction\n**Subagent**: `legacy-specialist`\n**Paths**: `crates\u002Fnif\u002Fsrc\u002Fblocks\u002Ftri_shape\u002Fbs_tri_shape.rs`, `crates\u002Fnif\u002Fsrc\u002Fimport\u002Fmesh\u002F{bs_tri_shape,sse_recon,skin,tangent}.rs`, `crates\u002Fnif\u002Fsrc\u002Fblocks\u002Fmod.rs` (dispatch)\n**First step**: `git log --since=\u003Clast report> --format='%h %cs %s' -- crates\u002Fnif\u002Fsrc\u002Fimport\u002Fmesh crates\u002Fnif\u002Fsrc\u002Fblocks\u002Ftri_shape`\n**Guards**: `sse_skin_geometry_reconstruction_tests.rs`, `bs_tri_shape_partition_remap_tests.rs`, `tangent_convention_tests.rs`, `alpha_flag_tests.rs`; `bs_lod_tri_shape_skyrim_consumes_ni_tri_shape_body_plus_3u32_trailer` (`crates\u002Fnif\u002Fsrc\u002Fblocks\u002Ftri_shape_skin_vertex_tests.rs`, #838). Real-data (`#[ignore]`d — run explicitly): `sse_skin_index_space_tests.rs::packed_sse_indices_match_partition_palette_expansion_on_real_data`.\n**Checklist** (what the guards cannot see):\n- **Packed bone indices are already global** — `widen_packed_bone_indices` (`skin.rs`) widens the `BSTriShape` \u002F SSE global-buffer `[u8; 4]` channel with **no** partition-palette remap; only `NiSkinPartition`'s separate `bone_indices` is partition-local. The old #613\u002F#2577 remap corrupted 4,893 of 11,669 weighted lanes on SSE Draugr\u002Fbody\u002Fhands — re-introducing it (or any second remap) is the regression; a finding proposing it is a false premise. The indices are also **bounded**: any lane ≥ the skin's own bone count (inline arrays, SSE global buffer, classic `NiSkinData`) declines the whole weight set to bind pose via `decline_unbounded_packed_indices` — never clamps (cf9dec258, #5389; the warn is arm-neutral and the FO4 `BsSkinInstance` arm is boundary-tested too, 656e2bdc3 #5524; pinned by `bs_tri_shape_skin_with_out_of_range_bone_index_declines` \u002F `bs_tri_shape_skin_last_bone_index_is_in_range`).\n- **SSE reconstruction** (`try_reconstruct_sse_geometry`, empty-inline `BSTriShape` + populated `NiSkinPartition` global buffer, #559\u002F#638): positions\u002Fnormals Z-up→Y-up converted; partition triangles are global-buffer indices (concatenate directly, ignore `vertex_map`); the on-disk \"bitangent\" triplet is routed as the Y-up tangent (∂P\u002F∂U) so bodies do not read magenta\u002Fchrome. `BSDynamicTriShape` (facegen heads) has `VF_VERTEX` clear on every real block — positions come from external data.\n- **`BSLODTriShape` ≠ `BSMeshLODTriShape`** — `BSLODTriShape` inherits `NiTriBasedGeom` and routes to `NiLodTriShape::parse`; `BSMeshLODTriShape` (FO4) inherits `BSTriShape`. Folding the former into `BsTriShape` over-reads every Skyrim tree LOD (#838). `BSSubIndexTriShape` (segments, Arc-shared) and the four `BsTriShapeKind` variants must not be confused.\n- **Alpha-property cascade** — gated on `alpha_property_consumed`; skinned geometry inherits the parent `NiAlphaProperty` exactly once.\n- Specialty blocks: `BsLagBoneController` \u002F `BsProceduralLightningController` have dedicated parsers (without them a by-design `block_size` WARN burst fires per mesh sweep); `BSTreeNode` wind bones; `BSPackedCombined[Shared]GeomDataExtra` distant batches; `BSFadeNode` \u002F `BSBlastNode` \u002F `BSMultiBoundNode` unwrapped by the import walker.\n**Output**: `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_1.md`\n\n### Dimension 2: Shader-Type Dispatch + Skyrim Material Slice (NIFAL)\n**Subagent**: `renderer-specialist`\n**Paths**: `crates\u002Fnif\u002Fsrc\u002Fblocks\u002Fshader\u002F{lighting,effect}.rs`, `crates\u002Fnif\u002Fsrc\u002Fblocks\u002Fshader_tests\u002Fskyrim.rs`, `crates\u002Fnif\u002Fsrc\u002Fimport\u002Fmaterial\u002F{mod,dedicated_shader,shader_data}.rs`, `byroredux\u002Fsrc\u002Fmaterial_translate.rs`, `crates\u002Frenderer\u002Fshaders\u002Finclude\u002Fpbr.glsl`\n**First step**: `git log --since=\u003Clast report> --format='%h %cs %s' -- crates\u002Fnif\u002Fsrc\u002Fblocks\u002Fshader crates\u002Fnif\u002Fsrc\u002Fimport\u002Fmaterial byroredux\u002Fsrc\u002Fmaterial_translate.rs`\n**Guards**: `shader_tests\u002Fskyrim.rs` (one wire-level test per trailing-data type + `parse_bs_lighting_remaining_no_trailing_shader_types_consume_nothing_extra`, #4252); `lighting_shader_pbr_tests.rs`, `emissive_source_tests.rs`, `shader_type_data_tests.rs` (`crates\u002Fnif\u002Fsrc\u002Fimport\u002Fmaterial\u002F`). Single-boundary \u002F resolve-once invariants are `\u002Faudit-nifal`.\n**Checklist**:\n- `parse_shader_type_data` dispatches numeric types 1\u002F5\u002F6\u002F7\u002F11\u002F14\u002F16 to `EnvironmentMap` \u002F `SkinTint` \u002F `HairTint` \u002F `ParallaxOcc` \u002F `MultiLayerParallax` \u002F `SparkleSnow` \u002F `EyeEnvmap`; every other type (0\u002F2\u002F3\u002F4\u002F8–10\u002F12\u002F13\u002F15\u002F17–20) reads no trailing data — confirm none over-reads. FO76 (`BSShaderType155`, `parse_shader_type_data_fo76`) uses different numbering (4 = `Fo76SkinTint` Color4, 5 = HairTint) — the two enums must not cross-contaminate; the FO4 arm (`parse_shader_type_data_fo4`) adds fields only at BSVER 130–139 for types 1\u002F5 and delegates every other type to the Skyrim function (b99db0f11, #5737) — a field-order fix lands once, and a divergent re-typed FO4 copy is this arm regressing.\n- **Shaded, was packed-only** (fixed in b4d073454, #5961): type 16 (`EyeEnvmap`) shades via the iris-centred authored-cubemap branch in `triangle.frag` — the cubemap rides the pre-existing per-material `envMapIndex` binding (the old \"per-instance cubemap binding missing\" note was stale; Skyrim slot 4 → Environment role → `envMapIndex`, #4428-era slot routing), the reflection vector derives from `eyeLeftCenter`\u002F`eyeRightCenter` and `eyeCubemapScale` scales it. The two centres cross NIFAL Y-up: `apply_shader_type_data` runs them through `zup_to_yup_pos` once at the import boundary (52e48bd4c, #6214 — pre-fix the authored Z-up point met the Y-up instance matrix and `eyesmale.nif`'s left centre `(-2.397, 7.572, 3.750)` landed ~11.9 units off on the far side of the head, degenerating the reflection to a near-constant direction; pinned by `shader_type_data_tests.rs`). Type 11 (`MultiLayerParallax`) `refraction_scale` drives the inner layer's view-dependent UV offset. Verified by reading `triangle.frag` for both reads (search `isEyeEnvmap`, `MLP_REFRACTION_UV_PER_UNIT`); the pack gate is `pack_eye_fields` in `static_meshes.rs`.\n- Skyrim flag-bit positions differ from FO4; verify the Skyrim decode of decal \u002F alpha-test \u002F skinned \u002F glow \u002F facegen bits. SLSF2 bit 21 is `Anisotropic_Lighting` on Skyrim and FO4 (`Cloud_LOD` is the separate bit 20) and `Alpha_Decal` only on FO3\u002FFNV — a Skyrim finding that reads bit 21 as a decal or `Cloud_LOD` flag is stale (974d00657, #6514). `BSEffectShaderProperty`: soft-falloff depth, greyscale texture, lighting influence, env-map min LOD, falloff angle\u002Fopacity.\n- **Unauthored fields stay unauthored** — Skyrim's `BSEffectShaderProperty` has no `env_map_scale` wire field, so import must not write one (#4393: #4250's fabricated 1.0 flipped every inline Skyrim effect shader into the \"authored environment mapping\" PBR arm); the `env_map_scale_consumed` latch must be set by the Skyrim+ dedicated writers (#4251).\n- **PBR lobe unreachable for vanilla** — the Disney lobe is gated on `MAT_FLAG_PBR_BSDF`; vanilla Skyrim materials never author BGSM, so vanilla parse runs must set 0 instances (modded BGSM opting into PBR is the one legitimate path).\n- **`EmissiveSource`** — Skyrim `BSLightingShaderProperty.emissive_multiple` maps to `Lighting`, not `Effect` (#1280).\n- **Detail \u002F tint inputs** — vanilla Skyrim's blank detail map and alpha-less BC1 `_sk.dds` skin tint used to darken every NPC face (#4422 `detail_neutral`, #4423 `TINT_ALPHA_WEIGHT_BIT`, GpuMaterial 432 B). A Skyrim NPC rendering near-black skin is these arms regressing. Also fixed and guarded: the `_msn` texel takes the source→renderer basis flip before the posed rotation (#3922, `material_tests.rs::msn_basis_pin`); Environment Map (kind 1) glass classifies as glass — the authored-dispatch guard in `helpers.rs` is `2..=20` (#4392, `environment_map_alchemy_glass_classifies_as_glass`).\n- #1241 PBR scalars (`refraction_strength`, `lighting_effect_1\u002F2` for BSVER \u003C FO4) flow `MaterialInfo` → `ImportedMesh.material`.\n- **Authored shader type crosses NIFAL** — regression guard: fixed in 2266f7778 (#4256), `translate_material` copies `ImportedMaterial.shader_type` into `Material::source_shader_type` before the glass classifier can reassign `material_kind` (a kind-1 pane → `MATERIAL_KIND_GLASS`); pinned by `source_shader_type_survives_the_glass_reassignment_of_material_kind`. The cell-loader overlay's `TextureSlotContext` read of the imported tier runs before translate by design — not a boundary leak.\n**Output**: `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_2.md`\n\n### Dimension 3: NPC Equip + FaceGen (M41)\n**Subagent**: `general-purpose`, `model: \"sonnet\"` (`\"haiku\"` when unchanged since D, `_audit-common.md` rule 5)\n**Paths**: `byroredux\u002Fsrc\u002Fnpc_spawn\u002F` (hub `mod.rs` + `stamps` \u002F `fallback_physics` \u002F `skeleton_paths` \u002F `anim_clips` \u002F `equip` \u002F `loot_appearance` \u002F `resumable\u002F`, split from one file in 613c7f46e #6357; `tests.rs` scans the concatenated production files), `crates\u002Fplugin\u002Fsrc\u002Fequip.rs`, `crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002F{items.rs,misc\u002Fequipment.rs,actor\u002Fnpc.rs}` (ARMO \u002F ARMA `BODT`\u002F`BOD2`, `NPC_.WNAM`), `byroredux\u002Fsrc\u002Fscene\u002Fnif_loader.rs` (`select_facegen_diffuse`), `crates\u002Ffacegen\u002Fsrc\u002F`, `byroredux\u002Fsrc\u002Frender\u002Fskinned.rs`\n**First step**: `git log --since=\u003Clast report> --format='%h %cs %s' -- byroredux\u002Fsrc\u002Fnpc_spawn crates\u002Fplugin\u002Fsrc\u002Fequip.rs crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Fitems.rs crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Fmisc\u002Fequipment.rs crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Factor\u002Fnpc.rs`\n**Guards**: `docs\u002Fsmoke-tests\u002Fm41-equip.sh skyrim` — hard equip floor 5 on WhiterunBanneredMare (`Inventory` + a *named* `EquipmentSlots` on saadia, brenuin, mikael, sinmir, hulda; amaundmotierreend is authored Initially Disabled and withheld since #4813, and the unnamed player body also carries `EquipmentSlots`, so the floor counts named entities only, f4862a87e #5962); `crates\u002Fplugin\u002Fsrc\u002Fequip_template_tests.rs` (#4086); `npc_spawn\u002Ftests.rs`; `skyrim_armo_reads_bodt_body_template` \u002F `parse_arma_reads_bodt_biped_flags` (#5358); `prebaked_npc_wnam_skin_overrides_the_race_default_and_follows_the_traits_terminal` (#5359). Real-data (`#[ignore]`d): `skyrim_bodt_body_templates_decode_their_biped_masks` (`crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Ftests.rs`), `skyrim_npc_wnam_skin_census_matches_the_byte_walk` (`crates\u002Fplugin\u002Ftests\u002Fparse_real_esm.rs`).\n**Checklist**:\n- **Body-template masks** — Skyrim authors the biped mask as `BOD2` *or* the pre-`BOD2` `BODT` (u32 mask + u8 general flags + pad, armor type only in the 12-byte form); both ARMO and ARMA decode either (479414ffe, #5358). Every `Skyrim.esm` ARMA (766) and 10 ARMOs (creature skins, Draugr hairs\u002Fbeards) author `BODT`; pre-fix they read `biped_flags == 0`, so `reconcile_worn_gear` stamped Draugr hair\u002Fbeard `NpcAppearanceHidden` on every cell return and load. The #3411 covered-bits gate in `resolve_armor_meshes` is therefore **live** on Skyrim (80 redundant same-slot addons across 75 ARMOs, mostly `KhajiitRaceVampire` circlets) — a finding premised on \"Skyrim ARMA has no biped field \u002F the gate is a no-op here\" is stale; `SkinNaked`'s complementary addons (#3357) still resolve whole.\n- **Armor chain** — `resolve_armor_mesh` (`resolve_armor_meshes` on the multi-addon path) walks ARMO → ARMA → worn mesh; a Skyrim ARMA with `MOD2` but no `MOD3` (172 of `Skyrim.esm`'s 766 addons — shields, closed helms, Stormcloak boots) draws its male biped model on a female wearer, per the CK rule (d678dc578, #5510 — regression guard: `skyrim_female_wearer_falls_back_to_the_male_biped_model`); gated on `GameKind::Skyrim`, FO4+ keeps the strict reading since no rule is sourced there. Pre-fix those pieces vanished on females while their occupancy still hid the skin partitions beneath (footless female Stormcloaks); `humanoid_body_paths` returns `&[]` for Skyrim+ (the `upperbody.nif` pre-scan is Oblivion\u002FFO3\u002FFNV only). Body coverage: the intrinsic skin equips first as the lowest-priority layer (#2093) — the per-NPC `NPC_.WNAM` skin read off the `ResolvedNpc` Use-Traits terminal, else the race default `RACE.WNAM` (edb5fbdfe, #5359: 664 vanilla records author it — Alduin, Draugr variant skins, Falmer, horses; pre-fix 442 actors wore the race default) — then a post-loop occupancy filter drops any queued mesh — including the skin's — whose slot a higher-priority OTFT\u002FCNTO entry displaced (#2094). Gendered RACE skeleton paths are stored separately from body models. A *placed* ARMO reference draws the world model `MOD2`, not the worn mesh: on Skyrim `MODL` is an ARMA FormID, so pre-fix placed armor had no model and was invisible (1,683 SE interior references across 200 bases), and on FO3\u002FFNV it stood in bind pose with its gore caps (846c36bf0, #6691; `model_of` tests in `crates\u002Fplugin\u002Fsrc\u002Fesm\u002Fcell\u002Fsupport.rs`, `a_formid_modl_armor_takes_its_world_model`); the worn mesh stays on the typed item the equip path reads. LVLI flattening (`expand_leveled_form_id`) is level-gated: single-pick (highest eligible) vs multi-pick; pre-fix, LVLI outfits spawned gearless.\n- **Template chain (#4086)** — absent TPLT fields resolve down the whole chain (`resolve_inherited_*` \u002F `walk_inherited_records`), not across its two ends; nested actor lists feed every inherited category, level-gate tie-order preserved, cycles share one budget and retain the shell. Spawn reads the chain through `ResolvedNpc` (#4457); a terminal `level()` of 0 backfills from the authored entry level of the deepest LVLN\u002FLVLI pick the Use-Stats walk went through (4fbff2c6c, #4232 — every vanilla LVLI entry is ≥ 1, so pre-fix a level-0 `NPC_` behind an LVLN pick expanded no gear; `level_zero_terminal_takes_the_lvln_pick_entry_level`); a templated NPC's outfit (DOFT) and leveled-expansion level come from its TPLT terminals, not the placed record (#4812, `prebaked_equip_state_reads_outfit_and_level_from_tplt_terminals`). Of the `template_flags` bits only `0x0200` Script and `0x0400` Def Pack List still lack a `ResolvedNpc` terminal (Actor Effects, AI Data, Model\u002FAnimation and Base Data gained theirs; Script's real consumer is the M47 VMAD attach path, not the TPLT walk — eae8fd740, #4137 still open), and Skyrim's `0x0800` Use Attack Data names an `ATKD` block the parser does not read at all. Skyrim's `0x1000` Use Keywords has a `ResolvedNpc::keywords` terminal \u002F `keywords_terminal()` (`TEMPLATE_FLAG_USE_KEYWORDS`; Skyrim.esm sets it on 768 `NPC_`, 716 authoring no `KWDA`), which the `HasKeyword` `KeywordTable` reads — race included — instead of the placed shell (26850aa5f, #6515; `a_use_keywords_shell_takes_the_leveled_picks_keywords`) — a finding that one of the other bits is parsed-but-unconsumed is stale.\n- **FaceGen is pre-baked on Skyrim** — heads come from `meshes\\actors\\character\\facegendata\\facegeom\\\u003Cplugin>\\\u003Cformid>.nif` (`BSDynamicTriShape`) plus the per-NPC `facetint` DDS; there is no runtime EGM\u002FEGT morph on this path (the `crates\u002Ffacegen` EGM evaluator serves the runtime-recipe games; `.egt`\u002F`.tri` have no consumer at all). The tint override applies **only to the FaceTint (kind 4) head mesh** (#4421) — Skyrim's kind-5 shapes are overlays with their own textures (gashes, Argonian hair, Orc tusks); keying on SkinTint replaces them with atlas fragments.\n- **Prebaked-FaceGen miss** — vanilla Skyrim ships no facegeom for the player record, so the miss is the player's normal path. Regression guard: fixed in 8c925ec54 (#5095), the miss routes through `PrebakedPhase::HeadParts` (each root stamped `HeadPartRoot`); since 2a8663f39 (#5408) `prebaked_head_fallback_paths` assembles the race's per-gender base head parts (`RACE` Head Data `HEAD` → `RaceRecord::base_head_parts`), each part type the NPC's own `PNAM` authors replacing the race's, then `HDPT.HNAM` extra parts depth-first with a cycle guard — pre-fix only `PNAM` loaded and the vanilla player (one authored hair) got a hair shell with no face. Pinned by `missing_prebaked_facegen_falls_back_to_authored_head_parts` \u002F `prebaked_head_fallback_merges_race_base_parts_with_the_npcs_own` \u002F `skyrim_race_base_head_parts_decode_per_gender` and `docs\u002Fsmoke-tests\u002Fp3-player-body.sh` (requires `face_parts > 0` on the player root). A faceless player head is this arm regressing. Both sidecar file names use the **plugin-local** id (`plugin_local_object_id`: slot bits stripped, regular 24 \u002F light 12 \u002F medium 16 bit) — DLC \u002F Creation Club archives ship `dawnguard.esm\\00002b6c.nif` with a zero top byte, so the load-order-global id missed every non-slot-0 NPC's baked head (4d33e0365, #6096); the `facetint` probe is Skyrim-only via `prebaked_tint_path_for` (FO4 \u002F Starfield ship none, #6099). The facegeom path, `facetint` path, PNAM list and plugin segment all come from the **Use-Traits terminal**, not the placed shell (1dfac76f6, #6113 — the CK bakes facegeom for the record owning the face; 2,051 of 2,053 `Skyrim.esm` Use-Traits shells ship none, so pre-fix ~40% of NPC bases — LVLN bandits, guards, soldiers — wore the race-base fallback head); pinned by `prebaked_face_inputs_come_from_the_use_traits_terminal`, which also source-scans `prepare_prebaked_state` for shell `form_id` \u002F `face_morphs` reads. One race-generic face across a cell's templated NPCs is this arm regressing.\n- **Sex and voice type are Use-Traits-terminal reads too** — the dialogue voice key (VTCK + Female bit), `ActorBaseTraits` behind `GetIsSex` \u002F `GetSex` \u002F `GetVoiceType`, and the gendered animation subgraph resolve through `equip::traits_terminal`, not the placed shell (b76a74e45, #6228 — 1,133 Skyrim shells author no VTCK at all); `GetActorBase().GetSex()` stays the shell's, `GetLeveledActorBase()` returns the terminal; pinned by `resolve_inherited_call_sites_are_enumerated_and_pinned` (`byroredux\u002Fsrc\u002Fnpc_spawn\u002Ftests.rs`), which source-scans `dialogue_voice.rs` \u002F `actor_base_traits.rs` \u002F `anim_subgraph.rs` \u002F `keywords.rs` for `traits_terminal(`.\n- `BSDismemberSkinInstance` partition data routes into the skinning pipeline. NPC pool composition (#4454) and the rest of spawn\u002FAI belongs to `\u002Faudit-gameplay`.\n**Output**: `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_3.md`\n\n### Dimension 4: Multi-Master Load Order + TES5 Cell-Load Regression\n**Scope split**: `\u002Faudit-esm` owns FormID remap, ESL `0xFE` space, tombstones and `.STRINGS`; this dimension owns Skyrim's data through them (record counts, DLC authoring, this title's masters).\n**Subagent**: `general-purpose`, `model: \"sonnet\"` (`\"haiku\"` when unchanged since D, `_audit-common.md` rule 5)\n**Paths**: `byroredux\u002Fsrc\u002Fcell_loader\u002Fload_order.rs`, `crates\u002Fplugin\u002Fsrc\u002Fesm\u002F{reader,cell\u002F}`, `crates\u002Fplugin\u002Fsrc\u002Fesm\u002Fcell\u002Ftests\u002Fintegration.rs`\n**First step**: `git log --since=\u003Clast report> --format='%h %cs %s' -- byroredux\u002Fsrc\u002Fcell_loader\u002Fload_order.rs crates\u002Fplugin\u002Fsrc\u002Fesm\u002Freader.rs crates\u002Fplugin\u002Fsrc\u002Fesm\u002Fcell`\n**Guards**: `parse_real_skyrim_esm` (`#[ignore]`d; walks `Skyrim.esm`, finds `SolitudeWinkingSkeever`, 92-byte XCLL); ESL \u002F tombstone \u002F strings tests live under `\u002Faudit-esm`.\n**Checklist**:\n- **DLC repro** (engine launch — not while another instance runs): `cargo run -- --master Skyrim.esm --master Update.esm --esm Dawnguard.esm --cell Forelhost01 …` (Dawnguard's real MAST list is `[Skyrim.esm, Update.esm]`; a single `--master` 404s the second, #2583). Confirm cross-plugin REFRs land under merged global FormIDs, last-write-wins, unresolved REFRs name the missing plugin, DLC-owned names\u002Fdialogue resolve (not raw string IDs), and a DLC-deleted base REFR does not over-render. Override folds (mechanism → `\u002Faudit-esm`): a REFR an override re-authors under another CELL leaves one copy, not two (765e387a0, #6084 — 22 vanilla SE placements; `a_refr_moved_into_another_cell_leaves_one_copy`), and a CELL override's omitted sub-records stay omitted — only child records inherit from the base (2fa227d72, #6086 — `Update.esm` drops `XCWT` from 39 Skyrim cells; `cell_record_fields_come_from_the_winning_override`).\n- **Parallel walk, ordered fold (#3813)** — plugins parse on the rayon pool but `merge_from` folds in load order; last-write-wins must follow fold order, never completion order. Guard: `load_order_parallel_tests.rs::parallel_walk_matches_the_inline_walk_on_a_localized_master_chain`.\n- **DIAL quest ownership** — Skyrim authors the quest→topic link as DIAL `QNAM` (no `QSTI`); `parse_dial` feeds both into `quest_refs`. Empty `quest_refs` on Skyrim topics is this arm regressing (every NPC topic unowned). Only guard is the `#[ignore]`d real-data `ms01_eltrys_authored_placement` (`crates\u002Fplugin\u002Ftests\u002Fparse_real_esm.rs`). An override topic (`Update.esm`, DLC) folds its INFO children into the master's by FormID — not a whole-`DialRecord` replace (168b81322, #5375; pre-fix `Update.esm` emptied whole `Skyrim.esm` topics); guards `dialogue_override_folds_infos_into_the_master_topic` \u002F `dialogue_override_without_children_keeps_master_infos` (`crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Findex.rs`).\n- TES5 compressed-record groups decompress and interiors render; the minimum interior set parses (CELL, REFR, STAT, LIGH, WEAP, ARMO + Skyrim LAND heightmap scale, LTEX, TXST, ADDN); NAVM, HDPT, `BSBehaviorGraphExtraData` parse without error (out of scope to consume). `XRGD` corpse poses decode onto `PlacedRef::ragdoll_pose` (260afc33f; ids not unique, positions parent-relative) and a corpse is posed from them before its ragdoll activates (`byroredux\u002Fsrc\u002Fragdoll_pose.rs`; #5015 closed) only when its ragdoll's body-name set is one of the six verified `SKYRIM_POSABLE_RAGDOLLS` — humanoid (18b3d87a7), draugr, SkeletonS (19 bodies, jaw last), falmer, skeever, deer\u002Felk (dfbcf7e2c, #6068\u002F#6069) — and the entry count matches once the trailing-marker family is set aside (2139ae20e); 730 of 1,077 vanilla corpses posed. Spiders, goat, horse, wolf\u002Fdog, centurion, chaurus, mudcrab, slaughterfish and cow stay refused by design (entry order\u002Fconvention not established, per `scripts\u002Fxrgd-skyrim-rigs.py`) and keep the ragdoll collapse — a refused unverified rig is not a finding, a verified rig refusing is. Pinned by `ragdoll_pose_tests.rs` (`the_verified_skyrim_creature_rigs_are_posed_by_order`, `a_skeleton_s_pose_without_the_jaw_or_with_an_extra_entry_is_refused`); FO4 rigs are #6065 (`\u002Faudit-fo4`).\n- **CELL `XCCM`** is a REGN ref (`CellData::sky_region`) on TES5 \u002F FO4 \u002F FO76 \u002F Starfield (ced3a2559, #6794), a CLMT (`climate_override`) only on TES4\u002FFO3\u002FFNV (3b28dca71, #5463; all 214 vanilla `Skyrim.esm` authors are interior REGN refs; a Show-Sky interior takes its weather from the region's own Weather table, c28057083, `byroredux\u002Fsrc\u002Fenv_translate\u002Fregion_weather.rs`) — a Skyrim finding that looks `XCCM` up in the CLMT map is stale.\n- **\"Use Land Data\" children (#6594, fixed in d548def7d)** — Skyrim joins Oblivion, FO3\u002FFNV and FO4 in `needs_exterior_processing` (`byroredux\u002Fsrc\u002Fcell_loader\u002Fload_order.rs`): the seven Tamriel children (Whiterun, Windhelm, Riften, Solitude, the Dragonsreach and Windhelm-pit worldspaces, Katariah) author 308 LAND-less cells whose parent has LAND at the same grid, and a gate door into Whiterun is the exterior the control bench never sees. Pinned by `skyrim_use_land_data_children_inherit_tamriels_landscape` (`crates\u002Fplugin\u002Ftests\u002Fparse_real_esm.rs`, ignored, real `Skyrim.esm`) and the gate test `use_land_data_children_inherit_on_the_measured_games_only`. The step runs on every shared parse (#6591, f9f3eb831 — the old *exterior_ready* flag and the *exterior* parse parameter are gone), so an interior-first session does not re-parse for it. Not yet confirmed visually on a Whiterun gate approach.\n- **Control bench** — Whiterun BanneredMare entity count + FPS vs ROADMAP's Bench-of-record. Skyrim ships real `bhk` collision, so entity count is flat across collider-gate changes; any entity drop, or an FPS drop at flat entities, is a regression.\n**Output**: `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_4.md`\n\n### Dimension 5: Archives + Corpus Gates\n**Subagent**: `general-purpose`, `model: \"sonnet\"` (`\"haiku\"` when unchanged since D, `_audit-common.md` rule 5)\n**Paths**: `crates\u002Fbsa\u002Fsrc\u002Farchive\u002F`, `crates\u002Fbsa\u002Fsrc\u002Fnaming.rs`, `byroredux\u002Fsrc\u002Fasset_provider\u002Farchive.rs`, `crates\u002Fnif\u002Ftests\u002F{parse_real_nifs,common\u002Fmod}.rs`, `crates\u002Fnif\u002Fsrc\u002Fcorpus.rs`\n**First step**: `BYROREDUX_SKYRIMSE_DATA=… cargo test -p byroredux-nif --test parse_real_nifs -- --ignored skyrim` (`parse_rate_skyrim_se`, `parse_rate_skyrim_le`)\n**Guards**: real-data tests resolve the install through `test_paths::skyrim_se_data_dir()` \u002F `require_or_skip` (`crates\u002Fplugin\u002Fsrc\u002Fesm\u002Ftest_paths.rs`, #6184) — a typo'd `BYROREDUX_SKYRIMSE_DATA` no longer skips silently and an absent install fails on the strict lane (`BYROREDUX_REQUIRE_GAME_DATA`); `numeric_sibling_paths` cases in `byroredux\u002Fsrc\u002Fasset_provider\u002Ftests\u002Farchive_siblings.rs` (`siblings_skyrim_zero_start_offers_1_through_9`).\n**Checklist**:\n- v105 header, hash table, folder-record size, embedded-name flag, compressed-flag priority (archive vs per-file — which wins on disagreement); `BsaArchive::extract` decides the empty-stream edge itself on the zlib and LZ4-frame arms (size header 0 + no stream → empty file, non-zero declared size + no stream → `InvalidData`; fa2af0e89, #5660\u002F#5073 — the flate2 1.1.10 `UnexpectedEof` break hit Oblivion\u002FFO3\u002FFNV placeholders, Skyrim shares the guard); verify a known-good mesh (sweetroll) and a full sweep of `Skyrim - Meshes0\u002F1.bsa` + `Textures0`–`8`. Real-data guards (`#[ignore]`d, `crates\u002Fbsa\u002Ftests\u002Fbsa_real.rs`, ce008af1c #5903): `fo3_fnv_and_skyrimse_bsa_corpus_census` pins SE at 23 archives \u002F 172,961 entries, every one extracted; `skyrimle_bsa_corpus_full_extract_zero_errors` extracts every LE entry (resolves through `data_dir` with the Wine-prefix fallback so it can no longer pass without running — 9 archives \u002F 132,755 entries; 90c36f4c5 #6517, pinned by `every_game_data_dir_helper_routes_through_data_dir`), `skyrimse_meshes_bsa_v105_brute_force_extract_zero_errors` sweeps `Meshes0`.\n- **Loose-file tier** — loose `Data\\` textures\u002Fmeshes\u002Fmaterials are a backend appended after every archive, so last-listed-wins puts them on top (48e422a71, #6200; `byroredux\u002Fsrc\u002Fasset_provider\u002Ftests\u002Floose_override.rs`); loose keys fold with the archive readers' Unicode fold (the one exported `byroredux_bsa::normalize_path`) and two files folding onto one key resolve deterministically, lexicographically-last path wins with a one-shot collision warn (f26eb657f, #6308, `loose_keys_fold_like_the_archives`); vanilla SE ships none, so no Skyrim baseline moved.\n- **Sibling auto-load** — a zero-based `Foo0.bsa` pulls `Foo1`..`Foo9`, so distant-LOD diffuse in `Textures7.bsa` and `.btr` in `Textures8.bsa` reach the loader; re-narrowing starves distant terrain (`\u002Faudit-exterior`) of textures. Those terrain-LOD diffuse atlases (all 9,326 X8R8G8B8), the tree-LOD atlases and the DLC1 cubemaps are uncompressed 32-bpp: `parse_dds` (`crates\u002Frenderer\u002Fsrc\u002Fvulkan\u002Fdds.rs`, mechanism → `\u002Faudit-renderer`) reads the four channel masks — exact BGRA zero-copies as B8G8R8A8, X8R8G8B8 CPU-expands with A=255 (cb6a5bf0b, #5378; pre-fix R\u002FB swapped and alpha came from the X byte). Guards: `parse_uncompressed_x8r8g8b8_expands_channels_and_forces_opaque`, `parse_uncompressed_a8r8g8b8_zero_copies_as_bgra`.\n- **Corpus gate** — SE sweeps the two base mesh archives plus the account-dependent Creation Club \u002F Anniversary set (`Game::optional_mesh_archives`, present-only, kept out of the count-keyed baseline); the corpus counts `.bto`\u002F`.btr` (`NIF_ENTRY_EXTENSIONS`) — filtering on `.nif` alone hid 10,662 distant-LOD files. Expected: 100% clean, 0 truncated \u002F recovered \u002F realignment WARNs; any WARN on a clean Skyrim corpus is a regression. Report the measured count (33,468 SE NIFs across 8 archives + 22,466 LE at 2026-09-29; ROADMAP \u002F `game-compatibility.md` refreshed to these in e034de59a, #5098); every corpus filter routes through `is_nif_entry` (#5259, source-scan guarded); LE has its own per-block baseline (`crates\u002Fnif\u002Ftests\u002Fdata\u002Fper_block_baselines\u002Fskyrim_le.tsv`).\n- Real-data render trace: one creature (dragon skeleton \u002F NPC head), one tree LOD, one `BSEffectShaderProperty` magic effect → `import_nif_scene` → `translate_material` → `render\u002Fstatic_meshes.rs` \u002F `render\u002Fskinned.rs`; verify mesh count, material extraction, texture handle resolution.\n**Output**: `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_5.md`\n\n## Phase 3: Merge\n\n1. Read `\u002Ftmp\u002Faudit\u002Fskyrim\u002Fdim_*.md`; combine into `docs\u002Faudits\u002FAUDIT_SKYRIM_\u003CTODAY>.md`:\n   - **Executive Summary** — control bench state; regression coverage vs Skyrim-specific geometry\u002Fshader\u002Fequip risk.\n   - **Dimension Findings** — grouped by severity per dimension.\n   - **Shader-Type Coverage Matrix** — numeric type → `ShaderTypeData` arm × parse-complete \u002F import-complete \u002F render-complete (note types that map to `None`).\n   - **Cell-Load Regression Status** — TES5 cells through the unified walker; Whiterun entity count + FPS vs ROADMAP.\n2. Remove cross-dimension duplicates.\n\nSuggest: `\u002Faudit-publish docs\u002Faudits\u002FAUDIT_SKYRIM_\u003CTODAY>.md`\n(label every finding `game:skyrim` + `legacy-compat`, plus its own domain label.)\n",{"description":7,"argument-hint":39},"--focus \u003Cdimensions>","main","bf42dca77950109ec59853d31e5fe80007a18347",".claude\u002Fcommands\u002Faudit-skyrim",6,"https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli","matiaszanolli.com","15+ years turning mate into code, and just getting started! All things Python and data lover overall. Music addict, always looking to unite music and tech.","2026-11-15 04:03:52",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add matiaszanolli\u002FByroRedux --skill audit-skyrim",{"tool":55,"command":56},"bunx","bunx skills add matiaszanolli\u002FByroRedux --skill audit-skyrim",{"tool":58,"command":59},"pnpm","pnpm dlx skills add matiaszanolli\u002FByroRedux --skill audit-skyrim","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.claude\u002Fcommands\u002Faudit-skyrim\u002FSKILL.md",true,[],[64,73,82,91,100,108],{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":34},"01M6K028GPYDYZ5441BW6YDFNK","trace-flow","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Ftrace-flow\u002FSKILL.md",[],[70,71,72],"trace flow","trace","flow",{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":34},"01M6K026GTTXBBXXCH09SDRNX6","session-close","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Fsession-close\u002FSKILL.md",[],[79,80,81],"close","session close","session",{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":34},"01M6K024KA1JFTV7BGYFSZV2VV","legacy-lookup","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Flegacy-lookup\u002FSKILL.md",[],[88,89,90],"lookup","legacy lookup","Legacy",{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":34},"01M6K022H36BJ35KB6MT2NHVH6","fix-issue","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Ffix-issue\u002FSKILL.md",[],[97,98,99],"issue","fix","fix issue",{"skillNo":101,"name":102,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":34},"01M6K0208JHG4WDJX143YKFF0W","audit-ui","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Faudit-ui\u002FSKILL.md",[],[106,107,20],"audit ui","ui",{"skillNo":109,"name":110,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":34},"01M6K01XPHAPHF9BPS4CG5DDWX","audit-tooling","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Faudit-tooling\u002FSKILL.md",[],[20,114,115],"audit tooling","tooling"]