Files
Agent-System/.doc/ops/short-term/2026-09-22-rdev-closeout.md
T

66 lines
3.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.
---
title: "W4 rdev 收口"
task_id: rdev-closeout-2026-09-22
status: done
created: 2026-09-22
updated: 2026-09-22
owner: Cursor
task_type: implementation
task_tier: small
policy_revision: "AGENTS+ops@364ed7f1"
branch: feature/rdev-closeout-2026-09-22
worktree: .worktrees/rdev-closeout-2026-09-22
base_dev_sha: "364ed7f1a3f0393ef77ec4623a9518116ed2cb87"
write_scope: [".doc", "configs/overlays", "internal/squad", "scripts", ".github/workflows"]
allowed_environments: []
head_sha: "5a07a8388a190adcf99ce52bf53153603ec8006d"
mutex: rdev-closeout
review_state: pending
integration_state: pending
deployment: not_required
cleanup: pending
cleanup_owner: 独立维护者
cleanup_trigger: tip 为 origin/dev 祖先且无进程后复查
remote_sync: not_requested
---
# W4 rdev 收口
## 用户目标与授权
- 用户目标:rd_proposal 标题对齐模板;nightly 扩成四工作流;P3 三样本在当前 HEAD 重跑并复验法规表误伤修复;short-term + commit。
- 交付终点:实现与证据就绪(本地提交);不合入、不 push。
- 禁止项:不 push;不动共享 KB / 项目 143;不启用红线 flag;无 `env:dev` 能力时不写共享服务。
## 范围与非目标
- 允许:质量门禁/overlay/hint、nightly 脚本与契约文案、dry fixture、本任务 short-term/报告。
- 非目标:从本 worktree 对共享 dev 跑长 E2E;rdev 专用 Go PG 顶层测试;升 FEATURE-MATRIX / gap-matrix。
## 步骤与验收
1. [x] `rd_proposal` 精确标题门禁 + ph01 overlay/hint — `rdevProposalHeadingIssues`;`TestRDevQualityGates` dry fixture。
2. [x] nightly 扩成四工作流治理链(FullChain ×3 + FullNone)并保留 U8 — `scripts/run-nightly-real-pi.sh` + workflow timeout + 验证契约。
3. [x] 法规表误伤 — 既有 `markdownTable` 首表截止 + P3 终稿 dry 复验仍无「问题行缺少」。
4. [x] P3 真 PI 重跑 — **blocked**(见下);不以 stub 冒充 PASS。
## 验证与证据
| 范围 / 被测 SHA | 命令与环境 | 预期 | 实际 / 判定 | 证据 |
|---|---|---|---|---|
| 标题门禁 + 法规表 dry | `go test ./internal/squad/ -run 'TestRDevQualityGates\|TestRDevOverlay'` | PASS | PASS | 本机 2026-09-22 |
| P3 三样本真 PI | `run_p3_real_pi.py` + 共享/独立 PI | 需 env:dev 租约 + 非 143 项目 | **blocked** | 任务无 `env:dev`;无 `TEST_DATABASE_URL`;规范禁止从 task worktree 写共享服务 |
| nightly 四工作流 | 脚本 `--expected` 五项 | 脚本已扩 | 未在本机实跑四链(耗时/租约) | 脚本与契约 diff |
## 收口与交接
- 剩余:获 `env:dev`(或独立固定环境)后在新 HEAD 重跑 P3;可选补 rdev Go PG 顶层进 nightly。
- 本地提交:本分支 tip;dev 集成 / 远端:未请求。
- 红线未动。
## 相关链接
- [报告](../../test-reports/2026-09-22-rdev-closeout-test-report.md)
- [P3 历史报告](../../test-reports/2026-09-19-rdev-p3-real-pi-test-report.md)
- [验证契约](../2026-09-21-validation-contract.md)