docs(tasks): telemetry acceptance record
Independent Staging Quality Gate / validate (push) Failing after 16m43s
Independent Staging Quality Gate / publish (push) Skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
Jesse_Chen
2026-09-26 15:46:25 +08:00
co-authored by Claude Opus 5.5
parent d0bfc1fc3d
commit 40d7930ab4
2 changed files with 12 additions and 1 deletions
@@ -119,3 +119,14 @@
- 放弃 / 超时结束的会话不入统计(见偏离 2)。
- `error` 停止原因无写入路径。
- 没有定时清理任务(写入时清理 + 汇总只读 180 天内)。
## 验收(Claude,2026-09-26)
基于 `origin/staging` `f74825a2` 独立复跑(Node 22.14):tsc 0;lint 0 error;`npm test` 4036 / 24 fail,失败名单与 `7203d94e` 基线(4012 / 24)逐条一致;Python 门禁集退出 0;`next build --webpack` `/`、`/chart`、`/ephemeris`、`/people` 仍 ○ Static,rootMainFiles gzip(level 9)130933 B,±0%。迁移逐段审读:只加表/索引/函数,`begin/commit` 与授权写法与 0925 系列迁移一致,RLS 开、运行时角色无表权限、写只经 SECURITY DEFINER RPC、读只出聚合。
偏差裁定:
1. 统计行不存用户 id、改用按 case_id 级联删除的去重账本——比任务书 D4 更严,认可。
2. 放弃/超时的会话不记录——产品里没有这个事件,认可;汇总只覆盖「出过卡」的会话,读数时须记住这个偏差。
3. 周粒度日期、`admin.customers.read` 权限——认可。
环境缺口:`npm run test:db` 以本次推送的门禁 DB job 为准(run 号见下方补记);管理员真实登录走查见 `docs/testing/rectification-telemetry-20260926.md`。