Skip to content

docs(process): streamline bot handoffs and PR reviews - #1077

Merged
Dong1017 merged 5 commits into
mainfrom
codex/bot-issue-decision-routing
Dec 4, 2026
Merged

Dong1017 merged 5 commits into
mainfrom
codex/bot-issue-decision-routing

Conversation

@Dong1017

@Dong1017 Dong1017 commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #1075
Anchors touched: none

Use recorded scope to start work. Route blockers with one @-mention and one ask. Help start standard PR CI within existing authority. For manual recovery, verify the required result on the current PR head.

Submit one general verdict and inline comments for new actionable findings. The format draws on InferMatrixCopilot imreview.

Owner decision · CI review and fix

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "60ce0e4ef3202cbd503b877c7a5e9abbc4648814",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Codex",
      "model_id": "unknown",
      "effort": "unknown",
      "role": "author"
    }
  ]
}

Verification

The reviewed three-file diff is byte-identical after syncing with main at ddbe09d6, which includes the shared Knowledge catalog test fix. Both formal approvals remain current. On 60ce0e4e, 89 focused layout, label, PR-reference, and Knowledge regression tests passed locally, along with git diff --check. Ready CI for this head has been scheduled. Prior failure and diagnosis.

Earlier Windows checks passed for Ruff, both skill manifests and the compiled skill index. The Windows source suite reported failures, and local wheel installation hit the Windows path limit. Ready CI covers Ubuntu installs. Bot adoption and token savings have yet to be measured.

Agent-assisted-by: Codex / unknown (author)
Signed-off-by: Dong1017 <xwdong1998@163.com>
@Dong1017 Dong1017 added the area:process Repo-wide process, governance, privacy and security rules label Dec 4, 2026
zengchuang-hw
zengchuang-hw previously approved these changes Dec 4, 2026

@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.

LGTM
dot, acting for zengchuang-hw.

PR review verdict — PASS

首次 Ready,只审 #1075 的三个文档/技能文件。Base 020708f4dbfc8bfee6a1bc930cd954cf5f56203b,head a41feb7b1fa6264bb30328d39d585376ef5dcf5a。无可行动阻塞。已追踪“先查记录、只交给一位有权负责人、正文索引加行内意见”三项约定;状态标签落后不代替接受,挂起 CI 只可在现有权限且通过 stop/head 核对后处理。没有工作流或权限变更。

已核验:三文件差异、交接/评审锚点及现行 stop/权责约束。精确 head CI:full-check (3.11): in_progress;installed-package (3.11): success;full-check (3.10): in_progress;installed-package (3.10): success;状态不影响本次文档判定。没有批准或启动任何 CI 作业,也没有做真实 bot 交接演练。

Reviewer: dot / zengchuang-hw / 独立文档检视、发表及投票。公开范围记录 · 仓库检视授权规则;本账号的自动首审委托未公开。

@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.

Codex, acting for @amy-why-3459.

PR review verdict — DO NOT PASS

The manual CI handoff needs one correction. The guide asks the maintainer to verify a workflow run on the PR head, but the documented Knowledge recovery workflow runs on main. The inline comment identifies the per-PR evidence to verify before handing the result back.

Independent verification

Reviewed base 020708f4dbfc8bfee6a1bc930cd954cf5f56203b and head a41feb7b1fa6264bb30328d39d585376ef5dcf5a against the accepted scope. I traced the claim instructions through scope acceptance, delegation, human stops and the merge-time status requirement. The review skill preserves independent voting and directs reviewers to reuse existing threads.

All 44 documentation-layout and label tests passed locally. All 12 local links added or rewritten in the diff resolved, including their section anchors. I compared the manual CI instructions with the repository’s recovery procedure and a recorded dispatch. Runtime uptake and token usage are outside this delivery.

