数据库已连通已成功连接预发布数据库(DATABASE_URL_STAGING)。请确认该实例为非生产 Supabase 项目。应用层环境预发布 staging数据库连接变量DATABASE_URL_STAGING
数据源说明:上方横条只说明整站在开发环境里,日常页面(首页、项目、任务等)当前用的是真实数据库还是内置演示数据不表示本 DocOps 页的数据来源。本页内容来自磁盘上的治理扫描结果文件,仅供只读预览, 属于本机低风险查看,不是正式发布,也不会自动替你执行任何操作。请勿把本页当作系统的正式持久化库数据库里的唯一结论

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
91296ba0-3c81-4940-8234-6cb2ceb13dfb
Title
刷新 stale 文档元数据
Request type
refresh_stale_content
Status
approved
Risk level
low
Source suggestion
刷新 stale 文档元数据 (queued) · 返回 Suggestions
Created
2026-06-04 15:03:23

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(预演区)

Dry Run Zonedry run = 可预演;不会真实写回

本区仅用于 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。

StatusExecutorDrive revision hintStartedFinishedResult summary
faileddocops_real_drive_pilot2026-06-05 13:38:002026-06-05 13:38:00real execution failed: Drive writeback adapter preflight blocked (invalid_final_human_approval): explicitApprovalText does not include target driveDocId; explicitApprovalText does not include changeRequestId; explicitApprovalText missing required phrase: 只执行一次; explicitApprovalText missing required phrase: 失败不得自动重试; explicitApprovalText missing required phrase: 不得触碰 production
succeededdry_run_m2dry_run_only2026-06-05 06:45:202026-06-05 06:45:20Dry run only. Would prepare stale document review workflow. No Drive body write performed.
blockedno_writeback_m12026-06-04 15:03:562026-06-04 15:03:56approved_for_writeback candidate recorded — writebackEnabled=false, driveWriteback=blocked (M1).

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。

需先完成 writeback dry run,才能生成 repo PR dry run 记录。

本页只生成 repo PR dry run 记录。本页不会调用 GitHub API。本页不会创建 branch。本页不会创建 commit。本页不会创建 PR。本页不会修改 repo 文件。

暂无 repo PR dry run 记录。

Real Execution Safety Zone(真实执行安全区)

Real Execution Safety Zonereadiness B / 可准备 pilot,不允许真实执行real execution blocked

本区块只展示真实执行前安全状态、rollback note 与二次确认壳。本页不会执行真实 Drive 写回。本页不会调用 Google Drive API。本页不会调用 GitHub API。本页不会创建 branch / commit / PR。approved 表示已批准进入后续真实执行准备,不等于已经执行。

CR status
approved
状态说明
已批准写回,但尚未执行。真实执行当前仍被 readiness gate 阻断。可以继续 dry run。
rollback_note 满足要求
805 / 最少 20 字符)
Drive allowlist guard
guard 通过(仍被 readiness B 阻断)
Drive allowlist candidate
99_test candidate registered(matches affected target)
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
1 / 3
lock_key
docops-sandbox-writeback:91296ba0-3c81-4940-8234-6cb2ceb13dfb:1C4PBDNgESdQZ4EBLB_2AteLTx-Qs863BWLTIBhMOJqwmismatch;expected docops-real-execution:91296ba0-3c81-4940-8234-6cb2ceb13dfb
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

阻断原因(摘要)

  • real_execution_lock_key "docops-sandbox-writeback:91296ba0-3c81-4940-8234-6cb2ceb13dfb:1C4PBDNgESdQZ4EBLB_2AteLTx-Qs863BWLTIBhMOJqw" does not match expected lock key "docops-real-execution:91296ba0-3c81-4940-8234-6cb2ceb13dfb"
  • missing repoPath
  • readiness tier B: real execution is not authorized

Rollback Note

最小长度:20 字符。当前:805 字符。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=approved,无需再次生成 patch 草案。

Patch 详情(doc_change_request_patches)

Patch typeCreatedAffected doc sources
stale_review_plan2026-06-05 06:29:26a9000001-0001-4000-8000-000000000099
before_summary
文档长期未更新或缺少 last_drive_modified_at
after_summary
建议进入人工复核,确认是否需要刷新正文、元数据或归档
impact_scope
review only; no body replacement
proposed_patch
## Target

99_test; Drive doc 1C4PBDNgESdQZ4EBLB_2AteLTx-Qs863BWLTIBhMOJqw; suggestion: 刷新 stale 文档元数据

## Current issue

Document content or metadata may be stale for "刷新 stale 文档元数据".

## Proposed patch

- Request type: refresh_stale_content
- Change request: 刷新 stale 文档元数据
- Patch type: stale_review_plan
- Scope: preview-only staging artifact for dry-run eligibility

## Expected result

A saved patch preview row in doc_change_request_patches enables dry-run eligibility review. No Drive body mutation occurs in this step.

## Verification

Confirm patchStatus becomes exists, patch_missing is removed from blockedReasons, and real writeback remains blocked.

## Safety boundary

- Preview only
- No Drive writeback executed
- Real writeback remains blocked
- Production remains false
affected_doc_source_ids
a9000001-0001-4000-8000-000000000099

Review decisions(doc_review_decisions)

DecisionByNoteCreated
accept_suggestionstaging-human-m1文档缺少或超过 90 天未更新的 Drive 修改时间,建议复核内容新鲜度。2026-06-04 15:03:23
approve_writebackstaging-human-m1M1 no-writeback: approved as writeback candidate only — not Drive writeback, not auto writeback.2026-06-04 15:03:56

← 返回队列