mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 12:56:01 -06:00
fix(codex): keep large AGENTS.md instructions visible (#125966)
* fix(codex): raise native project doc budget Default OpenClaw Codex threads to a bounded 128 KiB aggregate project-document budget so large AGENTS.md chains remain visible. Preserve explicit ordinary-thread overrides and keep restricted or lightweight turns at zero. * test(codex): refresh project doc config expectations
This commit is contained in:
committed by
GitHub
parent
d1f58c4be4
commit
d5aff660a2
@@ -254,6 +254,18 @@ Changing auth order does not make a custom, Completions, HTTP, or
|
||||
request-overridden route Codex-compatible. Valid model-scoped Fast-mode and
|
||||
cutoff controls are runtime controls, not request overrides.
|
||||
|
||||
### Project instructions
|
||||
|
||||
Codex loads `AGENTS.md` files through native project-document discovery. For
|
||||
normal app-server threads, OpenClaw raises Codex's aggregate root-to-working-
|
||||
directory budget from the upstream 32 KiB default to a bounded 128 KiB so later
|
||||
scoped instructions are not silently clipped. Lightweight and restricted turns
|
||||
set the native project-document budget to zero instead.
|
||||
|
||||
This byte budget is separate from the character-based workspace bootstrap
|
||||
limits configured through `agents.defaults.bootstrapMaxChars` and
|
||||
`agents.defaults.bootstrapTotalMaxChars`.
|
||||
|
||||
### Compaction
|
||||
|
||||
Do not set `compaction.model` or `compaction.provider` on Codex-backed
|
||||
|
||||
Reference in New Issue
Block a user