cleanup: remove dead code and duplicate docs

- Remove session-ses_2f27.md (161KB raw session log)
- Remove 49 ROOT_* duplicate files across REFERENCE/
- Remove 14 duplicate files between REFERENCE/ root and history/
- Remove asr_legacy.rs (dead code, replaced by asr.rs)
- Remove src/core/worker/ (duplicate JobWorker)
- Remove src/core/layers/ (empty directory)
- Remove 4 .bak files in src/
- Remove 7 dead private methods in worker/processor.rs
- Remove backup directory from git tracking
This commit is contained in:
Warren
2026-05-04 01:31:21 +08:00
parent ee81e343ce
commit e75c4d6f07
3270 changed files with 35190 additions and 53367 deletions

157
.gitignore vendored
View File

@@ -1,92 +1,79 @@
# Environment - Local configs (NEVER commit these)
.env
.env.local
.env.*.local
# Build artifacts
target/
venv/
# Generated files
thumbnails/
*.asr.json
*.probe.json
test_asr.json
# Local output (machine learning results)
output/
*.pt
# Cache
.ruff_cache/
# OS files
.DS_Store
.Spotlight-V100
.Trashes
# Logs
*.log
# SSH keys (NEVER commit)
id_*
!id_*.pub
# IDE and editor
.vscode/
.idea/
*.swp
*.swo
*~
# Documentation backups
# docs_v1.0/ (Moved to active tracking)
# Frontend dependencies
node_modules/
portal/src-tauri/target/
# Python cache
__pycache__/
*.pyc
*.pyo
# Test artifacts
test_output/
test_output_simple/
test_output_v2/
*.mp4
*.pt
server.pid
server.pid.*
# Backup files
*.bak
*.backup
*.bak[0-9]
# Model files
models/
model_checkpoints/
pretrained_models/
# Desktop app
momentry_desktop/
# Release artifacts (track docs, ignore binaries)
release/*.zip
release/momentry_v*
release/*.sql
release/dev_data_*.sql
release/public_schema_*.sql
release/migrate_*.sql
# But track release documentation
!id_*.pub
!release/*.md
!release/*.txt
.DS_Store
.env
.env.*.local
.env.local
.idea/
.ruff_cache/
.Spotlight-V100
.Trashes
.vscode/
*.asr.json
*.backup
*.bak
*.bak[0-9]
*.log
*.mp4
*.probe.json
*.pt
*.pyc
*.pyo
*.swo
*.swp
*~
# Backup files
# Build artifacts
# But track release documentation
# Cache
# Data directories
data/
# Desktop app
# docs_v1.0/ (Moved to active tracking)
# Documentation backups
# Environment - Local configs (NEVER commit these)
# Frontend dependencies
# Generated files
# IDE and editor
# Local output (machine learning results)
# Logs
# Model files
# OS files
# Portal build artifacts
# Python cache
# Release and output directories
# Release artifacts (track docs, ignore binaries)
# SSH keys (NEVER commit)
# System status
# Test artifacts
data/
id_*
model_checkpoints/
models/
momentry_desktop/
momentry_runtime/
node_modules/
output/
portal/dist/
portal/node_modules/
portal/src-tauri/target/
pretrained_models/
release/
release/*.sql
release/*.zip
release/dev_data_*.sql
release/migrate_*.sql
release/momentry_v*
release/public_schema_*.sql
server.pid
server.pid.*
system_status_*.md
target/
test_asr.json
test_output_simple/
test_output_v2/
test_output/
thumbnails/
venv/