Repository navigation
fix(codex): enable configured apps in service sessions - #115433
Merged
kevinlin-openai merged 3 commits intoJul 29, 2026
Merged
kevinlin-openai merged 3 commits into
kevinlin-openai merged 3 commits into
Conversation
kevinlin-openai
marked this pull request as ready for review
July 29, 2026 00:13
Contributor
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 29, 2026
* fix(codex): attest configured plugin apps before turns * fix(codex): tighten plugin thread config * fix(codex): expose account app admission wrapper
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.
Related: #115075
What Problem This Solves
Fixes an issue where service-account-backed Codex sessions could discover an installed plugin app but could not call it when the app was disabled in the base runtime and enabled only by the gateway's configured plugin policy.
Why This Change Was Made
The Codex plugin now reads committed runtime inventory through
app/installed, enriches it withapp/read, provisionally enables policy-selected base-disabled apps in thread-scoped config, and attests that those apps are callable before any turn or durable thread ownership. Explicit app-specific Codex config denials remain authoritative.User Impact
Operators can use configured Codex plugin apps such as Linear from service-account gateways without globally enabling every installed app. Missing or non-callable apps fail closed before a model turn.
Evidence
rust-v0.145.0app-server protocol and runtime implementation.git diff --check: passed.node --checkon the changed thread-config and lifecycle TypeScript files: passed.dxclawservice-account runtime:app/installedreturned the Linear app in the base inventory.app/readreturned Linear metadata and tools includinglist_issues.LINEAR_READ_UNAVAILABLEbecause the app was not callable in the thread.Real behavior proof
dxclawon a0s, connected to DevBoxclawdxondevbox-2, remote Codex 0.145.0 app-server, and the real Linear connector.6e9771eb286b55c1aacefa5f64ac36d88c5a2bb2withapplied deploy -s claw-gateway -e staging --wait --local-deploy --filter metadata.name=openclaw-gateway-dxclaw, then sent a read-only Slack request todxclawto call Linearlist_issues.sha256:afe2c5bf419b9d04370546042574015d99ad839925a4a1c560f83f78cdcc3282; Slack parent1785280801.503179;dxclawreply1785282122.192349; gateway logs recorded the matching inbound app mention and successful Slack reply delivery.{"status":"LINEAR_READ_OK","connector":"linear","tool":"list_issues","firstIdentifier":"IDP-4021"}.auto, notask; Google Calendar was omitted because it is not enabled; focused local Vitest was not run because the linked worktree has no dependency tree and local dependency reconciliation is prohibited for this workflow.