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
- 4b7bcc4f-6ec8-4652-9802-9265db6389ee
- Title
- 刷新 stale 文档元数据
- Request type
- repo_mirror_update
- Status
- blocked
- Risk level
- low
- Source suggestion
- 刷新 stale 文档元数据 (accepted) · 返回 Suggestions
- Created
- 2026-05-23 06:05:14
Approval Gate(审批闸门)
patch 审批闸门:提交审批、退回修改或阻断。本页只处理 patch 审批闸门;不执行 writeback approval 或 Drive 写回。
该 Change Request 已被阻断,不再接受审批动作。
Writeback Approval Gate(写回批准闸门)
写回批准闸门:对 pending_approval 的 Change Request 批准或拒绝写回。本页只记录决策,不执行 writeback execution 或 Drive 写回。
该 Change Request 已被阻断,不再接受写回批准动作。
本页只记录写回批准或拒绝。本页不会执行 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 记录。
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 记录。
Real Execution Safety Zone(真实执行安全区)
本区块只展示真实执行前安全状态、rollback note 与二次确认壳。本页不会执行真实 Drive 写回。本页不会调用 Google Drive API。本页不会调用 GitHub API。本页不会创建 branch / commit / PR。approved 表示已批准进入后续真实执行准备,不等于已经执行。
- CR status
- blocked
- 状态说明
- 该 Change Request 已阻断。不允许真实执行。
- rollback_note 满足要求
- 否(0 / 最少 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:4b7bcc4f-6ec8-4652-9802-9265db6389ee)
- dry run 状态
- 尚无 writeback dry run 记录。 尚无 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
阻断原因(摘要)
- rollback_note is missing
- change request status "blocked" is not allowed for real execution
- driveDocId "FAKE_DOC_ID_ARCHIVED_003" is not in the real execution allowlist
- repoPath "docs/INDEX.md" is outside the real execution allowlist
- readiness tier B: real execution is not authorized
Rollback Note
当前状态不允许修改 rollback note。
尚未填写 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 记录数:1
当前 status=blocked,无需再次生成 patch 草案。Patch 详情(doc_change_request_patches)
| Patch type | Created | Affected doc sources |
|---|---|---|
| repo_mirror_update_plan | 2026-05-23 06:52:07 | a1000001-0001-4000-8000-000000000003 |
- 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: 刷新 stale 文档元数据 ## 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
- a1000001-0001-4000-8000-000000000003
Review decisions(doc_review_decisions)
| Decision | By | Note | Created |
|---|---|---|---|
| accept_suggestion | staging-human | 文档缺少或超过 90 天未更新的 Drive 修改时间,建议复核内容新鲜度。 | 2026-05-23 06:05:14 |
| block | staging-human | staging acceptance: block path from pending_approval | 2026-05-23 07:35:32 |