* add staging ios app build script * feat(api): add OpenTelemetry LGTM stack for local observability Wire OTel traces, metrics, and logs through a collector to Tempo, Prometheus, and Loki, with custom LLM instrumentation, dev compose overlay, Grafana provisioning, env templates, and development.sh auto-start. Co-authored-by: Cursor <cursoragent@cursor.com> * feat: expand observability, harden dev tooling, and fix expo staging UX Add business and LLM Prometheus metrics with Grafana dashboards, alerting, and a metrics verification script. Wire telemetry through adapters and core LLM paths, and document the local LGTM workflow. Fix development.sh for macOS bash 3.2, open Grafana and eval-web in Chrome, and repair eval-web auto-open (unbound EVAL_WEB_BROWSER_SCHEDULED). Merge internal-eval into the main dev script with improved compose handling. Require EXPO_PUBLIC_* at build time, improve iOS HTTP ATS for staging IPs, show memoir empty state instead of load errors when no chapters exist, and add jest env setup plus chapter list response normalization. Co-authored-by: Cursor <cursoragent@cursor.com> * chore: enable Grafana Assistant Cursor plugin Co-authored-by: Cursor <cursoragent@cursor.com> * fix: memoir empty state and repair withdrawn 0020_chapters_book_id stamp Show empty memoir UI when the chapter list succeeds with no items; treat auth/404 as non-fatal. Extend alembic revision repair so local dev DBs stamped with the removed 0020_chapters_book_id migration can roll back and upgrade to 0019. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Kevin <kevin@brighteng.org> Co-authored-by: Cursor <cursoragent@cursor.com>
86 lines
1.2 KiB
Plaintext
86 lines
1.2 KiB
Plaintext
# Python
|
||
__pycache__/
|
||
.pytest_cache/
|
||
*.py[cod]
|
||
*$py.class
|
||
*.so
|
||
.Python
|
||
env/
|
||
venv/
|
||
ENV/
|
||
.venv
|
||
|
||
# 环境变量
|
||
.env
|
||
.env.*
|
||
!.env.example
|
||
!api/.env.staging
|
||
!api/.env.production
|
||
!app-expo/env/
|
||
!app-expo/env/**
|
||
|
||
# 证书与私钥(勿提交,README 可提交)
|
||
api/certs/*.pem
|
||
api/certs/*.p12
|
||
|
||
# 数据库文件
|
||
*.db
|
||
*.sqlite
|
||
*.sqlite3
|
||
/api/backups/*.sql
|
||
# 允许提交固定命名的历史迁移用 dump(其余 *.sql 仍忽略)
|
||
!/api/backups/life_echo_20260313_182756.sql
|
||
|
||
# IDE
|
||
.idea/
|
||
.vscode/
|
||
*.iml
|
||
|
||
# Android Studio
|
||
# 若启用 #GRADLE_LOCAL_JAVA_HOME
|
||
/app-android/gradle/config.properties
|
||
# AGP/Kotlin 本地缓存
|
||
/app-android/.kotlin/
|
||
|
||
# 临时文件
|
||
*.tmp
|
||
*.log
|
||
*.swp
|
||
*.swo
|
||
*~
|
||
|
||
# 提交消息临时文件
|
||
commit_msg_*.txt
|
||
commit_plan.txt
|
||
commit_messages.txt
|
||
|
||
# 操作系统
|
||
.DS_Store
|
||
Thumbs.db
|
||
|
||
# 构建文件
|
||
build/
|
||
dist/
|
||
*.egg-info/
|
||
app-expo/coverage/
|
||
|
||
# 本地 ASR 模型缓存(Whisper 每次启动从该目录加载)
|
||
api/models/certs/
|
||
api/models/whisper/
|
||
|
||
# 脚本输出(预览 JSON/Markdown)
|
||
api/scripts/output/
|
||
|
||
# 本地上传(不提交)
|
||
api/uploads/
|
||
# 软著:源码摘录 PDF(默认生成在仓库根目录)
|
||
/copyright_source_listing.pdf
|
||
|
||
certs/
|
||
|
||
# Git worktrees
|
||
.worktrees/
|
||
|
||
# Node
|
||
node_modules/
|