一键导入
source-command-audit-regression
Verify previously fixed issues have not regressed; check that the fix code is still present and tests exist
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify previously fixed issues have not regressed; check that the fix code is still present and tests exist
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Shared audit protocol — project layout, methodology, dedup, finding format. Referenced by all audit skills.
Audit for deprecated APIs, libraries, patterns, language features across Python, TS/React, Rust, third-party deps
Unified severity scale and classification rules for all Auralis audit skills
| name | source-command-audit-regression |
| description | Verify previously fixed issues have not regressed; check that the fix code is still present and tests exist |
Use this skill when the user asks to run the migrated source command audit-regression.
Verify that ALL previously fixed issues and recent critical fixes have not regressed. For each fix, confirm the code is still present and check whether regression tests exist.
Shared protocol: Read .Codex/commands/_audit-common.md first for project layout, severity framework, methodology, deduplication rules, and GitHub issue template.
Build the full list of fixes to verify by combining BOTH sources below.
Run these commands to discover recent fixes dynamically:
cd /mnt/data/src/matchering
git log --oneline --grep="fix" -30
git log --oneline --grep="Fix" -30
For each fix commit found, read the changed files and understand what was fixed.
Run this command to find recently closed bug fixes:
gh issue list --state closed --label bug --limit 50 --json number,title,closedAt
For each closed issue, verify the fix is still present in the current code.
These are known critical invariants that must ALWAYS be verified, regardless of what git history shows. If a fix commit is listed, verify that specific commit's changes are still present.
| Fix Description | Commit | File(s) to Check | What to Verify |
|---|---|---|---|
| Equal-power crossfade between mastering chunks | 0a5df7a3 | auralis-web/backend/core/chunked_processor.py | Crossfade uses equal-power (sqrt) curve, not linear. Overlap region is 3s. |
| Parallel processing for sub-bass control | 8bc5b217 | auralis/core/simple_mastering.py | Sub-bass processing uses parallel path to prevent excessive loss |
| Double-windowing removal in EQ | cca59d9c | auralis/dsp/ | No double-windowing in VectorizedEQProcessor |
| Audio loading thread safety | 53cef6b4 | auralis/analysis/fingerprint/ | Audio loading doesn't block on KeyboardInterrupt |
| Cursor-based pagination in cleanup | bd94fd59 | auralis/library/ | cleanup_missing_files uses ID-cursor, not offset pagination |
| SQLAlchemy engine disposal | 8adb8d0a | auralis/library/migration_manager.py | Engine is disposed in MigrationManager.close() |
| Sample count preservation in DSP pipeline | — | auralis/core/hybrid_processor.py, auralis/dsp/stages.py | len(output) == len(input) invariant maintained across all processing stages |
| Copy-before-modify pattern | — | auralis/core/simple_mastering.py, auralis/dsp/stages.py | audio.copy() called before any in-place operations |
| Thread-safe player state (RLock) | — | auralis/player/enhanced_audio_player.py | All state mutations protected by RLock |
| SQLite thread-safe pooling | — | auralis/library/manager.py | pool_pre_ping=True and proper connection pooling configured |
| Repository pattern (no raw SQL) | — | auralis/library/repositories/ | All database access goes through repository classes, no raw SQL |
| Gapless playback engine | — | auralis/player/gapless_playback_engine.py | No gap or click at track boundaries |
Note: This registry should be updated when new critical fixes are made. Add entries when closing important bugs.
For each fix (from all sources):
grep -r "<keyword>" tests/Write your report to: docs/audits/AUDIT_REGRESSION_<TODAY>.md (use today's date).
## <Fix Description>
- **Status**: PASS | PARTIAL | FAIL | N/A
- **Source**: Git commit <hash> | GitHub issue #NNN | Seed registry
- **File checked**: `<path>:<line>`
- **Fix present**: Yes / No
- **Fix description**: <what the fix does, confirmed in code>
- **Tests exist**: Yes / No
- **Test files**: `<path>` (if applicable)
- **Notes**: <concerns, known limitations>
| Fix | Source | Status | Fix Present | Tests | Notes |
|-----|--------|--------|-------------|-------|-------|
| Equal-power crossfade | 0a5df7a3 | PASS | Yes | Yes | — |
| ... | ... | ... | ... | ... | ... |
Results: X PASS, Y PARTIAL, Z FAIL, W N/A
docs/audits/AUDIT_REGRESSION_<TODAY>.md/audit-publish docs/audits/AUDIT_REGRESSION_<TODAY>.md
Note: When publishing, FAILs become HIGH severity issues and PARTIALs become LOW enhancement issues.