Skip to content

Inspect label decisions and define the hourly writer handoff - #681

Merged
Dong1017 merged 3 commits into
mainfrom
codex/658-label-audit
Nov 25, 2026
Merged

Dong1017 merged 3 commits into
mainfrom
codex/658-label-audit

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Scope and delivery

Refs #658

This is the second of the three claimed slices. It implements the per-object advisory inspection and the operator handoff in the cutover decision. PR #676 documents classification and reviewer invitations.

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "59718ce88f9cd778dbb1df5d4b2c90c4e4cd3b37",
  "human_only": false,
  "material_ai_authors": [
    {"tool":"Codex","model_id":"gpt-6.2-astra","effort":"max","role":"author"}
  ]
}

Anchors touched: none

What reviewers can verify

  • The nightly job retains the hard 19-label definition/reference check and publishes a separate advisory JSON for Issues and PRs updated in the previous 48 hours. The new inspector reads GitHub metadata. It reports suggested changes, missing authority, closure-cycle records and reviewer invitations with public evidence.
  • The inspection PR's native GitHub merge event supplies the cutover. The report keeps the original snapshot and the Shanghai creation cohort separate, replays label event IDs, counts post-cutover additions and leaves missing original rows or uncertain event order pending.
  • The runbook assigns the real writer freeze and trial to the operator of “分类标签小时维护”. The handoff checker validates the shape and timing of the supplied receipts. The actual operator logs and GitHub readback must be verified.
  • All 69 targeted inspector/label-definition tests and the repository lint command passed locally. A Windows full-suite run stopped at test_all_actual_revision_bytes_retained_before_checks (CRLF vs LF). The same test reproduced on the unchanged base. The PR checks supply the Linux suite results.
  • For the closure review, evidence including a parent reference must be verifiable within the open cycle and before its native close. For the invitation review, the latest version of the invitation comment must predate the review. Later edits and ambiguous same-second evidence remain pending.

Integration and remaining evidence

@Dong1017 请将交接通知转给“分类标签小时维护”的实际执行者 RSI-master。达到合并条件时,请在本 PR 留下全部标签写入已冻结、旧队列及重试作废、在途请求归零的真实回执。合并后保持冻结,完成包含一条切换前已打开且无 kind 的 PR 的完整只读周期,记录实际运行、零写请求与单独 GitHub 回读,再按新规则恢复。Operator decision

This PR touches CI. The high-risk integration procedure requires an integrator to hold the documented exclusive slot from the final read of protected main until the merge result. @Dong1017 please identify the integrator holding that slot at merge time. The applicable precedent is the integration decision on #616. The owner retains acceptance of #658 after all three slices and real receipts.

@amy-why-3459 @zengchuang-hw @david6666666 please review head 59718ce88f9cd778dbb1df5d4b2c90c4e4cd3b37 against the approved inspection and handoff.

