Skip to content

codex: address skills path review feedback#25098

Open
starr-openai wants to merge 17 commits into
mainfrom
starr/environment-path-ref-review-fixes
Open

codex: address skills path review feedback#25098
starr-openai wants to merge 17 commits into
mainfrom
starr/environment-path-ref-review-fixes

Conversation

@starr-openai
Copy link
Copy Markdown
Contributor

Summary

  • key loaded skill identity by bound EnvironmentPathRef and read injections through the bound source path
  • keep local-authority skill roots local while deferring skills/list(environmentId) app-server support
  • add regressions for cross-filesystem raw path collisions, ambiguous mentions, config filtering, and local-only roots without a selected env

Testing

  • cd codex-rs && just test -p codex-core-skills
  • cd codex-rs && just write-app-server-schema && just test -p codex-app-server-protocol
  • cd codex-rs && RUSTUP_TOOLCHAIN=1.95.0-aarch64-apple-darwin just test -p codex-app-server
  • cd codex-rs && RUSTUP_TOOLCHAIN=1.95.0-aarch64-apple-darwin just test -p codex-core (failed locally after compiling: local core integration harness failures around missing test_stdio_server plus exec/MCP timeouts)
  • cd codex-rs && RUSTUP_TOOLCHAIN=1.95.0-aarch64-apple-darwin just fix -p codex-core-skills
  • cd codex-rs && RUSTUP_TOOLCHAIN=1.95.0-aarch64-apple-darwin just fix -p codex-tui
  • attempted cd codex-rs && RUSTUP_TOOLCHAIN=1.95.0-aarch64-apple-darwin just fix -p codex-core-skills -p codex-core-plugins -p codex-core -p codex-app-server-protocol -p codex-app-server; local process was terminated by signal 15 before completion without surfacing a branch diagnostic

@starr-openai starr-openai requested a review from a team as a code owner May 29, 2026 14:42
Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

https://github.com/openai/codex/blob/8a70c65eab09628f5ddc16ef26b9c37af2aa69ec/codex-rs/core-skills/src/manager.rs#L157-L163
P2 Badge Include cwd/config in the no-environment skills cache key

When local exec is disabled, skills/list now passes env_path: None but still uses skills_for_cwd; because this cache key only stores None plus the local filesystem, all requested cwd values share one cached outcome when forceReload is false. In that remote-only/no-local-env context, two cwds with different skill config/plugin roots or enablement can return the first cwd's skills until a forced reload, despite skills/list being documented as cached per cwd.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/app-server/src/request_processors/catalog_processor.rs Outdated
Comment thread codex-rs/app-server/src/skills_watcher.rs
@starr-openai starr-openai changed the base branch from starr/environment-path-ref-core to main May 29, 2026 15:32
@starr-openai starr-openai force-pushed the starr/environment-path-ref-review-fixes branch from 8a70c65 to b338a20 Compare May 29, 2026 15:35
starr-openai added a commit that referenced this pull request Jun 1, 2026
## Summary
- add public `codex_exec_server::EnvironmentPathRef`
- bind an absolute path to its owning executor filesystem
- keep path operations in the next review slice

## Stack
- 1/5 in the skills path authority stack extracted from
#25098

## Validation
- `cd /Users/starr/code/codex-worktrees/pr-25098-restack4/codex-rs &&
just fmt`
- GitHub CI pending on rewritten head
starr-openai added a commit that referenced this pull request Jun 1, 2026
## Summary
- add executor filesystem canonicalization as a bound-path operation
- route remote canonicalization through the exec-server filesystem RPC
surface
- keep path normalization attached to the filesystem that owns the path

## Stack
- 2/5 in the skills path authority stack extracted from
#25098
- follows merged #25121

## Validation
- `cd
/Users/starr/code/codex-worktrees/pr-25098-restack-review-pr1b/codex-rs
&& just fmt`
- Not run: tests/checks (not requested)
- GitHub CI pending on rewritten head
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.

1 participant