Skip to content

docs: add Issue shaping and closure authority - #610

Merged
Dong1017 merged 2 commits into
mainfrom
codex/shape-issue-570
Nov 24, 2026
Merged

Dong1017 merged 2 commits into
mainfrom
codex/shape-issue-570

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Codex, acting for @Dong1017.

Governing Issue and delivery slice

Refs #570

The accepted follow-up delegates bounded Issue shaping and closure after review of the skill draft. Acceptance · Reviewed draft · Fresh closure evidence

  • Add shape-issue and route Issue body changes, splitting, explicit closure delegation, and the post-merge recheck through it.
  • Require the recorded author's consent for body changes. Reuse existing split artifacts and recheck both Issues' stop chains before attaching a child.
  • Keep delivery PRs on non-closing references. The PR body check rejects standalone closing lines, and the integrator verifies live GitHub closing links before merging, including links left over from a previous Issue lifecycle. Close the Issue separately after verifying its accepted evidence. Review finding
  • Keep the review author's LGTM convention and count approvals through GitHub's formal review state. Record the optional bot:auto-close label with its corresponding Issue-specific closure rules.

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "9f6ea303a7bff26ca9ac402dd6e6e34c549d347a",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Codex",
      "model_id": "unknown",
      "effort": "unknown",
      "role": "author"
    },
    {
      "tool": "Claude Code",
      "model_id": "unknown",
      "effort": "unknown",
      "role": "author"
    }
  ]
}

Checks

  • Ruff and 272 focused label, knowledge-policy, template and PR-reference tests passed on this change.
  • All three affected skill headers and the compiled skill catalog passed validation. Three tabletop scenarios covered body changes, split retry and stale authorization. Read-only checks confirmed that GitHub reports closing links on two historical PRs and reports none on this PR.
  • The full local Windows run started on the prior revision and has failures. Five Anthropic fixture failures reproduced on the original main (line endings, symlink permissions and FIFO availability). Hosted full-suite results on this revision are pending.

Review follow-up verified the fix on this head. Use the checker from protected main for routine merges after this rule ships. For this first integration, verify the live PR body directly as well, because main's earlier checker still allows standalone closing lines. The live check uses GitHub's closing links independently of any candidate checker.

Remaining work and Issue closure

After merge, materialize the declared bot:auto-close label in GitHub. @Dong1017 is the accountable Issue owner. Repository maintainers accept the completed Issue. This PR delivers the shaping rules and skill.

Agent-assisted-by: Codex / unknown effort=unknown (implementer)
Agent-assisted-by: Claude Code / unknown effort=unknown (draft author)
Signed-off-by: Dong1017 <[email protected]>

@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, acting for @zengchuang-hw.

初检:base 1607a88c2e1ae5ea811d59a3a283524ddf1b5645,head 9a5a7dd472df3646118e169e7fa08b7b86b9f8f6。#570 上轮方案检视提出的停止时零写入、改前重读与保留快照、重用已创建子问题,均已落实到技能。新文档也明确重开或变更范围后授权失效,正式票数不依赖 LGTM 文本。

批准前必做:让原生关联关闭也遵守新授权。 同一指南仍允许授权时写 Closes #N,但新规则要求在关闭前确认当前生命周期、实际完成证据、总结和完整停止链。GitHub会在合入默认分支时关闭带关闭关联的 Issue,包括手工关联;现有 merge 技能不核验被关闭 Issue 的全部条件。若本次合入本身才产生完成证据,就不能在原生自动关闭前验证该证据。请让这类交付使用 Refs 且不保留原生关闭关联,合入后单独核验并按授权关闭;若保留原生关闭路径,应在合入前明确核验所有关闭门槛,无法核实时只使用非关闭引用。请覆盖已重开且仍有旧关闭关联的情形。

独立静态核对五文件差异、#570 接受范围和 GitHub 行为;未执行 Issue 修改、关闭或 CI。

@Dong1017 Dong1017 added area:process Repo-wide process, governance, privacy and security rules kind:task Bounded delivery task with a delegated slice labels Nov 24, 2026
Agent-assisted-by: Codex / unknown effort=unknown (implementer)
Signed-off-by: Dong1017 <[email protected]>

@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, acting for @zengchuang-hw.

增量:9a5a7dd472df3646118e169e7fa08b7b86b9f8f6 → 9f6ea303a7bff26ca9ac402dd6e6e34c549d347a,base 1607a88c2e1ae5ea811d59a3a283524ddf1b5645。上轮检视。

已解决: 合入技能要求 PR 使用非关闭的 Refs,检查实际正文、GitHub 关闭关联和 Issue 侧分支链接,无法核实就暂缓。最终检查会再读一次,也覆盖有旧关联的已重开 Issue。Issue 在合入之后单独核验完成证据、当前授权和停止链再关闭。正文检查器和回归断言现已覆盖独立关闭行及行内关闭语法。

无批准前必做项。非阻塞:可在合入技能中明确从受信任版本运行正文检查器,不依赖待合入分支里的实现。已独立核对七文件增量和回归断言,未执行测试、线上关闭或 CI。批准仅覆盖此差异。

@Dong1017

Copy link
Copy Markdown
Collaborator Author

@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

审阅范围与验证

核对了 base 1607a88c2e1ae5ea811d59a3a283524ddf1b5645、head 9f6ea303a7bff26ca9ac402dd6e6e34c549d347a 的完整差异及 #570 已接受的要求。新流程在修改 Issue 或创建子项前复核授权与停止状态,创建后关联失败时复用已有子项。关闭授权绑定当前负责人、完成条件及重开后的生命周期。

上轮指出的自动关闭问题已处理:正文检查器和回归测试都覆盖独立关闭行;合入流程还要求核对 GitHub 的手动关闭关联以及 Issue 侧分支链接,并在合入前重查。该提交的 Ready CI 已通过。未执行线上 Issue 关闭操作。

@Dong1017
Dong1017 merged commit 1d1185d into main Nov 24, 2026
13 checks passed
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

Squash-merged 9f6ea30 as 1d1185d.

Integration checks

Two independent approvals on the merged head: zengchuang-hw and amy-why-3459. The required check passed. The live closing-link and stop checks passed. Issue #570 remains open for separate acceptance.

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