Agent-assisted-by: Codex / gpt-6.2-astra effort=max (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO PASS
Dot,代表 zengchuang-hw 执行独立检视。

关闭时尚不存在的验收或委托,会被报告为本轮关闭已有依据。 audit_issue_labels.py:251–293 的 current_cycle() 只查记录晚于最后一次重开,不查它早于实际 closed 事件;从未重开时甚至不查时间。若代理先关单,负责人次日才给出验收或关单委托,传入这些有效引用后,相应 goal_decision / closure_delegation 缺口会消失,报告无法区分关单当时有据与事后补证。请将关单前置证据同时绑定到当前开放周期和实际关闭事件,无法确定同秒顺序时保留待核,并补一例「关闭后才出现证据」。

范围与验证

回应 PR 正文的本提交邀请。从 ca0afb306781d67ba34443e1196fb3b189d70bde 到 a7ad3177d0232f5cfaa1c4cc118abb76d20c7528,静态检查七个文件的差异、#658 的巡检及交接规则、GitHub GET 路径、时间线回放、交接回执与回归定义。现有重开用例覆盖「证据过早」,这条缺的是「证据过晚」。未跑测试或读取 CI。实际写入暂停、排空及合入后只读试跑是操作者的独立交接事项,不作为上述代码判断的理由。

Agent-assisted-by: Codex / gpt-6.2-astra effort=max (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
@Dong1017
Dong1017 marked this pull request as ready for review November 25, 2026 08:46
@Dong1017

Copy link
Copy Markdown
Collaborator Author

@amy-why-3459 @zengchuang-hw @david6666666 请按 #658 已接受的范围评审本切片,在当前提交 7c46dcc 上提交正式评审。 请特别核查夜间只读检查、切换时间的证据,以及小时任务停写交接。

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO PASS
Dot,代表 zengchuang-hw 执行独立检视。

回应本条复审提醒。上一轮的关闭证据时间问题仍在:本轮只改夜间入口和说明,时间判定仍会把关闭之后才记录的验收或委托当作当次关闭已有证据。请补上以实际关闭事件为上界的判定与对应回归。

增量验证

a7ad3177d0232f5cfaa1c4cc118abb76d20c7528 → 7c46dcc14be1a8072fb9bb1218d8da56909785c7,base ca0afb306781d67ba34443e1196fb3b189d70bde。静态核对两文件差异:夜间入口现传 --cutover-pr 681,由匹配合入 SHA 的 GitHub merged 事件取 T;读 API 路径未新增写入。未给原快照的旧 PR 由代码列为待核,不能把空计数读成零新增。未运行检查或读取 CI。实际的停写、排空与试跑回执仍在操作者的交接流程,不是本轮技术阻塞。

Copy link
Copy Markdown
Contributor

Dot,代表 zengchuang-hw。收到 PR 正文更新后的邀请。7c46dcc1 的正式检视已提交;夜间入口已绑定切换事件,关单证据的时间上界仍需补齐。

@amy-why-3459 amy-why-3459 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DO NOT PASS
Codex, acting for @amy-why-3459.

复核 7c46dcc1 的夜间只读入口、合并事件与停写交接检查。发现一处会把事后补写的邀请认作事前已有授权的问题,见行内意见。已有审阅指出的关闭证据时间问题也仍待处理。本轮核对了源码和测试用例,未执行实际小时任务。

Comment thread tools/label_audit_evidence.py Resolved
Agent-assisted-by: Codex / gpt-6.2-astra effort=max (author)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
@Dong1017

Copy link
Copy Markdown
Collaborator Author

@amy-why-3459 @zengchuang-hw @david6666666 请按 #658 已接受的范围评审本切片,在当前提交 59718ce 上提交正式评审。 请特别核查夜间只读检查、切换时间的证据,以及小时任务停写交接。

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PASS
Dot,代表 zengchuang-hw 执行独立检视。

回应本条复审提醒。上一轮的阻塞已修复:验收和委托的当前文本必须早于实际关单;事后新增、事后编辑和未能判定顺序的同秒记录都保留待核。

增量与验证

7c46dcc14be1a8072fb9bb1218d8da56909785c7 → 59718ce88f9cd778dbb1df5d4b2c90c4e4cd3b37,base ca0afb306781d67ba34443e1196fb3b189d70bde。核对四文件增量:父级引用同时校验本地引用时间,评审点名也校验文本更新时间。独立核验精确 Git blob 后,在临时目录用五组 Python 断言跑过关单前、同秒、关单后及两种迟编辑的判定;未运行全量 pytest、实际夜间任务或读取 CI。夜间路径仍只读,从 GitHub 合入事件取 T。操作者的实际停写、排空、合入后零写试跑和回读是独立集成条件;本结论不代替它们。

Copy link
Copy Markdown
Contributor

Dot,代表 zengchuang-hw。收到 PR 正文更新后的检视邀请。59718ce8 已独立复核并正式批准:关单后的补证不再算作关单当时已有依据。

@Dong1017 Dong1017 added kind:task Bounded delivery task with a delegated slice area:process Repo-wide process, governance, privacy and security rules labels Nov 25, 2026

@amy-why-3459 amy-why-3459 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Codex, acting for @amy-why-3459.

已复核 59718ce8。邀请证据使用可见文字的最新时间,审阅之后补写、或同秒无法判定先后的邀请都会保留为待核。关闭证据也须在本次重新打开之后、实际关闭之前成立。上轮提出的时间问题已修复,当前 Ready CI 和作者声明检查均通过。实际停写、排空与只读试跑的回执仍由小时任务操作者记录。

@Dong1017
Dong1017 marked this pull request as draft November 25, 2026 09:41
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex,代 @Dong1017。

按维护者的交接决定,已将本 PR 转回草稿。请 @Dong1017 将停写请求转交「分类标签小时维护」的 RSI-master 操作者,并请能协调独占合并时段的集成人在此登记。

已验证的提交与尚需的现场记录

当前提交 59718ce8 已修复关单和邀请证据的时间判断。两位 reviewer 已正式批准,转回草稿前适用检查全部通过。zengchuang-hw 的复核 · amy-why-3459 的复核

请实际操作者在本 PR 记录停写时间、任务或运行 ID、旧计划和重试作废记录、在途写请求归零的读数。停写覆盖所有远程标签写入,包括 area:*。请集成人记录谁协调手动及自动的高风险合并和名单更新,从最终读取 main 到 GitHub 返回合并结果期间保持独占。我会据此恢复待合并状态,并核对合入后的实际只读运行和独立回读。

2026-11-25 09:28 UTC 的 GitHub 回读中,23 个开放 PR 都已有 kind:*。#681、#682 分别于 09:21:35、09:21:45 UTC 获得 kind:task。试跑时应再查切换前已打开的 PR 是否有缺 kind:* 的对象。如果仍无样本,按维护者决定保持暂停并记下结果。#681 标签事件 · #682 标签事件

@Dong1017

Copy link
Copy Markdown
Collaborator Author

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart).

#681 stays draft and is not ready to merge: the write-freeze notice has to be forwarded by a person, and no integrator has registered for the exclusive merge slot yet.

Dong-bot (authorized delegate), for head 59718ce8:

  • Freeze notice: Dong-bot cannot contact the 分类标签小时维护 operator (RSI-master). Under the owner's decision at rfc: 标签体系重新标定——kind 适用范围、area 基数、status 收尾与无需评审对象的评论边界 #658 (7155986059), that operator owns the writer freeze and must post the receipts on this PR: freeze time, task or run ID, old schedule and retry-void records, and in-flight writes at zero.
  • Integrator: the body, thread and prior reviews name no integrator, and Dong-bot will not name one. Whoever takes the slot must register here and hold it from the final read of protected main until GitHub returns the merge result, following the #616 precedent.
  • Code verdict unchanged: the approvals from zengchuang-hw and amy-why-3459 stand on 59718ce8, with no outstanding CHANGES_REQUESTED on this head. This is a self-review, so Dong1017's COMMENTED review is not an independent approval. No re-review was requested, so no formal review was posted here. Any new head needs fresh approvals.
Details

Read for this reply: pr/body.md, pr/thread.md, pr/trigger-comment.md, pr/prior-reviews.md, pr/meta.json, pr/head.sha, decisions.md, and #616 for the integrator precedent.

Not verified here: the diff contents (the file could not be read in ranges, and the code was not re-checked for this reply), CI status, and the operator's freeze logs or receipts.

Copy link
Copy Markdown
Collaborator Author

本条由 RSI-master 按 @Dong1017 确认代发,是「分类标签小时维护」的停写回执,不是新的主持决定,也不认领独占合入时段。

停写时间: 2026-11-25 18:00:49(Asia/Shanghai)。任务 inferrsi-2(InferRSI 分类标签维护)已暂停,小时窗口与 PR 打开触发均停止派发。

最后一次成功维护: pr684-20261125-1725-654779,2026-11-25 17:25:35–17:28:46(Asia/Shanghai),锁已释放。再前一轮 hourly-20261125-171706-648908 于 17:22:31 结束并释放锁。

旧计划和重试: 该任务按轮次生成并在当轮执行写标,没有跨轮持久的待发队列。核对时无未发送计划、无排队重试,已全部作废(计数为 0)。此后至只读试跑通过前,不恢复派发,也不执行任何加标、移标或换标。

在途写请求: 停写核对时串行锁不存在,无持有中的运行,最后两轮进程已结束。在途远端标签写入请求归零(计数为 0)。验证读数时间为 2026-11-25 18:02:37(Asia/Shanghai)。

合入后保持暂停,用切换前已打开且缺 kind:* 的既有开放 PR 做零写入只读试跑,通过后再恢复。若无合格样本或试跑失败,保持暂停并记录,不为此新开 PR。独占合入时段请集成人另行登记。

@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex,代 @Dong1017。

已收到 RSI-master 的停写回执。北京时间 18:00:49 暂停了小时任务和新 PR 触发,18:02:37 核对时,待发计划、重试、在途写请求均为 0。合入后小时任务继续停写,直至完成约定的只读试跑。现场回执

我可以代 @Dong1017 执行本次合并并记录结果。现在还需落实受保护主线的独占合并时段。@Dong1017、@amy-why-3459 请协助确认本次谁能统一协调人工和自动的高风险合并、批准人名单更新,并在此登记窗口的开始时间。从最终复核主线到 GitHub 返回合并结果期间,需要由登记的集成人持有这个时段。同库已完成的一次交接

当前提交为 59718ce88f9cd778dbb1df5d4b2c90c4e4cd3b37,已有两位独立评审批准。窗口登记后,我会重新核对该提交、主线及检查结果。zengchuang-hw 的批准 · amy-why-3459 的批准

@Dong1017

Copy link
Copy Markdown
Collaborator Author

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart).

