Add the repository-level development conventions derived from marqdo#10 and the
existing architecture/development authorities, and enforce them:
- docs/REPOSITORY-CONVENTIONS.md: repository admission, two-level governance,
responsibility matrix, minimum active-repository file set, AGENTS rules,
independent CI/CD inputs, four facts and C2→B2→A2 promotion, single sources of
truth, hard anti-bloat list, review checklist and exception records.
- Root AGENTS.md points to the conventions; docs/DEVELOPMENT.md and
docs/REPOSITORY-TASKS.md link them; docs/templates/AGENTS.component.md is the
per-repository template.
- scripts/check-repo-conventions.py + tests enforce active README/AGENTS
marker and link, real entries, no planned entries, no duplicated domain
descendants in the root catalog, no leaf second catalog/.gitmodules and
canonical submodule remotes; added to the CI layout stage.
- Propagated tailored AGENTS.md to every active child repository and the
implemented extension repositories, corrected stale Web planned/active facts,
and pinned those convention commits (plus the CLI docs commit) in the root
gitlinks. Planned/empty repositories intentionally receive no boilerplate.
Refs cflmy/marqdo#10
cflmy
merged commit 0bf8a68cf5 into main2026-11-27 12:18:55 +08:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
范围(开发规范内化与防膨胀门禁)
把 marqdo#10 的职责模型、独立 CI 合同、制品/晋升要求与现有架构/开发/迁移权威整理为仓库级规范并落地到每个责任仓:
docs/REPOSITORY-CONVENTIONS.md:仓库准入、两层治理、职责矩阵、active 仓最低文件集、AGENTS 规范、独立 CI/CD、四种事实与 C2→B2→A2 晋升、单一事实源、防膨胀硬禁止清单、审核清单、例外记录。AGENTS.md/DEVELOPMENT.md/REPOSITORY-TASKS.md链接规范;docs/templates/AGENTS.component.md模板。scripts/check-repo-conventions.py+ 6 个集成测试:校验 active README/AGENTS 标记与根规范链接、真实 entry、planned 无 entry、根 catalog 不重复登记领域后代、叶子仓无第二 catalog/.gitmodules、.gitmodules 权威远端;纳入根 CI layout。<!-- marqdo:repo-conventions v1 -->的本仓 AGENTS,修正 Web 领域/Design/Preview 的 stale planned 状态,并把规范提交(含 CLI docs commit)固定进根 gitlink。planned/空仓不批量生成模板。docs/evidence/2026-11-27-repository-conventions.md。验证(本地)
check-repo-conventions.pyPASS(37 components);check-layout.py --checkoutsPASS;完整集成测试 85 tests OK。说明
本 PR 只落仓库组织/开发规范与门禁,不实现 #10 的 CI/CD 工作流、发布索引、通知/reconcile 与平台 M0 实测;这些仍在 #10 逐项推进。