audit --ci deployed-files check misses user-scope files under a redirected CLAUDE_CONFIG_DIR

Aperta
#5,312 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@danielmeppiel ci sta già lavorando.

Dal 24/11/2026.

  • #5308 di @danielmeppiel — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Start from the apm audit --ci deployed-files check and the path resolver that apm install -g uses for user-scope Claude bundles, then compare how each handles CLAUDE_CONFIG_DIR. The test cell to change lives in the suite added by #5304; remove its skip and assert audit --ci exits 0 after a converged user-scope install, keeping a default-location cell passing. Done is both cells green. Note an open linked pull request (#5308) already touches this area.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug status/accepted type/bug

At user scope with CLAUDE_CONFIG_DIR set to a directory outside ~/.claude, apm audit --ci fails its deployed-files-present check after a successful apm install -g of a Claude bundle, although the deployed files exist under the redirected directory. The check appears to look for them under the default location.

Found while adding before/after audit assertions in #5304; that cell currently skips its exit-0 assertion for this case.

Expected: the deployed-files check resolves user-scope Claude paths through the same CLAUDE_CONFIG_DIR-aware resolver install uses, so a converged user-scope install passes apm audit --ci.

Done when: the #5304 user-scope redirected-config cell asserts audit --ci exit 0 after install (the skip removed), and a cell with the default location still passes.

Lingua principale
Python
Stelle
4.4k
Fork
430
Merge medio
19h 38m
PR unite (30g)
637

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/apm

Tutte le issue di microsoft/apm

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.