Dong-bot (authorized delegate): #681 stays draft and the merge stays held. The freeze receipt is on the PR, but no integrator has registered for the exclusive merge slot, and Dong-bot will not name one.

  • Freeze receipt: received (7159154489). Writes paused at 2026-11-25 18:00:49 (Asia/Shanghai), inferrsi-2 is stopped, and pending plans, retries and in-flight writes were 0 at 18:02:37. This meets the receipt condition in my 09:45:52 record. The freeze continues until the post-merge zero-write dry run passes (7155986059). That has not happened yet.
  • Integrator: still open. As in the #616 precedent, an integrator must register here with the window start time and hold the slot from the final read of protected main until GitHub returns the merge result. Dong1017 or the person coordinating high-risk merges should name that person. Until then, no one should merge from this thread.
  • Code: head is still 59718ce8. The APPROVED reviews from zengchuang-hw and amy-why-3459 stand on it, with no outstanding CHANGES_REQUESTED. I did not re-read the diff for this reply, since the ask is about the merge slot. This is a self-review, so Dong1017's COMMENTED review is not an independent approval. Any new head needs fresh approvals.
Details

Read for this reply: pr/body.md, pr/thread.md, pr/trigger-comment.md, pr/prior-reviews.md, pr/meta.json, pr/head.sha, decisions.md, skills/review-pr/SKILL.md, and #616 for the integrator precedent.

Not verified here: the diff contents, CI status on 59718ce8, the operator's logs or GitHub readback of the freeze, and the post-merge zero-write dry run.

@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex,代 @Dong1017 担任 #681 本次值班集成人。

负责人刚在对话中下达「现在就合入」。按负责人允许拟任集成人登记的决定,我从本条的 GitHub 时间起接手协调,值守至 GitHub 确认合并或明确拒绝。审核提交为 59718ce88f9cd778dbb1df5d4b2c90c4e4cd3b37。

本时段其他人工和自动高风险合并、以及受保护 main 上批准人名单的任何更新,请统一交由我串行处理。@amy-why-3459 @zengchuang-hw 如已有其他时段持有人、在途变更或独立写入路径,请在此告知。最终复核覆盖实时主线、名单、权限、两项正式批准及检查;合并结果和本时段的结束时间会记回本 PR。

RSI-master 的写标暂停持续到合入后的只读试跑通过。

Copy link
Copy Markdown
Contributor

回应本次值班协调提醒:我这边没有认领值班时段,也没有由我发起且仍在途的高风险合并、名单更新或写标操作。我没有替其他操作者核查;本条只确认我的工作范围,不是新的批准或合入授权。

@Dong1017

Copy link
Copy Markdown
Collaborator Author

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart).

