fix(aihr): gate built-in prompt content
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# BRD 功能审查与未完成项记录
|
||||
|
||||
- 2026-07-15 严格试点门禁补强:`scripts/demo-check.sh` 原先只检查 SOP 评审的 `prompt_version` 字段,未检查 6 个内置 Prompt 是否实际落库;现新增 `prompt_templates=6/6` 查询和 strict 失败条件,并在 `scripts/tests/demo-check-pilot-gates.test.sh` 的临时库加入 6 个模板回归。该修复能阻止“schema 已迁移但 Prompt 内容为 0”的生产状态被误判为可验收;未修改生产数据。
|
||||
|
||||
- 2026-07-15 线上只读复核续查:生产根站、`/h5/`、租户接口和员工首页 API 仍返回 `200`,`wygj-aihr.service` 为 `active`,服务自 `2026-07-14 22:13:55 CST` 起运行;线上管理端仍加载 `assets/index-B9T505HT.js`,H5 仍加载 `assets/index-CDn6TrX8.js`,与当前仓库可发布构建未做版本匹配。生产数据库仍缺 `aihr_practice_scenario`、`aihr_practice_rubric`、`aihr_practice_rubric_dimension`;`aihr_prompt_template` 内置模板 `0`、校准 `0`、已评审 SOP `0`、训练音频 `0`;`aihr_org_snapshot` 实际状态值为 `employment_status='active'`,active `22` 条但手机号映射 `0`。生产 `aihr_practice_session`、`aihr_practice_assignment`、SOP 评审、案例和入职日期字段仍未完整迁移。本轮仅做 GET/SSH/MySQL 只读检查,未执行静态同步、版本化迁移、后端重启或业务写入;下一步仍需正式发布窗口、备份/回滚责任和组织同步凭据。
|
||||
|
||||
- 2026-07-15 迁移合同回归:`scripts/tests/aihr-practice-brd-scenarios.test.sh`、`scripts/tests/aihr-knowledge-brd-sop.test.sh` 均通过幂等执行验证,`scripts/tests/pilot-export-contract.test.mjs` 通过 `5/5`;当前仓库的场景、住宅 SOP 和正式 CSV 导出合同可重复验证。该结果不替代生产迁移执行,也不把开发/本地样本算作正式试点数据。
|
||||
|
||||
Reference in New Issue
Block a user