Repository navigation
docs: add unofficial notice; sync Chinese README version requirement and Development section - #118
Merged
7678837-glitch merged 2 commits intoOct 19, 2026
Conversation
…development section
- README.md: state the minimum the same way README_CN.md does and the code enforces it: `codex-switch launch` requires Codex 0.159.2 or newer (the support minimum); newer than the 0.162.1 alignment baseline is accepted but not fully verified (src/codex_compat.rs MINIMUM/ALIGNED constants, ensure_launch_version bails below the minimum). - Both READMEs: one language link line at the top; README_CN.md is marked as a translation with the English version authoritative. The old inline "中文说明" / "English README" links are folded into that line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Docs-only change to the READMEs.
README.mdandREADME_CN.md:codex-switchis an unofficial tool, not affiliated with or endorsed by OpenAI.codex-switch launchrequires Codex0.159.2or newer (the support minimum); versions newer than the0.162.1alignment baseline are accepted but not fully verified. I checked this againstsrc/codex_compat.rsondev:MINIMUM_CODEX_VERSION = "0.159.2"andALIGNED_CODEX_VERSION = "0.162.1".ensure_launch_versionbails when the detected version is below the minimum.AboveBaselineUnverifiedand is allowed.README_CN.md: add a开发section that matchesREADME.md→Development. It covers Rust 1.88+ (fromCargo.tomlrust-version), the same three cargo commands and the same two Wiki links.README_CN.mdis the supporting translation. These are two separate files, and I did not renameREADME_CN.md. Each file now has a link line at the top:English | [简体中文](README_CN.md)inREADME.md, and[English](README.md) | 简体中文inREADME_CN.md, followed by a note that the English version is authoritative. The old inline中文说明/English READMElinks on line 5 were folded into the new line. The Wiki and Releases links on that line stay.This PR targets
dev, asCONTRIBUTING.mdasks.Revision 2 (review follow-up, commit 129701a)
README.md:48: "The support minimum remains 0.159.2" is replaced by the sentence above, so English and Chinese now say the same thing.README_CN.md.Files
README.mdREADME_CN.mdTesting
Docs only. No code, config or workflow changed, so I did not run end-to-end or real-account tests. Checks on this branch after revision 2:
README.mdandREADME_CN.md: 19 relative links, 0 broken. This includes the newREADME.md↔README_CN.mdlinks.Chinese-Guide,Developer-Onboarding,Architecture-Overviewand Releases all return HTTP 200.cargo +1.99.0 test --locked --test test_distribution_contract(this test reads both READMEs): 36 passed, 0 failed.cargo clippy/cargo test --all/cargo auditand the macOS/Windows matrix. They don't depend on README content. PR CI (run 39206549496) started on this head:Format and auditpassed; the Linux, macOS and Windows test jobs were still running when I last checked.