fix: run the root governance gates on Windows #86

Merged
cflmy merged 11 commits from codex/windows-verification-parity into main 2026-12-03 08:57:48 +08:00
Owner

平台兼容修复 + 公共 Beta 发版判定(marqdo#85 首轮真实复核)。

改动

  • 根治理脚本不再依赖系统 locale 编码:.gitmodules、AGENTS.md、JSON/证据文件显式 UTF-8;integration.sh 内嵌 Python 同步修正。
  • check-dev-secrets.py 凭据模式文件先落盘关闭再交给 git grep -f,修复 Windows 文件独占导致的 exit 128 / UNVERIFIED。
  • 集成测试夹具统一 UTF-8;删除含只读 Git 对象的临时树时清位重试(新增 tests/integration/support.py);symlink 负例在无权限账户上显式 skip,NFC 负例保持独立断言。
  • 文档:docs/DEVELOPMENT.md 明确根治理检查需在 Windows 通过、integration.sh 仍需 Linux;新增证据 docs/evidence/2026-12-02-windows-governance-and-beta-readiness.md。

本机真实复核(Windows 11 / Python 3.12.7 / Rust 1.100.1 msvc)

  • check-layout.py PASS(含 --checkouts,35 个子模块固定提交)
  • check-repo-conventions.py PASS(38 components)
  • python3 -m unittest discover -s tests/integration:116 tests,OK,2 skipped(symlink 权限),exit 0
  • check-dev-secrets.py PASS(36 repos)
  • 固定 gitlink 生成 Bundle 0.3.0(tree sha256:4e47b0ff…);CLI 原生 Windows 构建成功,--version/inspect --environment/check/run 通过

发版判定

不满足公共 Beta 发版条件:本轮不创建 tag/Release。发布对账显示仅 CLI v3.0.0-rc.6 可核验,但其源 SHA 63776735 与根固定组合 cli afea4f9 不同,其余组件发行缺 release-evidence/资产/同 SHA CI,主仓库无范围接受记录与公开发行数据投影。详见证据文档。

平台兼容修复 + 公共 Beta 发版判定(marqdo#85 首轮真实复核)。 ## 改动 - 根治理脚本不再依赖系统 locale 编码:`.gitmodules`、`AGENTS.md`、JSON/证据文件显式 UTF-8;`integration.sh` 内嵌 Python 同步修正。 - `check-dev-secrets.py` 凭据模式文件先落盘关闭再交给 `git grep -f`,修复 Windows 文件独占导致的 exit 128 / UNVERIFIED。 - 集成测试夹具统一 UTF-8;删除含只读 Git 对象的临时树时清位重试(新增 `tests/integration/support.py`);symlink 负例在无权限账户上显式 skip,NFC 负例保持独立断言。 - 文档:`docs/DEVELOPMENT.md` 明确根治理检查需在 Windows 通过、`integration.sh` 仍需 Linux;新增证据 `docs/evidence/2026-12-02-windows-governance-and-beta-readiness.md`。 ## 本机真实复核(Windows 11 / Python 3.12.7 / Rust 1.100.1 msvc) - `check-layout.py` PASS(含 `--checkouts`,35 个子模块固定提交) - `check-repo-conventions.py` PASS(38 components) - `python3 -m unittest discover -s tests/integration`:116 tests,OK,2 skipped(symlink 权限),exit 0 - `check-dev-secrets.py` PASS(36 repos) - 固定 gitlink 生成 Bundle 0.3.0(tree `sha256:4e47b0ff…`);CLI 原生 Windows 构建成功,`--version`/`inspect --environment`/`check`/`run` 通过 ## 发版判定 不满足公共 Beta 发版条件:本轮不创建 tag/Release。发布对账显示仅 CLI `v3.0.0-rc.6` 可核验,但其源 SHA `63776735` 与根固定组合 `cli afea4f9` 不同,其余组件发行缺 release-evidence/资产/同 SHA CI,主仓库无范围接受记录与公开发行数据投影。详见证据文档。
Author
Owner

CI 记录(Woodpecker,当前 head de1fb6a)

  • 代码提交 6a728d2 的 eco 流水线 #479:success(clone/layout/checkouts/candidate/app 全 success)。
  • 当前 head de1fb6a(仅追加 docs/DEVELOPMENT 发布策略段落)的手动流水线 #487:success(同上 5 步全部 success,含 tests/integration 与 scripts/integration.sh 全生态验收)。
  • 说明:PR push 触发的 #484–#486 在排队阶段被取消(started=0,未开始构建),因此当时 Woodpecker 页面看不到构建;这属于同分支流水线被后续事件/并发组取代,不是构建失败。为消除歧义,已用 Woodpecker API 对 PR head 手动触发 #487 并取得完整 green 结果。
  • CI/CD 只使用 Woodpecker;Gitea 仅用于代码、Issue/PR 与 Release/资产索引,未建立任何 Gitea 侧 CI/CD。

发版判定与证据见 docs/evidence/2026-12-02-windows-governance-and-beta-readiness.md;本轮不创建 tag/Release。

## CI 记录(Woodpecker,当前 head `de1fb6a`) - 代码提交 `6a728d2` 的 eco 流水线 [#479](https://ci.cflmy.cn/repos/6/pipeline/479):`success`(clone/layout/checkouts/candidate/app 全 success)。 - 当前 head `de1fb6a`(仅追加 docs/DEVELOPMENT 发布策略段落)的手动流水线 [#487](https://ci.cflmy.cn/repos/6/pipeline/487):`success`(同上 5 步全部 success,含 `tests/integration` 与 `scripts/integration.sh` 全生态验收)。 - 说明:PR push 触发的 #484–#486 在排队阶段被取消(`started=0`,未开始构建),因此当时 Woodpecker 页面看不到构建;这属于同分支流水线被后续事件/并发组取代,不是构建失败。为消除歧义,已用 Woodpecker API 对 PR head 手动触发 #487 并取得完整 green 结果。 - CI/CD 只使用 Woodpecker;Gitea 仅用于代码、Issue/PR 与 Release/资产索引,未建立任何 Gitea 侧 CI/CD。 发版判定与证据见 `docs/evidence/2026-12-02-windows-governance-and-beta-readiness.md`;本轮不创建 tag/Release。
Author
Owner

公共 Beta 1 已发布(范围化)

本 PR 追加了发布记录与范围化发版政策:

  • 根 Release v3.0.0-beta.1(prerelease,tag → main 857914a)。
  • 推荐资产:marqdo-cli v3.0.0-rc.6 Linux x86_64 归档(sha256 8dc0b006…,匿名下载 200/size 一致)。
  • public-beta.json 在 Release 资产与 docs/releases/public-beta-1.json,声明测试范围、不承诺项与延期工单。
  • 发行记录:docs/releases/2026-12-02-public-beta-1.md;政策:docs/DEVELOPMENT.md 公共 Beta 范围判定。

CI/CD 仍只用 Woodpecker;Gitea 仅作代码/Issue/Release 索引。

## 公共 Beta 1 已发布(范围化) 本 PR 追加了发布记录与范围化发版政策: - 根 Release [`v3.0.0-beta.1`](https://git.cflmy.cn/cflmy/marqdo/releases/tag/v3.0.0-beta.1)(prerelease,tag → main `857914a`)。 - 推荐资产:`marqdo-cli v3.0.0-rc.6` Linux x86_64 归档(sha256 `8dc0b006…`,匿名下载 200/size 一致)。 - `public-beta.json` 在 Release 资产与 `docs/releases/public-beta-1.json`,声明测试范围、不承诺项与延期工单。 - 发行记录:`docs/releases/2026-12-02-public-beta-1.md`;政策:`docs/DEVELOPMENT.md` 公共 Beta 范围判定。 CI/CD 仍只用 Woodpecker;Gitea 仅作代码/Issue/Release 索引。
cflmy force-pushed codex/windows-verification-parity from 3f9659e677 to 165f96b691 2026-12-02 15:11:23 +08:00 Compare
Author
Owner

已 rebase 到 rc.7 的 main,并清理并行发行记录

  • 分支已 rebase 到 7d29fa2(docs/RELEASE-POLICY.md + rc.7 接受记录 + project-release.py);本 PR 现在只保留 Windows 平台兼容修复与对应证据。
  • 删除了本 PR 先前自带的 docs/releases/ 记录与 docs/DEVELOPMENT.md 中重复的 Beta 政策段落——权威政策/数据是 main 的 docs/RELEASE-POLICY.md 与 docs/release-acceptance/。
  • v3.0.0-beta.1 Gitea Release 已标注 Superseded(不可变保留,不再推荐);推荐发行是 v3.0.0-rc.7。
  • Woodpecker eco 流水线:pipeline 494(新 head 165f96b,CI/CD 仅用 Woodpecker)。
## 已 rebase 到 rc.7 的 main,并清理并行发行记录 - 分支已 rebase 到 `7d29fa2`(`docs/RELEASE-POLICY.md` + rc.7 接受记录 + `project-release.py`);本 PR 现在只保留 Windows 平台兼容修复与对应证据。 - 删除了本 PR 先前自带的 `docs/releases/` 记录与 `docs/DEVELOPMENT.md` 中重复的 Beta 政策段落——权威政策/数据是 main 的 `docs/RELEASE-POLICY.md` 与 `docs/release-acceptance/`。 - `v3.0.0-beta.1` Gitea Release 已标注 Superseded(不可变保留,不再推荐);推荐发行是 `v3.0.0-rc.7`。 - Woodpecker eco 流水线:[pipeline 494](https://ci.cflmy.cn/repos/6/pipeline/494)(新 head `165f96b`,CI/CD 仅用 Woodpecker)。
Author
Owner

Windows 实验性分发已发布,并补证据

  • 按维护者批准的 experimental 范围,组件仓发布 v3.0.0-rc.7-windows.1:源码 63562d8(与 rc.7 相同),Windows 原生构建,冷解压 --version/environment/check/run 通过;归档 sha256 af65880c…。不是 CI 产物、未签名、strict unavailable、ABI unsupported,不进入根推荐。
  • 本 PR 新增 docs/evidence/2026-12-02-windows-native-experimental.md 记录完整构建/运行/归档身份证据(head 8d69f68)。
  • Woodpecker eco 流水线将随新 head 复跑;CI/CD 仅用 Woodpecker。
## Windows 实验性分发已发布,并补证据 - 按维护者批准的 experimental 范围,组件仓发布 [`v3.0.0-rc.7-windows.1`](https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.7-windows.1):源码 `63562d8`(与 rc.7 相同),Windows 原生构建,冷解压 `--version`/`environment`/`check`/`run` 通过;归档 sha256 `af65880c…`。不是 CI 产物、未签名、strict unavailable、ABI unsupported,不进入根推荐。 - 本 PR 新增 `docs/evidence/2026-12-02-windows-native-experimental.md` 记录完整构建/运行/归档身份证据(head `8d69f68`)。 - Woodpecker eco 流水线将随新 head 复跑;CI/CD 仅用 Woodpecker。
cflmy force-pushed codex/windows-verification-parity from d32f9cfa79 to eddc71967e 2026-12-03 00:04:39 +08:00 Compare
cflmy force-pushed codex/windows-verification-parity from e67908c8b6 to 7a49ab906f 2026-12-03 08:57:01 +08:00 Compare
cflmy added 11 commits 2026-12-03 08:57:44 +08:00
- read .gitmodules, AGENTS.md and JSON fixtures as UTF-8 instead of the locale codec
- materialize the credential pattern file before git grep so Windows file locking cannot skip the scan
- clear read-only Git object bits when fixture trees are removed
- probe symlink support and skip only the symlink-only negative fixtures, keeping the NFC checks
- add a small platform helper for the integration tests
CI/CD stays on Woodpecker only; Gitea is referenced only as the source, issue tracker and release index.
Root release v3.0.0-beta.1 recommends the verified marqdo-cli v3.0.0-rc.6 Linux archive for a declared Linux x86_64 scope; unscoped platforms and components stay deferred.
The root v3.0.0-rc.7 acceptance record and docs/RELEASE-POLICY.md are authoritative; drop the duplicated beta policy subsection and the parallel beta.1 release record.
marqdo-cli v3.0.0-rc.7-windows.1 is an experimental, unsigned Windows x86_64 archive built from the rc.7 source on a native Windows machine; it is not part of the accepted Linux recommendation.
Component-owned experimental Windows release for MQDH 0.1.0-beta.1; root acceptance stays Linux-only until a native Windows lane and installation acceptance exist.
Record that the experimental Windows MQDH build only builds the app repository and reuses independent runtime artifacts, per marqdo#96.
Component-owned experimental Windows build with a bundled offline CLI/Worker/Bundle runtime; root acceptance stays Linux-only.
cflmy force-pushed codex/windows-verification-parity from 7a49ab906f to dda256e90a 2026-12-03 08:57:44 +08:00 Compare
cflmy merged commit 0137baca34 into main 2026-12-03 08:57:48 +08:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cflmy/marqdo#86