Synthèse automatique
Découvre dynamiquement les tickets de bug récemment fermés dans un dépôt GitHub, relie chaque correctif à son commit et à son test de garde, puis signale comme régressions les correctifs absents.
Points forts
- Enchaîne gh issue list/view et git log avec recherche du numéro de ticket pour retrouver le correctif et son test de garde.
- Permet de cibler l'audit avec --issues, --limit et --label, y compris les labels d'axe de jeu comme game:skyrim.
- Prévoit des contrôles inconditionnels des zones fragiles pour couvrir les correctifs qui n'ont jamais eu de ticket.
- Documente ses propres limites, notamment la fenêtre de 50 tickets et le correctif erroné #1651.
Limites
- Le dépôt matiaszanolli/ByroRedux et l'arborescence Rust de ses modules/tests sont codés en dur.
- Nécessite une authentification gh et l'historique git local ; le résultat dépend des labels et des messages de commit citant #NNN.
- Les valeurs par défaut --label bug et --limit 50 laissent de côté les correctifs anciens ou de type doc-rot sans surcharge.
À utiliser pour vérifier que des correctifs de bugs déjà fermés tiennent toujours après des refactorisations ou avant une release.
À éviter sur un autre dépôt ou sans accès à GitHub CLI ni à l'historique de commits du projet.
Analyse de sécurité
SûrThe skill orchestrates standard read-only developer tooling (gh issue list/view, git log/show, grep, cargo test) plus a single markdown report write. No credential handling, no piping to shells, no deletions, no attempts to alter agent behavior or bypass safety. Content is untrusted but contains no injected instructions; risk is limited to routine execution of the repository's own tests.
- •Uses `gh` (network access to GitHub) and `git`/`grep`/`cargo test` against a hardcoded repo (matiaszanolli/ByroRedux); all invocations shown are read-only queries or the project's own test suite — no destructive, exfiltrating, or obfuscated commands.
- •Writes an audit artifact to `docs/audits/AUDIT_REGRESSION_<TODAY>.md`; file creation is scoped to the repo's docs directory.
- •Running `cargo test` compiles and executes code from the target repository, which is normal developer workflow but does execute project code.
Exemples
Run the regression verification audit with --issues 1815,1816,1728 and report any Regression of #NNN.Run the regression verification audit with --limit 100 --label bug.Run the regression verification audit with --label bug,documentation,doc-rot --limit 80.description: "Verify closed bug fixes haven't regressed — dynamically discovers and checks" argument-hint: "--issues <N,N,N> --limit <N> --label <label>"
Regression Verification Audit
Confirm that previously-fixed bugs are still fixed. This audit dynamically discovers closed bug issues from GitHub, locates each fix and its guard test, and reports any fix that has gone missing as a Regression of #NNN.
See .claude/commands/_audit-common.md for project layout, severity, dedup,
context rules, and the per-finding format. See .claude/commands/_audit-severity.md
for the severity scale. This file only adds the regression-specific flow.
Parameters (from $ARGUMENTS)
--issues <N,N,N>: Verify only these issue numbers (e.g.,--issues 9,16,1516).--limit <N>: Max closed issues to verify (default: 50).--label <label>: Issue label filter (default:bug).
Step 1 — Discover fixed issues
gh issue list --repo matiaszanolli/ByroRedux --state closed --label bug \
--limit 50 --json number,title,body,closedAt,labels
With --issues, fetch those numbers directly (gh issue view <N> --repo matiaszanolli/ByroRedux --json number,title,body,closedAt,labels) instead.
Default
--label bugstructurally misses closed issues carrying only thedocumentation/doc-rotlabels (e.g. #1818, a doc-rot fix) — pass--label bug,documentation,doc-rotto include doc-rot regressions in the discovery pass. To scope a regression sweep to one title, filter on the game axis instead:--label game:skyrim(likewisegame:fnv,game:fo3,game:fo4,game:fo76,game:oblivion,game:starfield).
For each issue, pull out:
- Number + title — the regression handle.
- File references — backtick-quoted paths in the body (
crates/nif/...). - Acceptance criteria / fix description — what the fix is supposed to do.
- Related
#NNNN— phased fixes split across several issues (e.g. #1210 → #1255 → #1257) regress as a set; verify the whole chain, not just the head.
Discovery window caveat. The repo has 1600+ closed issues. The default
--limit 50only covers the most-recently-closed bugs, so older high-value fixes get no coverage unless you raise--limitor pass them via--issues. The unconditional Step 4 fragile-area checks are the safety net for fixes that landed as proactive refactors and were never an issue at all — run them every time regardless of which issues Step 1 surfaced.Fresh verification candidates (recent decompiler-safety + LC wave). Recently-closed, high-churn fixes worth an explicit
--issuespass while they're still warm: #1815 (decompiler recursion-depth cap in the boolean-collapse pass), #1816 (translate_pexmissingcatch_unwind), #1728 (Skyrim-BE/Starfield round-trip test for the.pexreader), #1740 (DA10.pexbyte-equality parity test), #1731 (VWD record-header flag parse + expose), #1718 (ragdoll bone/constraint-drop telemetry on bone-name miss). Note #1651 (BGSM/BGEM GL→Gamebryo blend factors) was itself a WRONG fix — its premise was disproven and reverted by #1823; don't re-verify #1651 as if it still holds. Several of these touch the import→material boundary that Step 4 already pins — cross-check there.
Step 2 — Locate each fix and its guard
For each issue, work the fix → guard-test chain:
- Find the fix commit.
git log --oneline --grep="#<N>"(commits useFix #<N>: …andfix/<N>-…branch merges).git show <commit> --statshows which files moved. - Confirm the fix is present in the live tree. Read the referenced file(s)
at the symbol named in the issue/commit (prefer
grep -n "fn <name>"over a line number — the post-Session-34/35 module splits invalidate old line refs). - Find the guard test. Tests live as
*_tests.rssiblings next to the module they cover (e.g.crates/nif/src/blocks/interpolator_tests.rs), or as#[cfg(test)] mod testsinline. To locate one:grep -rn "<N>" crates/ byroredux/ --include='*.rs'— many tests cite the issue number in a name or comment (fn fix_1516_…,// #1516).- Failing that, grep the fixed symbol or a keyword from the title across
*_tests.rssiblings of the fix file.
- Run the guard to prove it still passes. Crate packages are named
byroredux-<crate>(e.g.cargo test -p byroredux-nif <test_name>,cargo test -p byroredux-renderer,cargo test -p byroredux-core).
Step 3 — Assign a status
- PASS — fix code confirmed present and a guard test exists (ideally run green).
- PARTIAL — fix code present but no guard test. Flag as a hardening gap.
- FAIL — fix code missing or its guard now fails. This is the regression.
Report it with
Status: Regression of #<N>per the_audit-commonfinding format. - UNVERIFIABLE — the issue body names no file/symbol and no fix commit is findable. Note it and move on; don't guess.
Step 4 — Unconditional fragile-area checks
These guard fixes/contracts whose breakage is invisible to GitHub-issue discovery — most landed as refactors, not closed bugs — so check them every run regardless of Step 1's window. A FAIL here is still reported as a regression (reference the relevant issue if one exists, else describe the contract).
NIFAL canonical-translation tier (spec: docs/engine/nifal.md; see also
/audit-nifal for the dimension-level checklist):
- Single material boundary.
byroredux/src/material_translate.rs(fn translate_material) must remain the onlyImportedMesh → Materialsite — per-game material classification lives here, never in a shader.Material(crates/core/src/ecs/components/material.rs)metalness/roughnessmust stay plain resolvedf32fields — no reintroducedOption<f32>and no render-time classifier. The resolve-once contract is the boundary filling overrides +Material::resolve_pbr(which callsclassify_pbr_keyword) filling only the unresolved slots. - Typed particle emitters.
NiPSysEmitter/NiPSysEmitterCtlr/NiPSysEmitterCtlrData/NiPSysGrowFadeModifiermust still parse as typed blocks (crates/nif/src/blocks/particle.rs, dispatched incrates/nif/src/blocks/mod.rs), feedextract_emitter_params/extract_emitter_rate(crates/nif/src/import/walk/mod.rs→ImportedEmitterParamsincrates/nif/src/import/types.rs), and be consumed byapply_emitter_params(byroredux/src/systems/particle.rs). A regression to opaqueNiPSysBlockshows up as zero-sized emitters or clobbered colors. - Collision shape coverage.
BhkMultiSphereShape+BhkConvexListShapemust still translate to aCollisionShapeincrates/nif/src/import/collision/mod.rs(they were previously dropped toNone).
Disney BSDF + GPU struct contracts (recent shader wave):
- The Disney/Burley lobe now lives in
crates/renderer/shaders/include/pbr.glsl(split out oftriangle.frag; the GLSL-PathTracer MIT attribution block stays top-of-triangle.frag, Burley 2012 cite). The per-reservoirresRadiance[]array was retired (#1369 factoring → commit 218b425b, which removed the ReSTIR reservoir G-buffer attachment): WRS is register-local now, recomputing the unshadowed radiance from the light index viashadowableLightRadianceincrates/renderer/shaders/include/lighting.glsl. A regression here is a reintroduced per-thread reservoir array or a re-added G-buffer reservoir attachment — verify the array stays gone, not "intact". #[repr(C)]GPU structs hold their size pins incrates/renderer/src/vulkan/scene_buffer/gpu_instance_layout_tests.rs:GpuInstance= 128 B (gpu_instance_is_128_bytes_std430_compatible) andGpuCamera= 352 B (gpu_camera_is_352_bytes). Run them:cargo test -p byroredux-renderer gpu_.
Output
Write to: docs/audits/AUDIT_REGRESSION_<TODAY>.md (YYYY-MM-DD).
Per-issue entry
## #<ISSUE>: <Title>
- **Status**: PASS | PARTIAL | FAIL | UNVERIFIABLE
- **Closed**: <date>
- **Fix commit**: <hash> (or "not found")
- **Fix site**: `<path>` (`<symbol>`)
- **Fix present**: Yes / No / Unknown
- **Guard test**: `<test name>` in `<path>` — passes / fails / none
- **Notes**: <concerns>
Summary table
| Issue | Title | Status | Fix Present | Guard |
|-------|-------|--------|-------------|-------|
For any FAIL, surface it as a Regression of #NNN finding (base format in
_audit-common.md) and suggest:
/audit-publish docs/audits/AUDIT_REGRESSION_<TODAY>.md
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/regression-verification-audit-mt59owow/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/regression-verification-audit-mt59owow' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/regression-verification-audit-mt59owow/download' --output '.skill-downloads/regression-verification-audit-mt59owow/SKILL.md.part' && mv '.skill-downloads/regression-verification-audit-mt59owow/SKILL.md.part' '.skill-downloads/regression-verification-audit-mt59owow/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Le fichier ne fournit pas un en-tête name/description exploitable pour cette procédure native. Le téléchargement reste disponible pour lecture ; utilisez le mode manuel ci-dessous.
Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/regression-verification-audit-mt59owow/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Comparaison de performances ClickHouse
Testing
Évaluez les résultats de tests de performance ClickHouse, analysez les régressions de PR, comparez avec l'historique et vérifiez la fiabilité des mesures.
Analyse des rapports de performance CI
Testing
Analyse les rapports de comparaison de performance CI pour une PR ClickHouse. Recoupe l'historique master pour distinguer les vraies régressions des tests instables.
Méthode Santa
Testing
Vérification adversarial multi-agents avec deux réviseurs indépendants. La sortie est vérifiée deux fois et corrigée itérativement jusqu'à ce que les deux acceptent avant publication.