Repository navigation
refactor: retire legacy provider and secret paths - #115655
Merged
Merged
Conversation
steipete
marked this pull request as ready for review
July 29, 2026 06:07
steipete
force-pushed
the
refactor/loc-retired-policy-hygiene
branch
from
July 29, 2026 06:53
7a7b2e0 to
976ecea
Compare
steipete
force-pushed
the
refactor/loc-retired-policy-hygiene
branch
from
July 29, 2026 07:02
976ecea to
18b9ae2
Compare
steipete
force-pushed
the
refactor/loc-retired-policy-hygiene
branch
2 times, most recently
from
July 29, 2026 08:09
cab6212 to
f1efe5e
Compare
steipete
force-pushed
the
refactor/loc-retired-policy-hygiene
branch
from
July 29, 2026 08:18
f1efe5e to
c273eb4
Compare
Contributor
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Jul 29, 2026
* origin/main: fix(zalo): stop provider startup after gateway shutdown (#115763) fix(agents): bound completed background process retention (#115760) fix(plugins): bound hook execution and retire stale registrations (#115695) fix(ui): collapse custodian startup error gap (#115720) fix(gateway): reload edited hook transforms (#107875) refactor: centralize channel streaming config hints (#115739) fix(msteams): finalize sent replies after dispatch (#82354) fix(cron): deliver explicitly configured failure alerts (#115762) fix(hooks): resolve inbound claim conversation once (#115491) refactor: retire legacy provider and secret paths (#115655) fix(memory): reject malformed QMD result entries (#115705) fix(diagnostics): keep internal thinking out of telemetry [AI] (#115261) fix(ui): localize remaining control surfaces (#115730) fix(gateway): prevent model owner mismatch after plugin activation (#115747) fix(agents): run reply hooks for restart recovery (#115711) fix(cron): initialize detached hook run sessions (#115765) fix(ios): keep stop available for staged voice notes (#115744) fix(doctor): preserve config includes during cleanup (#115723) fix(memory): keep dreaming consolidation within project scope (#115721) fix(discord): keep tool rows under verbose progress (#111947) # Conflicts: # ui/src/pages/custodian/custodian-surface.ts # ui/src/styles/custodian.css
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 30, 2026
* refactor: retire legacy provider and secret paths * fix: remove stale cache retention import * test: remove retired secret marker fallback
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.
What Problem This Solves
Steady-state runtime paths still accepted retired
openai-codex/codex-cliprovider identities and legacysecretref-env:/__env__:secret markers after those values had become doctor-only migration input. Cache retention also read the same environment policy independently in three@openclaw/aipaths.Why This Change Was Made
Runtime, auth setup, status, fast-mode, failure guidance, and the Codex app-server bridge now consume canonical
openaistate only; manual entry points explicitly reject retired IDs. SecretRef coercion remains canonical, web credential detection rejects retired markers before literal fallback, and doctor migrates both legacy marker prefixes. The three in-package cache-retention readers now share the provider owner module; Amazon Bedrock remains local because the external plugin has no allowed privatepackages/aiseam.User Impact
Canonical
openai/*routes, canonicalopenaicredentials, structured SecretRefs,$NAME/${NAME}env shorthands, and supported cache-retention values behave unchanged. Operators with retired provider IDs or marker strings receive rejection instead of silent steady-state compatibility and can repair persisted state withopenclaw doctor --fix.Evidence
+58/-181(net-123); tests+30/-234(net-204); total+88/-415(net-327).node scripts/run-vitest.mjs fast-mode status-text secretref cache-retention— 8 files, 79 tests passed.model-authtest for runtime__env__:fallback; after deleting that removed-path assertion, the exact file passed 79 tests and the delta reviewed clean at 0.99 confidence.8ad4e858fdaand302f262e6b1, so the final rebased branch contains no duplicate unrelated repair.node scripts/check-changed.mjs -- <21 touched files>on Blacksmith Testbox — passed formatting, SDK contracts, dead-code scans, core/core-test/extension/extension-test typechecks, core/extension lint, import cycles, and final architecture guards (run 30426599054).patch is correct, confidence 0.90); the one-line follow-up import cleanup also reviewed clean at 0.99.src/shared/fast-mode.ts:43,src/status/status-text.ts:167,src/commands/models/auth.ts:152,extensions/codex/src/app-server/auth-bridge.ts:999.src/config/types.secrets.ts:105,src/secrets/legacy-secretref-env-marker.ts:22,src/web/provider-runtime-shared.ts:88.packages/ai/src/providers/cache-retention.ts:7; Anthropic transport consumer:packages/ai/src/transports/anthropic-payload-policy.ts:63.openai/codex@4c43465133428898aa84f0bfc02c306ed65fb66a:codex-rs/app-server-protocol/src/protocol/v2/account.rs:61-109defines provider-agnosticapiKey/chatgptAuthTokenslogin payloads,codex-rs/app-server-protocol/src/protocol/common.rs:1034-1038ownsaccount/login/start, andcodex-rs/app-server/src/request_processors/account_processor.rs:268-320,691-753dispatches and installs external tokens without OpenClaw provider IDs.