revert: remove temporary issue #10 evidence files from the repository
ci/woodpecker/push/eco Pipeline is pending
ci/woodpecker/pr/eco Pipeline is pending

Progress and scan outputs belong in the tracking Issue / CI artifacts, not
committed docs that inflate the tree.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-11-27 19:41:47 +08:00
1 parent d833620c33
commit 896324d876
8 files changed
-138

No files matched your search

@@ -1,75 +0,0 @@
# Issue #10 remaining delivery evidence(2026-11-27)
来源:[marqdo#10](https://git.cflmy.cn/cflmy/marqdo/issues/10)。本文件记录本轮补齐的组件发行事务、最小权限、镜像运营与 M3 传播演练。
## 平台版本(M0)
| 组件 | 版本 |
| --- | --- |
| Gitea | 28.4.1 |
| Woodpecker | 3.20.1 |
## A. 共享发行库与组件 publish
根权威实现:`scripts/component-release/`(`package_source.py` / `write_evidence.py` / `publish_gitea.py` / `notify_root.py`)。
- 单元测试:`tests/integration/test_component_release.py` **16/16 PASS**(含 reconcile 扩展后合计)。
- 各 active/已接入仓 vendored `scripts/release/*`,新增 `.woodpecker/publish.yml`(tag/manual + `gitea_publish_token`),`release.yml` 仅 notify(`woodpecker_notify_token`)。
- knowledge 旧覆盖式 `publish-gitea.py` 改为委托不可变 publisher(禁止覆盖已公开资产)。
## B. 非生产端到端演练(std-text)
| 步骤 | 结果 |
| --- | --- |
| tag | `v0.0.0-ci10.1` @ `5838ba028ea2dcf06b1713aec2d1ec91babe1b64` |
| publish | draft→upload→undraft **published**;资产含 source tar.gz、`.sha256`、`release-evidence.json` |
| 幂等重试 | 同身份第二次 **idempotent**(R03) |
| 快速通知 | Woodpecker pipeline **#90** created |
| reconcile | 根追踪 Issue [#30](https://git.cflmy.cn/cflmy/marqdo/issues/30);证据 SHA `c88b3634...`;二次扫描 **tracked**(R09) |
| 消费者任务 | 根 Upstream Issue [#31](https://git.cflmy.cn/cflmy/marqdo/issues/31)(stdlib 无 catalog requires 边时由根 Bundle 消费);二次派发 **tracked** |
| freshness | `freshness.json` / `.md` 派生视图已生成 |
Release URL:https://git.cflmy.cn/cflmy/marqdo-std-text/releases/tag/v0.0.0-ci10.1
## C. 最小权限(E08)
| 身份 | 实测 |
| --- | --- |
| `marqdo-publisher` 建根 Issue | HTTP **403** |
| `marqdo-reconcile` 建 std-text release | HTTP **403** |
| `marqdo-reconcile` 读 releases / 建根 Issue | HTTP **200/201** |
| `marqdo-publisher` draft std-text release | HTTP **201**(演练后删除) |
Woodpecker secrets:根 `gitea_reconcile_token`(manual/cron);组件 `gitea_publish_token`(tag/manual)、`woodpecker_notify_token`(release)。
Woodpecker 专用低权用户需 OAuth 登录后签发(当前 notify secret 事件已限制为 release;专用 WP 用户记为平台退出条件)。
## D. 镜像扫描 / 多架构 / runner 缓存
- `ci/images/scan.sh`:digest 记录 + 工作流 pin 检查 **PASS**;证据目录 `docs/evidence/ci-image-scan-3.0.0-rc.5/`。
- Trivy CVE:**UNVERIFIED**(本环境无法拉取 Trivy 发行包/镜像);退出条件:安装固定版 Trivy 后重跑 `scan.sh`。
- `build.sh` 支持 `MARQDO_CI_PLATFORMS`;`linux/arm64` 必须提供已验证 aarch64 CLI 归档,否则拒绝(不伪造多架构)。当前消费矩阵仍为 `linux/amd64`。
- Runner pull-through:见 `ci/images/README.md`(唯一拉取 Gitea registry、持久 image store、发布后预热;cache hit ≠ PASS)。
## E. Reconcile M3 增强
- 校验可选 `release-evidence.json`(字段/摘要/集合)。
- freshness 报告;stdlib/base 派发根 Upstream 任务;`--plan` 零写。
- 根 `.woodpecker/reconcile.yml` 使用 `gitea_reconcile_token` 并输出 freshness。
## 本地门禁(根候选 `a61f344` / PR #32)
| 检查 | 结果 |
| --- | --- |
| `python3 -m unittest discover -s tests/integration` | **101 PASS** |
| `python3 scripts/check-repo-conventions.py` | **PASS**(37 components) |
| `python3 scripts/check-layout.py --checkouts` | **exit 0** |
远端 Woodpecker PR pipeline #92 在本记录时仍为 `pending`(clone 未开始;本机无 agent 容器)。不以排队中的 pipeline 冒充 PASS;合并前须 agent 实际跑通。
## 明确限制(不伪造成功)
1. Trivy CVE 扫描 UNVERIFIED(见上)。
2. arm64 镜像/CI 执行在无 aarch64 CLI 归档与 arm64 runner 前 UNVERIFIED。
3. Woodpecker notify 专用用户待 OAuth 签发;secret 已按事件隔离。
4. 自动依赖锁 PR / 领域→根自动候选 PR 的完整 E14 业务链以本演练的追踪 Issue + Upstream 任务为入口,后续按责任仓审查后推进(不自动合并)。
5. 根 PR #32 远端 CI 在 agent 恢复前 UNVERIFIED(本地门禁已 PASS)。
@@ -1,10 +0,0 @@
# CI image scan (3.0.0-rc.5)
- Registry: `git.cflmy.cn/cflmy`
- Digests: see `digests.txt`
- Pin check: see `pin-check.txt`
- CVE: Trivy output when available; otherwise `trivy-UNVERIFIED.txt`
- Platforms: current production consumers use `linux/amd64`. Multi-arch
builds are produced by `ci/images/build.sh` when `MARQDO_CI_PLATFORMS`
includes `linux/arm64`; arm64 CI execution remains UNVERIFIED until an
arm64 runner exists.
@@ -1,6 +0,0 @@
--- git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5
git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5 digest=sha256:8184439a201da451271f37596f4e38afeab16e044d7591853779887ef5ec28c1 platforms=linux/amd64,unknown/unknown
--- git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5
git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5 digest=sha256:73481a35339157b1a3f3b23076517e96e302fbb5158e6ffcb1582acf22c6af94 platforms=linux/amd64,unknown/unknown
--- git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5
git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5 digest=sha256:0cccda995d7786496de8806b69b0b2761861c3b6b3983a8cc9be80ba3f3db1a1 platforms=linux/amd64,unknown/unknown
@@ -1,15 +0,0 @@
Name: git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5
MediaType: application/vnd.oci.image.index.v1+json
Digest: sha256:73481a35339157b1a3f3b23076517e96e302fbb5158e6ffcb1582acf22c6af94
Manifests:
Name: git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5@sha256:ff1851a43b232618485b4c7b94ce1c3d950f60ad73a46372527b49dc60b00b38
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: linux/amd64
Name: git.cflmy.cn/cflmy/marqdo-ci-rust:3.0.0-rc.5@sha256:edb8738c3ef02c73688e1cf5de3b4c93d6eed4c46a7d675eced46a28eadc98c5
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: unknown/unknown
Annotations:
vnd.docker.reference.digest: sha256:ff1851a43b232618485b4c7b94ce1c3d950f60ad73a46372527b49dc60b00b38
vnd.docker.reference.type: attestation-manifest
@@ -1,15 +0,0 @@
Name: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5
MediaType: application/vnd.oci.image.index.v1+json
Digest: sha256:8184439a201da451271f37596f4e38afeab16e044d7591853779887ef5ec28c1
Manifests:
Name: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5@sha256:435f4e3ebe42f83ecbd741f3e064cc294d34b493fbad43a595d2042247aab69a
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: linux/amd64
Name: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5@sha256:9b1196b5e16eb65710bf2c76d183fb8dd0521643c0478f983c7e2d63c1c36aa4
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: unknown/unknown
Annotations:
vnd.docker.reference.digest: sha256:435f4e3ebe42f83ecbd741f3e064cc294d34b493fbad43a595d2042247aab69a
vnd.docker.reference.type: attestation-manifest
@@ -1,15 +0,0 @@
Name: git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5
MediaType: application/vnd.oci.image.index.v1+json
Digest: sha256:0cccda995d7786496de8806b69b0b2761861c3b6b3983a8cc9be80ba3f3db1a1
Manifests:
Name: git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5@sha256:044e4de80d578d319bbc5e77d73e88706f08937a77fbb271b8daf578e43f60b5
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: linux/amd64
Name: git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5@sha256:df457c713909267bcb755ad9ac96f7b749a0e31bc5ded813c7c35eaedda67736
MediaType: application/vnd.oci.image.manifest.v1+json
Platform: unknown/unknown
Annotations:
vnd.docker.reference.digest: sha256:044e4de80d578d319bbc5e77d73e88706f08937a77fbb271b8daf578e43f60b5
vnd.docker.reference.type: attestation-manifest
@@ -1 +0,0 @@
PASS: workflows pin marqdo-ci-*:3.0.0-rc.5
@@ -1 +0,0 @@
Trivy binary/image unavailable; CVE scan marked UNVERIFIED