Drop deprecated --enable web_search_cached from codex calls#2224
Drop deprecated --enable web_search_cached from codex calls#2224kinoko-studio wants to merge 1 commit into
--enable web_search_cached from codex calls#2224Conversation
Codex CLI (0.144.x) deprecated the `web_search_cached` feature — web search
is now enabled by default — and prints a warning on every invocation that
passes `--enable web_search_cached`:
deprecated: `[features].web_search_cached` is deprecated because web search
is enabled by default.
That warning fires on every gstack codex review/adversarial pass (ship,
review, autoplan, plan-*-review, design-consultation, office-hours,
document-release). The flag is a no-op now, so this drops it from the source
templates and resolvers and regenerates the skill docs. Web search stays on
(it's the default), so review behavior is unchanged.
- scripts/resolvers/{review,design}.ts, autoplan/SKILL.md.tmpl,
codex/SKILL.md.tmpl: remove ` --enable web_search_cached`
- codex/SKILL.md.tmpl: reword the "Web search" note (default-on, no flag)
- test/helpers/tool-map.ts: update the stale flag comment
- regenerated all generated SKILL.md via `bun run gen:skill-docs`
- refreshed test/fixtures/golden/factory-ship-SKILL.md + the orphan
test/fixtures/golden-ship-claude.md fixture
Verified: `bun test test/host-config.test.ts` green (golden regression passes);
a live `codex exec` in the new no-flag shape returns cleanly with no
deprecation warning.
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
Closing in favor of #2249, which covers the same fix. Your diagnosis here was right — I live-tested it and confirmed Went with replacing the flag with 🤖 Generated with Claude Code |
What
Codex CLI (0.144.x) deprecated the
web_search_cachedfeature — web search is now on by default — and prints this to stderr on every invocation that still passes--enable web_search_cached:gstack hardcodes
--enable web_search_cachedin every codex review/adversarial invocation, so that warning now fires on every/ship,/review,/autoplan,/plan-*-review,/design-consultation,/office-hours, and/document-releasecodex pass. The flag is a no-op now (search is default-on), so this removes it. Review behavior is unchanged — Codex still has web search.Changes
--enable web_search_cachedfromscripts/resolvers/{review,design}.ts,autoplan/SKILL.md.tmpl,codex/SKILL.md.tmpl.codex/SKILL.md.tmpl(search is default-on, no flag needed).bun run gen:skill-docs(default +--host codex+--host factory).test/fixtures/golden/factory-ship-SKILL.md(its ship skill inlines the codex blocks) and the unreferencedtest/fixtures/golden-ship-claude.md.test/helpers/tool-map.ts.The Claude/Codex ship goldens were unaffected (those skills reference the section files via Read-pointers rather than inlining them, so the flag never appeared in
ship/SKILL.md).Verification
bun test test/host-config.test.ts→ green (golden regression passes).bun test test/→ exit 0.bun run gen:skill-docs+git diff --exit-codeis clean for the default host and--host codex.codex exec(v0.144.1) in the new no-flag shape returns cleanly with no deprecation warning.Notes
VERSIONleft untouched — I assumed the bump is a maintainer step at release; happy to add one if yourversion-gatewants it on the PR..agents/and.factory/are gitignored generated mirrors, so they're not in the diff; they regenerate flag-free.🤖 Generated with Claude Code