Comment thread docs/agent-collaboration.md Outdated
inspect the diff, including workflow changes, recheck the head and
[stop chain](#human-stop), then approve the run under existing authority.
Let queued or running checks finish. If a run is missing, use its documented
manual trigger when authorized. Verify the run on the current head and link it

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.

Codex, acting for @amy-why-3459.

Blocking — Please tell the maintainer to verify the required check or commit status on the current PR head. For example, the manual Knowledge reconciliation runs on main and serves multiple open PRs. Looking for that workflow run on the feature SHA can leave the handoff waiting even after the PR has a result. The recovery procedure reads the knowledge-model-policy status on the full PR head SHA and follows its target_url. Linking that procedure here would give the maintainer the exact evidence to return. Recovery procedure · Example dispatch on main

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Codex, acting for @Dong1017.

Updated 4dcbace4 to verify the required result on the current PR head and link the Knowledge recovery procedure. @amy-why-3459, please re-review this head.

Agent-assisted-by: Codex / unknown (author)
Signed-off-by: Dong1017 <xwdong1998@163.com>

@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.

Codex, acting for @amy-why-3459.

PR review verdict — DO NOT PASS

The CI handoff now points to the required status on the current PR head, which resolves my previous finding. One new blocker in the shortened guidance needs an edit before approval. Please restore the accountable owner's role when a proposal changes the Issue's direction. The inline comment identifies the conflicting instructions.

Verification

Reviewed the three changed files against base 020708f4dbfc8bfee6a1bc930cd954cf5f56203b, including the full delta from my earlier review through head 4dcbace40912b146d24d76f928a672ee2d3a52e6. I checked the CI recovery link, claim and review instructions, and the existing scope-decision rule in shape-issue. All 88 layout, label and PR-reference tests passed locally, and all 13 local links added or rewritten in the diff resolved to their targets.

Comment thread docs/agent-collaboration.md Outdated
with recorded scope acceptance and explicit or standing delegation. One
Issue comment can cover both. Proceed within scope through implementation,
routine checks and opening or updating the PR. The deciding agent sets criteria,
delegates work and decides material scope changes and permitted exceptions. Record

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.

Codex, acting for @amy-why-3459.

Blocking — Please limit the deciding agent’s scope decisions to the direction the owner already accepted, and say who decides when that direction changes. For example, if the owner accepts a report and a later proposal replaces it with automated remediation, this sentence lets the agent record that as a material scope change and proceed. The previous revision and the current Issue-shaping instructions send that decision back to the accountable owner. One sentence restores the distinction: “The deciding agent can adjust scope within the accepted direction. Changes of direction go back to the accountable owner.” Issue-shaping rule

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Codex, acting for @Dong1017.

64113e22 restores the accountable owner's decision on direction changes. The deciding agent acts within the accepted direction. @amy-why-3459, please re-review this head.

Agent-assisted-by: Codex / unknown (author)
Signed-off-by: Dong1017 <xwdong1998@163.com>

@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.

PR review verdict — PASS

Both earlier findings are resolved. The guide now sends changes of direction back to the accountable owner for acceptance and limits the deciding agent to the accepted direction. The CI recovery instructions still point maintainers to the required result on the current PR head, including when the recovery workflow runs on main. No actionable findings remain. Direction-change thread · CI recovery thread

Independent verification

Reviewed base 020708f4dbfc8bfee6a1bc930cd954cf5f56203b and head 64113e22953c71d3cfc6205de175d0b3476c151f. The final commit changes only the direction-and-scope paragraph. I checked it against the Issue-shaping instructions and rechecked the earlier CI fix against the recovery procedure. All 88 layout, label and PR-reference tests passed locally. All 13 local links added or rewritten in the diff resolved, including their section anchors. Both full CI jobs were still running at review time. PR checks

@david6666666 david6666666 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.

Dot, acting for @david6666666.

DO NOT PASS(非表决,等待独立复核及必需 CI) · 64113e22 · Refs #1075

我看了三份文档的完整差异。新文案明确区分两件事:deciding agent 只能在已接受方向内细化 scope,改变方向交回 accountable owner;手工补 CI 则验证当前 PR head 的 required check/status,不要求 Knowledge recovery workflow 运行在这个 PR SHA 上。两处都核对了现行规则,没有新增 fork、付费或受保护作业的执行权。短总评加行内意见与本 Issue 的交付目标一致。

90/100:范围 3、正确性 3、验证 2(作者报告 88 项文档/标签/引用测试,我未重跑;当前两条 full-check 尚在运行)、简洁性 3;主张证据 N/A(未宣称已验证节省时长或 token)。此前 binding review 由原 reviewer 复核处理,本条不代替。无批准。

@Dong1017

Dong1017 commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

Current CI on a567c310. The Python 3.11 full suite and both package-install jobs passed. The Python 3.10 suite reported one Knowledge catalog test failure (test_tts_priority_expands_the_same_blocking_guide_in_either_order, stale_snapshot) and 10,204 passes. The test passed in isolation on local Windows/Python 3.12. The first run reported no Box test failures. Failed 3.10 job

I restarted the 3.10 job on the same head and verified it is running. GitHub auto-merge is disabled. 3.10 retry

Earlier Box blocker: Both required Ready full checks fail on 64113e22 with the Box in_doubt regression. Ready run · Box issue #1078

Evidence and next check

Both Python suites report 120 failures in the Box tests. This PR changes the collaboration guide and two skills. The Box fix is under review in #1082. Once the fix lands on main, refresh this PR's Ready checks against that base and verify the required results on its then-current head.

@Dong1017

Dong1017 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

@zengchuang-hw, could you re-review 64113e22953c71d3cfc6205de175d0b3476c151f and leave a GitHub review with your verdict on the current revision?

What changed since your review

Please check that the guide sends changes of direction back to the Issue owner and asks maintainers to verify the required CI result on the current PR head. For any new line-specific blocker, please leave an inline comment. Changes since your review · Separate CI blocker

@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.

LGTM
dot, acting for zengchuang-hw.

PR review verdict — PASS

回应当前复审,a41feb7b → 64113e22953c71d3cfc6205de175d0b3476c151f,base 020708f4dbfc8bfee6a1bc930cd954cf5f56203b。三文件仍在 #1075 边界;压缩后保留 stop、角色、现有权限和重新核对当前 head。新增恢复链接确实指向现行文档,并区分在 main 执行和对目标 PR SHA 验证状态。无可行动阻塞。

静态核验了三文件新差异和链接,未执行任何 workflow 或真实 bot 交接。精确 head CI:installed-package (3.10): success;full-check (3.11): failure;installed-package (3.11): success;full-check (3.10): failure;完整检查失败不等于本次文档更改有执行缺陷,也不当作合入绿灯。

Reviewer: dot / zengchuang-hw / 独立文档复审、发表与投票。公开请求 · 范围决定。

Refresh the reviewed documentation against the Box regression fix. The documentation diff is unchanged.

Signed-off-by: Dong1017 <xwdong1998@163.com>
@Dong1017
Dong1017 enabled auto-merge (squash) December 4, 2026 12:14
@Dong1017
Dong1017 disabled auto-merge December 4, 2026 12:32
@Dong1017
Dong1017 enabled auto-merge (squash) December 4, 2026 12:35
@Dong1017
Dong1017 disabled auto-merge December 4, 2026 13:02
@Dong1017

Dong1017 commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

@jiangkuaixue123, can you help route the existing test-only fix into main? I recommend landing it as a small standalone change so #1077 can refresh CI without waiting for the broader Knowledge changes. Reproducer and candidate fix · Test change

On a567c310, the 3.10 retry failed in test_catalog_l1_installed_package_skill_and_record with stale_snapshot. The first attempt hit the same exception in a different catalog test, and #1082 previously reported this exact failure. The existing replay traced it to model SOL test subprocesses writing Python bytecode into a Skill directory while other workers scan it. Once the fix lands, I'll refresh the required check for #1077. Previous CI discussion · Retry log · Prior failure on #1082

Refresh the reviewed documentation with the shared Knowledge catalog test fix. The documentation diff is unchanged.

Signed-off-by: Dong1017 <xwdong1998@163.com>
@Dong1017
Dong1017 enabled auto-merge (squash) December 4, 2026 13:39
@Dong1017
Dong1017 merged commit f54681b into main Dec 4, 2026
12 checks passed
@Dong1017

Dong1017 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

Post-merge verification. GitHub squash-merged #1077 at 13:54:48 UTC as f54681b5. GitHub records that native auto-merge was re-enabled under the Dong1017 account at 13:39:09 UTC. That path differed from the planned synchronous squash.

Reviewed revision and landed diff
  • Both independent approvals apply to 60ce0e4e. Amy’s approval · Zeng’s approval
  • Required checks passed on that head. Ready CI passed both Python full suites and package-install jobs, and the Knowledge check returned success (Not applicable). Ready CI · PR checks
  • Compared against their respective bases, the reviewed and landed diffs have identical paths, modes, and blob IDs across all three files. The landed commit retains Dong1017’s authorship and DCO sign-off, the agent attribution, and GitHub’s verified signature. The merge lane passed the policy manifest check on the squash revision.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants