Author SHA1 Message Date
marqdo-ci a231068f23 ci: add the unified Woodpecker lane
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Reuse rust:1.100-trixie (glibc 2.41) and the published rc.5 CLI/Bundle with a
pinned SHA-256; no per-repository toolchain download, no CLI rebuild.
2026-11-27 13:47:24 +08:00
marqdo-norms cbef7b622a docs: adopt ecosystem repository conventions and current active status 2026-11-27 11:36:46 +08:00
3 changed files with 31 additions and 1 deletions

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# Unified Woodpecker CI for a Rust component.
#
# One pinned Rust image is reused (glibc 2.41 so the published rc.5 CLI archive
# runs) and the released CLI/Bundle is downloaded with a pinned SHA-256 instead
# of rebuilding marqdo-cli or installing a toolchain per repository.
when:
event: [push, pull_request, manual]
steps:
test:
image: rust:1.100-trixie
commands:
- apt-get update
- apt-get install -y --no-install-recommends ca-certificates curl git python3
- rustup component add rustfmt clippy
- |
set -eu
curl -fsSL --retry 3 -o /tmp/marqdo.tar.gz "https://git.cflmy.cn/cflmy/marqdo-cli/releases/download/v3.0.0-rc.5/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu.tar.gz"
echo "fd7a313e0ddaf38a9b1901ff2a9aa7b9a0a153e65522a9c0c60f01e2549f583b /tmp/marqdo.tar.gz" | sha256sum -c -
mkdir -p /opt/marqdo
tar -xzf /tmp/marqdo.tar.gz -C /opt/marqdo
export MARQDO_BIN=/opt/marqdo/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu/marqdo
export MARQDO_STDLIB_DIR=/opt/marqdo/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu/stdlib
"$MARQDO_BIN" --version
scripts/ci.sh
+5
View File
@@ -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`,禁止静默跳过子组件。
+1 -1
View File
@@ -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 契约测试通过。发布身份仍以领域/根固定提交与证据为准。
## 职责与禁止