--skills-only --scope project incorrectly skips Codex
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
Hướng nghiên cứu
Bắt đầu với libs/aitools/agents/agents.go và tái hiện vấn đề bằng lệnh cài đặt databricks aitools được ghi trong tài liệu. Theo dõi cách --scope project và --skills-only sử dụng các thiết lập capability của Codex, sau đó kiểm tra các bài kiểm thử cài đặt agent hiện có nếu có. Công việc được xem là hoàn tất khi các skill của Codex được cài đặt trong /.agents/skills, còn Claude Code tiếp tục sử dụng /.claude/skills.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the issue
databricks aitools install skips Codex when --scope project and
--skills-only are used together:
Skipped Codex CLI: does not support project-scoped skills
Codex supports repository-scoped raw skills under
<repo>/.agents/skills:
https://developers.openai.com/codex/skills#where-codex-loads-local-skills
Codex does not appear to support project-scoped plugin installation:
codex plugin add and codex plugin marketplace add expose no project
or --scope option. However, plugin scope should not prevent installation
when --skills-only explicitly requests raw skill files.
Steps to reproduce
Run from a project directory:
databricks aitools install \
--agents claude-code,codex \
--scope project \
--skills-only
Expected behavior
Because --skills-only explicitly requests raw skill files, the CLI should
install the Codex skills into:
<project>/.agents/skills
Claude Code should continue using:
<project>/.claude/skills
Whether Codex plugins support project scope should not affect the
--skills-only installation path.
Actual behavior
Claude Code is processed, but Codex is skipped:
Skipped Codex CLI: does not support project-scoped skills
Possible cause
The agent model appears to use a single SupportsProjectScope capability:
https://github.com/databricks/cli/blob/main/libs/aitools/agents/agents.go
The Codex registry entry does not set SupportsProjectScope or
ProjectConfigDir, so SupportsProjectScope defaults to false.
This may correctly reflect the lack of project-scoped Codex plugin
installation, but it also blocks project-scoped raw skills when
--skills-only is used.
The capabilities may need to be distinguished by delivery method, for
example:
- Project-scoped plugin installation
- Project-scoped raw-skill installation
For Codex, raw-skill project scope should be enabled with a project
configuration directory of .agents, producing:
<project>/.agents/skills
Environment
Databricks CLI v1.12.1
Codex CLI 0.147.0
Related issue
Related to #6037, which proposes installing skills into the
vendor-neutral .agents/skills directory. This report specifically
concerns --skills-only being rejected because Codex plugin and
raw-skill scope capabilities appear to be treated as one capability.
- Ngôn ngữ chính
- Go
- Star
- 396
- Fork
- 233
- Merge trung bình
- 2 ngày 52 phút
- Pull request đã merge (30 ngày)
- 276
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của databricks/cli
-
DABs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
databricks/cli#6670 ·
-
DABs PyDABs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
databricks/cli#3926 · 4 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
databricks/cli#6786 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
databricks/cli#6785 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
databricks/cli#6770 ·
Tất cả issue của databricks/cli
Issue tương tự
-
bug github_actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
registrystack/registry-stack#1393 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
JakeChampion/lang#10213 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
oasisprotocol/oasis-sdk#2523 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100