Files
rogee cc2321aa86
Build web service image / build (push) Successful in 1m36s
Record connection authorization acceptance
2026-09-22 18:44:54 +08:00

27 lines
2.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# P4 原始验收记录
这些文件不是摘要:它们是由可重放脚本或现场命令直接生成的脱敏记录。
- `cursor-http-transcript.sh/.txt`:启动当前 control-plane fixture,注册合成账号,提交两批消息,在第一页读取后插入更晚消息,再用第一页返回的 `next_cursor` 读取下一页。第二页只包含游标边界之后的旧消息,证明 `(source_time, message_id)` keyset 分页不会被插入的新消息推移。
- `p4-live-operations.jsonl`:由可重放 harness 直接 stdout 生成的 Windows 交互 Session 1 原始 JSONL,包含部署 SHA、连接授权下 durable queue 断线/恢复、Tray 进程重启、行政 revoke 后的 403、Agent 重连自动恢复、有效 batch 拒绝,以及 control-plane stop/restart 前后 SQLite integrity/counts。只保留 PID、Session、HTTP 状态、文件 SHA 和计数。
- `p4-live-commands.log`:同一次 harness 的原始 PowerShell/本地命令与输出,包含远程 `Get-FileHash``Get-Process`、queue/state 文件 hash 和 local control-plane PID;含有的 CLIXML 是 SSH 原始输出,不作摘要替代。
- `capacity-metrics.txt`Go capacity test 的 `t.Log` 原始输出,包含磁盘/WAL/page、busy timeout、连接、锁等待、积压和 P95/P99。
## 复核方式
```bash
# 复核游标 HTTP 记录(需要 Go、curl、jq、python3
(cd control-plane && go build -o /tmp/wxagent-control-plane-cursor ./cmd/wxagent-control-plane)
CONTROL_PLANE_BIN=/tmp/wxagent-control-plane-cursor \
docs/validation/raw/cursor-http-transcript.sh
# 核对现场记录的 JSONL 格式和跨事件不变量
jq -c . docs/validation/raw/p4-live-operations.jsonl
docs/validation/raw/verify-p4-live-operations.sh
# 复核容量原始指标
rg 'capacity_metrics=' docs/validation/raw/capacity-metrics.txt
```
现场记录对应实现提交 `0bede18` 的 control-plane/Tray 构建;Windows Tray 的远程部署 SHA 在同一次 harness 运行中核验。Agent 安装并成功连接控制面即完成已验证账号的数据同步授权,无需单独确认;`EnableDataSync` 仅为旧 `service.json` 兼容字段。验收结束后 Tray 已停止,连接不再保持。