Skip to content

docs: 将 README 改为自然中文#3

Merged
askclaw-vesper merged 2 commits into
mainfrom
docs/chinese-readme
Jul 16, 2026
Merged

docs: 将 README 改为自然中文#3
askclaw-vesper merged 2 commits into
mainfrom
docs/chinese-readme

Conversation

@askclaw-vesper

Copy link
Copy Markdown
Collaborator

这次改了什么

  • 把公开 README 的说明文字改成自然、直接的简体中文
  • 保留原始 Session paused 英文提示、命令、路径、版本和证据字段
  • 明确写清安全边界:不自动重试、不切换模型、不绕过安全机制
  • v0.3.0-beta.1 已发布这一事实写回 README 和发布清单
  • 更新 README 语义检查,让它检查中文内容,而不是保留过时的英文句子

验证

  • python3 -m compileall -q src tests
  • python3 -m unittest discover -s tests:553 tests passed
  • python3 tests/public_readiness_check.py
  • python3 tests/full_history_readiness_check.py
  • python3 tests/offline_install_smoke.py
  • git diff --check

两次独立 Fable 5 high 审查后,最终中文审查结果为 PASS / READY_TO_PUBLISH。模型审计均为 PURE,没有 fallback。

askclaw-vesper and others added 2 commits July 16, 2026 05:50
…a.1 prerelease

The README becomes a natural-Chinese landing page for the same
beginner-first contract: the verbatim English "Session paused"
transcription, install commands, flags, URLs, and every verified
evidence string (500+ tests, stdlib-only runtime, offline wheel
install, pinned action SHAs, the one Linux / Claude Code 2.1.208
smoke with FABLE_BETA1_SMOKE_OK, PURE, and the measured cost) stay
untranslated and exactly as verified.

Release status now matches the live facts: the v0.3.0-beta.1 GitHub
prerelease exists at its releases/tag URL, points at merge commit
181d321, and carries wheel, sdist, SHA256SUMS, and source archives.
The checklist records that as a checked gate with no unchecked
operational action left; the permanent dirty-history warning and all
security gates stay. PyPI publication remains out of scope.

README-related semantic checks move to Chinese needles and to the
live-prerelease truth without weakening any guardrail: the checker
now requires the exact release URL in README and checklist, zero
unchecked checklist items, and a checked prerelease record;
regression tests cover unchecking or dropping that record and losing
the release URL.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Simplified-Chinese landing page now reads like it was written in
Chinese, not translated: full-width punctuation (,:;()?——)
throughout Chinese prose, natural spacing such as "Linux + Claude
Code 2.1.208", a plain-words opening (套在 Claude Code CLI 外面的
本地 Python 工具), an idiomatic non-affiliation notice (不是
Anthropic 出品,也没有得到 Anthropic 的认可或支持), and ordinary
developer wording for the audit claim (核对这次实际用了哪些模型).
Source lines now wrap only next to Latin tokens or after full-width
punctuation, so GitHub no longer renders a stray space inside words
like 确定性发布检查.

Everything verified stays byte-exact: commands, flags, URLs, the
English "Session paused" transcription, FABLE_BETA1_SMOKE_OK, PURE,
the measured smoke cost, the pinned install sources, and the
v0.3.0-beta.1 release URL and commit. The only semantic-needle
change follows the reworded opening: 本地 python 封装 becomes
本地 python 工具 in the readiness checker and its unit test, with
equivalent enforcement.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@askclaw-vesper
askclaw-vesper merged commit 9e67eab into main Jul 16, 2026
2 checks passed
@askclaw-vesper
askclaw-vesper deleted the docs/chinese-readme branch July 16, 2026 06:18

@adaptcom adaptcom 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.

Confidence Score: 5/5

Summary

Docs-and-tests-only PR that translates the public README into natural Simplified Chinese and records the shipped v0.3.0-beta.1 prerelease. No source code changes. All claims verified against live GitHub state: the v0.3.0-beta.1 annotated tag exists and points at merge commit 181d321 as documented, the GitHub prerelease is live (prerelease=true, not draft) with the wheel, sdist, and SHA256SUMS assets, and the release workflow succeeded on that commit. The translation preserves the verbatim English 'Session paused' transcription, all commands, flags, URLs, versions, and evidence strings, and keeps (arguably strengthens) the safety-boundary wording: no retries, no model switching, no safeguard bypass. Verified locally at the PR head: compileall clean, 553 unittest tests pass (5 workflow-parsing tests need PyYAML, an env dependency, not a regression; CI on the PR head is green), public_readiness_check PASS, full_history_readiness_check PASS (12 commits, 101 blobs), git diff --check clean, README is valid UTF-8. The semantic gates were coherently updated to check the Chinese content, with sensible new tests (Chinese no-bypass explanation must immediately follow the English transcription, exact release URL required, translated-marketing phrases banned). One minor parity nit, noted inline.

Important Files Changed

File Overview
README.md Full rewrite of prose into natural Simplified Chinese. English 'Session paused' transcription, commands, paths, versions, evidence strings ($0.15400099999999997, FABLE_BETA1_SMOKE_OK, --max-budget-usd 0.5), and safety boundaries all preserved. Now records the live v0.3.0-beta.1 prerelease with its exact releases/tag URL and target commit, replacing the stale pre-tag wording. Claims verified true against GitHub.
PUBLIC_RELEASE_CHECKLIST.md Converts the sole unchecked item (push the prerelease tag) into a checked record of the shipped prerelease, with the release URL and merge commit 181d321. Verified accurate: tag, release, and successful release workflow all confirmed via the GitHub API. Package-index publication correctly stays out of scope.
tests/public_readiness_check.py Readiness gate updated: prose needles switched to the Chinese wording, English transcription and evidence strings still required verbatim, new RELEASE_URL requirement for README and checklist, and checklist logic flipped from 'exactly one unchecked item' to 'no unchecked items plus a checked prerelease record'. Passes on the PR head. Minor: its banned-marketing list is a subset of the unittest's.
tests/test_mit_release.py Mirrors the gate changes: asserts the live release URL in README and checklist, bans stale pending-tag wording (cleverly composed so the test file never contains the strings literally), and adds mutation tests for unchecking/dropping the prerelease record and losing the release URL. All pass.
tests/test_public_readiness.py README contract tests translated to Chinese needles; adds good new tests: the Chinese no-bypass explanation must appear within 400 chars after the English transcription, the release URL must precede install commands, and a translated-marketing-Chinese ban list. All pass.

Re-run review · View in Adapt

for banned in ("production-ready", "production ready"):
for banned in ("production-ready", "production ready",
"赋能", "无缝", "重磅", "最佳实践",
"完整生命周期", "可复现证据"):

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Parity drift with the unittest mirror: test_public_readiness.py bans 10 translated-marketing phrases (adding 一站式, 它想解决的问题, 操作者, 技术 beta) but this standalone checker only bans 6. CI still catches all 10 via the unittest, but anyone running only public_readiness_check.py gets weaker coverage. Consider syncing the two lists or hoisting them into a shared constant.

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