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

+9 -5
View File
@@ -1,5 +1,9 @@
# 生态组件职责与构建关系。精确提交由 Git tree 的 gitlink 锁定。
# planned 的 requires 是设计输入,接入前须核对实际 imports 和发布依赖。
# 治理树最多两级:根 → 领域聚合(kind = "domain")→ 功能组件。每个聚合仓库只登记直属子组件,
# 递归展平后全局 ID 与权威远端唯一;禁止在根同时登记某个计划中聚合及其后代路径。
# kind = "domain" 是治理角色:requires = [],release 为 none(普通领域)或 base(Stdlib Bundle 聚合),
# 聚合仓自身不含生产实现;其子组件在领域仓库自己的 components.toml 登记。
# planned 的 requires 是设计输入,接入前须核对实际 imports 和发布依赖;planned 不创建占位 gitlink。
[[component]]
id = "cli"
@@ -307,13 +311,13 @@ release = "optional"
[[component]]
id = "web"
path = "extensions/web"
kind = "extension"
kind = "domain"
state = "planned"
owner = "cflmy"
scope = "Markdown/GFM 渲染、页面、路由和组件"
requires = ["cli", "http"]
scope = "Web 原型设计领域治理:唯一设计合同、组合验收与交付协调"
requires = []
checks_with = []
release = "optional"
release = "none"
[[component]]
id = "browser"