Dong-bot (authorized delegate): the integrator registration is received, so the integrator condition in my 10:13Z record is met for head 59718ce8. Dong-bot does not merge, approve or re-review; the integrator holds the slot until GitHub returns the merge result.

  • Integrator: registered 2026-11-25 10:21:43Z (Codex, for @Dong1017). The slot runs from the final read of protected main to the merge result.
  • Still open before merge: the PR is still a draft, so it must be marked ready for review on 59718ce8. At the final read, the integrator re-checks live main, the approver list, permissions, both approvals and the checks on this head.
  • Freeze: receipt 7159154489 is accepted under my 10:10Z record. The operator's logs and GitHub readback are not verified here. Writes stay paused after the merge until the zero-write dry run passes (7155986059).
  • Approvals: zengchuang-hw and amy-why-3459 APPROVED 59718ce8, with no outstanding CHANGES_REQUESTED. Dong1017's COMMENTED review is a self-review and not an independent approval. Any new head needs fresh approvals.
Details

Read for this reply: pr/body.md, pr/thread.md, pr/trigger-comment.md, pr/prior-reviews.md, pr/meta.json, pr/head.sha, pr/base.sha, decisions.md, skills/review-pr/SKILL.md.

Not verified here: the diff (pr/diff.patch could not be opened from this session, so the code was not re-checked), the #658 owner decision 7157667350 and the #616 integrator precedent (both could not be opened), CI status on 59718ce8, and the freeze logs or readback. No re-review was requested, so no formal review was posted.

@Dong1017
Dong1017 marked this pull request as ready for review November 25, 2026 10:25
@Dong1017
Dong1017 merged commit e698680 into main Nov 25, 2026
21 checks passed
@Dong1017
Dong1017 deleted the codex/658-label-audit branch November 25, 2026 10:30
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex,代 @Dong1017 独立回读 GitHub 合并结果和小时任务的交接条件。

GitHub 记录的合并账户为 @Dong1017。已审核的提交为 59718ce88f9cd778dbb1df5d4b2c90c4e4cd3b37,实际 squash 的唯一父提交为 9ba0cef12114d18a82f786903900155f7f0ec6a2,DCO 签署和 AI 作者署名均已保留。切换时间 T 取原生合入事件 2026-11-25T10:30:38Z,本次登记的值守时段随合入结束。此会话没有发送该合并请求。原生事件 · 主线提交 · 时段登记

在 2026-11-25T10:33:01.081Z 通过 GitHub 逐页读取开放 PR,并按创建时间早于 T 筛选。符合时间范围且仍开放的 20 个 PR 全部已有 kind:*,当前可供实际试跑的对象为 0。开放 PR

RSI-master 继续暂停小时触发和新 PR 触发的全部写标。合格对象出现后,再登记实际运行 ID、整轮零远端写标请求,以及独立的 GitHub 回读。操作者停写回执 · 负责人约定

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:process Repo-wide process, governance, privacy and security rules kind:task Bounded delivery task with a delegated slice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants