mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-28 12:19:58 +00:00
Reworks the Codex app-server native thread reuse guard so OpenClaw no longer adds a user-facing token config. Token clearing now prefers Codex's reported model context window, falls back to a high internal recovery fuse, and preserves context-engine thread-bootstrap reuse while keeping byte guard behavior intact. Verification: - `fnm exec --using v24.15.0 -- node scripts/run-vitest.mjs run extensions/codex/src/app-server/run-attempt.test.ts extensions/codex/src/app-server/run-attempt.context-engine.test.ts --reporter=dot --pool=forks --no-file-parallelism` - `git diff --check` - `.agents/skills/autoreview/scripts/autoreview --mode local --base origin/main` - Testbox `check:changed`: `tbx_01ksjm1hy7mfrc5bebzyckqdew`, GitHub Actions run https://github.com/openclaw/openclaw/actions/runs/26463150977, exit 0 - PR CI green after rerunning unrelated `checks-node-agentic-agents` flake and stuck OpenGrep scan Co-authored-by: Eva (agent) <eva+agent-78055@100yen.org>