Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b64bdc208c | ||
|
|
703ee7af24 | ||
|
|
61b4dd370e | ||
|
|
5c7e517121 | ||
|
|
37404dbc6a | ||
|
|
a231068f23 | ||
|
|
cbef7b622a | ||
|
|
1b6607fd3c |
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# Unified Woodpecker CI for a Rust component.
|
||||
#
|
||||
# One published `marqdo-ci-rust` image (Rust 1.100, rustfmt/clippy, warm cargo
|
||||
# cache, released CLI/Bundle) is reused. No per-repository toolchain download or
|
||||
# CLI rebuild; the repository only runs its own CI entry.
|
||||
when:
|
||||
event: [push, pull_request, manual]
|
||||
|
||||
steps:
|
||||
test:
|
||||
image: git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5
|
||||
commands:
|
||||
- scripts/ci.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 @@
|
||||
# marqdo-web-design 维护指引
|
||||
|
||||
<!-- marqdo:repo-conventions v1 -->
|
||||
|
||||
生态级仓库开发规范:https://git.cflmy.cn/cflmy/marqdo/src/branch/main/docs/REPOSITORY-CONVENTIONS.md
|
||||
|
||||
|
||||
1. 只以 `marqdo-ext-web` 的 [WEB-DESIGN](https://git.cflmy.cn/cflmy/marqdo-ext-web/src/branch/main/docs/WEB-DESIGN.md) 为现行作者合同;本仓库是实现者,不是合同所有者。合同语义冲突先在领域仓库开 ADR 工单,不同时维护两套解释。
|
||||
2. 只消费 CLI 公开接口(`check --emit` 的 Analysis 3 与文档化的 CLI/Tool 合同)。禁止复制 parser、读取 CLI 私有结构或以 `inspect` 等私有输出替代 Analysis;边界不够用时先取证再向 CLI 开通用工单。
|
||||
3. 不启动服务、不渲染 DOM、不写 HTML、不读密钥、不调用模型、不执行文档、不修改源文件。库失败必须返回带稳定错误码与来源 span 的 `Diagnostics`,禁止静默跳过子组件。
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Web 领域**唯一设计文档解释实现**。本仓库交付独立 Rust library,消费真实 CLI 的公开 Analysis,把符合 [WEB-DESIGN 合同](https://git.cflmy.cn/cflmy/marqdo-ext-web/src/branch/main/docs/WEB-DESIGN.md) 的 `.mq.md` 解释为设计模型、诊断与交付快照。
|
||||
|
||||
**当前状态:`planned`。** 尚未实现、尚未发布、没有 CI 入口或制品;仓库中的 API 与目录均为暂定计划,未经真实 CLI 夹具验证。
|
||||
**当前状态:`active`。** 已实现并固定于领域 gitlink:消费真实 CLI Analysis 3,提供设计模型/诊断/handoff 与 `scripts/ci.sh`;24 个真实 CLI 契约测试通过。发布身份仍以领域/根固定提交与证据为准。
|
||||
|
||||
## 职责与禁止
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# WEB-03 Handoff、组件/依赖图与单组件交付证据
|
||||
|
||||
日期:2026-11-27。责任仓:`marqdo-web-design`;工单:[marqdo-web-design#2](https://git.cflmy.cn/cflmy/marqdo-web-design/issues/2)(WEB-03);父工单:根 [marqdo#6](https://git.cflmy.cn/cflmy/marqdo/issues/6)。
|
||||
|
||||
## 输入身份
|
||||
|
||||
| 对象 | 身份 |
|
||||
| --- | --- |
|
||||
| CLI | 由根固定 `cli/deadf6e` 构建的 `marqdo 3.0.0-rc.4`,`sha256:6ede3b9e...` |
|
||||
| Design | `marqdo-web-design@8cd72b87b6291ceae769de081debe1b5dc826010` |
|
||||
| 平台 | Linux x86_64(本机验证) |
|
||||
|
||||
## 已验证(24/24 真实 CLI 契约测试)
|
||||
|
||||
- `handoff`/`handoff_relative_to`:确定性输出(同输入两次逐字节一致);包含 design id、源摘要、递归组件树、视觉包含边、非视觉依赖边、每组件源链接/职责视觉说明/输入/事件/场景/交互/依赖/验收、明确“原型/模拟、真实功能由目标应用实现”边界;输出到其它目录时源链接相对输出目录重算。
|
||||
- `graph()`:视觉包含边(含 slot)与非视觉依赖边分离;依赖循环组可报告(load 仍以 `web.dependency.cycle` 拒绝组合,要求协调)。
|
||||
- `slice()`:单组件只包含其视觉子树定义/实例与实际使用源,未知组件报错。
|
||||
- `drift()` + `design_id()`:源改动后受影响组件与源变化可定位,未变组件不误报;相同 design 的 id 稳定、改动后变化。
|
||||
- 负例保持:错误输入拒绝、验收文本不被自动翻译成测试结论、交付只含模型派生内容不复制整仓源码。
|
||||
- 非视觉依赖目标作为定义加载,使交付图显式;该路径成环报告依赖环错误。
|
||||
|
||||
## 未验证 / 后续
|
||||
|
||||
- WEB-04 的三领域组合案例与成熟框架生产交付试验未开始。
|
||||
- WEB-05 根接入、web Tool 冷安装、领域激活未开始。
|
||||
- 交付的“视觉说明/参考”目前来自 Design 安全内容投影;参考图/外部资源在 Preview/生产交付中的表达仍属 WEB-02/WEB-04 范围。
|
||||
Reference in new issue
Block a user