Skip to content

Make Codex skills project-aware - #11

Merged
pandec merged 4 commits into
devfrom
agent/project-aware-skills
Jul 20, 2026
Merged

pandec merged 4 commits into
devfrom
agent/project-aware-skills

Conversation

@pandec

@pandec pandec commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • discover Codex skills for the active project's working directory instead of relying only on the server startup directory
  • add a small project-scoped RPC keyed by provider instance and cwd, while retaining the provider snapshot as a fallback
  • use the project-scoped result in the composer $ menu and document that minimizing upstream merge cost takes precedence over broader refactors for private-fork changes

Root cause

The provider snapshot was populated from the T3 server process working directory and reused globally by every composer. Starting T3 from one repository could therefore expose that repository's local skills, but conversations for other projects would not refresh discovery against their own cwd.

Verification

  • vp test run apps/server/src/provider/providerSkills.test.ts
  • vp run typecheck
  • vp check
  • isolated T3 browser verification: opened the $ menu for this worktree and confirmed both repo-local sync-upstream and test-t3-app skills appear alongside global skills

@pandec
pandec marked this pull request as ready for review July 20, 2026 07:29
@pandec
pandec merged commit a8a8b64 into dev Jul 20, 2026
@pandec
pandec deleted the agent/project-aware-skills branch July 20, 2026 07:30
pandec added a commit that referenced this pull request Oct 4, 2026
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