Add ordinary user delivery preflight

This commit is contained in:
732642856
2026-06-24 17:45:35 +08:00
parent a461f7c053
commit 3db4ad6a27
7 changed files with 156 additions and 1 deletions
+3
View File
@@ -308,3 +308,6 @@
- 云端 CI 收口完成:推送 `925e73e` 后,GitHub PR #6 最新 head 的 `validate``test``release-quality-gate` 三条检查均为 successrelease-only browser/release 守门已在云端可运行。
- 完成准确率透明度页面:Trust Center 新增 Validation Transparency,直接展示 `references/validation_logic_report.json` 当前 Yoga 对照口径:60 charts、82 comparable rules、Precision 96.48%、Recall 93.99%、F1 95.22%、unmapped_pyjhora 718,并明确这些是 Yoga 规则对照指标,不是个人事件预测准确率。
- TDD/验证完成:先让 `test_trust_center_exposes_validation_transparency` 红灯确认缺口,再实现转绿;修复移动端 selector 回归后,`python3 -B -m pytest tests/test_frontend_productization.py::test_first_use_onboarding_is_actionable tests/test_frontend_productization.py::test_mobile_layout_keeps_dense_sections_single_column tests/test_frontend_productization.py::test_trust_center_exposes_validation_transparency -q` 通过;`npm run build --prefix jyotish-app` 通过;`python3 scripts/run_quality_gate.py --profile quick --skip-yoga-logic` 通过,覆盖 201 个核心 pytest、npm build 与 runtime smoke。
- 完成普通用户交付形态矩阵:新增 `scripts/deployment_preflight.py`,输出 local-dev、docker-compose、static-demo-pwa、desktop-shell 四条 delivery_matrix,明确公开演示环境只能完整展示静态壳、完整高级技法需要本地 API 服务;README 增加“普通用户交付形态”表格;Dockerfile build 阶段运行 deployment preflight。
- 交付矩阵纳入质量门:`scripts/run_quality_gate.py` 编译并执行 `scripts/deployment_preflight.py`release hygiene 追踪该新文件,避免部署/公开演示路径漂移。
- TDD/验证完成:`test_user_delivery_matrix_is_documented_and_checkable` 先红灯确认缺 `deployment_preflight.py`,实现后转绿;`python3 scripts/deployment_preflight.py` 输出 `valid: true``python3 scripts/run_quality_gate.py --profile quick --skip-yoga-logic` 通过,覆盖 202 个核心 pytest、npm build 与 runtime smoke。