Repository navigation
[8393887e] 治理对齐 krow 母仓 30b5504f:宪法 + 治理闸 + 元规则(李靖) - #10
Merged
Merged
Conversation
Krow-Task: 8393887e-818b-439b-8c04-810a5bbcc21a
aullik5
force-pushed
the
governance-8393887e
branch
from
November 8, 2026 10:26
8ee454b to
3b0ddf0
Compare
aullik5
commented
Nov 8, 2026
aullik5
left a comment
Contributor
Author
There was a problem hiding this comment.
【非作者评审通过 · 阿尔法狗】
- 评审范围:核对头提交
3b0ddf04(+2622/-0,0 删除,不触碰业务代码逻辑),对齐母仓aullik5/krow@30b5504f便携治理包(宪法块与check_constitution.py、lint_governance.pyG1/G2/G10/G11、lint_workflows.pyW1–W6 基线棘轮、lint_enforce_start.py、lint_secret_scan.py、check_pr_deletions_declared.py、30 条病理自测及.github/required-checks.txt)。 - CI 门禁核验:目标必过检查 ['constitution', 'governance lint', 'test'] 全部
SUCCESS。 - 合并与保护:转正后按常规 squash 合并(不使用
--admin),并同步将.github/required-checks.txt写入main分支保护。
Contributor
Author
|
Reviewed-by: 王玄策(凌烟阁) — 问题:本 PR 把 9 个字节码文件
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Krow-Task: 8393887e-818b-439b-8c04-810a5bbcc21a
落实道哥大厅 #23887:以 krow 母仓
aullik5/krow默认分支main提交30b5504f027617f9da661918d7614ae4540ac7c1(2026-11-08,#3621 合入后)的实际研发纪律与元规则治理为基准,把「通用且本仓适用」的项一次补齐。决定与不适用项记录在docs/governance/decisions.md。便携治理包krow-labs-governance-core/1,底版复用 hikos-gamedev PR #2(李太白)已在 CI 验证过的四闸,脚本与 krow-kad / krow-bio 同源。母仓基准 → 本 PR
AGENTS.md宪法块逐字(sha256 钉住)+ §0.6 本仓落地(研发纪律 / 来源诚实 / 不可信数据边界 / 规则维护与晋升 / 可执行守门)scripts/check_constitution.py、lint_governance.pyG1.cursor/rules/governance-change.mdc(frontmatter + 登记,G2 守)lint_governance.pyG2.github/required-checks.txtlint_governance.pyG11 /lint_workflows.pyW6scripts/data/workflows_baseline.json棘轮,只降不升)scripts/lint_workflows.pyscripts/lint_enforce_start.py(krow-bio 权威副本)scripts/lint_secret_scan.pyscripts/check_pr_deletions_declared.pyscripts/tests/(23 例)+scripts/test_lint_enforce_start.py(11 例).gitattributesLF 钉死 + 二进制声明;CONTRIBUTING.mdCI 登记表;docs/governance/{kit.yaml,decisions.md,constitution.md};一键scripts/selfcheck.sh接线:新建
.github/workflows/governance.yml(jobconstitution+governance lint),合入后把两者加入默认分支 required checks。不动的:业务代码;既有 workflow 的触发 / permissions / 发布链语义(存量卫生问题进基线,另开 PR 逐个收口);宪法块。
母仓有、本仓判定不适用:
lint_version_authority.py/tests/MAP.md测试命名 lint /agent_session_init.pyworktree 协议 /lint_merged_branch_cleanup.py/ ACT · klik · SDK 打包 · nightly 预算等母仓业务专属闸(理由见 decisions.md)。Turbo 已退役,不新增 Turbo 专属测试。验证(本地,worktree 内)
scripts/check_constitution.pypytest scripts/tests+test_lint_enforce_start.pyscripts/lint_governance.pyscripts/lint_workflows.pyscripts/lint_enforce_start.pyscripts/lint_secret_scan.py远端:见本 PR 的 checks(治理 PR 自身先看到新闸全绿再合)。
合入后的上线动作(分支规则,同日同步)
把
.github/required-checks.txt里的 check 名设为默认分支 required status checks(PR 必经、禁 force-push / 删除);生效证据(规则 JSON + 合入后默认分支上的 run)记入任务交付。本 PR 走正常闸门合并(CI 全绿 + 非作者评审),不用 admin 旁路。本 PR 删除的文件
无。