Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3ddccd8a4 | ||
|
|
b11cbeac57 | ||
|
|
5b70e1d06e | ||
|
|
246ef7692c | ||
|
|
70ba4a27e5 |
No files matched your search
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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. 修改规则
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# marqdo-ext-web
|
# marqdo-ext-web
|
||||||
|
|
||||||
Marqdo **Web 领域聚合仓库**(状态:`active`,WEB-05 候选;Design/Preview active,web-components 仍 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 的开发提交。Design/Preview 已通过组件验收并激活;web-components 仍 planned。领域入口为 `scripts/domain-acceptance.sh`(根/领域 CI 以显式 CLI + 已构建 web Tool 运行)。子组件登记见 [`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 领域聚合仓库**(状态:`active`,WEB-05 候选;Design/P
|
|||||||
| [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 领域聚合仓库**(状态:`active`,WEB-05 候选;Design/P
|
|||||||
|
|
||||||
| 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` 命令。
|
||||||
|
|||||||
+1
-1
Submodule design updated: 1b6607fd3c...5c7e517121.
+33
-15
@@ -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": {
|
||||||
|
|||||||
@@ -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.
Reference in new issue
Block a user