Change Request 详情
当前页面为 Change Request 队列只读视图。展示 status=queued 的变更请求。本页不生成 patch、不审批、不写回 Drive、不开 repo PR、不调用外部 API。
数据来源:staging_db(Supabase doc_* 表只读 SELECT;已排除 secret_blocked 文档源)。
Change request(doc_change_requests)
展示单条 Change Request、patch 草案、审批闸门、写回批准闸门与 review decisions。本页可生成 patch 草案并进入人工审批与写回批准(staging only);不执行 Drive 写回、不开 repo PR。
- ID
- 07000001-0001-4000-8000-000000000001
- Title
- 同步 baseline manifest 执行摘要段(stub)
- Request type
- repo_mirror_update
- Status
- approved
- Risk level
- low
- Source suggestion
- Review baseline manifest summary drift(stub) (rejected) · 返回 Suggestions
- Created
- 2026-05-23 03:50:40
Approval Gate(审批闸门)
patch 审批闸门:提交审批、退回修改或阻断。本页只处理 patch 审批闸门;不执行 writeback approval 或 Drive 写回。
当前 status=approved,本审批闸门不适用。
Writeback Approval Gate(写回批准闸门)
写回批准闸门:对 pending_approval 的 Change Request 批准或拒绝写回。本页只记录决策,不执行 writeback execution 或 Drive 写回。
已批准,等待后续 Writeback Execution 包。本页不会执行写回。
本页只记录写回批准或拒绝。本页不会执行 Drive 写回。本页不会调用 Drive API。本页不会调用 GitHub API。本页不会调用外部 LLM。本页不会开 repo PR。
Dry Run Zone(预演区)
本区仅用于 writeback / repo PR 预演记录。可继续 dry run;不等于真实 Drive 写回或 GitHub PR。
Writeback Dry Run(写回 dry run 预演)
对已 approved 的 Change Request 生成 writeback dry run 记录,模拟后续 Drive 写回执行计划。本批只写入 doc_writeback_runs,不修改 Change Request status。
本页只生成 writeback dry run 记录。本页不会写回 Drive。本页不会调用 Google Drive API。本页不会调用 GitHub API。本页不会开 repo PR。
| Status | Executor | Drive revision hint | Started | Finished | Result summary |
|---|---|---|---|---|---|
| succeeded | docops_dry_run | dry_run_only | 2026-05-23 08:27:44 | 2026-05-23 08:27:44 | Dry run only. Would prepare writeback plan for patch type summary_refresh. No Drive body write performed. Dry run only. Would prepare repo mirror update plan from approved patch. No Drive body write performed. |
| succeeded | docops_dry_run | dry_run_only | 2026-05-23 08:27:19 | 2026-05-23 08:27:19 | Dry run only. Would prepare writeback plan for patch type summary_refresh. No Drive body write performed. Dry run only. Would prepare repo mirror update plan from approved patch. No Drive body write performed. |
| succeeded | docops_dry_run | dry_run_only | 2026-05-23 08:27:18 | 2026-05-23 08:27:18 | Dry run only. Would prepare writeback plan for patch type summary_refresh. No Drive body write performed. Dry run only. Would prepare repo mirror update plan from approved patch. No Drive body write performed. |
| planned | docbridge | — | 2026-05-22 00:02:00 | — | Staging seed placeholder — no writeback executed. |
Repo Mirror PR Dry Run(repo PR dry run 预演)
对已 approved 且已有 writeback dry run 的 Change Request 生成 repo mirror PR dry run 记录,模拟后续 repo 镜像 PR 创建计划。本批只写入 doc_repo_pr_statuses,不修改 Change Request status。
本页只生成 repo PR dry run 记录。本页不会调用 GitHub API。本页不会创建 branch。本页不会创建 commit。本页不会创建 PR。本页不会修改 repo 文件。
| Branch name | Status | CI status | PR number | Created | Notes |
|---|---|---|---|---|---|
| docops/dry-run/07000001 | not_opened | unknown | — | 2026-05-23 08:59:28 | Repo PR dry run only. Would prepare repo mirror PR for patch type summary_refresh. No GitHub API called; no branch, commit, or PR created. Repo PR dry run only. Would prepare repo mirror update PR for approved DocOps change request. No GitHub API called; no branch, commit, or PR created. |
| docops/dry-run/07000001 | not_opened | unknown | — | 2026-05-23 08:57:14 | Repo PR dry run only. Would prepare repo mirror PR for patch type summary_refresh. No GitHub API called; no branch, commit, or PR created. Repo PR dry run only. Would prepare repo mirror update PR for approved DocOps change request. No GitHub API called; no branch, commit, or PR created. |
| docops/stub-mirror-update | not_opened | unknown | — | 2026-05-23 03:50:40 | Staging seed placeholder — no PR opened. |
Real Execution Safety Zone(真实执行安全区)
本区块只展示真实执行前安全状态、rollback note 与二次确认壳。本页不会执行真实 Drive 写回。本页不会调用 Google Drive API。本页不会调用 GitHub API。本页不会创建 branch / commit / PR。approved 表示已批准进入后续真实执行准备,不等于已经执行。
- CR status
- approved
- 状态说明
- 已批准写回,但尚未执行。真实执行当前仍被 readiness gate 阻断。可以继续 dry run。
- rollback_note 满足要求
- 是(99 / 最少 20 字符)
- Drive allowlist guard
- guard 阻断
- Drive allowlist candidate
- 99_test candidate registered
Candidate only; not authorized for real writeback.
1C4PBDNgESdQZ4EBLB_2AteLTx-Qs863BWLTIBhMOJqw - Readiness
- B
- Real Writeback API Shell
- disabled
- Formal allowlist
- populated
- Credentials
- not configured
- Final human approval
- not enabled
- Repo path allowlist guard
- guard 阻断
- sensitive / secret_blocked
- 当前目标 sensitivity 未命中 secret_blocked
- attempt_count / maxAttempts
- 0 / 3
- lock_key
- —(unset;expected docops-real-execution:07000001-0001-4000-8000-000000000001)
- dry run 状态
- 已有 writeback dry run 记录(预演 only,非真实写回)。 已有 repo PR dry run 记录。
- real execution
- blocked — Real writeback is disabled
- Real pilot audit
- pending
- Drive Adapter Boundary
- 当前 adapter:disabled
Real Drive adapter:not configured
99_test-only pilot:not authorized
preflight(mock probe only):patch_not_append_only
阻断原因(摘要)
- driveDocId "FAKE_DOC_ID_BASELINE_MANIFEST_001" is not in the real execution allowlist
- sourceStatus "active" is blocked for real execution
- repoPath "docs/runbooks/cursor-baseline-manifest.md" is outside the real execution allowlist
- readiness tier B: real execution is not authorized
Rollback Note
最小长度:20 字符。当前:99 字符。rollback note 只是正式执行前安全材料,不代表授权执行。
真实写回入口(gated / default blocked)
Real writeback is gated. POST /api/docops/changes/[id]/drive-writeback-real 默认 blocked;只有硬条件全部通过并收到最终执行触发时才会执行一次。
真实执行二次确认(disabled 壳)
真实执行二次确认尚未启用。必须完成 readiness 重新评估为 A、并获得人类 explicit 批准后,才允许启用。
Patch 状态
Patch 草案由规则生成,仅写入 staging 数据库。当前 patch 记录数:3
当前 status=approved,无需再次生成 patch 草案。Patch 详情(doc_change_request_patches)
| Patch type | Created | Affected doc sources |
|---|---|---|
| summary_refresh | 2026-05-23 03:50:40 | a1000001-0001-4000-8000-000000000001 |
| repo_mirror_update_plan | 2026-05-23 07:35:30 | — |
| repo_mirror_update_plan | 2026-05-23 07:37:07 | — |
- before_summary
- 当前 repo 镜像状态待同步或缺失
- after_summary
- 生成 repo 镜像同步计划,等待后续人工审批或 Runner 执行
- impact_scope
- repo mirror only; no Drive body change
- proposed_patch
# Repo mirror sync plan (draft) Change request: 同步 baseline manifest 执行摘要段(stub) ## Scope - Align repo mirror copy with current Drive truth summary. - No Drive body writeback in this MVP batch. ## Steps (planned) 1. Confirm target mirror path and doc_source linkage. 2. Prepare repo file diff or summary refresh. 3. Hold for human approval before any Runner / PR action.
- affected_doc_source_ids
- —
Review decisions(doc_review_decisions)
| Decision | By | Note | Created |
|---|---|---|---|
| needs_revision | human | Staging seed only — not an approval. | 2026-05-23 03:50:40 |
| needs_revision | staging-human | staging acceptance: needs revision path | 2026-05-23 07:35:31 |
| approve_writeback | staging-human | #1082 staging acceptance approve path | 2026-05-23 08:10:04 |