[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JZXPAFVNP5ZFVXQP02R1KZ":3,"skill-same:01M6JZXPAFVNP5ZFVXQP02R1KZ":60},{"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":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6JZXPAFVNP5ZFVXQP02R1KZ","audit-speedtree",null,"Audit the SpeedTree (.spt) TLV walker (crates\u002Fspt), the placeholder-billboard import, and the TREE→billboard\u002Fwind wiring for Oblivion \u002F FO3 \u002F FNV","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-speedtree\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30],"audit speedtree","audit","tree","deep","import","for","wiring","dimensions","placeholder","wind","focus","depth","2026-11-10 10:12:30",false,"---\ndescription: \"Audit the SpeedTree (.spt) TLV walker (crates\u002Fspt), the placeholder-billboard import, and the TREE→billboard\u002Fwind wiring for Oblivion \u002F FO3 \u002F FNV\"\nargument-hint: \"--focus \u003Cdimensions> --depth shallow|deep\"\n---\n\n# SpeedTree Subsystem Audit\n\nAudit `crates\u002Fspt` (~2.8k LOC in `src\u002F`; `.spt` is pre-Skyrim only — Skyrim+ trees are NIFs rooted\nat `BSTreeNode`, `\u002Faudit-nif`). It does two things: (1) walks the `.spt` parameter stream as\ntag-length-value data, and (2) emits a **placeholder billboard** `ImportedScene` so TREE cells\nrender *something* instead of failing or going treeless.\n\n**Settled facts** (verify against code, then treat as premises):\n- `.spt` is a procedural tree *definition* (parameters, BezierSpline curves, texture names) —\n  there is **no geometry tail to decode** (#3808, 2026-09-07; the largest of 159 corpus files is\n  8,793 B). Past `parser::TAG_MAX` (13,999) the stream continues as more parameter TLV in the\n  14000–22000 tag bands; the earlier `0x4E25`\u002F`0x4E21` \"geometry-tail markers\" were arithmetic\n  slips (0 of 159 files). Layout notes: `crates\u002Fspt\u002Fdocs\u002Fformat-notes.md`.\n- **The walker stops on the true TLV boundary in 159\u002F159 corpus files** (#4122, fixed 2026-09-24;\n  was 86\u002F159): three dictionary entries were mis-sized — `10002` stride 1→32, `10003` stride\n  8→32 (`u32` count + count × 8 f32), `13013` 7→4 B. Guard: opt-in\n  `walker_stops_on_true_tlv_boundary` (every non-EOF stop word in the 14000–23000 tail band *and*\n  `parser::best_resync_shift` == 0; the same fn drives `spt_tail --culprit`). Extract\u002Fparse drops\n  are counted per archive and asserted to zero, so a fatal `parse_spt` error fails the gate instead\n  of shrinking its denominator (fixed in b0faf598a, #5139). The precondition\n  for raising `TAG_MAX` \u002F dictionarying the 14000–22000 bands is now met but not acted on; any\n  consumer reading past `tail_offset` is still new territory.\n- SNAM\u002FCNAM are parsed but deliberately not consumed: `SpeedTreeWind` uses the neutral `(1, 0)`\n  pair because TREE.CNAM's layout is unpinned (#3190).\n\n**Not here** (`\u002Faudit-exterior`): distant tree\u002Fobject LOD, generating branch\u002Fleaf geometry or\nsourcing real tree meshes — an open design question in `docs\u002Fengine\u002Fexal-trees.md` §3\u002F§10.\n\n**Architecture**: Single-pass — small enough to run all dimensions inline.\n\nRead `.claude\u002Fcommands\u002F_audit-common.md` and `.claude\u002Fcommands\u002F_audit-severity.md` for shared protocol.\n\n## Scope\n\n**Crate**: `crates\u002Fspt\u002Fsrc\u002F` — `parser.rs`, `tag.rs`, `version.rs`, `stream.rs`, `scene.rs`,\n`import\u002Fmod.rs`, feature-gated `recon\u002Fmod.rs`; public surface in `lib.rs` (`parse_spt`,\n`import_spt_scene`, `SptImportParams`, `SptScene`, `detect_variant`, `dispatch_tag`).\n\n**Wiring cross-cuts**:\n- `byroredux\u002Fsrc\u002Fcell_loader\u002Freferences\u002Fsynth_child.rs` (`.spt` dispatch) →\n  `references\u002Fimport.rs` (`parse_and_import_spt`, `resolve_spt_model_path`,\n  `resolve_tree_icon_path`); `cell_loader\u002Fnif_import_registry.rs` (`spt_cache_key`,\n  `CachedNifImport.speedtree_wind`); `cell_loader\u002Fspawn\u002Fmesh_instance.rs` (supplies `cached.speedtree_wind`\n  and routes through `translate_material`) into the shared `scene\u002Fmesh_entity.rs::attach_mesh_components` (attaches `Billboard`\n  from `mesh.billboard_mode` and `SpeedTreeWind`, ee2862cda #6690);\n  `byroredux\u002Fsrc\u002Fstreaming\u002Fpre_parse.rs` (skips `.spt` in prefetch via `is_spt_model_path`, a byte-level\n  suffix test — a `&str` byte-index slice there panicked on a trailing U+FFFD, fixed in c83e4837a, #5137).\n- `byroredux\u002Fsrc\u002Fscene\u002Fnif_loader.rs` — the `--tree` loose route: a **parallel** path calling\n  `import_spt_scene` with `SptImportParams::default()` (no TREE metadata).\n- `crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Ftree.rs` (`parse_tree` → `TreeRecord`: OBND\u002FICON\u002FMODB\u002FSNAM\u002FCNAM\u002F\n  BNAM\u002FPFIG; `has_speedtree_binary`); `byroredux\u002Fsrc\u002Fsystems\u002Fbillboard.rs` (rotation + shared-wind\n  bend); `crates\u002Fcore\u002Fsrc\u002Fecs\u002Fcomponents\u002Fbillboard.rs` (`SpeedTreeWind`).\n\n**Acceptance**: ≥ 95% unknown-tag-clean per game in `crates\u002Fspt\u002Ftests\u002Fparse_real_spt.rs`\n(`parse_rate_{fnv,fo3,oblivion}_spt`; `#[ignore]`, env `BYROREDUX_{FNV,FO3,OBL}_DATA`; 133 vanilla\nfiles, Oblivion 113) plus `walker_stops_on_true_tlv_boundary` (159 incl. Shivering Isles); un-decoded trees render a billboard, never an `Err` out of the cell loader.\n\n## Parameters (from $ARGUMENTS)\n\n- `--focus \u003Cdimensions>`: comma-separated numbers. Default: all 6.\n- `--depth shallow|deep`: `shallow` = walker contract + wiring from source; `deep` = also run the\n  corpus harness. Default `deep`.\n\n## Extra Per-Finding Fields\n\n- **Dimension**: Walker Byte-Accounting | Placeholder Fallback | TREE→Billboard Wiring | Per-Game Variants | Tag Dictionary | NIFAL Material Translation\n\n## Phase 1: Setup\n\n1. `mkdir -p \u002Ftmp\u002Faudit\u002Fspeedtree`.\n2. `gh issue list --repo matiaszanolli\u002FByroRedux --limit 200 --json number,title,state,labels --search \"speedtree OR spt OR TREE\" > \u002Ftmp\u002Faudit\u002Fspeedtree\u002Fissues.json`.\n3. Read the most recent `docs\u002Faudits\u002FAUDIT_SPEEDTREE_*.md` (sort by date). Findings it lists as\n   closed are regression guards — `gh issue view` before treating any list as current.\n4. `cargo test -p byroredux-spt` (default lane). CI also compiles the feature-gated recon\n   examples and unit tests (`cargo check -p byroredux-spt --features recon --examples`,\n   `cargo test -p byroredux-spt --features recon --lib`).\n5. `deep` only — corpus: `BYROREDUX_FNV_DATA=… cargo test -p byroredux-spt --release --test parse_real_spt -- --ignored --nocapture`\n   (and `_FO3_DATA` \u002F `_OBL_DATA`); per-file dumps via the recon examples\n   (`cargo run -p byroredux-spt --features recon --example spt_walk`; also `spt_tail`, `spt_tagmap`, …).\n\n## Phase 2: Dimensions\n\nOrdered by risk.\n\n### Dimension 1: Walker Byte-Accounting\nPaths: `crates\u002Fspt\u002Fsrc\u002F{parser,stream}.rs`\nFirst step: `cargo test -p byroredux-spt` then diff `read_payload` sizes against `tag.rs`\n**Highest risk**: most tags have no length framing — the walker advances by the payload kind's\nfixed size, so one wrong size desyncs everything after it.\n**Guards**: `parser.rs` unit tests (`tag_13005_*` family incl. `tag_13005_at_eof_does_not_panic`,\n`empty_candidate_is_not_a_plausible_curve_string`), `tests\u002Fparse_synthetic_spt.rs`\n(`generator_output_matches_pinned_bytes`, `parser_decodes_every_dispatch_arm_against_pinned_fixture`),\n`tests\u002Fparse_real_spt.rs` (opt-in; incl. the #4122 boundary gate).\n**Checklist**:\n- Each `SptTagKind` advances exactly its size: `U8`=1, `U32`=4, `Vec3`=12, `FixedBytes(n)`=n,\n  `String`=4+len, `ArrayBytes{stride}`=4+count×stride, `Bare`=0. Cross-check `read_payload`\n  against `tag.rs`.\n- `MaybeStringElseBare` (tag 13005): peek decides Bare vs String; re-syncs on both arms, an EOF\n  peek can't panic, and a **zero-length candidate is Bare** (#3531: `Iterator::all` is vacuously\n  true on an empty slice; `Bare` discards nothing, a mis-read leading `0` shifts everything).\n- Stops cleanly at `is_eof()` (`reached_eof`) and at an out-of-range\u002F`Unknown` tag (records\n  `tail_offset` + `unknown_tags`); never reads past EOF.\n- `read_string_lp` and `ArrayBytes` cap at 64 KiB on the **byte count** (count × stride), not\n  just `count`, and return `Err` rather than OOM.\n- `parse_spt` has **five** fatal `Err` conditions (its docstring lists them: magic mismatch,\n  mid-payload underflow, string cap, array cap, unrecognized context-sensitive kind) in two kinds —\n  underflow raises `UnexpectedEof` (`SptStream::read_bytes`), the other four `InvalidData` (the\n  docstring said all-`InvalidData` until 86cd60621, #5361); all discard the whole `SptScene`.\n  In-range-but-unknown tags are non-fatal — the contract the placeholder relies on. A new fatal\n  path is HIGH (it kills the cell-loader fallback).\n- Little-endian, unconditional (every `.spt` is `__IdvSpt_02_`); flag any host-endian read.\n- A walk stop whose word is outside the tail band, or a non-zero resync shift, is a mis-sized\n  dictionary entry — pair the shift with the last decoded tag (`spt_tail --culprit`). The shift\n  only sees mis-sizing mod 4 (that is how `10003` hid); the stop-word check catches the rest.\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_1.md`\n\n### Dimension 2: Placeholder Fallback Correctness\nPaths: `crates\u002Fspt\u002Fsrc\u002Fimport\u002Fmod.rs`, `byroredux\u002Fsrc\u002Fsystems\u002Fbillboard.rs`\nFirst step: `cargo test -p byroredux-spt placeholder`\n**Guards**: `import\u002Fmod.rs` tests: `placeholder_normals_point_negative_z_for_billboard_arc`,\n`placeholder_index_winding_produces_negative_z_geometric_normal`, `placeholder_uses_obnd_bounds_when_present`,\n`non_finite_bnam_falls_through_instead_of_producing_a_nan_quad`, `leaf_texture_override_wins_over_spt_tag`,\n`empty_texture_leaves_path_unset_for_renderer_placeholder`.\n**Checklist**:\n- `import_spt_scene` **always** returns a one-node \u002F one-mesh `ImportedScene`; the cell loader only\n  gets `None` when `parse_spt` returns `Err`, and that path must log + skip the REFR without\n  aborting the cell.\n- Leaf-texture precedence: TREE.ICON override → `.spt` tag 4003 (first wins) → unset (renderer\n  placeholder).\n- Size precedence in `compute_billboard_size`: **OBND → BNAM → MODB → 256×512 default**, each\n  through `clamp_billboard_extent` (returns `Option`, so a non-finite field falls through to the\n  next tier; a bare `f32::clamp` is NaN-transparent and lets a NaN BNAM reach the quad, bounds and\n  BLAS build, #3529). OBND beats BNAM on purpose (BNAM clamps tall trees). Measured: vanilla\n  Oblivion has BNAM on 142\u002F142 TREE records and no OBND, so the MODB tier is reached by 0 vanilla\n  records; whether Oblivion should size from BNAM or MODB is an unanswered format question with\n  no tracking issue (#3740 closed 2026-08-31 for its comment half only; still unanswered as of the\n  2026-10-05 audit) — a finding needs a source, not a re-file.\n- Winding: front-face normal is `-Z`, indices `[0, 3, 2, 2, 1, 0]`, because the billboard system\n  rotates via `Quat::from_rotation_arc(-Z, look_dir)`; `bs_bound` Z-up→Y-up swap uses\n  `zup_to_yup_pos` with half-extents `(hx, hz, hy)`.\n- Billboard mode `BsRotateAboutUp` in `compute_billboard_rotation` is a world-up yaw lock (no\n  local frame available) — confirm it never drifts into pitch, which would tilt every tree.\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_2.md`\n\n### Dimension 3: TREE → Billboard Wiring (highest report yield)\nPaths: `byroredux\u002Fsrc\u002Fcell_loader\u002Freferences\u002F{synth_child,import}.rs`, `byroredux\u002Fsrc\u002Fcell_loader\u002F{nif_import_registry,spawn\u002Fmesh_instance}.rs`, `byroredux\u002Fsrc\u002Fscene\u002Fmesh_entity.rs`, `byroredux\u002Fsrc\u002Fsystems\u002Fbillboard.rs`, `crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Ftree.rs`\nFirst step: `cargo test -p byroredux parse_and_import_spt` and, with data, `cargo test -p byroredux vanilla_tree -- --ignored`\n**Guards**: `references\u002Fimport_tests.rs` — `vanilla_tree_models_all_resolve` and\n`vanilla_tree_icons_all_resolve` (env-gated corpus gates), the pure-closure resolver tests\n(`tree_model_resolves_leading_separator_bare_names_under_the_measured_directory`,\n`tree_icon_resolves_bare_filenames_under_the_measured_directory`),\n`parse_and_import_spt_surfaces_billboard_mode_on_mesh`, `malformed_spt_still_produces_placeholder`;\n`systems\u002Fwater.rs` pins the billboard system's `SpeedTreeWind` query shape by source text.\nLive end-to-end gate: `docs\u002Fsmoke-tests\u002Fm-trees.sh [fnv|fo3|obl|all]` (per-game entity + `Billboard`\nfloors; byro-dbg's `(no entities)` reads as a real zero so a broken `.spt` route is not blamed on\nthe attach, 811499b65, #5360; exits 0 on SKIP without data — run and reported via `\u002Faudit-runtime`).\n**Checklist**:\n- The `.spt` route fires when the TREE base's MODL ends in `.spt`; the TREE record comes from\n  `record_index.trees`; mixed `.nif` + `.spt` REFRs coexist.\n- **Model path**: every vanilla `.spt` MODL is a leading-separator bare filename (154\u002F154) and the\n  binaries live under a top-level `trees\\` folder, outside `meshes\\`. `resolve_spt_model_path` probes\n  verbatim → `meshes\\`-rooted → bare name under `SPT_CANDIDATE_DIRS` via exact-key lookup\n  (`has_mesh_exact` \u002F `extract_mesh_exact`), for `.spt` only; the streaming prefetch skips `.spt`\n  (a miss there would write a negative registry entry that masks the sync-side resolve). Pre-fix\n  0\u002F154 records resolved. Hoisting `trees\\` prefixing into the shared normaliser is the regression.\n- **Icon path**: every vanilla `TREE.ICON` is a bare filename; `resolve_tree_icon_path` probes\n  verbatim, then `textures\\trees\\leaves\\` (93\u002F93 measured), then `…\\billboards\\`; a miss warns\n  naming the ICON. Same scoping rule — never in the shared `normalize_texture_path`.\n- **Cache key** is per-(model path, TREE record) via `spt_cache_key` (records sharing one `.spt`\n  carry different ICON\u002FOBND\u002FBNAM); NIF keying unchanged.\n- `parse_and_import_spt` returns the same `CachedNifImport` shape as any model with synthetic\n  defaults the spawn path must not mis-read as NIF-rooted (`bsx_flags = 0`, `root_flags = 0`,\n  `attach_light_offset = None`).\n- **Billboard attach is at mesh level**: `import_spt_scene` sets\n  `mesh.billboard_mode = Some(BILLBOARD_MODE_BS_ROTATE_ABOUT_UP)` and the functional insert is\n  `scene\u002Fmesh_entity.rs::attach_mesh_components`'s `if let Some(raw) = mesh.billboard_mode` (shared by both spawn paths since ee2862cda, #6690) (without it the quad spawns\n  static). `placement_root_billboard` is a dead seam for SpeedTree (no producer sets it;\n  `spawn.rs` consumer is unreachable) — target findings at the mesh-level insert.\n- **Wind**: placeholders carry `SpeedTreeWind::new(1.0, 0.0)` (neutral; cached as\n  `CachedNifImport.speedtree_wind`, attached in `attach_mesh_components` — fed by `mesh_instance.rs` and the `nif_loader.rs` mesh route — and by the node-level\n  `NiBillboardNode` insert in `nif_loader.rs`). `apply_speedtree_wind` in `billboard.rs` bends the canopy from the shared\n  `WindField`: gust is clamped to a finite non-negative value before use (#3194), response\u002Fstiffness\n  clamped, keyed off the `SpeedTreeWind` marker rather than one billboard enum.\n  `WindField.direction` is engine-xz \"blows toward\" (#4729): the bend axis tips the crown\n  **downwind** (same sense as the grass beneath it) and the gust wave travels with the wind —\n  pinned in `speedtree_billboard_bends_with_shared_weather_wind` \u002F `reversing_wind_reverses_mean_lean`. The billboard\n  system's scheduler access declares `reads::\u003CSpeedTreeWind>()` (`boot\u002Fschedule\u002Flate\u002Fcamera.rs` — the Late-stage registrations moved into `late\u002F` in 22e0f71fc, #6703 (closed); `late.rs` is only the hub, so scope `grep` \u002F `git log` to the directory).\n  `SpeedTreeWind` is rebuilt on import, not saved (`save_io\u002Fregistry_completeness_tests.rs`).\n  Do not project TREE.CNAM into it (unpinned, #3190).\n- `TreeRecord` capture is lossless for what the importer reads (OBND→`bounds`, ICON→`leaf_texture`,\n  MODB→`bound_radius`, BNAM→`billboard_size`); CNAM is 8 × f32 on all three games (#3751) — flag\n  mis-parses, not the unconsumed SNAM\u002FCNAM.\n- Cell unload despawns the placeholders; no leaked BLAS entries for the quad.\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_3.md`\n\n### Dimension 4: Per-Game Variants & Route Divergence\nPaths: `crates\u002Fspt\u002Fsrc\u002Fversion.rs`, `byroredux\u002Fsrc\u002Fscene\u002Fnif_loader.rs`\nFirst step: `grep -rn 'detect_variant' byroredux\u002Fsrc crates\u002Fspt\u002Fsrc`\n**Checklist**:\n- `detect_variant` recognises any `__IdvSpt_02_`-prefixed file but cannot separate Oblivion (4.x)\n  from FO3\u002FFNV (5.x) at the magic level — it defaults to `V5Fnv`. It is a logged sanity check\n  today; a consumer that *branches* on it is a real bug (the placeholder path is\n  variant-agnostic). Guards: `detect_variant_recognises_idvspt_magic`,\n  `detect_variant_unknown_for_non_speedtree_inputs`.\n- `MAGIC_HEAD` is the exact 20 bytes (`u32 1000`, `u32 12`, `\"__IdvSpt_02_\"`); a flip or short input rejects.\n- **Route divergence**: the cell route threads TREE metadata; the `--tree` route uses defaults\n  (256×512, no ICON override). Both must call `parse_spt` + `import_spt_scene`; flag drift in\n  that call, and any sizing bug the default route would mask for the cell route.\n- Oblivion vs FO3\u002FFNV share one walker (same magic, same dictionary); the undictionaried\n  14000–22000 bands recur across ~151\u002F159 files — a claim they are identical across games is unverified.\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_4.md`\n\n### Dimension 5: Tag Dictionary\nPaths: `crates\u002Fspt\u002Fsrc\u002Ftag.rs`, `crates\u002Fspt\u002Fdocs\u002Fformat-notes.md`\nFirst step: `cargo test -p byroredux-spt tag::`\nLower risk, but a wrong size is the Dim 1 desync trigger — spot-check.\n**Guards**: `tag.rs` tests (`fixed_byte_payload_tags`, `string_payload_tags`,\n`unknown_for_out_of_dictionary_tags`, …).\n- `dispatch_tag` maps ~120 tags conservatively: anything absent → `Unknown` → the walker stops.\n  Dictionary size is not a gap. Sample fixed sizes against the `format-notes.md` tables (8003\u002F8005\u002F\n  8009 = 52 B, 13008 = 11 B, 13013 = 4 B, ArrayBytes 10002 \u002F 10003 stride 32 — the #4122\n  byte-verified sizes); a size contradicting the observed histogram is MEDIUM. 12002 (16 B) \u002F\n  12003 (20 B) were unobserved before #4122 and now decode cleanly in the corpus tail\n  (`format-notes.md` 2026-09-24; the `tag.rs` \u002F `scene.rs` \u002F `stream.rs` prose was brought in line\n  in 567d7e064, #5138) — flag only if a real sample contradicts them, or if doc prose drifts back\n  to the pre-#4122 desync state.\n- Confounder tags (`4096`, `5376` — string-length values inside the tag band) must stay `Unknown`.\n- A tag at ≥ 1% corpus frequency still `Unknown` needs a `format-notes.md` rationale (LOW).\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_5.md`\n\n### Dimension 6: NIFAL Material Translation for Placeholders\nPaths: `crates\u002Fspt\u002Fsrc\u002Fimport\u002Fmod.rs` (`placeholder_billboard_mesh`), `byroredux\u002Fsrc\u002Fmaterial_translate.rs`\nFirst step: `cargo test -p byroredux-spt placeholder_billboard_sets_foliage_pbr_overrides`\nThe placeholder flows through the single NIFAL boundary; single-boundary \u002F no-fabrication\nfindings belong to `\u002Faudit-nifal`, not here.\n- Both routes (`scene\u002Fnif_loader.rs`, `spawn\u002Fmesh_instance.rs`) reach `translate_material`; no\n  parallel \"spt material\" path.\n- Import-side non-PBR defaults hold: `is_pbr` \u002F `from_bgsm` \u002F `external_material_resolved` all\n  `false` (via `Default` — the last is the glass-promotion provenance, #4283), explicit foliage\n  overrides `metalness_override: Some(0.0)` \u002F `roughness_override: Some(0.85)` (a `None`\n  re-opens the keyword-classifier substring collision — Boxwood→wood, Elderberry→glass);\n  `emissive_source: EmissiveSource::None`; two-sided alpha-test cutout (`alpha_test`, threshold\n  0.5, func 6 GREATEREQUAL, `has_alpha: false`) survives translation with the silhouette\n  preserved. SpeedTree never resolves a BGSM\u002FBGEM.\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_6.md`\n\n## Phase 3: Output\n\nWrite findings to `docs\u002Faudits\u002FAUDIT_SPEEDTREE_\u003CTODAY>.md` in the base finding format. Suggest\n`\u002Faudit-publish` (labels speedtree + terrain-exterior; add `game:*` when specific to one\ntitle's `.spt` corpus).\n","# SpeedTree Subsystem Audit\n\nAudit `crates\u002Fspt` (~2.8k LOC in `src\u002F`; `.spt` is pre-Skyrim only — Skyrim+ trees are NIFs rooted\nat `BSTreeNode`, `\u002Faudit-nif`). It does two things: (1) walks the `.spt` parameter stream as\ntag-length-value data, and (2) emits a **placeholder billboard** `ImportedScene` so TREE cells\nrender *something* instead of failing or going treeless.\n\n**Settled facts** (verify against code, then treat as premises):\n- `.spt` is a procedural tree *definition* (parameters, BezierSpline curves, texture names) —\n  there is **no geometry tail to decode** (#3808, 2026-09-07; the largest of 159 corpus files is\n  8,793 B). Past `parser::TAG_MAX` (13,999) the stream continues as more parameter TLV in the\n  14000–22000 tag bands; the earlier `0x4E25`\u002F`0x4E21` \"geometry-tail markers\" were arithmetic\n  slips (0 of 159 files). Layout notes: `crates\u002Fspt\u002Fdocs\u002Fformat-notes.md`.\n- **The walker stops on the true TLV boundary in 159\u002F159 corpus files** (#4122, fixed 2026-09-24;\n  was 86\u002F159): three dictionary entries were mis-sized — `10002` stride 1→32, `10003` stride\n  8→32 (`u32` count + count × 8 f32), `13013` 7→4 B. Guard: opt-in\n  `walker_stops_on_true_tlv_boundary` (every non-EOF stop word in the 14000–23000 tail band *and*\n  `parser::best_resync_shift` == 0; the same fn drives `spt_tail --culprit`). Extract\u002Fparse drops\n  are counted per archive and asserted to zero, so a fatal `parse_spt` error fails the gate instead\n  of shrinking its denominator (fixed in b0faf598a, #5139). The precondition\n  for raising `TAG_MAX` \u002F dictionarying the 14000–22000 bands is now met but not acted on; any\n  consumer reading past `tail_offset` is still new territory.\n- SNAM\u002FCNAM are parsed but deliberately not consumed: `SpeedTreeWind` uses the neutral `(1, 0)`\n  pair because TREE.CNAM's layout is unpinned (#3190).\n\n**Not here** (`\u002Faudit-exterior`): distant tree\u002Fobject LOD, generating branch\u002Fleaf geometry or\nsourcing real tree meshes — an open design question in `docs\u002Fengine\u002Fexal-trees.md` §3\u002F§10.\n\n**Architecture**: Single-pass — small enough to run all dimensions inline.\n\nRead `.claude\u002Fcommands\u002F_audit-common.md` and `.claude\u002Fcommands\u002F_audit-severity.md` for shared protocol.\n\n## Scope\n\n**Crate**: `crates\u002Fspt\u002Fsrc\u002F` — `parser.rs`, `tag.rs`, `version.rs`, `stream.rs`, `scene.rs`,\n`import\u002Fmod.rs`, feature-gated `recon\u002Fmod.rs`; public surface in `lib.rs` (`parse_spt`,\n`import_spt_scene`, `SptImportParams`, `SptScene`, `detect_variant`, `dispatch_tag`).\n\n**Wiring cross-cuts**:\n- `byroredux\u002Fsrc\u002Fcell_loader\u002Freferences\u002Fsynth_child.rs` (`.spt` dispatch) →\n  `references\u002Fimport.rs` (`parse_and_import_spt`, `resolve_spt_model_path`,\n  `resolve_tree_icon_path`); `cell_loader\u002Fnif_import_registry.rs` (`spt_cache_key`,\n  `CachedNifImport.speedtree_wind`); `cell_loader\u002Fspawn\u002Fmesh_instance.rs` (supplies `cached.speedtree_wind`\n  and routes through `translate_material`) into the shared `scene\u002Fmesh_entity.rs::attach_mesh_components` (attaches `Billboard`\n  from `mesh.billboard_mode` and `SpeedTreeWind`, ee2862cda #6690);\n  `byroredux\u002Fsrc\u002Fstreaming\u002Fpre_parse.rs` (skips `.spt` in prefetch via `is_spt_model_path`, a byte-level\n  suffix test — a `&str` byte-index slice there panicked on a trailing U+FFFD, fixed in c83e4837a, #5137).\n- `byroredux\u002Fsrc\u002Fscene\u002Fnif_loader.rs` — the `--tree` loose route: a **parallel** path calling\n  `import_spt_scene` with `SptImportParams::default()` (no TREE metadata).\n- `crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Ftree.rs` (`parse_tree` → `TreeRecord`: OBND\u002FICON\u002FMODB\u002FSNAM\u002FCNAM\u002F\n  BNAM\u002FPFIG; `has_speedtree_binary`); `byroredux\u002Fsrc\u002Fsystems\u002Fbillboard.rs` (rotation + shared-wind\n  bend); `crates\u002Fcore\u002Fsrc\u002Fecs\u002Fcomponents\u002Fbillboard.rs` (`SpeedTreeWind`).\n\n**Acceptance**: ≥ 95% unknown-tag-clean per game in `crates\u002Fspt\u002Ftests\u002Fparse_real_spt.rs`\n(`parse_rate_{fnv,fo3,oblivion}_spt`; `#[ignore]`, env `BYROREDUX_{FNV,FO3,OBL}_DATA`; 133 vanilla\nfiles, Oblivion 113) plus `walker_stops_on_true_tlv_boundary` (159 incl. Shivering Isles); un-decoded trees render a billboard, never an `Err` out of the cell loader.\n\n## Parameters (from $ARGUMENTS)\n\n- `--focus \u003Cdimensions>`: comma-separated numbers. Default: all 6.\n- `--depth shallow|deep`: `shallow` = walker contract + wiring from source; `deep` = also run the\n  corpus harness. Default `deep`.\n\n## Extra Per-Finding Fields\n\n- **Dimension**: Walker Byte-Accounting | Placeholder Fallback | TREE→Billboard Wiring | Per-Game Variants | Tag Dictionary | NIFAL Material Translation\n\n## Phase 1: Setup\n\n1. `mkdir -p \u002Ftmp\u002Faudit\u002Fspeedtree`.\n2. `gh issue list --repo matiaszanolli\u002FByroRedux --limit 200 --json number,title,state,labels --search \"speedtree OR spt OR TREE\" > \u002Ftmp\u002Faudit\u002Fspeedtree\u002Fissues.json`.\n3. Read the most recent `docs\u002Faudits\u002FAUDIT_SPEEDTREE_*.md` (sort by date). Findings it lists as\n   closed are regression guards — `gh issue view` before treating any list as current.\n4. `cargo test -p byroredux-spt` (default lane). CI also compiles the feature-gated recon\n   examples and unit tests (`cargo check -p byroredux-spt --features recon --examples`,\n   `cargo test -p byroredux-spt --features recon --lib`).\n5. `deep` only — corpus: `BYROREDUX_FNV_DATA=… cargo test -p byroredux-spt --release --test parse_real_spt -- --ignored --nocapture`\n   (and `_FO3_DATA` \u002F `_OBL_DATA`); per-file dumps via the recon examples\n   (`cargo run -p byroredux-spt --features recon --example spt_walk`; also `spt_tail`, `spt_tagmap`, …).\n\n## Phase 2: Dimensions\n\nOrdered by risk.\n\n### Dimension 1: Walker Byte-Accounting\nPaths: `crates\u002Fspt\u002Fsrc\u002F{parser,stream}.rs`\nFirst step: `cargo test -p byroredux-spt` then diff `read_payload` sizes against `tag.rs`\n**Highest risk**: most tags have no length framing — the walker advances by the payload kind's\nfixed size, so one wrong size desyncs everything after it.\n**Guards**: `parser.rs` unit tests (`tag_13005_*` family incl. `tag_13005_at_eof_does_not_panic`,\n`empty_candidate_is_not_a_plausible_curve_string`), `tests\u002Fparse_synthetic_spt.rs`\n(`generator_output_matches_pinned_bytes`, `parser_decodes_every_dispatch_arm_against_pinned_fixture`),\n`tests\u002Fparse_real_spt.rs` (opt-in; incl. the #4122 boundary gate).\n**Checklist**:\n- Each `SptTagKind` advances exactly its size: `U8`=1, `U32`=4, `Vec3`=12, `FixedBytes(n)`=n,\n  `String`=4+len, `ArrayBytes{stride}`=4+count×stride, `Bare`=0. Cross-check `read_payload`\n  against `tag.rs`.\n- `MaybeStringElseBare` (tag 13005): peek decides Bare vs String; re-syncs on both arms, an EOF\n  peek can't panic, and a **zero-length candidate is Bare** (#3531: `Iterator::all` is vacuously\n  true on an empty slice; `Bare` discards nothing, a mis-read leading `0` shifts everything).\n- Stops cleanly at `is_eof()` (`reached_eof`) and at an out-of-range\u002F`Unknown` tag (records\n  `tail_offset` + `unknown_tags`); never reads past EOF.\n- `read_string_lp` and `ArrayBytes` cap at 64 KiB on the **byte count** (count × stride), not\n  just `count`, and return `Err` rather than OOM.\n- `parse_spt` has **five** fatal `Err` conditions (its docstring lists them: magic mismatch,\n  mid-payload underflow, string cap, array cap, unrecognized context-sensitive kind) in two kinds —\n  underflow raises `UnexpectedEof` (`SptStream::read_bytes`), the other four `InvalidData` (the\n  docstring said all-`InvalidData` until 86cd60621, #5361); all discard the whole `SptScene`.\n  In-range-but-unknown tags are non-fatal — the contract the placeholder relies on. A new fatal\n  path is HIGH (it kills the cell-loader fallback).\n- Little-endian, unconditional (every `.spt` is `__IdvSpt_02_`); flag any host-endian read.\n- A walk stop whose word is outside the tail band, or a non-zero resync shift, is a mis-sized\n  dictionary entry — pair the shift with the last decoded tag (`spt_tail --culprit`). The shift\n  only sees mis-sizing mod 4 (that is how `10003` hid); the stop-word check catches the rest.\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_1.md`\n\n### Dimension 2: Placeholder Fallback Correctness\nPaths: `crates\u002Fspt\u002Fsrc\u002Fimport\u002Fmod.rs`, `byroredux\u002Fsrc\u002Fsystems\u002Fbillboard.rs`\nFirst step: `cargo test -p byroredux-spt placeholder`\n**Guards**: `import\u002Fmod.rs` tests: `placeholder_normals_point_negative_z_for_billboard_arc`,\n`placeholder_index_winding_produces_negative_z_geometric_normal`, `placeholder_uses_obnd_bounds_when_present`,\n`non_finite_bnam_falls_through_instead_of_producing_a_nan_quad`, `leaf_texture_override_wins_over_spt_tag`,\n`empty_texture_leaves_path_unset_for_renderer_placeholder`.\n**Checklist**:\n- `import_spt_scene` **always** returns a one-node \u002F one-mesh `ImportedScene`; the cell loader only\n  gets `None` when `parse_spt` returns `Err`, and that path must log + skip the REFR without\n  aborting the cell.\n- Leaf-texture precedence: TREE.ICON override → `.spt` tag 4003 (first wins) → unset (renderer\n  placeholder).\n- Size precedence in `compute_billboard_size`: **OBND → BNAM → MODB → 256×512 default**, each\n  through `clamp_billboard_extent` (returns `Option`, so a non-finite field falls through to the\n  next tier; a bare `f32::clamp` is NaN-transparent and lets a NaN BNAM reach the quad, bounds and\n  BLAS build, #3529). OBND beats BNAM on purpose (BNAM clamps tall trees). Measured: vanilla\n  Oblivion has BNAM on 142\u002F142 TREE records and no OBND, so the MODB tier is reached by 0 vanilla\n  records; whether Oblivion should size from BNAM or MODB is an unanswered format question with\n  no tracking issue (#3740 closed 2026-08-31 for its comment half only; still unanswered as of the\n  2026-10-05 audit) — a finding needs a source, not a re-file.\n- Winding: front-face normal is `-Z`, indices `[0, 3, 2, 2, 1, 0]`, because the billboard system\n  rotates via `Quat::from_rotation_arc(-Z, look_dir)`; `bs_bound` Z-up→Y-up swap uses\n  `zup_to_yup_pos` with half-extents `(hx, hz, hy)`.\n- Billboard mode `BsRotateAboutUp` in `compute_billboard_rotation` is a world-up yaw lock (no\n  local frame available) — confirm it never drifts into pitch, which would tilt every tree.\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_2.md`\n\n### Dimension 3: TREE → Billboard Wiring (highest report yield)\nPaths: `byroredux\u002Fsrc\u002Fcell_loader\u002Freferences\u002F{synth_child,import}.rs`, `byroredux\u002Fsrc\u002Fcell_loader\u002F{nif_import_registry,spawn\u002Fmesh_instance}.rs`, `byroredux\u002Fsrc\u002Fscene\u002Fmesh_entity.rs`, `byroredux\u002Fsrc\u002Fsystems\u002Fbillboard.rs`, `crates\u002Fplugin\u002Fsrc\u002Fesm\u002Frecords\u002Ftree.rs`\nFirst step: `cargo test -p byroredux parse_and_import_spt` and, with data, `cargo test -p byroredux vanilla_tree -- --ignored`\n**Guards**: `references\u002Fimport_tests.rs` — `vanilla_tree_models_all_resolve` and\n`vanilla_tree_icons_all_resolve` (env-gated corpus gates), the pure-closure resolver tests\n(`tree_model_resolves_leading_separator_bare_names_under_the_measured_directory`,\n`tree_icon_resolves_bare_filenames_under_the_measured_directory`),\n`parse_and_import_spt_surfaces_billboard_mode_on_mesh`, `malformed_spt_still_produces_placeholder`;\n`systems\u002Fwater.rs` pins the billboard system's `SpeedTreeWind` query shape by source text.\nLive end-to-end gate: `docs\u002Fsmoke-tests\u002Fm-trees.sh [fnv|fo3|obl|all]` (per-game entity + `Billboard`\nfloors; byro-dbg's `(no entities)` reads as a real zero so a broken `.spt` route is not blamed on\nthe attach, 811499b65, #5360; exits 0 on SKIP without data — run and reported via `\u002Faudit-runtime`).\n**Checklist**:\n- The `.spt` route fires when the TREE base's MODL ends in `.spt`; the TREE record comes from\n  `record_index.trees`; mixed `.nif` + `.spt` REFRs coexist.\n- **Model path**: every vanilla `.spt` MODL is a leading-separator bare filename (154\u002F154) and the\n  binaries live under a top-level `trees\\` folder, outside `meshes\\`. `resolve_spt_model_path` probes\n  verbatim → `meshes\\`-rooted → bare name under `SPT_CANDIDATE_DIRS` via exact-key lookup\n  (`has_mesh_exact` \u002F `extract_mesh_exact`), for `.spt` only; the streaming prefetch skips `.spt`\n  (a miss there would write a negative registry entry that masks the sync-side resolve). Pre-fix\n  0\u002F154 records resolved. Hoisting `trees\\` prefixing into the shared normaliser is the regression.\n- **Icon path**: every vanilla `TREE.ICON` is a bare filename; `resolve_tree_icon_path` probes\n  verbatim, then `textures\\trees\\leaves\\` (93\u002F93 measured), then `…\\billboards\\`; a miss warns\n  naming the ICON. Same scoping rule — never in the shared `normalize_texture_path`.\n- **Cache key** is per-(model path, TREE record) via `spt_cache_key` (records sharing one `.spt`\n  carry different ICON\u002FOBND\u002FBNAM); NIF keying unchanged.\n- `parse_and_import_spt` returns the same `CachedNifImport` shape as any model with synthetic\n  defaults the spawn path must not mis-read as NIF-rooted (`bsx_flags = 0`, `root_flags = 0`,\n  `attach_light_offset = None`).\n- **Billboard attach is at mesh level**: `import_spt_scene` sets\n  `mesh.billboard_mode = Some(BILLBOARD_MODE_BS_ROTATE_ABOUT_UP)` and the functional insert is\n  `scene\u002Fmesh_entity.rs::attach_mesh_components`'s `if let Some(raw) = mesh.billboard_mode` (shared by both spawn paths since ee2862cda, #6690) (without it the quad spawns\n  static). `placement_root_billboard` is a dead seam for SpeedTree (no producer sets it;\n  `spawn.rs` consumer is unreachable) — target findings at the mesh-level insert.\n- **Wind**: placeholders carry `SpeedTreeWind::new(1.0, 0.0)` (neutral; cached as\n  `CachedNifImport.speedtree_wind`, attached in `attach_mesh_components` — fed by `mesh_instance.rs` and the `nif_loader.rs` mesh route — and by the node-level\n  `NiBillboardNode` insert in `nif_loader.rs`). `apply_speedtree_wind` in `billboard.rs` bends the canopy from the shared\n  `WindField`: gust is clamped to a finite non-negative value before use (#3194), response\u002Fstiffness\n  clamped, keyed off the `SpeedTreeWind` marker rather than one billboard enum.\n  `WindField.direction` is engine-xz \"blows toward\" (#4729): the bend axis tips the crown\n  **downwind** (same sense as the grass beneath it) and the gust wave travels with the wind —\n  pinned in `speedtree_billboard_bends_with_shared_weather_wind` \u002F `reversing_wind_reverses_mean_lean`. The billboard\n  system's scheduler access declares `reads::\u003CSpeedTreeWind>()` (`boot\u002Fschedule\u002Flate\u002Fcamera.rs` — the Late-stage registrations moved into `late\u002F` in 22e0f71fc, #6703 (closed); `late.rs` is only the hub, so scope `grep` \u002F `git log` to the directory).\n  `SpeedTreeWind` is rebuilt on import, not saved (`save_io\u002Fregistry_completeness_tests.rs`).\n  Do not project TREE.CNAM into it (unpinned, #3190).\n- `TreeRecord` capture is lossless for what the importer reads (OBND→`bounds`, ICON→`leaf_texture`,\n  MODB→`bound_radius`, BNAM→`billboard_size`); CNAM is 8 × f32 on all three games (#3751) — flag\n  mis-parses, not the unconsumed SNAM\u002FCNAM.\n- Cell unload despawns the placeholders; no leaked BLAS entries for the quad.\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_3.md`\n\n### Dimension 4: Per-Game Variants & Route Divergence\nPaths: `crates\u002Fspt\u002Fsrc\u002Fversion.rs`, `byroredux\u002Fsrc\u002Fscene\u002Fnif_loader.rs`\nFirst step: `grep -rn 'detect_variant' byroredux\u002Fsrc crates\u002Fspt\u002Fsrc`\n**Checklist**:\n- `detect_variant` recognises any `__IdvSpt_02_`-prefixed file but cannot separate Oblivion (4.x)\n  from FO3\u002FFNV (5.x) at the magic level — it defaults to `V5Fnv`. It is a logged sanity check\n  today; a consumer that *branches* on it is a real bug (the placeholder path is\n  variant-agnostic). Guards: `detect_variant_recognises_idvspt_magic`,\n  `detect_variant_unknown_for_non_speedtree_inputs`.\n- `MAGIC_HEAD` is the exact 20 bytes (`u32 1000`, `u32 12`, `\"__IdvSpt_02_\"`); a flip or short input rejects.\n- **Route divergence**: the cell route threads TREE metadata; the `--tree` route uses defaults\n  (256×512, no ICON override). Both must call `parse_spt` + `import_spt_scene`; flag drift in\n  that call, and any sizing bug the default route would mask for the cell route.\n- Oblivion vs FO3\u002FFNV share one walker (same magic, same dictionary); the undictionaried\n  14000–22000 bands recur across ~151\u002F159 files — a claim they are identical across games is unverified.\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_4.md`\n\n### Dimension 5: Tag Dictionary\nPaths: `crates\u002Fspt\u002Fsrc\u002Ftag.rs`, `crates\u002Fspt\u002Fdocs\u002Fformat-notes.md`\nFirst step: `cargo test -p byroredux-spt tag::`\nLower risk, but a wrong size is the Dim 1 desync trigger — spot-check.\n**Guards**: `tag.rs` tests (`fixed_byte_payload_tags`, `string_payload_tags`,\n`unknown_for_out_of_dictionary_tags`, …).\n- `dispatch_tag` maps ~120 tags conservatively: anything absent → `Unknown` → the walker stops.\n  Dictionary size is not a gap. Sample fixed sizes against the `format-notes.md` tables (8003\u002F8005\u002F\n  8009 = 52 B, 13008 = 11 B, 13013 = 4 B, ArrayBytes 10002 \u002F 10003 stride 32 — the #4122\n  byte-verified sizes); a size contradicting the observed histogram is MEDIUM. 12002 (16 B) \u002F\n  12003 (20 B) were unobserved before #4122 and now decode cleanly in the corpus tail\n  (`format-notes.md` 2026-09-24; the `tag.rs` \u002F `scene.rs` \u002F `stream.rs` prose was brought in line\n  in 567d7e064, #5138) — flag only if a real sample contradicts them, or if doc prose drifts back\n  to the pre-#4122 desync state.\n- Confounder tags (`4096`, `5376` — string-length values inside the tag band) must stay `Unknown`.\n- A tag at ≥ 1% corpus frequency still `Unknown` needs a `format-notes.md` rationale (LOW).\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_5.md`\n\n### Dimension 6: NIFAL Material Translation for Placeholders\nPaths: `crates\u002Fspt\u002Fsrc\u002Fimport\u002Fmod.rs` (`placeholder_billboard_mesh`), `byroredux\u002Fsrc\u002Fmaterial_translate.rs`\nFirst step: `cargo test -p byroredux-spt placeholder_billboard_sets_foliage_pbr_overrides`\nThe placeholder flows through the single NIFAL boundary; single-boundary \u002F no-fabrication\nfindings belong to `\u002Faudit-nifal`, not here.\n- Both routes (`scene\u002Fnif_loader.rs`, `spawn\u002Fmesh_instance.rs`) reach `translate_material`; no\n  parallel \"spt material\" path.\n- Import-side non-PBR defaults hold: `is_pbr` \u002F `from_bgsm` \u002F `external_material_resolved` all\n  `false` (via `Default` — the last is the glass-promotion provenance, #4283), explicit foliage\n  overrides `metalness_override: Some(0.0)` \u002F `roughness_override: Some(0.85)` (a `None`\n  re-opens the keyword-classifier substring collision — Boxwood→wood, Elderberry→glass);\n  `emissive_source: EmissiveSource::None`; two-sided alpha-test cutout (`alpha_test`, threshold\n  0.5, func 6 GREATEREQUAL, `has_alpha: false`) survives translation with the silhouette\n  preserved. SpeedTree never resolves a BGSM\u002FBGEM.\n**Output**: `\u002Ftmp\u002Faudit\u002Fspeedtree\u002Fdim_6.md`\n\n## Phase 3: Output\n\nWrite findings to `docs\u002Faudits\u002FAUDIT_SPEEDTREE_\u003CTODAY>.md` in the base finding format. Suggest\n`\u002Faudit-publish` (labels speedtree + terrain-exterior; add `game:*` when specific to one\ntitle's `.spt` corpus).\n",{"description":7,"argument-hint":36},"--focus \u003Cdimensions> --depth shallow|deep","main","6afdb791976ed2c24a6c7e61fcbe0cd1f8776061",".claude\u002Fcommands\u002Faudit-speedtree",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":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add matiaszanolli\u002FByroRedux --skill audit-speedtree",{"tool":52,"command":53},"bunx","bunx skills add matiaszanolli\u002FByroRedux --skill audit-speedtree",{"tool":55,"command":56},"pnpm","pnpm dlx skills add matiaszanolli\u002FByroRedux --skill audit-speedtree","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.claude\u002Fcommands\u002Faudit-speedtree\u002FSKILL.md",true,[],[61,70,79,88,97,105],{"skillNo":62,"name":63,"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":64,"categories":65,"keywords":66,"publishedAt":31},"01M6K028GPYDYZ5441BW6YDFNK","trace-flow","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Ftrace-flow\u002FSKILL.md",[],[67,68,69],"trace flow","trace","flow",{"skillNo":71,"name":72,"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":73,"categories":74,"keywords":75,"publishedAt":31},"01M6K026GTTXBBXXCH09SDRNX6","session-close","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Fsession-close\u002FSKILL.md",[],[76,77,78],"close","session close","session",{"skillNo":80,"name":81,"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":82,"categories":83,"keywords":84,"publishedAt":31},"01M6K024KA1JFTV7BGYFSZV2VV","legacy-lookup","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Flegacy-lookup\u002FSKILL.md",[],[85,86,87],"lookup","legacy lookup","Legacy",{"skillNo":89,"name":90,"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":91,"categories":92,"keywords":93,"publishedAt":31},"01M6K022H36BJ35KB6MT2NHVH6","fix-issue","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Ffix-issue\u002FSKILL.md",[],[94,95,96],"issue","fix","fix issue",{"skillNo":98,"name":99,"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":100,"categories":101,"keywords":102,"publishedAt":31},"01M6K0208JHG4WDJX143YKFF0W","audit-ui","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Faudit-ui\u002FSKILL.md",[],[103,104,20],"audit ui","ui",{"skillNo":106,"name":107,"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":108,"categories":109,"keywords":110,"publishedAt":31},"01M6K01XPHAPHF9BPS4CG5DDWX","audit-tooling","https:\u002F\u002Fgithub.com\u002Fmatiaszanolli\u002FByroRedux\u002Fblob\u002Fmain\u002F.zcode\u002Fcommands\u002Faudit-tooling\u002FSKILL.md",[],[20,111,112],"audit tooling","tooling"]