mrkeyoor.com_
Tue 06 Oct 06:36 UTC
Dev Toolsevaluationupdated 06 Oct 2026

ccodex-sleep-state review

ccodex-sleep-state is a Chinese-language local proxy and control panel for Codex connections, configuration repair, proxy routing, and experimental turn-state injection. The README and guides are in Chinese, and the repository does not include an English guide. Its stated goal is to make connection problems visible and recoverable, not to add quota or guarantee better answers.

Verdict

Our run passed all 22 tests after a 59-second install and 89-second build, so the code at commit dab37ce clears its local engineering checks. Use ccodex-sleep-state only as a visible, reversible experiment for a Codex connection you already control, and only if you can follow the Chinese recovery notes. The open 780-character state issue and the README's own refusal to promise better output rule out treating it as a quality fix.

We ran it

Lab card: what happened when we ran ccodex-sleep-stateScreenshot of ccodex-sleep-state (github.com/gylive/ccodex-sleep-state)
Install✓ · 59s178 packages
Build✓ · 89s
Tests✓ · 52s22 passed · 0 failed of 22 (go test)
Repo119 files~13,429 lines of source · 1.3 MB · 3 CI workflows

Answers from our run

Does ccodex-sleep-state build from source?

Dependencies installed in 59 seconds (178 packages), and the build succeeded in 89 seconds. We cloned commit dab37ce into a clean Debian container with 3 CPUs and no project-specific setup.

Do ccodex-sleep-state's tests pass?

Yes: 22 of 22 passed when we ran the project's own test command (go test). Some failures need services or credentials a bare container does not have.

Who should not use ccodex-sleep-state?

Anyone seeking guaranteed higher answer quality or extra quota: the README says a 292- or 332-character state is not an OpenAI quality signal.

What are the alternatives to ccodex-sleep-state?

CC Switch, GPT-Load. Our run passed all 22 tests after a 59-second install and 89-second build, so the code at commit dab37ce clears its local engineering checks.

Setup3/5Packaged launch is simple; safe takeover and recovery need care
Docs4/5Detailed Chinese setup, limits, testing, and recovery guides
Community3/5644 stars and issue activity after the September push
Maturity2/5v0.4.0 is a public beta with a changing upstream state shape

Who it’s for

Chinese-reading Codex users who already understand their login, upstream, and proxy setup.
Developers testing turn-state behavior who want visible collection results, routing status, and a reversible Codex configuration change.
Windows or macOS users who prefer a local browser panel over hand-editing TOML and JSON files.
Go developers prepared to inspect the gateway and proxy code before trusting it with credentials.

Who it’s NOT for

Anyone seeking guaranteed higher answer quality or extra quota: the README says a 292- or 332-character state is not an OpenAI quality signal.
Users who cannot read Chinese: setup, recovery, compliance, and failure guidance are written in Chinese, with no English guide in the repository tree.
Teams whose policy forbids routing Codex traffic through a local intermediary or user-supplied proxies: this tool temporarily takes over the selected Codex provider configuration.
Users expecting WebSocket or arbitrary protocol support: v0.4.0 handles Responses HTTP and SSE only.
Anyone relying on the newer 780-character turn-state shape today: issue 13 says the current policy rejects it, and the fix remains an open pull request.
People who plan to defeat 401, 403, or 429 responses by changing exits: the project explicitly stops on those responses and says it does not remove upstream limits.

Setup reality

Our sandbox installed commit dab37ce in 59 seconds, fetching 178 packages. The build passed in 89 seconds, and all 22 Go tests passed in 52 seconds. The 1.3 MB checkout had 119 files, about 13,429 source lines, and 3 CI workflows.

Packaged setup is aimed at Windows and macOS. The service can use an official ChatGPT login, an OpenAI API key, or a configured Responses relay, plus optional HTTP, HTTPS, or SOCKS5 proxies and subscriptions.

The tool temporarily rewrites the chosen Codex configuration, keeps backups, and restores it on a normal Ctrl+C shutdown. Its local panel uses port 17841. Running the service does not call a model, but state collection after Codex connects can consume quota.

The tool makes a fragile Codex experiment visible

ccodex-sleep-state sits between Codex and the selected upstream, then shows connection, routing, configuration, and turn-state status in a local browser panel. Its working theory concerns X-Codex-Turn-State, a response value it can collect from candidate exits and attach to later requests. The README is careful about the result: a value with the expected shape does not prove that the model is running at full quality.

That caveat is the whole review. The project can reduce blind config editing and expose why a request stopped, but it cannot turn an undocumented signal into a service guarantee. It does not add account quota. It also refuses to treat 401, 403, or 429 responses as invitations to rotate exits and keep trying. If you install it expecting a rate-limit bypass, you have misunderstood both the code and its stated boundary.

A 292-character state is an observed shape, not a quality grade

