--skills-only --scope project incorrectly skips Codex
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
Direzione di ricerca
Inizia da libs/aitools/agents/agents.go e riproduci il problema usando il comando di installazione documentato di databricks aitools. Traccia il modo in cui --scope project e --skills-only usano le impostazioni delle capacità di Codex, quindi esamina i test di installazione degli agenti esistenti, se presenti. Il lavoro è completato quando le skills di Codex vengono installate in /.agents/skills, mentre Claude Code continua a usare /.claude/skills.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 396
- Fork
- 233
- Merge medio
- 2g 52m
- PR unite (30g)
- 276
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di databricks/cli
-
DABs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
databricks/cli#6670 ·
-
DABs PyDABs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
databricks/cli#3926 · 4 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
databricks/cli#6786 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
databricks/cli#6785 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
databricks/cli#6770 ·
Tutte le issue di databricks/cli
Issue simili
-
bug github_actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
registrystack/registry-stack#1393 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
JakeChampion/lang#10213 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
oasisprotocol/oasis-sdk#2523 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100