Skip to content

Add Chinese release publishing flow and Automation package - #72

Merged
Dailin521 merged 1 commit into
mainfrom
codex/release-publishing
Aug 4, 2026
Merged

Add Chinese release publishing flow and Automation package#72
Dailin521 merged 1 commit into
mainfrom
codex/release-publishing

Conversation

@Dailin521

Copy link
Copy Markdown
Owner

What changed

  • add a versioned Chinese release announcement and reusable release template
  • add a user-facing changelog and Chinese Automation quick start
  • package a focused Windows Automation ZIP alongside the existing GUI and full ZIP
  • preserve the existing CodexProviderSync.exe updater asset contract
  • make the publish workflow resolve its title and body from the tag-bound Chinese release note
  • clarify download choices, built-in GUI updates, Provider switcher scope, safety guarantees, and contributor attribution
  • add release metadata and packaging contract tests

Why

The v0.4.0 release is a reliability architecture upgrade, but the previous presentation read like a developer changelog. The repository also needed to match the live release's separate Automation package and Chinese-first user guidance so future releases cannot drift from the checked-in process.

Impact

Normal Windows users continue to download CodexProviderSync.exe and retain built-in updates. Scripts, CI, and AI agents can use the separate Automation package. Future tags fail early when the Chinese announcement, safety notes, version metadata, or package contract is incomplete.

Validation

  • npm test: 192 passed, 0 failed
  • release version validation passed for npm manifests and 6 shipped .NET projects
  • v0.4.0 Chinese release metadata validation passed
  • .github/workflows/publish.yml parsed successfully as YAML
  • npm pack --dry-run --json included the new changelog and documentation
  • release package scripts were exercised locally, including exact Automation ZIP contents and SHA-256 verification

@Dailin521
Dailin521 marked this pull request as ready for review August 4, 2026 11:00
@Dailin521
Dailin521 merged commit 8aae8fb into main Aug 4, 2026
8 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6db74f6dd4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md
### 自动化接口(v0.4 实验性)

v0.4 Windows Release 构建同时包含 `CodexProviderSync.Automation.exe``automation-protocol-v0.4.schema.json`。这个一次性进程接口与 Windows GUI 共用同一套 Application 用例;每次调用只在 stdout 输出一份协议 `0.4` JSON,诊断信息写入 stderr。
Release 提供独立的 Windows 自动化接口包,内含 `CodexProviderSync.Automation.exe``automation-protocol-v0.4.schema.json` 和中文快速说明;Windows 完整包也包含这些文件。这个一次性进程接口与 Windows GUI 共用同一套 Application 用例;每次调用只在 stdout 输出一份协议 `0.4` JSON,诊断信息写入 stderr。普通桌面用户不需要下载自动化接口包

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update the operator contract before shipping Automation

Once this release is tagged, the README and packaged assets advertise CodexProviderSync.Automation.exe, but the repository's mandatory operator guide still states that no Automation executable is shipped. AGENTS-aware tools will therefore treat the newly published interface as unavailable; either update the operator contract as part of this change or do not publish the executable.

AGENTS.md reference: AGENTS.md:L22-L24

Useful? React with 👍 / 👎.

Comment on lines +57 to +59
if (/\b(?:TODO|TBD)\b/.test(body)) {
throw new Error(`${relativeBodyPath} still contains a TODO or TBD placeholder.`);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject template placeholders before publishing

When a maintainer copies TEMPLATE-zh.md, updates the title and required safety marker words, but misses any of its <...> fields, this check still passes because it recognizes only TODO and TBD. The release workflow can consequently publish placeholder prose and broken v<版本> download links; validate and reject the template's angle-bracket placeholders as well.

Useful? React with 👍 / 👎.


接口支持 `describe`、`status`、`plan`、`sync`、`switch`、`restore` 和 `prune`。所有写命令默认只生成计划,不会修改数据;真正执行时必须同时提供 `--apply`、匹配的计划文件及其 SHA-256 摘要。计划有有效期、绑定目标状态,并且只能使用一次。

该接口不会替代现有 Node CLI。协议 `0.4` 仍处于 1.0 之前的实验阶段,未来可能发生不兼容变更。完整命令示例见 [README](https://github.com/Dailin521/codex-provider-sync/blob/v0.4.0/README.md#business-automation-apiv04-实验性),自动化接口包内也附带中文快速说明。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Point the release note at the renamed README heading

For v0.4.0 readers following the “complete command examples” link, the fragment still targets the old business-automation-api... heading, while this commit renames that README section to 自动化接口(v0.4 实验性). GitHub therefore cannot navigate to the intended section; update the fragment to match the new heading.

Useful? React with 👍 / 👎.

@Dailin521
Dailin521 deleted the codex/release-publishing branch August 6, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant