test(p1r): 验收债批11 account 管理端只读补全真实 PG IT(2 op,3/3 绿)
新增 P1rAccountAdminReadsCompletedApprovalIT,经真实 HTTP 入口 + 真实
PostgreSQL(muse_p1r_account_admin_reads_test,独立复跑两次 3/3 绿)覆盖
adminListUsageRecords / adminGetCallAttributionJob:
- adminListUsageRecords:以账户用户为分页主表在库内聚合(token 输入 150/
输出 230/合计 380 求和、pending 计数 1/failed 0、attributionStatus=pending),
非法 period→BAD_REQUEST;
- adminGetCallAttributionJob:按 jobId 读 job+items 并归一状态(completed)+
分桶计数(attributed 1/failed 1/pending 0),not-found→
ACCOUNT_INTEGRATION_CALL_NOT_EXISTS;
- 两 op 均 RBAC(muse:account:query)fail-closed、API version 守卫、纯读
no-write(命令/审计/外部调用表保持为空);归因写路外部来源 facade 用抛错
mock 反假绿越界;
- 仅对专属 _test 库缺库自动创建,保留 _test/密码仅 env/凭据 query 守卫。
同步 §五B(剩余 account 6→4)+ muse-module-member/.agent。
证据就绪,completed 待人工批(不自批台账=反假绿)。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>