Files
Agent-System-Dev/docs/u7-release-c3-host.md
T
weichenandCursor 03c306af68 Record the U7 release-gate specs
Why: Second-instance writes stay closed until an independent replay or an admitted CI gate, plus a second host. Those remaining steps needed a durable spec.
Evidence: Task-card evidence rows read the merged PRs, tree equality, CI runs 2783/2810/2816, and Dev main branch protection. Source SELF. Drills were not run.
Impact: Docs and the task card only. Checklist grades stay SELF or not started. The collaboration proposal body stays r2.3.
Refs: docs/release-multi-instance.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 03:06:05 +00:00

42 lines
2.0 KiB
Markdown
Raw 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.
# C3 第二台主机清单(主机未指定)
状态:清单。第二台主机还没有。本文件不申请机器,不部署,也不开放第二实例写流量。
双主机档在 [放行检查单](release-multi-instance.md) 里保持「未开始」。
## 要验证的事
C3 是同一套 A6 验收在两台主机上各跑一遍,数据库连接走跨机网络。
`make test-multi-instance` 在跑测试的那台机器上本地构建 `AGENT_BIN`,
再按 `AGENT_PG_TEST_DSN` 连接 PostgreSQL。参见
`tests/integration/multi-instance/README.md`。
做法:
1. 两台主机使用同一 Dev SHA,并物化相同的 backend gitlink。默认 SHA 与
[重放规格](u7-release-replay.md) 相同;main 前进时两台一起改,并写明新 SHA。
2. PostgreSQL 只建在其中一台。另一台把 DSN 指到这台的地址,连接要跨网络,
而不是两台各用一个本机库假装跨机。
3. 两台分别执行 `make test-multi-instance`。退出码、SHA 和 DSN 的主机与端口记入证据。
密码只放在环境或受保护文件里,不进入任务卡、PR 和本清单。
4. 演练用的 `u7drill` / `u7bk` 与端口 18980–18999 留给 C4/C5。
A6 使用自己的库和文档中的示例端口,避免和演练栈抢资源。
## 负责人填写
| 项 | 内容 |
|---|---|
| 第二台主机的名称与到达方式 | 待填写 |
| 系统、架构、PostgreSQL 版本 | 待填写 |
| 哪一台放置数据库,另一台如何访问该端口 | 待填写 |
| 时钟同步方式 | 待填写 |
| 可用窗口 | 待填写 |
| 主机负责人 | 待填写 |
时钟要先对齐再跑。A6 的租约和跨实例等待依赖两台时钟接近。本次没有测量任何第二台主机。
## 完成后才改检查单
两台都退出码为 0,且证据写明 SHA、主机和命令之后,才把 C3 从「未开始」改为已执行,
并标明 REPLAY 或 GATE。那次修改另需授权。C3 做完也不单独开放写流量;
写流量还要独立 REPLAY 或已准入的 CI GATE。