Author SHA1 Message Date
cflmy 651b344ccb ci: restore the reviewed Web domain release boundary (#10)
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-11-27 20:40:42 +08:00
cflmy 2dd189b349 ci: pin Design/Preview publish helpers
ci/woodpecker/push/ci Pipeline was successful
B2 gitlink pin
2026-11-27 19:29:40 +08:00
cflmyandCursor b9e9aa9f9e ci: pin Design/Preview publish-helper commits
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-27 19:29:39 +08:00
cflmy af0015dfc4 ci: protected publish workflow (#10)
ci/woodpecker/push/ci Pipeline is pending
ci: protected publish workflow (#10)
2026-11-27 19:23:35 +08:00
cflmy 26bd87bfe9 ci: add protected component publish workflow and immutable release helpers
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Vendor the root component-release helpers, add source packaging plus
release-evidence, and split publish (tag/manual) from notify (release event).
2026-11-27 19:23:08 +08:00
cflmy a3ddccd8a4 ci: run Web domain acceptance on the shared web image\n\nUse marqdo-ci-web (Ubuntu + Node/Playwright Chromium from the domestic\nnpmmirror binary mirror, released CLI/Bundle and packaged preview Tool). Pin the\nproduction app Playwright to the image version and use the full Chromium channel\nto avoid the unavailable headless-shell asset; no per-run browser download.
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/manual/ci Pipeline was successful
2026-11-27 16:01:30 +08:00
cflmy b11cbeac57 ci: pin current Design/Preview lanes
Update child gitlinks to the commits that carry the shared CI image/release
notification lanes; domain behavior unchanged.
2026-11-27 15:25:48 +08:00
marqdo-ci 5b70e1d06e ci: notify the root reconcile on a completed release
Release event fast path: validate the secret is present, then ask the root
manual `reconcile` workflow to check the authoritative Gitea release. The call
is only a hint; correctness and lost-notification recovery stay in the root
reconcile cron/script.
2026-11-27 14:18:26 +08:00
cflmy 246ef7692c ci: pin Design/Preview unified CI image commits
Update the domain child gitlinks to the commits that consume the shared
marqdo-ci-rust image; the domain acceptance itself is unchanged and still runs
the packaged preview tool and production app on its own lane.
2026-11-27 14:10:51 +08:00
marqdo-norms 70ba4a27e5 docs: adopt ecosystem repository conventions and refresh active component facts
- Add the canonical AGENTS marker/link required by the root repository conventions.
- Correct the Web domain README/AGENTS status: Design/Preview are active with real
  entries, web-components remains planned; no fabricated progress.
- Pin the domain child gitlinks to their convention commits.

Refs cflmy/marqdo docs/REPOSITORY-CONVENTIONS.md
2026-11-27 11:37:07 +08:00
cflmy f6d0a9067c feat: activate the Web domain and its Design/Preview entries (WEB-05)
- web-design and web-preview move planned→active with their real scripts/ci.sh
  entries; web-components stays planned with no fabricated entry.
- The domain entry is scripts/domain-acceptance.sh: explicit CLI + built web
  Tool, three composition cases and the production delivery trial (API and
  browser E2E). Domain submodule gitlinks stay fixed to the merged Design
  (1b6607f) and Preview (eff273f) candidates.
- README/catalog/evidence record the activation and the remaining root
  integration steps (root gitlink, recursive check, web Tool cold install),
  which belong to the root candidate.

Refs cflmy/marqdo-ext-web#2, cflmy/marqdo#6
2026-11-27 09:04:18 +08:00
11 changed files with 117 additions and 30 deletions

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# Web domain acceptance: one published image with Node/Chromium, the released
# CLI/Bundle and the packaged preview Tool. The domain only runs its own
# acceptance entry; no Rust toolchain, browser download or CLI setup per run.
when:
event: [push, pull_request, manual]
steps:
domain:
image: git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5
environment:
PLAYWRIGHT_BROWSERS_PATH: /ms-playwright
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
commands:
- bash scripts/domain-acceptance.sh
+18
View File
@@ -0,0 +1,18 @@
# Fast-path notification: a completed Gitea release asks the root reconcile
# workflow to check it. The payload is only a hint; the root reconcile verifies
# the release/assets from the authoritative Gitea API. A lost call is recovered
# by the root `release-reconcile` cron.
when:
event: [release]
steps:
notify:
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5
environment:
WOODPECKER_TOKEN:
from_secret: woodpecker_token
commands:
- |
set -eu
test -n "${WOODPECKER_TOKEN:?woodpecker_token secret missing}"
curl -fsS -X POST -H "Authorization: Bearer $WOODPECKER_TOKEN" -H "Content-Type: application/json" -d '{"branch":"main","workflow":"reconcile"}' https://ci.cflmy.cn/api/repos/6/pipelines
+7 -2
View File
@@ -1,5 +1,10 @@
# AGENTS.md — marqdo-ext-web 协作约定 # AGENTS.md — marqdo-ext-web 协作约定
<!-- marqdo:repo-conventions v1 -->
生态级仓库开发规范:https://git.cflmy.cn/cflmy/marqdo/src/branch/main/docs/REPOSITORY-CONVENTIONS.md
本文件约束在本仓库工作的 AI Agent 与开发者。**作者面规则以 [docs/WEB-DESIGN.md](docs/WEB-DESIGN.md) 为准,领域流程以 [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md) 为准**;本文件只写协作纪律,不复制合同正文。 本文件约束在本仓库工作的 AI Agent 与开发者。**作者面规则以 [docs/WEB-DESIGN.md](docs/WEB-DESIGN.md) 为准,领域流程以 [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md) 为准**;本文件只写协作纪律,不复制合同正文。
## 1. 先读什么 ## 1. 先读什么
@@ -11,10 +16,10 @@
## 2. 事实边界(违反即返工) ## 2. 事实边界(违反即返工)
- 当前全体 Web 组件为 `planned`,Design 与 Preview 的子模块固定真实开发提交。功能入口、制品和 PASS 证据随实际实现建立。 - 领域与 **Design/Preview 已 active**(catalog 登记真实 `entry`,gitlink 固定已验收候选);`web-components` 仍 `planned`,不登记 entry。功能入口/制品/PASS 证据以各仓实际候选为准。
- 未实际运行的验收一律标 `UNVERIFIED`;`examples/research-workspace` 的六个文件尚未在真实 CLI/Design/Preview 上运行。 - 未实际运行的验收一律标 `UNVERIFIED`;`examples/research-workspace` 的六个文件尚未在真实 CLI/Design/Preview 上运行。
- 本仓库是聚合仓库:不实现 renderer/parser/数据库驱动,不复制子仓库源码,不把业务逻辑藏在“集成脚本”里。 - 本仓库是聚合仓库:不实现 renderer/parser/数据库驱动,不复制子仓库源码,不把业务逻辑藏在“集成脚本”里。
- 计划依赖(`requires`)须在晋升前以真实构建核实,`planned` gitlink 仅固定开发提交。 - 依赖(`requires`)已按真实构建核实;`planned` 子组件 gitlink 仅固定开发提交,不计完成率。
## 3. 修改规则 ## 3. 修改规则
+6 -6
View File
@@ -1,8 +1,8 @@
# marqdo-ext-web # marqdo-ext-web
Marqdo **Web 领域聚合仓库**(状态:`planned`)。本仓固定 Web 作者合同、完整组合示例与跨组件验收,协调 Design/Preview 的变更与发布;**不承载生产实现**,也不是旧版 Markdown/GFM 页面渲染服务的继续。 Marqdo **Web 领域聚合仓库**(状态:`active`,WEB-05 已完成;Design/Preview active,web-components 仍 planned)。本仓固定 Web 作者合同、完整组合示例与跨组件验收,协调 Design/Preview 的变更与发布;**不承载生产实现**,也不是旧版 Markdown/GFM 页面渲染服务的继续。
本仓通过 Git 子模块固定 Design 和 Preview 的开发提交。领域和子组件均为 `planned`,实际验收入口和发行制品随功能开发建立。子组件登记见 [`components.toml`](components.toml)。 本仓通过 Git 子模块固定 Design 和 Preview 的开发提交。Design/Preview 已通过组件验收并激活;web-components 仍 planned。领域入口为 `scripts/domain-acceptance.sh`(根/领域 CI 以显式 CLI + 已构建 web Tool 运行)。子组件登记见 [`components.toml`](components.toml)。
## 唯一合同入口 ## 唯一合同入口
@@ -13,7 +13,7 @@ Marqdo **Web 领域聚合仓库**(状态:`planned`)。本仓固定 Web 作
| [examples/research-workspace/](examples/research-workspace/) | 根规范 §8 科研工作台示例(六个 `.mq.md` 原样收录);入口 Analysis 已由 WEB-00 实测,Design/Preview 解释前整体仍 `UNVERIFIED` | | [examples/research-workspace/](examples/research-workspace/) | 根规范 §8 科研工作台示例(六个 `.mq.md` 原样收录);入口 Analysis 已由 WEB-00 实测,Design/Preview 解释前整体仍 `UNVERIFIED` |
| [tests/README.md](tests/README.md) | 领域/跨组件验收的目录、证据与当前状态 | | [tests/README.md](tests/README.md) | 领域/跨组件验收的目录、证据与当前状态 |
| [docs/evidence/WEB-00-analysis-probe.md](docs/evidence/WEB-00-analysis-probe.md) | WEB-00:真实 CLI Analysis 3 对合同依赖的探测证据(入口/链接/目标/负例,PASS) | | [docs/evidence/WEB-00-analysis-probe.md](docs/evidence/WEB-00-analysis-probe.md) | WEB-00:真实 CLI Analysis 3 对合同依赖的探测证据(入口/链接/目标/负例,PASS) |
| [components.toml](components.toml) | 直接子组件的治理记录(均为 planned,无 entry) | | [components.toml](components.toml) | 直接子组件的治理记录(Design/Preview active 并登记 entry,web-components planned) |
## 领域边界 ## 领域边界
@@ -29,11 +29,11 @@ Marqdo **Web 领域聚合仓库**(状态:`planned`)。本仓固定 Web 作
| ID | 目录 | kind | state | 职责 | requires | release | | ID | 目录 | kind | state | 职责 | requires | release |
| --- | --- | --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- | --- | --- |
| `web-design` | `design/` | extension | planned | 设计文档解释、校验、组件图及交付 | `cli` | optional | | `web-design` | `design/` | extension | active | 设计文档解释、校验、组件图及交付 | `cli` | optional |
| `web-preview` | `preview/` | tool | planned | 通用原型渲染及 `web` 命令发行 | `cli`, `web-design` | optional | | `web-preview` | `preview/` | tool | active | 通用原型渲染及 `web` 命令发行 | `cli`, `web-design` | optional |
| `web-components` | `components/` | extension | planned | 可组合的设计文档与原型组件模板 | `web-design` | optional | | `web-components` | `components/` | extension | planned | 可组合的设计文档与原型组件模板 | `web-design` | optional |
- `planned` gitlink 固定已发布的开发提交。实现和验收通过后才登记实际 `entry` 并计入完成率。 - Design/Preview 已 active 并登记真实 `entry`;`planned` 子组件只固定开发提交,不计完成率,激活时补齐入口/测试/证据。
- 依赖为计划依赖;真实激活前须以实际 imports/构建输入/制品核实。 - 依赖为计划依赖;真实激活前须以实际 imports/构建输入/制品核实。
- Design 和 Preview 在各自的独立仓库开发。 [marqdo-web-design](https://git.cflmy.cn/cflmy/marqdo-web-design) · [marqdo-web-preview](https://git.cflmy.cn/cflmy/marqdo-web-preview) - Design 和 Preview 在各自的独立仓库开发。 [marqdo-web-design](https://git.cflmy.cn/cflmy/marqdo-web-design) · [marqdo-web-preview](https://git.cflmy.cn/cflmy/marqdo-web-preview)
- 本仓库不提供运行时入口,也不需要另一份 `tool.json`;唯一工具入口属于 Preview 的 `web` 命令。 - 本仓库不提供运行时入口,也不需要另一份 `tool.json`;唯一工具入口属于 Preview 的 `web` 命令。
+6 -3
View File
@@ -1,29 +1,32 @@
# 本仓只登记直接子组件(规范 §4.1)。Gitlink 是提交身份唯一权威, # 本仓只登记直接子组件(规范 §4.1)。Gitlink 是提交身份唯一权威,
# .gitmodules 是权威远端唯一记录;此处不重复 SHA、远端和语言包锁。 # .gitmodules 是权威远端唯一记录;此处不重复 SHA、远端和语言包锁。
# 当前三条均为 planned。Design/Preview 固定已推送的 WEB-01..03 候选提交;激活见 WEB-05。 # WEB-05:Design/Preview 通过组件验收并固定已合并提交,激活为 active 并登记真实入口;
# web-components 仍为 planned(无独立实现,不伪造入口)。
# 激活时同时更新 state/entry 并锁定已推送的精确 SHA(见 docs/DEVELOPMENT.md §3)。 # 激活时同时更新 state/entry 并锁定已推送的精确 SHA(见 docs/DEVELOPMENT.md §3)。
[[component]] [[component]]
id = "web-design" id = "web-design"
path = "design" path = "design"
kind = "extension" kind = "extension"
state = "planned" state = "active"
owner = "cflmy" owner = "cflmy"
scope = "设计文档解释、校验、组件图及交付" scope = "设计文档解释、校验、组件图及交付"
requires = ["cli"] requires = ["cli"]
checks_with = [] checks_with = []
release = "optional" release = "optional"
entry = "scripts/ci.sh"
[[component]] [[component]]
id = "web-preview" id = "web-preview"
path = "preview" path = "preview"
kind = "tool" kind = "tool"
state = "planned" state = "active"
owner = "cflmy" owner = "cflmy"
scope = "通用原型渲染及 web 命令发行" scope = "通用原型渲染及 web 命令发行"
requires = ["cli", "web-design"] requires = ["cli", "web-design"]
checks_with = [] checks_with = []
release = "optional" release = "optional"
entry = "scripts/ci.sh"
[[component]] [[component]]
id = "web-components" id = "web-components"
+1 -1
Submodule design updated: 1b6607fd3c...5c7e517121.
+29
View File
@@ -0,0 +1,29 @@
# WEB-05 Web 领域激活与根接入证据
日期:2026-11-27。责任仓:`marqdo-ext-web`(领域激活)+ 根 `marqdo`(gitlink/组合验收);工单:根 [marqdo#6](https://git.cflmy.cn/cflmy/marqdo/issues/6);上游 WEB-00..04 均已完成。
## 领域身份
| 对象 | 身份 |
| --- | --- |
| CLI | 根固定 `cli/deadf6e` 构建的 `marqdo 3.0.0-rc.4`,`sha256:6ede3b9e...` |
| Design(active) | `marqdo-web-design@1b6607fd3cc09801b4f6eacd2fba547caa0ec637`,入口 `scripts/ci.sh` |
| Preview(active) | `marqdo-web-preview@eff273f7f2f3919bab62eacded781c61d5f03f91`,入口 `scripts/ci.sh` |
| web-components | 保持 `planned`(无独立实现/入口,不伪造) |
| 领域入口 | `scripts/domain-acceptance.sh`(三案例 + 生产应用 API/浏览器 E2E) |
| 平台 | Linux x86_64;Node 24;Chromium headless shell |
## 已完成
- 领域 `components.toml`:Design/Preview 由 planned→active,登记真实 `entry`;web-components 保持 planned。
- 领域 `.gitmodules`/gitlink:固定已推送的 Design/Preview 合并提交;子组件 CI 入口真实存在。
- 领域验收入口 `scripts/domain-acceptance.sh`:显式 `MARQDO_BIN` + 已构建 web Tool,三案例 check/preview/handoff + 生产应用 API/浏览器 E2E;本地真实 PASS(见 WEB-04 证据)。
- WEB-00/01/02/03/04 证据已分别落在领域/组件仓。
## 根接入(由根候选完成)
- 根 catalog `web` 域 planned→active,登记 `entry = scripts/domain-acceptance.sh`;根 gitlink 固定本仓激活提交(一次切换,无旧路径)。
- `scripts/check-layout.py --checkouts` 递归校验领域与子组件固定提交、入口与工作树。
- 根集成候选:同一 CLI 构建/制品下运行领域入口、`web` Tool 冷安装(install → check/preview/handoff → remove,CLI 不变、无网络)与既有消费者门禁;同候选 SHA/制品摘要记录在根候选证据。
本文件是领域侧证据;根侧递归校验/冷安装/CI 结果记录在根 PR 与 #6 评论,不在此冒充。
+33 -15
View File
@@ -11,23 +11,23 @@
"express": "^4.21.2" "express": "^4.21.2"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.49.0" "@playwright/test": "1.49.0"
} }
}, },
"node_modules/@playwright/test": { "node_modules/@playwright/test": {
"version": "1.65.1", "version": "1.49.0",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.1.tgz", "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.49.0.tgz",
"integrity": "sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==", "integrity": "sha512-DMulbwQURa8rNIQrf94+jPJQ4FmOVdpE5ZppRNvWVjvhC+6sOeo28r8MgIpQRYouXRtt/FCCXU7zn20jnHR4Qw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright": "1.65.1" "playwright": "1.49.0"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
} }
}, },
"node_modules/accepts": { "node_modules/accepts": {
@@ -335,6 +335,21 @@
"node": ">= 0.6" "node": ">= 0.6"
} }
}, },
"node_modules/fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
"optional": true,
"os": [
"darwin"
],
"engines": {
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
},
"node_modules/function-bind": { "node_modules/function-bind": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
@@ -592,32 +607,35 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/playwright": { "node_modules/playwright": {
"version": "1.65.1", "version": "1.49.0",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.49.0.tgz",
"integrity": "sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==", "integrity": "sha512-eKpmys0UFDnfNb3vfsf8Vx2LEOtflgRebl0Im2eQQnYMA4Aqd+Zw8bEOB+7ZKvN76901mRnqdsiOGKxzVTbi7A==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright-core": "1.65.1" "playwright-core": "1.49.0"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
},
"optionalDependencies": {
"fsevents": "2.3.2"
} }
}, },
"node_modules/playwright-core": { "node_modules/playwright-core": {
"version": "1.65.1", "version": "1.49.0",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.1.tgz", "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.49.0.tgz",
"integrity": "sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==", "integrity": "sha512-R+3KKTQF3npy5GTiKH/T+kdhoJfJojjHESR1YEWhYuEKRVfVaxH3+4+GvXE5xyCngCxhxnykk0Vlah9v8fs3jA==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
"playwright-core": "cli.js" "playwright-core": "cli.js"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
} }
}, },
"node_modules/proxy-addr": { "node_modules/proxy-addr": {
+1 -1
View File
@@ -13,6 +13,6 @@
"express": "^4.21.2" "express": "^4.21.2"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.49.0" "@playwright/test": "1.49.0"
} }
} }
@@ -3,7 +3,7 @@ import { defineConfig } from "@playwright/test";
export default defineConfig({ export default defineConfig({
testDir: "./e2e", testDir: "./e2e",
timeout: 30_000, timeout: 30_000,
use: { baseURL: "http://127.0.0.1:4173" }, use: { baseURL: "http://127.0.0.1:4173", channel: "chromium" },
webServer: { webServer: {
command: "node server.js", command: "node server.js",
url: "http://127.0.0.1:4173", url: "http://127.0.0.1:4173",
+1 -1
Submodule preview updated: eff273f7f2...76cc20d9d8.