chore(governance): TML-815 bootstrap repository gates - #17
Merged
Conversation
Multica-Task: TML-815 Multica-Run: 24e7050e-f57e-417e-b577-c1faa8f801ff Co-authored-by: multica-agent <github@multica.ai>
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.
目标
为 Lumora 首次自举仓库级 CI 与 Git 治理文件。此 PR 独立于产品功能 PR #16,不包含产品代码,也不会关闭 TML-815。
唯一来源为
Time-Machine-Lab/ai-repository-templatecommit9ed3257b1965498c8220dc4fc6a94b0d153582ea。变更范围
.git-management.jsone13386aa87de779f4513412223c304e801997f5e.github/PULL_REQUEST_TEMPLATE.mdee7fe2c758e75f409a12ad23228760e8a3228290.github/workflows/ci.yml9074d4e6f75370a64f446ac7afb4026fdf72f4d8.github/workflows/pr-policy.yml80f68ad2b1b5dfd9717cf990de29fa4a2840e94b.github/scripts/validate_pr.py9252e88a859e3d21f24435341c32f01711ddf8bd.github/scripts/test_validate_pr.pyc2a2fe3b2fe37611231a74b060619e5d817575ea验收标准
main(cc68b1361de6b59367ca997f5575e7490a707957) 创建。main的 diff 恰好包含上述六个文件,无产品代码或其他仓库变更。测试结果
python -m unittest discover -s .github/scripts -p "test_*.py": 5 tests passed。npm test: passed(最新main干净基线)。npm run build: passed。git diff --cached --check: passed。风险和回滚
首次 bootstrap 的
git-governance预期失败:该 workflow 会从main检出可信策略与脚本,而当前main尚无这些文件。这是自举顺序造成的预期结果,不能视为通过,也不得通过修改或关闭 Ruleset 来规避。请由具备 GitHub 仓库管理权限的管理员人工核验后,仅对本 bootstrap PR 执行一次性 bypass merge;该 bypass 不适用于 PR #16。后续如需回滚,应 revert bootstrap 的 squash merge commit。