Skip to content

Wire app-server goal RPCs through GoalApi#25108

Closed
jif-oai wants to merge 10 commits into
mainfrom
jif/goal-extension-app-server-wiring
Closed

Wire app-server goal RPCs through GoalApi#25108
jif-oai wants to merge 10 commits into
mainfrom
jif/goal-extension-app-server-wiring

Conversation

@jif-oai

@jif-oai jif-oai commented May 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • route app-server thread goal get/set/clear RPCs through codex_goal_extension::GoalApi
  • add the goal extension crate as an app-server dependency
  • remove the old app-server-facing core goal helper surface now that the RPCs use GoalApi

Stack

Based on #25096, which now only adds the extension-owned GoalApi and goal extension machinery.

Validation

  • just fmt
  • just fix -p codex-goal-extension
  • just test -p codex-goal-extension
  • just fix -p codex-app-server
  • just fix -p codex-core
  • just test -p codex-app-server started locally but hit sandbox-exec permission/time-out failures in command exec tests; CI should validate this branch.

jif-oai added a commit that referenced this pull request Jun 1, 2026
## Summary

- add an extension-owned `GoalApi` for thread goal get/set/clear
operations
- register live goal runtimes with the API from the goal extension
backend
- cover the API and runtime-effect paths in goal extension tests

## Stack

Follow-up app-server wiring PR: #25108

## Validation

- `just fmt`
- `just fix -p codex-goal-extension`
- `just test -p codex-goal-extension`
Base automatically changed from jif/goal-extension-app-server-owner to main June 1, 2026 09:32
## Summary
- expose generic thread resume/idle lifecycle methods on `CodexThread`
- route app-server resume goal snapshot continuation through extension
idle lifecycle
- stop invoking legacy goal resume runtime effects after extension
resume lifecycle

## Testing
- `just fmt`
- `just test -p codex-core` (fails locally: sandbox/tooling environment
failures, including missing `test_stdio_server` and `sandbox-exec:
sandbox_apply: Operation not permitted`)
- `just test -p codex-app-server` (fails locally: sandbox/process-exec
environment failures and timeouts, including `sandbox-exec:
sandbox_apply: Operation not permitted`)
dkropachev pushed a commit to dkropachev/codex that referenced this pull request Jun 9, 2026
## Summary

- add an extension-owned `GoalApi` for thread goal get/set/clear
operations
- register live goal runtimes with the API from the goal extension
backend
- cover the API and runtime-effect paths in goal extension tests

## Stack

Follow-up app-server wiring PR: openai#25108

## Validation

- `just fmt`
- `just fix -p codex-goal-extension`
- `just test -p codex-goal-extension`
dkropachev pushed a commit to dkropachev/codex that referenced this pull request Jun 9, 2026
## Summary

- add an extension-owned `GoalApi` for thread goal get/set/clear
operations
- register live goal runtimes with the API from the goal extension
backend
- cover the API and runtime-effect paths in goal extension tests

## Stack

Follow-up app-server wiring PR: openai#25108

## Validation

- `just fmt`
- `just fix -p codex-goal-extension`
- `just test -p codex-goal-extension`
dkropachev pushed a commit to dkropachev/codex that referenced this pull request Jun 9, 2026
## Summary

- add an extension-owned `GoalApi` for thread goal get/set/clear
operations
- register live goal runtimes with the API from the goal extension
backend
- cover the API and runtime-effect paths in goal extension tests

## Stack

Follow-up app-server wiring PR: openai#25108

## Validation

- `just fmt`
- `just fix -p codex-goal-extension`
- `just test -p codex-goal-extension`
dkropachev pushed a commit to dkropachev/codex that referenced this pull request Jun 9, 2026
## Summary

- add an extension-owned `GoalApi` for thread goal get/set/clear
operations
- register live goal runtimes with the API from the goal extension
backend
- cover the API and runtime-effect paths in goal extension tests

## Stack

Follow-up app-server wiring PR: openai#25108

## Validation

- `just fmt`
- `just fix -p codex-goal-extension`
- `just test -p codex-goal-extension`
dkropachev pushed a commit to dkropachev/codex that referenced this pull request Jun 9, 2026
## Summary

- add an extension-owned `GoalApi` for thread goal get/set/clear
operations
- register live goal runtimes with the API from the goal extension
backend
- cover the API and runtime-effect paths in goal extension tests

## Stack

Follow-up app-server wiring PR: openai#25108

## Validation

- `just fmt`
- `just fix -p codex-goal-extension`
- `just test -p codex-goal-extension`
dkropachev pushed a commit to dkropachev/codex that referenced this pull request Jun 9, 2026
## Summary

- add an extension-owned `GoalApi` for thread goal get/set/clear
operations
- register live goal runtimes with the API from the goal extension
backend
- cover the API and runtime-effect paths in goal extension tests

## Stack

Follow-up app-server wiring PR: openai#25108

## Validation

- `just fmt`
- `just fix -p codex-goal-extension`
- `just test -p codex-goal-extension`
dkropachev pushed a commit to dkropachev/codex that referenced this pull request Jun 9, 2026
## Summary

- add an extension-owned `GoalApi` for thread goal get/set/clear
operations
- register live goal runtimes with the API from the goal extension
backend
- cover the API and runtime-effect paths in goal extension tests

## Stack

Follow-up app-server wiring PR: openai#25108

## Validation

- `just fmt`
- `just fix -p codex-goal-extension`
- `just test -p codex-goal-extension`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants