audit-fnv
Per-game audit of Fallout New Vegas compatibility — reference title: cell load, ESM/NIF data, ragdoll, ambient AI + dialogue, consumables, HUD profile
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 40
- Forks
- 6
01 前言 Front Matter
- description
- Per-game audit of Fallout New Vegas compatibility — reference title: cell load, ESM/NIF data, ragdoll, ambient AI + dialogue, consumables, HUD profile
- argument-hint
- --focus <dimensions>
03 SKILL.md 正文
Fallout New Vegas Compatibility Audit
FNV is the reference title — the most-validated end-to-end path and the reference realization for NIFAL material/physics and PHYSAL ragdoll. This audit owns FNV's data through the shared mechanisms (routing: .claude/commands/_audit-owners.md); a defect in the mechanism itself is filed against its owner audit, named under each dimension. A foundation that broke on FNV is the highest-severity finding this command can produce; the rest is regressions and unshipped polish.
Architecture: Orchestrator. Each dimension runs as a Task agent (max 3 concurrent).
Read .claude/commands/_audit-common.md (layout, methodology, dedup, finding format) and .claude/commands/_audit-severity.md for shared protocol.
Game Context
| Aspect | State |
|---|---|
| NIF / BSA | v20.2.0.7, bsver 34 (bsver::FO3_FNV) · BSA v104 (crates/bsa/src/archive/) |
| Archive priority | Last-listed wins per pool; Update.bsa is listed in all three FNV pools (assets/debug_profiles.toml) — last in the mesh and texture pools, after Fallout - Sound.bsa in the sounds pool (only the disjoint Fallout - Voices1.bsa follows it); every live FNV gate/bench harness mounts it last too (#5257, a4ede5fa0). Loose Data\ files (textures/meshes/materials beside the --esm) sit above every archive (#6200, 48e422a71; byroredux/src/asset_provider/tests/loose_override.rs); the measured FNV install has none. Guard: byroredux/src/asset_provider/tests/archive_precedence.rs |
| Reference data | /mnt/data/SteamLibrary/steamapps/common/Fallout New Vegas/Data/ |
| Baselines (pull, never hardcode) | ROADMAP.md FNV row (parse rate + Prospector bench-of-record and its commit), docs/feature-matrix.md, .claude/audit-baselines/runtime/fnv-FreesideAtomicWrangler.tsv, crates/nif/tests/data/per_block_baselines/fallout_nv.tsv |
Authoring census (byte-scan of the shipped data, 2026-09-19 — these prevent false findings):
- 20 archives / 182 177 entries: 0
_far.nif, 0distantlod\. FNV object LOD isObjectLodScheme::FalloutLegacyBlocks;placement_lod_supportedis Oblivion-only (placement_lod_supported_is_oblivion_only). FNV also ships 25<world>.level4.high.x<X>.y<Y>.nifquads (6 inFallout - Meshes.bsa, 19 inLonesomeRoad - Main.bsa) that no code path consumes: censused-not-consumed by design (#4468, closed —probe_lod_corpuscounts them,ObjectLodScheme's doc explains why only the plain form is built); every one has a plain sibling, so it is fidelity only, not a coverage hole. - FalloutNV.esm: 98 SCOL bases / 1 084 REFRs; 0 MOVS / PKIN / MSWP; 219
XATO(all Activation Prompt strings, #3511 — not texture overlays) and 0XTNM/XTXR. - 989
BSSegmentedTriShapeblocks (fallout_nv.tsv).
Parameters (from $ARGUMENTS)
--focus <dimensions>: comma-separated numbers (e.g. 1,3). Default: all 6.
Phase 1: Setup
- Parse
$ARGUMENTS;mkdir -p /tmp/audit/fnv. - Dedup baseline:
gh issue list --repo matiaszanolli/ByroRedux --limit 200 --json number,title,state,labels > /tmp/audit/issues.json. - Confirm
Fallout New Vegas/Data/exists (required — FNV is the baseline). - Read the FNV rows above; every "regression" is judged against them, not against numbers in this skill.
- Scope by delta:
git log --since=<last AUDIT_FNV date> --format='%h %cs %s' -- <dimension Paths>; skim dimensions whose Paths did not change. - Toolchain: the
byroreduxbin crate needs rustc >= 1.96 (wasmtime 49, 15a6b1d2d) — use the rustup cargo perdocs/contributing.md§ Toolchain note (#4466) or bin-crate tests give no feedback.
Phase 2: Launch Dimension Agents (parallel)
Ordered by FNV risk: cell load first (highest blast radius), gameplay-data slices last.
Dimension 1: Cell Loading & Streaming
Subagent: general-purpose, model: "sonnet" ("haiku" when unchanged since D, _audit-common.md rule 5)
Paths: byroredux/src/cell_loader/ (general files; terrain*, water.rs, lod*, object_lod.rs, placement_lod.rs are /audit-exterior), byroredux/src/scene/, byroredux/src/streaming/, docs/engine/pipeline-overview.md, docs/engine/exterior-grid-streaming.md
First step: git log --since=<date> --format='%h %cs %s' -- byroredux/src/cell_loader byroredux/src/scene byroredux/src/streaming
- Interior
GSProspectorSaloonInterior: entity/draw counts vs the ROADMAP row; the synchronous interior load isInteriorCellApplyJobbegin()+advance()under an unlimited budget, no longer a line-for-line twin inload_cell_with_masters(#5589,a4496c79b); every interior-load fix now lands once; XCLL lighting resolves (fog_far_coloroptional field; an authored LIGH falloff of 0.0 must resolve to the pre-Skyrim quadratic default,falloff_exponent_sentinel_resolves_per_layout_generationinbyroredux/src/systems/light_anim.rs);NiAlphaPropertydecal routing. - Exterior WastelandNV radius 3 and the FNV-specific data: default land texture
DirtWasteland01.ddsviaDefaultLandTexture::for_game(guarddefault_land_textures_exist_in_vanilla_archives,--ignored); WTHR/CLMT/terrain/water translation mechanism ->/audit-exterior. Repeatable gate:docs/smoke-tests/m-exteriors.sh fnv static|boundary|soak|cycle|water(theboundaryleg's live LOD-coverage check was red on #6053 — 384 overlapping terrain-LOD pairs, 460 blocks — because seam suppression looked only one level up, so a drawn level-32 quad dropped its level-16 children and nothing swallowed the level-8 / level-4 quads beneath; fixed so any selected coarser quad swallows an authored finer one,0d5431193, now 0 overlaps / 76 blocks,lod_bands.rs— a red coverage line is a regression; thesoakground-cover growth check got its per-frame tolerance in #6058,adaa7a263; FNV'sboundaryleg keeps its 52-cell moat at the resident boundary by design — #6639 (8e7624256) removed it only where a per-cell lever exists (baked level-4 quads on Skyrim / FO4 / FO76), and the FO3/FNVblocks\quads keep the whole-quad exclusion; FNV's 25lodsettings\<ws>.dlodsettingsdescriptors are read and every authored quad sits on the SW-cell lattice,dlodsettings_origin_tiles_every_authored_quad, #6640,0419437ab; FNV finds no.dtltree LOD and spawns none,510e7dc4d). - FO3/FNV "Use Land Data" child worlds (Oasis, ParadiseFalls, GNRroofWorld, MegatonWorld; FO3 data, the gate covers
Fallout3NV): a LAND-less cell inherits its parent's landscape through thePNAMinherit bit, a cell's own LAND still winning (#6089,a9472103b, measured Oasis statics a median 166 units from the Wasteland VHGT; GNRroofWorld / MegatonWorld are consistent but not separately proven).apply_exterior_processing(gated per game byneeds_exterior_processing,byroredux/src/cell_loader/load_order.rs) now runs on every fresh shared parse, so one parse serves an interior session and a later exterior one with the inheritance already applied and the first door out no longer re-parses the load order (#6591,f9f3eb831; it replaced the re-parse-for-exterior rule of #6407,d32e2ade8). - Worldspace persistent CELL: refs beyond the entry window (
PersistentCellWindow) are owned by the tile they stand in (persistent_refs_for_tile,byroredux/src/cell_loader/exterior/persistent.rs) and load/unload with it; a persistent actor a tile spawns is promoted from its logical stub and demoted back on unload (#6076,ca12e5638; before it 5,185 of WastelandNV's 6,069 persistent refs never spawned from the Goodsprings arrival). Unit-tested only (a_tile_beyond_the_entry_window_owns_the_persistent_refs_standing_in_it,a_persistent_actor_is_promoted_from_its_stub_and_demoted_back); the fix was not verified in a running engine. XESPenable parents: a child's state is resolved through its parent chain (reference_enabled_from,crates/scripting/src/fragment/state.rs, inverted bit flips per hop, cycle-capped) at spawn, interaction and the IsDisabled/IsEnabled guards, and a scripted Enable/Disable on the root cascades (#6077,22ff0e12e;installed_fnv_enable_parent_children_follow_their_parents,--ignored, inbyroredux/src/cell_loader/reference_enable_gate_tests.rs— FalloutNV.esm 3,337 children, 1,879 now start hidden behind disabled parents such as the Hoover Dam aftermath).- Cache and unload hygiene (mechanism:
/audit-safetyDim 3,/audit-performance):NifImportRegistryArc cache (byroredux/src/cell_loader/nif_import_registry_tests.rs; its LRU holds eviction off while a cell load is in flight and trims back when the batch settles, #6114,304f3b587, FO4-driven but the same registry; the trim ranks victims once per call, not one sweep per victim, #6590,ec5068b40); unload frees BLAS / Rapier / skin / inventory state (rapier_release_tests.rs,inventory_release_tests.rs,unload_skin_cleanup_tests.rs,unload_greyscale_lut_tests.rs, all underbyroredux/src/cell_loader/). FNV check: after a Prospector -> Goodsprings -> Prospector round trip the live-state owners return to baseline — named entities (entities),phys.statsbodies / static colliders,rt.integrityTLAS + BLAS bytes,skin.coverageslots,mesh.cacheentries. NotstatsEntities: that isWorld::next_entity_id, a never-reused spawn counter that only grows (#6060). - REFR placement replaces the model's root transform on FO3/FNV (and FO4):
placement_replaces_model_root(byroredux/src/cell_loader/references/import.rs) clears the NIF root's local transform viaNifScene::clear_root_transformbefore any importer walks it, in both cache-fill paths (the synchronous REFR import and the streaming worker,prepare_placed_model_scene) so every placement of a model sees one scene. Established onGSProspectorSaloonInterior: the Goodsprings kit pieces (NVGSRmEnd2Way,NVGSRmWallExSm, …) carry a 90-degree root rotation that, composed, puts walls across the hallway; Oblivion/Skyrim/FO76/Starfield stay composing until verified (62782dd3b;placement_replaces_model_root_only_for_verified_games,clear_root_transform_drops_root_from_flat_import). A kit room with a wall across its hallway is a regression. - Animated statics (doors, containers, activators) spawn in their idle pose: spawn starts
NamedSequences::spawn_handle()—Idle, elseSpecialIdle, else nothing (bind pose) — not whichever sequence theNiControllerManagerlists first, which was usually a clamped Open / Forward clip that left every door post-activation; every other sequence still gets its sinks forPlayGroup(#6471,69af7947a; FNV flags carryIdle). A model with neither parks a stopped player on its first listed sequence (NamedSequences::parked_handle), so a scriptedPlayGrouphas a player to retarget while the object keeps its bind pose — #6471 had left 122 scripted FNV activator placements (the Lucky 38 force-field glow) without one (873fe3bcb, found by them47-3-obscript.shPlayGroup leg). A door that spawns open is a regression. - FNV
FXLightBeam*placements import their NIF (they used to get a bare placement root at thefxlightearly return inbyroredux/src/cell_loader/references/synth_child.rs), so the beam converters run live on FNV interiors: Vault11a 14 cones for 14 placements, SLAbandonedShack03INT 5 for 5; 22 of 24 listed models convert, and every FNV interior beam population is a Show-Sky-off fixture beam exceptNellisHangar1, the one sun-driven FNV interior (fnv_baked_beam_converter_coverage,--ignored; #6727,3bb692bbb,32b30780f). The exemption is keyed onGameKind(Oblivion joined in #6774,2eee69c12; #6731,e14bc4b5a). - Persistent reference state across a cell round trip (door/loot/pickup state,
byroredux/src/cell_loader/reference_state.rs— mechanism/audit-gameplay,/audit-save):docs/smoke-tests/p0-door-interaction.sh fnv,p5-save-restart.sh fnv. Output:/tmp/audit/fnv/dim_1.md
Dimension 2: ESM Data Slice (FalloutNV.esm)
Subagent: general-purpose, model: "sonnet" ("haiku" when unchanged since D, _audit-common.md rule 5)
Routing: GRUP walk, SubReader byte accounting, schema dispatch, FormID remap -> /audit-esm. This dimension owns the semantics that only show on FNV's masters.
Paths: crates/plugin/src/esm/records/, crates/plugin/src/esm/cell/, crates/plugin/src/equip.rs, crates/plugin/tests/parse_real_esm.rs
First step: cargo test -p byroredux-plugin --release --test parse_real_esm -- --ignored parse_rate_fnv_esm (one test at a time; whole-file --ignored runs can spike >20 GB).
index.total()>=FNV_TOTAL_FLOORand the ROADMAP/feature-matrix record counts; do not transcribe counts into this skill.- Gameplay-record spot checks: Varmint Rifle stats, NCR faction relations, VATS AVIF entries; the FNV actor-value roster and Health resolution (
fnv_actor_value_roster_and_health_resolve_on_shipped_master); NPC Health seeds from the authored NPC curve —NPC_ DATABase Health + thefAVDNPCHealth*slopes, never the player curve (#5238,c71eeed80;fo3_fnv_named_npc_health_matches_the_authored_curve); a non-auto-calc NPC (ACBS bit 4 clear, ~40% of the census) seeds its authoredDATASPECIAL (NpcRecord::data_attributes) instead of the classATTR, shells fall back to the class (#5338,4957536ba); PLDT decode (parse_rate_fnv_pack_pldt_location); thePSDTDay-of-Week byte decodes toPackDays(any / Sun–Sat / weekdays / weekends / MWF / TT) andactive_attests it against the calendar weekday fromglobals::day_of_week(shared withGetDayOfWeek), whose origin is resolved once at load bycalendar::weekday_origin(crates/plugin/src/esm/records/calendar.rs) and read fromGameCalendar::weekday_origin— FNV's is the Gregorian weekday of the authored start date, an unsourced choice; Oblivion joined in #62575d7f08e56, Skyrim / FO4 / Starfield in #665802909f1ee, which also decodes the PSDT month byte and declines a zero-duration window as unsourced; FO3/FNV author no PSDT date, so the day-of-month constraint is Oblivion-only) — the 53 FNV weekday-variant packages (Primm, the Goodsprings gecko hunters) once all passed the hour test, so the first listed won every day (#6079,3ce1e1e3a;psdt_day_of_week_gates_the_schedule,day_of_week_variants_select_by_the_game_calendar);PKDDcarries the topic (offset 4) and the Dialogue Type (PackRecord::dialogue_type, 0 Conversation / 1 Say To, #5376) as the u32 at offset 16 — byte 0 is the low byte of the FOV float, so the old read left the Say-To decline dead (#5492,dae08000d;pkdd_dialogue_type_is_the_u32_at_offset_16, floorparse_rate_fo3_fnv_pkdd_say_to_floor: FO3 19 / FNV 21 Say-To packages). - DIAL overrides fold INFO children (#5375,
168b81322):EsmIndex::merge_fromtakes an override's topic header but folds its INFOs by FormID in one batched pass per override (fold_infos_into_topic— same id replaces in place, a new one inserts after itsPNAMpredecessor; the per-INFO rescan it replaced was O(infos x master) per topic, #5644,0c2bd4d6d, pinned against the cfg(test) one-at-a-time reference bybatched_info_fold_matches_the_one_at_a_time_fold); a Deleted-INFO tombstone prunes one line, a DIAL tombstone drops the topic. The old whole-DialRecordlast-write-wins let every FNV story DLC gutGREETING. An override'sPNAM == 0run composes in authored file order through one per-override contribution cursor — the first contribution goes to the front, each later head lands after the previous one (#5494,5356c8780;dialogue_override_head_run_composes_in_file_order; before it The Pitt's unconditional "Go away." head won over 92 conditioned greetings); the master-relative position of the head run is an unsourced engine choice.generic_greeting_formis resolved once at merge end (#5426,411d0eeaf). Guards are two-plugin fixtures (dialogue_override_folds_infos_into_the_master_topic,dialogue_override_without_children_keeps_master_infos,merge_resolves_the_generic_greeting_form_once, allcrates/plugin/src/esm/records/index.rs); the real-data floordialogue_greeting_and_forcegreet_fnv_floorparsesFalloutNV.esmalone, so no test measuresGREETINGunder a DLC load order. - ARMO
DNAMisAR(DR x 100, s16), 2 unused,DTf32, flags on FNV and onlyAR+ flags (4 bytes) on FO3 — the decode once read DR as DT and the DT float as DR; New Vegas Damage Threshold composes from it (52b59e43d;fo3_armo_dnam_is_damage_resistance_only, real-datafallout_armor_damage_threshold_and_resistance_decode— Legate armor DT 15, Reinforced Combat Armor Mk II DT 20,--ignored). CELLXCCMis a CLMT on TES4/FO3/FNV (CellData::climate_override) and a REGN only on TES5/FO4 (sky_region) — an FNV cell must still populateclimate_override(#5463,3b28dca71;parse_cell_oblivion_fo3nv_xccm_populates_climate_override). - Authored corpses (mechanism
/audit-gameplay): the FO3/FNV marker is the base'sDATAhealth <= 0 —XRGDis pose-only and ACBS bit 23 is not a marker (#5005,de6bdb381;fnv_corpses_key_on_base_health_not_xrgd) — theXRGDpose applier (byroredux/src/ragdoll_pose.rs; #5015 closed on its Skyrim/FO4 scope:18b3d87a7,e1bd40bcf,dfbcf7e2c) poses only verified rigs: the Skyrim humanoid / draugr / SkeletonS / falmer / skeever / deer, the FO4 human / feral-ghoul / super-mutant, and — since #6252 (107cc1d79) — the FO3/FNV humanoid (18Bip01bodies,FALLOUT_HUMANOID_RAGDOLL_BODIES; 202 FNV + 307 FO3 dead-base corpses measured, the root body placed at the skeleton root rather than zero-local becauseBip01carries the 67.8-unit hip height). FO3/FNV creatures and the three 19-entry FO3 poses stay refused and collapse from their idle pose, so a finding there is a rig-verification gap, not a regression. Parking is decided at the record boundary with noGameKindterm (parks_authored_pose: placement or base corpse with a non-empty pose); applying is keyed on the rig (pose_skeleton), which is what keeps Oblivion's 18-body spine-first humanoid out (#6490,a53173780; the ignored census still reads FNV 202 parked / 202 posed / 1 live). Guardsthe_fallout_humanoid_rig_is_posed_by_orderanda_corpse_pose_is_parked_on_the_placement_flag_or_a_dead_base(byroredux/src/ragdoll_pose_tests.rs). Plus the kill-on-load script idiom (dismember-triggerXLKRtargets and self-killing bases) recognised at load because no FO3/FNV object script runs (#5223,717f39a82;script_killed_corpse_forms,fo3_fnv_script_killed_corpses_match_the_measured_census, FNV 10 + 2). The set is computed once per load order over every cell, so exterior trigger -> persistent-target links across separateload_references_budgetedcalls are not missed (#5248,d4e8c31be); it matches only the exact shippedGenericBiped*DismembermentSCRIPTEDIDs and requires the winning SCPT to resolve to a vanilla master, so name-alike or override scripts are declined (#5304,2d47bf7f1) — "winning" is theLoadOrderper-SCPT last-writer table (script_is_vanillainreference_state.rs), because a true override keeps the master's FormID and slot byte (#5428,335a0179c;kill_on_load_recognition_declines_a_true_override_of_a_vanilla_script); the whole-load-order scan returns empty on every game but FO3/FNV (#5450,eaac75911). FO3/FNVXLKRis 4 bytes (target only), not Skyrim's 8 — alen >= 8gate drops every link. A Starts-Dead / parked-dead corpse queues its ragdoll reconciliation only once its cell's references finish loading (queue_dead_actor_reconciliation_after_cell_load;complete_reference_loadand the live-load resident sweep release it), so the awake ragdoll no longer falls past statics later in REFR order that have no collider yet; runtime deaths still queue immediately (#6133,1e2c1d30e; not verified on a device). - SCOL is FNV-era (#1538):
is_scol_eraincrates/plugin/src/esm/records/parse.rsmust keep dispatchingparse_scol_groupforFallout3NV; re-narrowing it to FO4-only silently drops 1 084 placements. MOVS/PKIN/MSWP are FO4+-only and must not take FNV dispatch. Anunreachable_patternswarning inesm/cell/walkers.rsis a smell. - SCPT
SCHRis a 20-byte header with au16flags tail on Oblivion/FO3/FNV (#1654):ScriptRecord.flagsis read viau16_or_defaultinrecords/script.rs; au32read fails every real script and pins flags to 0. Guard:parse_scpt_extracts_schr_scda_sctx_and_vars+ the real-data script counts. - LVLI flattening:
expand_leveled_form_id/expand_leveled_loot(equip.rs) — NPC outfits and container loot must resolve to base items, not empty. NPCCNTOcarry lists expand throughexpand_leveled_lootwith LVLO counts (#4696) at the TPLT terminal's level, not the shell's (#4812; 643 FNV shells differ); anNPC_authoring level 0 (30 of 3,816 on FalloutNV.esm) reached through an LVLN pick backfills the terminal level from the deepest list's authored entry level, since every vanilla LVLI entry is >= 1 and level 0 returned empty armor / weapon / ammo / chem / money (#4232,4fbff2c6c; an authored level or a list-less chain is unchanged). Guards:fnv_leveled_item_multi_pick_semantics_are_pinned_on_the_shipped_master,equip.rsexpand_leveled_*tests,cnto_leveled_counts_match_the_container_path(byroredux/src/npc_spawn/tests.rs). Model-less templatedCREAspawner shells (VSpawnTier1CoyoteMed,LvlGecko: noMODL,TPLT->LVLC, flagTEMPLATE_FLAG_USE_MODEL_ANIMATION0x0040) resolve the leveled pick's model throughResolvedNpc, and a placement whose skeleton still does not resolve is despawned rather than left a body-less actor (#6075,011ad0c07; 63% of FNV creature placements spawned nothing before;installed_fallout_spawner_shells_resolve_a_model,--ignored, FalloutNV.esm 435/435). Output:/tmp/audit/fnv/dim_2.md
Dimension 3: NIF / NIFAL Slice — the Reference Realization
Subagent: legacy-specialist
Routing: block decode -> /audit-nif; the single-boundary / no-fabrication / no-render-time-fallback rules and collision/particle translation -> /audit-nifal; the Disney-BSDF gate (MAT_FLAG_PBR_BSDF must be 0 — FNV authors no BGSM/BGEM) -> /audit-renderer.
Paths: crates/nif/src/blocks/, crates/nif/src/import/, byroredux/src/material_translate.rs, crates/nif/tests/parse_real_nifs.rs, crates/nif/tests/per_block_baselines.rs
First step: cargo test -p byroredux-nif --release --test parse_real_nifs --test per_block_baselines --test block_coverage_baselines -- --ignored fallout_nv real_archive_torch (real-data lane; plain cargo test never runs it).
- Parse rate and per-block histogram hold vs
fallout_nv.tsv/ ROADMAP; a histogram shift = a mis-dispatched block. - FNV legacy emissive is
EmissiveSource::Material(emissive_source_tests.rs); Skyrim/FO4 variants must not bleed in. - Authored environment masks reflect: an env-mapped FO3/FNV surface (Environment_Mapping flag, scale 1, no authored specular) takes roughness 0.8 from the env arm, above the renderer's 0.6 reflection gate, so its mask never reached the shader — only 591 of the 3,576 FNV meshes that author mask + scale classified reflective (pistols 5 of 277, rifles 0 of 167). The classifier now takes
has_env_maskand caps such a surface atENV_MASK_ROUGHNESS_CEILING(0.55), andtriangle.fragblends metalness toward 0.9 by the mask texel for legacy (kind 0) materials, so the masked-out parts stay dielectric; a cube + mask without the env flag stay dielectric (2ed1d91ce; pinsenv_mask_classifier_and_shader_literals_agreeinbyroredux/src/material_translate.rs,an_authored_env_mask_reaches_the_classifier_through_the_adapter; #68161b89bf657, open for the Skyrim SE / FO4 population census — the FNV measurement is the only one). A chrome pistol or typewriter is not a classifier-gap finding unless it lacks the mask. - Hair tint:
bake_fallout_hair_tint(byroredux/src/npc_spawn/resumable/runtime.rs) bakes the HairTint mask only into meshes whose material authors the Hair bit (F3SF1 bit 18, carried raw asImportedMaterial::fallout_hair, no canonical consumer) — 87 of the 105 vanilla hair NIFs; glasses, eyepatches and wigs keep their vertex colours (#6130,7822695e4;fallout_hair_bake_leaves_meshes_without_the_hair_bit_alone). The remainingGameKindpick of the mask family is the issue's named longer-term step, not a new finding. - FNV must place on the post-Oblivion side of every
bsvergate (bsver::FO3_FNV= 34);examine_collision_kindclassifies FNV chainsCollisionAuthoring::Classic;havok_motion_typemaps BOX_INERTIA (4) to Dynamic (havok_motion_type_maps_full_enum). - Emitter birth rate reaches the ECS from the authored controller chain, per emitter instance: the per-game rate floor
real_archive_torch_meshes_surface_particle_emitters(--ignored) must be green for FNV. It was red on main 2026-09-12..19 (#4467) because the fix session ran only the default lane — any change undercrates/nif/src/import/walk/needs this lane run. MAX_NIF_NODE_DEPTH(128) never trips on a legit FNV scene (crates/nif/src/import/walk/tests.rs); since #5485 (cf8730adc) all five scene-graph walkers share one per-walkrevisit_guard(visited bitset + the depth cap), which must skip nothing on vanilla FNV trees (no multi-parent or self-referenced children ship) — a node or emitter count drop after that change is the regression. Output:/tmp/audit/fnv/dim_3.md
Dimension 4: Animation, Skinning & PHYSAL Ragdoll (FNV reference slice)
Subagent: legacy-specialist
Routing: the solver end (collider translation, fixed-step, build_ragdoll, controller) -> /audit-physics; clip registry / lock shape -> /audit-ecs. This dimension owns the source axis: does FNV's authored bhk chain reach the canonical spec intact.
Paths: crates/nif/src/anim/, crates/nif/src/import/collision/, byroredux/src/ragdoll.rs, byroredux/src/anim_convert.rs, byroredux/src/npc_spawn/, byroredux/src/npc_spawn/seam_blend.rs, docs/engine/physal.md
First step: cargo test -p byroredux-nif --release --test ragdoll_import -- --ignored fnv_ and docs/smoke-tests/m41-ragdoll.sh.
- Classic-era guards, verified on FNV data (FO3 re-verifies on its own): B-spline pose fallback gated on the
FLT_MAXsentinel (crates/nif/src/anim/bspline.rs; B-splines are reachable on FNV/FO3); since #5486 (0c4d4af08) resampling is clamped to the owning sequence's span (only a finite, forward span clamps — #5575; the curve parameter still maps over the interpolator's own span, the clamp only picks which times are emitted — #5572) and bounded byBSPLINE_MAX_SAMPLES_PER_CHANNELplus oneBSPLINE_IMPORT_KEY_BUDGETperimport_kfpass — a declined-channel count logged once per import (#5577, static-pose fallback) on a vanilla FNV clip is a regression; clip registry dedup by lowercased path (get_or_insert_by_path_dedupes_repeated_calls); NPC hand meshes (lefthand.nif/righthand.nif, theFallout3NVarm of the body table — Oblivion has its own four-part table since #5487,1b45763fa) load besideupperbody.nifon kf-era NPCs (byroredux/src/npc_spawn/) — bodies with no hands are the regression.humanoid_body_path_icon_indexmaps theFallout3NVupper body / left hand / right hand pieces to the race'sNAM1body-section ICON run (0 / 1 / 2) so Ghoul / Raider / Child races wear their own skin where the body NIFs bake the default one; the override lands only on the meshes the import flagsImportedMaterial::character_skin(authored base colour undertextures\characters\, minusunderwear*/groin*files), never the underwear or gore caps the body NIFs carry beside them — the flag is computed at import where the path is in hand, no longer from a string-pool snapshot (#6090,9d1a262ed,38685eeff; #6476 / #6477,477124477; the filter pin israce_skin_overrides_only_the_skin_meshesinbyroredux/src/npc_spawn/loot_appearance.rs, the mapping pins inbyroredux/src/npc_spawn/tests.rs). - Ragdoll:
template_from_imported/extract_ragdollwarn on dropped bodies/constraints rather than silently shrinking; FNV's dominant constraint is abhkMalleableConstraintwrapping a Ragdoll (docs/engine/physal.md§ FO3/FNV) and must yield a jointed body; the trailingbhkConstraintMotorCInfoof Ragdoll/LimitedHinge/Prismatic (and Malleable's Strength f32) is consumed, socrates/nif/tests/constraint_drift_corpus.rsrequires zero drift on FNV (#5960,a071ed217— 1,115 FNV realignment events before; the old motor-tail allowlist is deleted). Real-data guard:fnv_protectron_skeleton_is_one_connected_component(crates/nif/tests/ragdoll_import.rs).bhkBallAndSocketConstraint/bhkStiffSpringConstraint/ the ball-socket chain are decoded (#4212) butextract_ragdollwarns and drops them (no canonical joint kind) — a sole-link drop detaches a limb; no FNV occupancy census exists (#3792, closed, only covered the four decoded types;breakable_wrapped_ball_and_socket_still_dropspins the rest), so measure before assuming there is no FNV example. Writeback must not corrupt the skinned palette (byroredux/src/ragdoll_installed_tests.rs). Solver explosion containment (velocity clamp -> park -> articulation detach, #51615ae7f8ad4, #5246e8de9f8c8) is/audit-physics; its killer repro is FNVSLscorpionBurrowINT— a multi-SAP panic there is a regression. - No per-game branch in
ragdoll.rsor the solver bridge — the only per-game seam is the constraint CInfo decode. - Spawn-time skin seam blend (
seam_blend.rs, Oblivion/FO3/FNV only; mechanism/audit-nifal,/audit-gameplay): a head/hand part's open-edge vertices match skin neighbours (is_skin_texture— texture undertextures\characters\) withinSEAM_MATCH_RADIUS, take their normals, and bake a tone ratio into vertex colour fading overSEAM_FADE_DISTANCE(both engine tuning, set by eye on FO3). It must touch only the part being spawned, never the cached body/outfit import; blending into collars/sleeves is the regression. Output:/tmp/audit/fnv/dim_4.md
Dimension 5: Ambient AI, Dialogue, Consumables & HUD — FNV Data Through Gameplay Mechanisms
Subagent: general-purpose, model: "sonnet" ("haiku" when unchanged since D, _audit-common.md rule 5)
Routing: procedure runtimes, package selection, seat reservation, CTDA fail-open, consumable/restoration/loot mechanics, HUD driver -> /audit-gameplay; MenuXml eval/layout/raster -> /audit-ui, parse side -> /audit-parsers; character formulas -> /audit-character. Check here only what FNV authors.
Paths: byroredux/src/npc_spawn/, byroredux/src/boot/schedule/post_update.rs, byroredux/src/player_body.rs, byroredux/src/systems/{npc_dialogue,forcegreet,dialogue_voice,eat_sleep}.rs, crates/scripting/src/dialogue.rs, byroredux/src/hud.rs, byroredux/src/inventory/, crates/menuxml/src/profile.rs, docs/engine/npc-spawn-ai-packages.md, docs/engine/dialogue-trees.md, docs/engine/playable-vertical-slice.md
First step: git log --since=<date> --format='%h %cs %s' -- byroredux/src/npc_spawn byroredux/src/systems/npc_dialogue.rs byroredux/src/systems/forcegreet.rs byroredux/src/systems/dialogue_voice.rs byroredux/src/systems/eat_sleep.rs crates/scripting/src/dialogue.rs byroredux/src/hud.rs byroredux/src/inventory/ crates/menuxml
- Ambient locomotion is default-on (M42.10): sandbox seat, Wander/Travel/Follow/Escort/Guard/Patrol, Eat/Sleep and walk playback register unconditionally behind the single
BYRO_NO_AI_LOCOMOTION=1kill-switch; the seven olderBYRO_*opt-in variables are not read. Guard:ambient_locomotion_default_on_testsinbyroredux/src/boot/schedule/mod.rs. A finding that "NPCs walk without an opt-in" is a false premise. - Walk clips are FNV assets:
humanoid_walk_kf_pathresolveslocomotion\{male,female,child}\mtforward.kfundermeshes\characters\_male\per(gender, is_child), child gated on the RACE child flag;walk_speed_forderives per-actor speed from the clip's authored stride, sane range [30, 250] u/s, fallbackLOCOMOTION_WALK_SPEED. Confirm on real FNV NPCs that female/child actors get their own clip and a measurable stride. Creature clips are per game (creature_idle_kf_paths/creature_walk_kf_paths,byroredux/src/npc_spawn/; first candidate that loads wins): FO3/FNV idlemtidle.kfthenidle.kf, walklocomotion\mtforward.kf,mtforward.kf, then the shipped misspellinglocomotion\mtfoward.kf(deathclaw, nightstalker) — Oblivion'sidle.kf/forward.kfleft every FNV creature in bind pose (#6078,578d8432a;creature_clip_candidates_are_per_game, real-datainstalled_fallout_creature_clips_resolve_from_their_records,--ignored, FNV 40 of 43 directories). - Slice features landed Skyrim-first — check FNV reach, do not assume it: ambient faction hostility starts and disengages combat and suspends the ambient package (#4414, #4816, #4703; FNV's
p2-melee-coretarget is GSSettlerCM00104F08— GSTrudy is authored Initially Disabled, #5156); the player body's kf arm reuseshumanoid_walk_kf_path(kf_capsule_resolves_gendered_walk_and_shared_idle_from_the_registry) butp3-player-body.shis Skyrim-only. - Dialogue layers (mechanism
/audit-gameplayDim 2,/audit-scriptingDim 5; specdocs/engine/dialogue-trees.md):npc_dialogue.rsbinds topics through running-quest alias bindings (running_quests_binding_entity) and FNVQUSTauthors noALST/ALLS, so FNV rides the FO3/FNV layers of #5367 (closed, all phases landed — G/L/F14cff35ae, voicef8950e7cc).open_conversationfalls back to the genericGREETINGDIAL for a quest-less NPC (Doc Mitchell), read fromEsmIndex::generic_greeting_formand borrowed rather than cloned (#5426,411d0eeaf).select_infohonours each INFO's owning quest viaQSTI+ quest priority (#5271,dbc07e8f0) and gates each candidate through its quest's ownQUSTconditions first (DialogueQuestConditions, #5734,6709eb65e; fail-closed — a gate on an uncatalogued function declines the line instead of letting the top-priority quest's unconditioned greeting hijack every speaker it outranks — FNV's ED-E beeps wereGetIsVoiceTypeuntil #5750 (20d01cd6c) catalogued it at index 427 on FO3/FNV (426 on Skyrim/FO4; true for the actor'sVTCKvoice type or any member of an FLST of them); ten more FO3/FNV script getters —IsChild(365),GetTalkedToPC(50),GetHasNote,IsInList,GetLocked,GetCurrentTime,GetInSameCell,GetBaseActorValue,GetDestructionStage,GetMapMarkerVisible— are CTDA rows that call the ObScript VM's own getter bodies (run_getter_for_condition, no second copy), modeled on FO3/FNV only, which took FNV's declined INFOs 989 -> 650 and declined quests 4 -> 0 (#6460,102e4f5cd); nine more (GetIsCurrentPackage161,IsInInterior300,HasMagicEffect214,GetSitting159,GetDetected45,IsKiller409,IsWeaponOut101,GetRestrained244,IsSneaking286; 650 -> 641, #6558,612f876f9) and four more (GetCurrentAIPackage110,GetIsReference136,IsOwner278,GetHitLocation391; 641 -> 613, 28 INFOs, #6545,d3db6fd58) follow the same route, leavingGetFriendHit288 /GetFactionRelation450 deliberately declined (every authored FNV condition carries a zero target the bodies cannot read); the 613 / 0 / 69 counts are pinned infnv_dialogue_declined_by_unmodeled_conditions(crates/scripting/tests/condition_catalog_real_data.rs) and registered in.github/real-data-pins.txt; the guard is released before evaluation so it never nests withQuestStageState,8e4c6e40a; the running-quest check takes a short read per question rather than holdingQuestStageStateacrossevaluate(), whoseGetStageDonere-reads it — a recursive read behind a parked writer on every FNV force-greet, #6615,6af13ef37), declines any INFO with an unevaluable condition rather than letting an unknown function's 0.0 satisfy a comparison (#5752,bd85de5ea;uncatalogued_info_condition_is_declined_instead_of_matching_zero), and honours the authored positional Random stack — a passing Random first INFO rolls among the immediately following passing Random INFOs, ended by the next passing non-Random or a Random End INFO (#5397,0436bea5c); the INFO that admitted a topic at menu time is the one selection and the topic click speak, so a stochastic gate (GetRandomPercent) is not rolled twice (#5682,8daa24105; #6007,f7c8f02a7;a_topic_click_speaks_the_info_the_menu_offered); the conversation ends when its partner dies, bleeds out or fights (#5867,ca3caf411); Say-Once INFOs are ledgered per speaker as(speaker ref, INFO)pairs in the savedDialogueSpokenInfoForms(#5300,f18224b02), and re-selecting the same INFO fires its OnEnd before the next OnBegin. Force-greet (byroredux/src/systems/forcegreet.rs) takes the Dialogue-procedure PACK'sPKDDtopic, walks the cached NAVM path and opens in place once held against an obstacle (#5452,6316719ed), and its walk step honoursBYRO_NO_AI_LOCOMOTION(#5430,bd366e300); the ambient arm installs only when the package's conditions are fully modeled (no fail-open pass),PTDTtargets the player (0x14) or nothing, and the Dialogue Type is Conversation, and a failed open consumes the directive (#5376,4e58f241d;dialogue_ambient_install_declines_unmodeled_offtarget_sayto) — consoledialogue.forcegreetstill installs any Dialogue package. Selection applies the same installer predicate (dialogue_installs_ambient): a Dialogue package whose pass was manufactured by fail-open (any uncatalogued CTDA function), a Say-To or an off-target one is skipped and selection continues to the next eligible package, so a declined one no longer starves the Sandbox/Travel/Eat/Sleep packages scheduled below it — 56 FNV NPC bases stood at spawn around the clock before (#5499,f7ca4a60f; #5722,a95dc4ce3; pins inbyroredux/src/npc_spawn/ai_package.rs). An ObScriptAddScriptPackageslot goes through the same predicate, so a declined scripted Dialogue package (27 of the 104 Dialogue packages FNV scripts add, e.g. Arcade Gannon'sArcadeHooverDamDialoguePackage) keeps the actor on its schedule; the slot stays for the script to remove, and a Say-To runtime is still unbuilt (#6051,a5343c806;a_declined_dialogue_script_package_leaves_the_actor_on_its_schedule). A dead player, or a conversation open with another NPC, holds the directive — re-read per open, so a second same-frame greeter holds rather than stripping the first's line (#5392,16544d4c9; #5642,c0c9c9d1b;dead_player_holds_the_forcegreet_directive,open_conversation_holds_or_consumes_the_forcegreet_directive). Gate:docs/smoke-tests/dt1-dialogue-layers.sh(Doc Mitchell's authoredonActivateObScript consumes the activation and re-queues it, so Phase G pollsdialogue.statusrather than reading it in the same drain — #6055,e110d8f18). FNV quests move on ObScript result scripts, not fragments: a QUST stage item's and an INFO's inlineSCHR..SCRVruns parse intoQuestStageLogEntry::result_script/result_script_begin/_end,obscript_stage_result_system(crates/scripting/src/obscript_results.rs) runs every passing stage item, a spoken line's Begin/End run with the speaker as implicit reference (run_spoken_result_script), the topics a line links to (TCLT) are selectable without alias bindings (dialogue.select), and a scriptIfwhose condition read a declined getter runs no arm (6db47b0e4; gatesp4-fnv-quest-route.sh/p5-fnv-quest-persistence.sh). Decoded data: INFODATAtype/flags (#4469,cc9353043) and the DIALTop-levelflag that keeps choice-only topics link-only (#5224,305363122). INFODATAFlags 2 (Say Once a Day — 105 FalloutNV.esm + 89 DLC INFOs — and Always Darken) is decoded but not consumed, a gap documented indocs/engine/dialogue-trees.md(#5747 closed on that doc,46ee56105): a finding needs new evidence, not the gap itself. - Dialogue voice (
byroredux/src/systems/dialogue_voice.rs; playback mechanism/audit-audio):Fallout - Voices1.bsarides the FNV sounds profile. The path issound\voice\<owning plugin>\<VTYP EDID>\<quest>_<topic>_<local id>_<response n>.ogg— owner throughGlobalFormIdResolver, since masters own the low slots (#5393), quest EDID cut toVOICE_QUEST_CHARSand the pair toVOICE_NAME_CHARSonly when quest + topic exceed 25 (a length test, one candidate — #5521), id plugin-local,<n>the authored response number (#5395; both5b68792b7;voice_path_candidates_truncate_only_over_the_length_limit,voice_path_candidates_strip_the_load_order_byte,voice_owner_resolves_masters_before_the_esm). FNV DLC voice ships in each DLC'sMain.bsa, which no profile mounts (pass--sounds-bsa), so unvoiced DLC lines under the default profile are expected, not a finding. Decoded PCM rides the byte-budgetedVoiceSoundCacheLRU (#5382,8410ad1e5) and segments follow the speaker (#5410,d1a7ee8c6); a topic change or conversation close cuts the playing line (#5432,40b77828b). - Eat / Sleep (FO3/FNV
PKDTprocedures 3 / 4,byroredux/src/systems/eat_sleep.rs; mechanism/audit-gameplayDim 5): walk once to thePLDTanchor (EatSleepLocation— NearReference at the reference; NearLinkedReference at the actor's ownXLKRtarget throughPackageTargetRegistry::linked_reference; NearEditorLocation at the spawn-stampedEditorPlacement; InCell spans the seat search over the whole resident cell (every FNV In-Cell package authors radius 0); the rest stay put — #5391,42aab4c09, #5500,bcaf63aa8. An unresolved reference or non-resident cell resolves toNoneand retries onANCHOR_RETRY_SECS, never cached as the actor's position — 163 FNV actor/target pairs place the target after the actor; arrived actors that cannot seat retry onSEAT_RETRY_SECS— #5527, #5449; the walk uses the cached NAVM path and attempts the seat once wall-held — #5452), then seat through the sandbox path; a marker beyond the arrival threshold becomes the actor's next KCC walk goal first, so an In-Cell package never snaps an actor across the resident cell (#5726,14e3144cf). FNV furniture markers author noanimation_type; the NIF importer reads the bed range of thefurnituremarkerNNa position refers to (1..=10, CS GetFurnitureMarkerID) asFurnitureMarkerKind::Sleep, so a cell's beds resolve Sleep and a sleeper takes a bed (#5390,9bdfdd1c6, importer0c6cd46dc; comments aligned #6475,b2d17ccf9). Every other legacy marker stays the v0Sitdefault, so an Eat actor can still take a non-bed marker; the #5390 sit fallback is retired (AIP-SEAT-004, PRD decision Q3), so a sleeper with no bed in range idles at its Sleep location and never takes a chair (a_sleeper_with_no_bed_idles_and_never_takes_a_chair). The per-frame actor gather lives in persistentEatSleepScratch, seated actors skipped at the gather and the retry maps pruned against a reused membership set (#5707,a08156579). Gate:docs/smoke-tests/m42-eat-sleep.sh(Prospector settler,time.set 23): it asserts the selection leg (SleepBehaviorhanded over) and an idle leg — the settler's Sleep package is In-Cell for GSHouseInterior02, not the loaded saloon, so he must neither walk nor carrySeated(#5391); the seat leg is unit-gated only, since no NPC in that cell has a resident-cell Eat/Sleep package (5f205f0ca, which replaced the #5427 seat assertion that only held while an unresolvable anchor froze the actor in place). Creatures are meant never to take furniture: theCreatureActormarker gates both seat paths, so Sandbox's wander/idle and Eat/Sleep's walk stay but no CREA is seated (#5495,9bb8bc475;a_creature_actor_never_takes_furniture). #5495 closed only on its second commit:9bb8bc475added the gate but nothing in production insertedCreatureActor(prepare_creature_statediscarded its world), so the 59 FNV creature placements across 14 cells still seated until701a84c11stamped it on the placement root at spawn (boot pre-registers the storage;creature_spawn_stamps_creature_actor_and_a_humanoid_does_notpins both directions,0ba1dd3afclassifies it for the save guards). Live gate:docs/smoke-tests/m42-package-procedures.sh(Vault11a mantises: marker present,SandboxBehaviorkept, nothingSeated). Mechanism:/audit-gameplayDim 5. A seated actor restored at a stream boundary re-runs the seating write path (parked sit pose, heading,SeatReservationsre-claim) or drops the Seated restore for its package to re-seat (#5501,b1fed839c). The docs and feature matrix no longer call Eat/Sleep/Dialogue parse-only (#5471,3bb9748f0,8a5670928). - Other package procedures (M42; runtimes
byroredux/src/systems/{flee_package,use_weapon_package,find_package}.rs, selectionbyroredux/src/npc_spawn/ai_package.rs; mechanism/audit-gameplayDim 5; specdocs/engine/npc-spawn-ai-packages.md): FleeNotCombat, UseWeapon (PKW3/PTD2decoded, volleys raised through the ObScript runtime; the volley starts only inside thePLDTlocation and thePLD2target location, honours Always Hit and Hold Fire When Blocked, pauses the midpoint of thePKW3range, fires the actor's own weapon for object types 12 / 22, and a package with noPTD2fires along the facing — #6656,58283eb1f,47207ecb0,96adb7320; Crouch To Reload stays unconsumed), Accompany (a Follow), Ambush, UseItemAt (walks to its location and sits on Eat's runtime) and Find (81 FNV packages; walks to a target and takes, attacks, greets or activates it; Flora / Furniture / NPC / Creature / Actors-Any targets and the item classes the records classify install — flora raises oneActivateEvent, furniture seats throughseat_at_marker, any other object type declines asunsupported-object-type <raw>,80e21e86a) all run (b540b104a,10f8cbb91,4b31a415c,9aaf5e1cf,7fded9423,fcd1cce4a); CastMagic has no FNV package to run, and procedure 11 declines asunsourced-semantics(procedure_11_declines_as_unsourced,071d15eb0). The selection scan reads the Once Per Day, Must Complete and Continue If PC Near flags (byroredux/src/npc_spawn/package_flags.rs,b21972535). Consolepack.ambient [entity]names each actor's package list with the schedule / condition / installer answer and every decline reason (7e5a62c68); the ignoredreal_fnv_esm_package_install_countsreports FNV 1,901 of 1,966 vanilla packages installing, by procedure and reason (measured 2026-11-08,e8adecf59; a missing master fails underBYROREDUX_REQUIRE_GAME_DATArather than reporting ok). An Eat/Sleep/UseItemAt diner standing above its seat marker still sits (13d44148d). Only UseWeapon (ULKitchen torchers), UseItemAt/Eat (Vault 3's Motor-Runner onThrone01) and Find (Hoover Dam troopers hunting the player) have an unconditional vanilla placement, so those are the live legs ofdocs/smoke-tests/m42-package-procedures.shbeside the #5495 creature leg; Flee, Accompany and Ambush are unit-gated only (Flee and Ambush install only from fully modelled conditions, like Find / UseWeapon / Dialogue, #6468,d8aa9bfcf). The gate joinedscripts/check-playable-smoke-contracts.sh's per-script loop in #6461 (de764ad3d), so exit 77 on missing data is enforced. - Consumables / Hardcore (mechanism:
/audit-gameplayDim 3): FNV's eligible plans per the spec (docs/engine/playable-vertical-slice.md§ P3) are Stimpak (00015169), Blood Pack, Bitter Drink.IsHardcore(CTDA 586) selects the savedHardcoreModeflag (crates/core/src/ecs/resources/hardcore.rs); hunger/thirst/sleep/ammo weight/companion death are documented as unbuilt (that doc, re-read 2026-09-29). Real-master tests (--ignored): Stimpakreal_stimpaks_restore_scaled_health_and_limbs_but_hardcore_only_health(byroredux/src/inventory/, needs FO3 + FNV) andreal_stimpaks_survive_disk_overlay_in_normal_and_hardcore_modes; Blood Pack + Bitter Drinkreal_new_vegas_timed_restoratives_survive_disk_overlay(bothbyroredux/src/save_io/consumable_tests.rs). An effect-local plain CTDA (Nuka-Cola's script effectGetIsID(player) == 1) travels with its effect (GatedCastEffect) and is evaluated at use: passing effects start, failing ones are left out, and a term the evaluator cannot read refuses the whole item, never a half-drunk dose; everyconsume_itemrefusal logs its failed precondition (afd260aeb, them47-3-obscript.shchem leg). - VATS / Action Points (CHARAL mechanism
/audit-character,/audit-gameplay; umbrella #6350, open): the VATS model is aCharacterRulesProfilerow (profile.vats(), #6423,20b5914bc) installed bybuild_vats_model(byroredux/src/npc_spawn/) on every Fallout3NV load — GMSTs repriced per load order, FO3 4 AP/s vs FNV 0.06 per frame normalized onto the fixed 60 Hz clock — and the same install arms theActionPointslane ofPoolRegenConfig, so FO3/FNV Action Points regen is live (the only live regen lane; Fatigue / Magicka and the affliction tick stay inert — #6374,68f200ec4,3dc16208e). The HUDActionPointsbar therefore moves.WEAP DNAMcarries the real AP cost and base to-hit,BPTDthe limb table (ff97cdd93,aebcc99a1). A shot is priced at the player's value of the weapon's own skill (theDNAM@104 actor-value code through its AVIF;WEAP ETYPis an equip-type enum on FO3/FNV, not a skill, so every weapon once priced at the neutral 50 —a9748e54c, thevats-targeting.shGuns leg: Torso 5% at Guns 5, 12% at Guns 100); an uncarried skill falls to neutral 50 while a carried 0 stays 0 (#6441,bb60b15cf); a same-target multi-shot fold carriesHitShotsso FNV Damage Threshold applies once per shot, not once to the sum (#6440,e669918ad); FO3/FNV perk entry point 8 (Calculate To Hit Chance) composes onto each scanned part's chance, held tofVATSMaxChance, andvats.statusshows the composed chance (#6657,15d11fcd0,the_to_hit_perks_scale_the_scanned_chance_and_stay_under_the_cap); the base-chance role of the weapon's Base VATS To-Hit Chance is still a Phase 0 verify item (VATS-TOHIT-003), as is the post-perk cap's source. Each landed VATS shot now reaches the combat funnel as aPartStrikeat the struck part'sBPNDdamage multiplier, the target's Damage Threshold applying per strike (83e9c6c92); routing a strike into the limb-condition actor values (VATS-LIMB-004) still waits on its formula, so a crippled limb is reached only by other writers, whose effect is live — crippled legs slow the player and every NPC stride, a crippled arm weakens a melee swing (byroredux/src/limbs.rs,bda7fab73; the gun-spread arm has no consumer) — and a dismemberment record answersIsLimbGone/GetKillingBlowLimband saves (d50fc1153);vats.limbs <entity>prints the limb table and per-limb condition (532cc486f); a VATS kill restores the Player Kill AP Reward (9e88a183b); VATS ends on a cell transition and on the player's death (#6625,6186ab77e). Consolevats.*anddocs/smoke-tests/vats-targeting.sh(plumbing scope only: freeze, limb pricing, AP-charged queue, hit through the combat funnel; limb-condition routing and CAMS playback are unbuilt, and the script's header still says per-part damage is unasserted) gate it; the script is inscripts/check-playable-smoke-contracts.sh's per-script loop since #6461 (de764ad3d). Crime is Oblivion / Skyrim only (profile rows pinned, #6426) — FO3/FNV carry noCrimeModel, so a finding that FNV theft charges a bounty is a false premise. - Rad gauge (not a MenuXml bar): the debug-UI vitals panel draws FO3/FNV rads as an accumulating gauge (
RadiationRadsnamed by the CHARAL profile, scale = the highestRADSsickness-stage threshold —RadiationStageRecord, 1000 rads /Rad5onFalloutNV.esm;byroredux/src/inventory/,e9b7bcead), drawn only beside real pools; FO4/FO76 draw none. - HUD profile (
HudGameProfile::fallout_nv): assembled style (meters grafted frommenus\prefabs\meter.xml, compass fromtemplate_compass_window); 2 bars keyed on AVIF editor idsHealth/ActionPoints, resolved per load throughPlayerVitalsand read from the player only, with the bar fraction composed throughActorValue::undamagedso a routedSetBaseoverride reads back (#5508,627149b62; theHudBar/bar_fractionsdocs now state the editor-id ->PlayerVitals->PlayerEntitypath, #5033,468c66142) (#4675 — the old literal0x2C9/0x2D0werefallout.rstest-fixture ids and never matched real content); 9 font slots (FO3 has 8) fromTextures2, which rides in as the numeric sibling of theFallout - Textures.bsaanchor; menu XML fromFallout - Misc.bsa. FO3 vs FNV is decided by the load order (fallout_profile: a base ESM among--master/--esm, else the one beside the corpus — #4718; the old--esm-name match gave DLC launches the FO3 profile). Guards:profiles_pin_corpus_facts(crates/menuxml/src/tests.rs),fallout_profile_follows_the_load_order_not_the_esm_name(hud.rs),fnv_corpus_facts(crates/menuxml/tests/fnv_corpus.rs,BYROREDUX_FNV_DATA; the corpus file also pins a measuredtextures\interface\DDS census, 1,767 entries split across both texture archives, #5669,065c9d31d), smokedocs/smoke-tests/m48-5-fnv-hud.sh(DLC launch shape; exits 77 on missing data and sits in the contract checker's HUD loop since #5276,c47b2d72d). Output:/tmp/audit/fnv/dim_5.md
Dimension 6: Real-Data Validation, Bench-of-Record & Smoke Gates
Subagent: general-purpose, model: "sonnet" ("haiku" when unchanged since D, _audit-common.md rule 5)
Routing: renderer correctness of RT lighting / denoise / sky on FNV scenes -> /audit-renderer, /audit-exterior; runtime telemetry diff -> /audit-runtime --game fnv.
Paths: assets/debug_profiles.toml, byroredux/src/game_profiles.rs, scripts/fsr-bench-matrix.sh, docs/smoke-tests/, .claude/audit-baselines/runtime/
First step: git log --since=<date> --format='%h %cs %s' -- scripts/fsr-bench-matrix.sh docs/smoke-tests assets/debug_profiles.toml
- Use
--game fnvfor anything not the bench-of-record (#3346): it expands to absolute--esm/--bsa/--textures-bsapaths, so CWD cannot break it. A vanillaData/has no bareMeshes.bsa(Fallout - Meshes.bsa;--bsaopens the literal path) and a bare-name run from the wrong CWD loads ~36 entities with a spurious FPS. - Bench-of-record:
scripts/fsr-bench-matrix.sh 3 300(encodes archives, CWD, upscaler sweep and the #3347 sanity gates), or single-configcargo run --release -- --game fnv --cell GSProspectorSaloonInterior --upscaler taa --bench-frames 300 --bench-holdthenbyro-dbg(port 9876)stats.--upscaler taais mandatory for comparison: with no flag the run usesfsr3/qualityor a persistedrender.upscalerfrom the settings file (BYROREDUX_SETTINGS_PATH, else~/.config/byroredux/settings.toml—discover_settings_pathincrates/settings-io/src/lib.rs; theRenderer upscaler selection: … (source: …)boot line and the bench line'supscaler=token name which, #4947), and comparing FSR-Quality FPS to the ROADMAP TAA-native headline reads as a fake ~75% win (#2560). Compare entity/draw/FPS/fence to the ROADMAP FNV row at its recorded commit; the pre-collider baseline was never recovered, so read ROADMAP Known Issues before flagging fence/FPS. - Chrome/posterized surfaces: run
tex.missingfirst (Update.bsa+Fallout - Textures2.bsasplit the texture set). The committed v104 real-data guard isfnv_meshes_bsa_v104_extracts_nif_with_gamebryo_magic(crates/bsa/tests/bsa_real.rs,--ignored); reader discipline is/audit-parsers. - Playable-slice gates on FNV (
docs/smoke-tests/README.md):p0-door-interaction.sh fnv,p1-character-traversal.sh fnv,p2-melee-core.sh fnv(GSSettlerCM kill — Health 45.0 on the authored NPC curve, 18 ragdoll bodies; FNV hits now lose the target's Damage Threshold incombat_damage_system, so the gate checks each swing's applied damage is positive, consistent and <= the incoming loadout damage, not equal to it —dbe562c1f,52b59e43d),p5-save-restart.sh fnv,dt1-dialogue-layers.sh,m42-eat-sleep.sh,p5-f5-f9-quicksave.sh fnv(its first move is a 20-frame backward walk, not 120 — the longer one drove the body into the saloon's back wall and quicksaved a mid-bob pose, #6501,ca8d26bc5),p5-door-transition.sh fnv,p5-soak.sh fnv,w1-water-traversal.sh fnv(real capsule Lake Mead shore -> swim -> dive -> surface -> shore -> cell boundary),m-exteriors.sh fnv, the FNV second playable routep4-fnv-quest-route.sh/p5-fnv-quest-persistence.sh(VCG02 "Back in the Saddle" on ObScript result scripts: Sunny's force-greet -> linked topic -> stage/objective chain -> F5/F9 + restart; headless; fixturedocs/smoke-tests/fixtures/fnv.env;6db47b0e4),m42-package-procedures.sh(see Dim 5),vats-targeting.sh(see Dim 5),w2-dynamic-water.sh(FNV Lake Mead: authored clutter bodies reach theWaterContactsink, float at the 0.6 buoyancy equilibrium and let the exterior physics world sleep; WATAL mechanism/audit-exterior,/audit-physics), and the M47.3 ObScript gatem47-3-obscript.sh(OnLoad / OnTriggerEnter / OnDeath / item OnAdd / PlayGroup live on Prospector + Lucky 38; VM mechanism/audit-scripting). Sunny Smiles's authored boot-time force-greet holds the dialogue page open, which releases injected input every frame, so the input-driven Prospector gates (P1, P5 save-restart / door-transition / F5-F9) first call the fixture helper smoke_end_boot_conversation (docs/smoke-tests/lib/fixture.sh, consoledialogue.end; fixtureFIXTURE_BOOT_CONVERSATION=1) — the greeting itself is correct (#6052,c385be0cc); since6db47b0e4her greeting's End result script records the meeting, so the force-greet no longer loops and arestoredsession is not re-greeted. Missing data is exit 77, never a pass —scripts/check-playable-smoke-contracts.shenforces it (m41-ragdoll.shused to exit 0 withSKIPon missing FNV data and now exits 77; it and the threep5-*gates joined the loops and leftUNCHECKED_SMOKE_GATES, #6547,a2d56c5a7);dt1-dialogue-layers.sh/m42-eat-sleep.shjoined its loops only in #5427 (6a72c6042) andm47-3-obscript.shonly in #6057 (c9d7ad838),m42-package-procedures.sh/vats-targeting.sh/w2-dynamic-water.shonly in #6461 (de764ad3d), which also added a self-check that everydocs/smoke-tests/*.shis in a loop or the shrink-onlyUNCHECKED_SMOKE_GATESlist — a new FNV gate absent from the checker now fails the checker itself, and anUNCHECKED_SMOKE_GATESentry for an FNV gate is a finding. - HUD smokes: the FNV capture (
m48-5-fnv-hud.sh) answers the vanilla start-up message box (ui.answer) before every capture, since the M47 quest runtime raises one that dims the HUD strip (#6609,e62d6c5fa); a red HUD smoke is first a modal in the frame. - Look baseline: the Prospector saloon overexposure (#5158) closed on the
7d99ba7f0exposure-envelope retune, and3bcf6c8e8(#5482) moved the IMGS/IMAD contrast grade after exposure with a shadow toe for every game, FNV included — compare FNV captures against post-3bcf6c8e8frames; the grade itself is/audit-renderer. Output:/tmp/audit/fnv/dim_6.md
Phase 3: Merge
- Read all
/tmp/audit/fnv/dim_*.md. - Combine into
docs/audits/AUDIT_FNV_<TODAY>.md:- Executive Summary — FNV is the baseline; any regression against the ROADMAP-recorded numbers is at least HIGH (CRITICAL if it breaks a shipped foundation).
- Dimension Findings — grouped by severity per dimension.
- Baseline Comparison Table — ROADMAP number vs observed for entity count, draw count, FPS, fence, parse rate, record count (cite the ROADMAP commit compared against).
- Regression Guard List — previously-fixed issues verified still correct.
- Remove cross-dimension duplicates.
Suggest: /audit-publish docs/audits/AUDIT_FNV_<TODAY>.md
(label every finding game:fnv + legacy-compat, plus its own domain label.)