From 67660ae1d6bc3ad9aa809596b0b5d71dbe2d02ee Mon Sep 17 00:00:00 2001 From: "Logan.Li" Date: Wed, 5 Aug 2026 20:26:33 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=AE=8C=E6=88=90=E6=BA=90=E7=A0=81?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E9=AA=8C=E6=94=B6=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 记录远程分支和三端源码一致性结果 - 记录构建、迁移与生产健康检查结果 --- docs/specs/repository/source-reconciliation.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/specs/repository/source-reconciliation.md b/docs/specs/repository/source-reconciliation.md index eaa7d2b..8cc8c44 100644 --- a/docs/specs/repository/source-reconciliation.md +++ b/docs/specs/repository/source-reconciliation.md @@ -2,7 +2,7 @@ | 字段 | 内容 | |------|------| -| 状态 | Accepted | +| 状态 | Implemented | | 级别 | S3 | | 负责人 | Logan.Li | | 创建日期 | 2026-08-05 | @@ -70,11 +70,11 @@ | 验收标准 | 测试或检查 | 结果 | |----------|------------|------| -| AC-01 | `git ls-remote origin refs/heads/main refs/heads/master` | Pending | -| AC-02 | 双向 `rsync --dry-run --checksum --delete`(排除运行文件) | Pending | -| AC-03 | `go test/go vet/go build`、`tsc`、ESLint、Vite build、Agent build | Pass(2026-08-05) | -| AC-04 | Linux 构建、`/version`、`migrate status`、进程和日志检查 | Pending | -| AC-05 | 提交文件审计与生产文件哈希/存在性检查 | Pending | +| AC-01 | `git ls-remote origin refs/heads/main refs/heads/master` | Pass(两分支同一提交) | +| AC-02 | 本地与服务器 HEAD、受管源码状态和未跟踪文件审计 | Pass(仅保留生产运行配置与备份) | +| AC-03 | `go test/go vet/go build`、`tsc -b`、ESLint、Vite build、Agent build | Pass(2026-08-05) | +| AC-04 | Linux 构建、`/version`、`migrate status`、进程和日志检查 | Pass(迁移 0000-0003 均 applied) | +| AC-05 | 提交文件审计与生产文件哈希/存在性检查 | Pass(配置哈希和数据库大小保持一致) | ## 8. 发布与回滚 @@ -86,7 +86,8 @@ |------|------|------------| | 2026-08-05 | 服务器源码为结构基线,本地独有有效能力采用合并而非删除 | 服务器包含较新的组件拆分,本地包含当前生产二进制所需的新能力 | | 2026-08-05 | 生产配置与运行数据不纳入源码一致性 | 防止泄密和破坏运行环境 | +| 2026-08-05 | `main` 与 `master` 同时快进到统一提交 | 保留两条历史且不需要强制推送 | ## 10. 遗留事项 -- 统一完成后应使用同一主分支开发,禁止继续在生产工作区直接形成长期未提交改动。 +- 后续开发统一使用主分支并通过提交同步,禁止在生产工作区形成长期未提交源码改动。