Version 0.4.0 accepts different empirical shapes for personal and Team or Business accounts. The README describes 10 encrypted blocks, usually 292 characters, for personal accounts and 12 blocks, usually 332 characters, for Team. It checks envelope structure, time, and block count, then keeps state isolated by account, credential, and model. None of those checks says whether the next answer will be better.

The upstream can change underneath that policy. Issue 13 reports a 780-character, 33-block state introduced after the reviewed commit. The issue says the existing rules reject it, which can leave collection unavailable or force the configured plain-forwarding fallback. Pull request 14 adds the new shape, but it was still open when we checked on October 6, 2026. This is the risk of building on behavior that OpenAI has not documented as a quality interface.

What happened when we ran it

In our unprivileged Debian container with 3 CPUs and 8 GB of RAM, commit dab37ce installed in 59 seconds and fetched 178 packages. The Go build succeeded in 89 seconds. Tests finished in 52 seconds with 22 passed and 0 failed. The repository contained 119 files, roughly 13,429 lines of source, and 3 CI workflow files.

The checkout occupied 1.3 MB and had no Dockerfile or separate tests directory. Go tests can live beside package code, so the missing directory does not mean the project lacks tests. Our run did not connect an account, load a proxy subscription, collect a real turn-state, or measure answer quality. The passing suite covers the code path the harness executed, not the central claim a user would care about.

Setup rewrites Codex configuration and keeps a backup

The packaged path targets Windows and macOS. You download the matching archive, keep its scripts with the executable, run start.cmd or start.command, and use the local panel at 127.0.0.1:17841. The setup process backs up the selected Codex configuration and redirects it to the service. Codex then needs a restart and a new conversation because an existing conversation is not switched in place.

Normal shutdown matters. The README tells users to keep the terminal open, press Ctrl+C, wait for restoration, and restart Codex. Closing the browser only closes the panel. Disabling injection does not stop the service either. Users of CC Switch are told to stop this service before changing the provider, then start it again, because two tools writing the same configuration can create a conflict or send credentials toward the wrong upstream.

Proxy support carries credentials and policy obligations

The panel accepts HTTP, HTTPS, and SOCKS5 endpoints, remote subscriptions, local subscription files, and several embedded outbound formats. Version 0.4.0 can keep a working exit, manage usable and failed lists, and separate collection routing from formal requests. It does not switch the system proxy or import a subscription's TUN, DNS, and system rules.

Those conveniences bring sensitive local state. Proxy passwords, subscription URLs, recovery backups, API credentials, and full turn-state values should not be shared. The project says routine diagnostics redact credentials and content, yet its compliance document warns that the raw data directory and backups may still contain private material. It also says users must have the right to use every account, proxy, and network connection they configure.

The Chinese documentation is candid but limits the audience

The README and all 12 Markdown guides under docs are written in Chinese. They cover Windows and macOS setup, the web panel, proxies, architecture, testing, recovery, upgrade, and compliance. There is no English guide in the repository tree. English-speaking engineers can inspect the Go source, but operating this tool safely depends on understanding the warnings around config repair, credential routing, and failed collection.

GitHub showed 644 stars, 149 forks, and 9 open issues and pull requests on October 6, 2026. The last push was September 20, one day after v0.4.0. Issue activity continued through September 27, including the upstream state-shape report. That is active attention, though the project was created only on September 18 and still labels itself a public beta. Age and upstream churn matter more here than the star count.

The right outcome may be ordinary forwarding

When no acceptable state is available, users can choose strict failure or plain forwarding without injection. The latter is the default for a first setup that has no explicit fallback policy. A formal generation request is sent at most once, so a response that may have consumed quota is not replayed through another exit. This is a sensible safety boundary for experimental routing.

Our 22 passing tests make ccodex-sleep-state more credible than its unusual premise first suggests. They do not validate the premise itself. Install it only if the panel, backups, and diagnostics solve a real configuration problem for you. If your goal is simply more quota, guaranteed model quality, or automatic recovery from upstream limits, this project says it cannot provide those outcomes.

Alternatives

ProjectWhat it isPick it when
CC Switch gh↗A desktop manager for switching configurations across Codex and several other coding assistants.pick this instead when provider and account configuration is the job and you do not need turn-state collection or injection.
GPT-Load gh↗A self-hosted AI gateway for multiple channels, credentials, scheduling, logs, and usage.pick this instead when you need a shared gateway and account scheduling rather than a desktop Codex experiment.

What people are saying

  1. [velocity-scout] gylive/ccodex-sleep-state

Sources

  1. ccodex-sleep-state repository
  2. v0.4.0 release
  3. 780-character turn-state issue
  4. Compliance and use boundaries

More dev tools reviews

grokbot-field-notes · abide · dsh-echocat-skill-panel · Compositor · wtfjs · RustScan · the whole board →