docs: adopt hierarchical ecosystem governance and Web domain contract

Replace the flat, one-level submodule policy with the bounded tree
root -> domain aggregate -> component (at most two gitlink levels) and
introduce the single `kind = "domain"` governance role.

- Merge the approved architecture rules into ARCHITECTURE, DEVELOPMENT,
  MIGRATION, REPOSITORY-TASKS, AGENTS and components.toml; keep the full
  implementation spec as ADR 0001 (historical input, not a second
  current authority).
- Register `web` as a planned domain at extensions/web; child records
  live in marqdo-ext-web's own components.toml, never duplicated in the
  root catalog. No placeholder gitlink or fake active entry is created.
- Point the Web domain at the single authoritative contract
  marqdo-ext-web docs/WEB-DESIGN.md; Design and Preview stay planned
  until they have real entries and same-candidate evidence.
- Create the marqdo-ext-web, marqdo-web-design and marqdo-web-preview
  repositories (docs/contracts/issues only) and update the migration
  ledger, task list, extension index and issue/PR templates.
This commit is contained in:
cflmy committed 2026-11-26 17:18:14 +08:00
1 parent c5415d5bc5
commit 198b3acc86
13 files changed
+1343 -86

No files matched your search

+11 -3
View File
@@ -1,5 +1,13 @@
# marqdo-ext-web
# extensions/web(Web 领域聚合目标路径)
职责为Markdown/GFM 渲染、页面、路由和组件。当前状态为 `planned`。
该路径是 `kind = "domain"` 的 Web 领域聚合仓库 [marqdo-ext-web](https://git.cflmy.cn/cflmy/marqdo-ext-web) 的挂载路径。当前状态 `planned`:**没有 gitlink,也没有本目录内的实现源码**;本 README 只是根 catalog 的记录说明。
开发和验收在独立仓库进行。 [独立仓库](https://git.cflmy.cn/cflmy/marqdo-ext-web) · [各仓库任务](../../docs/REPOSITORY-TASKS.md)
## 边界
- 领域聚合仓库只做治理:唯一设计合同、示例、跨组件集成测试、发布装配与交付协调;**不得**在其中实现 renderer、parser、数据库驱动或业务逻辑,也不得复制子仓库源码。
- 子组件不在根 catalog 登记:[marqdo-web-design](https://git.cflmy.cn/cflmy/marqdo-web-design)(设计解释 Rust library)与 [marqdo-web-preview](https://git.cflmy.cn/cflmy/marqdo-web-preview)(`web` Tool 与离线预览)记录在领域仓库自己的 `components.toml`,激活时随领域 gitlink 一次接入根。
- 唯一作者合同:[WEB-DESIGN](https://git.cflmy.cn/cflmy/marqdo-ext-web/src/branch/main/docs/WEB-DESIGN.md);领域开发指南:[DEVELOPMENT](https://git.cflmy.cn/cflmy/marqdo-ext-web/src/branch/main/docs/DEVELOPMENT.md)。
## 激活门禁
两个子组件具备真实独立入口与候选提交、领域 catalog 与 gitlink 一致、领域 CI 通过、根 `check-layout.py --checkouts` 递归校验通过、Design/Preview 同候选证据齐全。未满足前保持 `planned`,不创建占位 gitlink。详见 [迁移台账](../../docs/MIGRATION.md) 与 [开发流程](../../docs/DEVELOPMENT.md)。