Appearance
业务助手发版验收
与 release-window-checklist.md §业务助手发版 配套;四组件同窗口上线。
发版前(自动化)
在仓库根目录执行:
bash
pnpm run prerelease:assistant # check:full(含 ai-playground)
pnpm run check:assistant # 工具 registry / filterSummary / playground 对账 + 共享单测
pnpm run smoke:assistant # 49 工具 + pending 路由(需 gateway+sys,未起则跳过)
pnpm run smoke:assistant:filter-summary
pnpm run smoke:assistant:integration # prepare→confirm 全链路(需 gateway+sys+redis)filterSummary / integration 冒烟:ASSISTANT_TOOL_CALLBACK_SECRET(未设则用 JWT_SECRET)须与运行中 Sys 一致;可写在 backend/.env,或导出 SMOKE_ASSISTANT_TOOL_CALLBACK_SECRET。
强制要求网关(不跳过):
bash
SMOKE_REQUIRE_GATEWAY=1 pnpm run smoke:assistant
SMOKE_REQUIRE_GATEWAY=1 pnpm run smoke:assistant:integration双账号集成冒烟(可选):
bash
SMOKE_ACCOUNT_B=other_test SMOKE_PASSWORD_B=Test123456! pnpm run smoke:assistant:integration覆盖:create_ledger → … → export → create_ledger_invite;设 SMOKE_ACCOUNT_B 时追加 join → leave → join → remove_member;末步 owner delete_ledger 清理。
手工验收表
| # | 项 | 通过 |
|---|---|---|
| 1 | Web menu_sys_assistant 可进 /sys/assistant | □ |
| 2 | 小程序「智能问数」openid 可进 | □ |
| 3 | 只读:记账汇总 / 打卡统计 / Acc 首页摘要 | □ |
| 4 | 只读:pnpm run smoke:assistant:filter-summary(filterSummary 与 total 一致) | □ |
| 5 | 只读:清单计价 list_config_quotes | □ |
| 6 | 多站点 Acc 查询:Web 展示站点树并可点选继续 | □ |
| 7 | 写:记账 prepare → 确认卡 | □ |
| 8 | 写:新建/加入/退出/移除成员、预算、周期账、重命名、邀请码、删除 prepare → 确认 | □ |
| 9 | 只读:导出流水 export_bookkeeping_entries | □ |
| 10 | 写:结算 prepare → 确认 | □ |
| 11 | 写:标记发放(上传凭证)→ 确认 | □ |
| 12 | 写:撤销发放 prepare → 确认 | □ |
| 13 | 写:库存调整 prepare → 确认 | □ |
| 14 | 写:WIP 多工人 labor_lines_json → 确认 | □ |
| 15 | 刷新页面 pending 草稿恢复(30 分钟内) | □ |
| 16 | enableRag 与知识库检索(有 RAG 权限账号) | □ |
签字:________ 日期:________