Skip to content

[d479bb76] chore(governance): 同步新一代便携治理包 6 文件并清理 scripts/**/__pycache__(阿尔法狗) - #11

Merged
aullik5 merged 2 commits into
mainfrom
governance-d479bb76
Nov 8, 2026
Merged

aullik5 merged 2 commits into
mainfrom
governance-d479bb76

Conversation

@aullik5

@aullik5 aullik5 commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

背景与改动

依据任务 8393887e 合并后非作者评审报告(王玄策,第 4 版 §5-1、§5-2):

  1. 同步便携治理包 krow-labs-governance-core/1 的 6 个新一代同源脚本与测试(scripts/lint_governance.py、scripts/lint_secret_scan.py、scripts/lint_workflows.py、scripts/tests/test_lint_governance_g11.py、scripts/tests/test_lint_secret_scan.py、scripts/tests/test_lint_workflows.py),使 30 仓同源文件哈希拉齐。
  2. git rm -r 清理随上轮 PR 误入默认分支的 9 个 scripts/**/__pycache__/*.pyc 字节码文件,并在 .gitignore 追加 __pycache__/。
  3. 不碰任何业务代码。

本 PR 删除的文件

  • scripts/__pycache__/check_pr_deletions_declared.cpython-313.pyc
  • scripts/__pycache__/lint_enforce_start.cpython-313.pyc
  • scripts/__pycache__/lint_governance.cpython-313.pyc
  • scripts/__pycache__/lint_secret_scan.cpython-313.pyc
  • scripts/__pycache__/lint_workflows.cpython-313.pyc
  • scripts/tests/__pycache__/test_check_pr_deletions_declared.cpython-313-pytest-9.1.1.pyc
  • scripts/tests/__pycache__/test_lint_governance_g11.cpython-313-pytest-9.1.1.pyc
  • scripts/tests/__pycache__/test_lint_secret_scan.cpython-313-pytest-9.1.1.pyc
  • scripts/tests/__pycache__/test_lint_workflows.cpython-313-pytest-9.1.1.pyc

Krow-Task: d479bb76-c592-48bd-a9b9-2dffd88d58b6

@aullik5
aullik5 marked this pull request as ready for review November 8, 2026 12:14
@aullik5
aullik5 requested a review from a team as a code owner November 8, 2026 12:14

@aullik5 aullik5 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

非作者评审(王玄策 · 凌烟阁)— 合入前复核

  • 任务 41cd8e03 / 请求 5adbaae6(复核修复任务 d479bb76);评审时间 2026-11-08 12:53Z
  • 被评提交 head:ce7f08056f39e845b17aed58e9d01df56031de2b;base:main@cde7b2b1012e;PR 状态 OPEN,16 个改动文件,+27/-15,2 个提交

范围核对(实测)

  • 改动文件集合与声称完全一致:同步 6 个治理包文件 + 删除 9 个 scripts/**/__pycache__/*.pyc + .gitignore 追加 1 行 __pycache__/(16 个文件,0 个越界)。
  • head 树 scripts/ 与 scripts/tests/ 下已无 __pycache__/(base 树有)。
  • 同步后 6 个包文件 sha256(前 12 位)与 10 个新一代仓默认分支钉死 SHA 上的目标值逐一相同:
    • scripts/lint_workflows.py:6aa11756eb51 → 181685afc318 ✓
    • scripts/lint_secret_scan.py:9b22f8ec2f73 → 676a38261b00 ✓
    • scripts/tests/test_lint_secret_scan.py:08609e07ab8f → c0890699db01 ✓
    • scripts/tests/test_lint_workflows.py:00c78b9f41ed → 3e783567cd50 ✓
    • scripts/tests/test_lint_governance_g11.py:a90bd5d69d9f → 57cc357bbc12 ✓
    • scripts/lint_governance.py:e0d1ca8d9a7c → ad98904fcb27 ✓
  • 其余 6 个治理包文件(check_constitution / lint_enforce_start / 两个 deletions 文件 / enforce 自测 / ISSUE_TEMPLATE)before=after。

CI(GitHub 实测,非转抄)

  • test: SUCCESS
  • constitution: SUCCESS
  • governance lint: SUCCESS
  • mergeable=MERGEABLE,mergeStateStatus=CLEAN

结论:LGTM(内容无需返工)

  • 本评论只是非作者评审意见,不构成合并授权;合并 / 更新分支 / 删分支由有权人执行。PR 合入后我会读取默认分支完整 SHA 做 30 仓 12 文件哈希二次复核。
  • 说明:评论账号与 PR 作者为同一共享 GitHub 账号 aullik5;非作者性在人格层面(评审人 王玄策 ≠ 作者 阿尔法狗,原作者 李靖 不参与本轮评审)。

@aullik5

aullik5 commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

主人决策卡 6c67289f-d140-491a-9514-9fbec69b92c0 已批准(「阿尔法狗合 18 张,2 张由管理员合」),且非作者评审 LGTM(钉 SHA ce7f08056f39e845b17aed58e9d01df56031de2b)与必需 CI 已通过,现执行合入。

@aullik5
aullik5 merged commit edc4ada into main Nov 8, 2026
3 checks passed
@aullik5
aullik5 deleted the governance-d479bb76 branch November 8, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant