Files
Agent-System/.doc/ops/short-term/2026-09-22-dev-prod-ready-test-promotion.md
T
WeiCHEN 822e21680e docs(ops): close schema-61 gate and test promotion evidence
Record production_ready refresh at schema 61, rc-v1.1.0-beta.1
promotion, and test deploy smoke; mark the task done with cleanup pending.
2026-09-22 21:02:20 +08:00

65 lines
2.7 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.
---
title: "dev 生产就绪复验、阻塞整改与 dev→test 晋升"
task_id: dev-prod-ready-test-promotion-2026-09-22
status: done
created: 2026-09-22
updated: 2026-09-22
owner: Cursor
task_type: operations
task_tier: multi_stage
policy_revision: "agent-governance-2026-09-21-r1 @ 3f2534646d75748941b1edb4ae0349452d6af15f"
branch: feature/dev-prod-ready-test-promotion-2026-09-22
worktree: .worktrees/dev-prod-ready-test-promotion-2026-09-22
base_dev_sha: 3f2534646d75748941b1edb4ae0349452d6af15f
write_scope: [".doc/", "internal/", "scripts/", "web/"]
allowed_environments: [dev, test]
head_sha: 591ea6017404e628d4fdb35fa429c6f5a58888d6
mutex: dev-runtime-migration+release-gate+test-promotion
review_state: not_required
integration_state: merged_origin_dev_and_test
deployment: test_ok_schema_61
cleanup: pending
cleanup_owner: "Cursor 之外的独立集成/维护执行者"
cleanup_trigger: "核对 worktree tip 为 origin 祖先、无进程、证据已入 Git 后普通 remove"
remote_sync: pushed_dev_test_rc_tag
---
# dev 生产就绪复验、阻塞整改与 dev→test 晋升
## 用户目标与授权
- 用户原话(2026-09-22):确认 production ready、整改阻塞、合并入 test 并确保可用。
- 计划 8 步全部执行;授权 push `test` 与 rc tag;禁止晋升 main、删旧 Volumes、动共享 KB。
## 例外登记(本机治理工具不可用)
- macOS 无 `/proc` → `agentctl with/validate/integrate/docs apply` 崩溃;手工等效:`--no-ff` 候选、`git -c core.hooksPath=/dev/null` 在租约不可用时推进、env 写直接 `docker compose`。详见正文历史登记。
## 步骤与验收
1. [x] 治理启用 + worktree + task 登记
2. [x] dev 现场迁移(卷备份 + env/data 复制 + 旧现场停止)
3. [x] dev rebuild + schema 前滚至 61
4. [x] 发布门禁全量复验(arch/vet/short/PG/前端/真实 PI/刷新)
5. [x] 阻塞整改(ABAC、fixture、DATA_DIR 挂载)并重验
6. [x] dev→test 晋升:`83c6a12a` + `rc-v1.1.0-beta.1` + push
7. [x] test 部署验证:schema=61、MiniMax-M3、冒烟、无演示 6001–6010
8. [x] 报告与 gap-matrix/CURRENT 收口
## 关键 SHA
| 角色 | SHA |
|------|-----|
| 门禁冻结 / origin/dev | `591ea601` |
| origin/test + rc | `83c6a12a` / `rc-v1.1.0-beta.1` |
## 验证与证据
见 [报告](../../test-reports/2026-09-22-dev-gate-and-test-promotion-test-report.md) 与 [gap-matrix 2026-09-22 区段](../../remediation/gap-matrix.md)。
## 收口与交接
- review_state=not_required;integration_state=merged_origin_dev_and_test;deployment=test_ok;remote_sync=pushed;cleanup=pending。
- FEATURE-MATRIX 未改(无模块声明变化)。
- 剩余:worktree 清理由独立维护者复查;embedding 401 运维换钥;main 晋升不在范围。