Persist app logs under logs/app with 7-day rotation, suppress routine health/pending access lines, raise default VIDEO_OPEN_TIMEOUT_SEC to 90s, and document consumable codes plus client timeout guidance. Co-authored-by: Cursor <cursoragent@cursor.com>
87 lines
1.7 KiB
Plaintext
Executable File
87 lines
1.7 KiB
Plaintext
Executable File
# =============================================================================
|
|
# Operation Room Monitor — root .gitignore
|
|
# =============================================================================
|
|
|
|
# --- OS ---
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
Desktop.ini
|
|
|
|
# --- IDE / editors ---
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.project
|
|
.classpath
|
|
.settings/
|
|
|
|
# --- Environment & secrets (all layers) ---
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
!**/.env.example
|
|
backend/.env
|
|
backend/.env.*
|
|
!backend/.env.example
|
|
|
|
# --- Python caches (never commit) ---
|
|
.mypy_cache/
|
|
**/.mypy_cache/
|
|
**/__pycache__/
|
|
**/*.py[cod]
|
|
**/*$py.class
|
|
**/.pytest_cache/
|
|
**/.mypy_cache/
|
|
**/.ruff_cache/
|
|
**/.pycache-verify/
|
|
**/build/
|
|
**/wheels/
|
|
**/*.egg-info/
|
|
**/.coverage
|
|
**/htmlcov/
|
|
**/.tox/
|
|
**/.nox/
|
|
**/dist/
|
|
!clients/voice-confirmation/scripts/
|
|
|
|
# Backend runtime & caches
|
|
backend/logs/
|
|
backend/logs/app/
|
|
backend/Ultralytics/
|
|
|
|
# Large duplicate ActionFormer checkpoint (canonical copy lives under algorithm_subprocesses/5.15/weights/)
|
|
backend/app/resources/actionformer_epoch_045.pth.tar
|
|
|
|
# Algorithm subprocess bundles — runtime I/O ignored; weights are tracked in git
|
|
backend/algorithm_subprocesses/**/input/*
|
|
!backend/algorithm_subprocesses/**/input/.gitkeep
|
|
backend/algorithm_subprocesses/**/output/*
|
|
!backend/algorithm_subprocesses/**/output/.gitkeep
|
|
backend/algorithm_subprocesses/**/data/*
|
|
!backend/algorithm_subprocesses/**/data/.gitkeep
|
|
|
|
# --- Clients ---
|
|
clients/demo-client/.runtime/
|
|
clients/demo-client/labels.json
|
|
clients/voice-confirmation/dist/
|
|
|
|
# --- Docker ---
|
|
**/.docker/
|
|
|
|
# --- Logs & temp ---
|
|
*.log
|
|
*.tmp
|
|
*.temp
|
|
.cache/
|
|
|
|
# --- Legacy / local-only at repo root (pre-restructure) ---
|
|
.venv/
|
|
logs/
|
|
Ultralytics/
|
|
scripts/
|