Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

fix(cli): doctor warns that claude no longer declares aidd-framework right after a clean setup

Offen Anfängerfreundlich
#1,118 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
74/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

Öffne cli/src/contexts/framework/application/doctor/doctor-registration-use-case.ts und lies checkDeclaredMarketplaces, um zu sehen, dass es nur die .claude/settings.local.json des Projekts liest. Vergleiche es mit der Behandlung von Machine-Scope, die durch framework-source-is-machine-scope eingeführt wurde, und damit, wie setup den Marketplace jetzt in den Benutzereinstellungen von Claude Code registriert, sodass die Prüfung den richtigen Scope überspringen oder betrachten kann. Fertig bedeutet, dass aidd doctor nach einem sauberen aidd setup --source remote --ai claude keine Warnung ausgibt und die vorhandenen Doctor-Tests aktualisiert werden, um den Machine-Scope-Fall abzudecken.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Description

After a clean aidd setup for Claude Code, aidd doctor reports a warning that no command can clear:

Warning:   claude no longer declares marketplace 'aidd-framework'
    Fix: Run `aidd marketplace refresh` to write it back to .claude/settings.local.json.

Since the framework source became machine-scope, the marketplace is registered once, in Claude Code's user settings. doctor still looks for it in the project's .claude/settings.local.json (checkDeclaredMarketplaces in doctor-registration-use-case.ts), where setup no longer writes it. The check fails on the happy path, and the fix it names does nothing.

Affected file(s)

cli/src/contexts/framework/application/doctor/doctor-registration-use-case.ts

Expected behaviour

aidd doctor reports no warning right after a successful aidd setup. If a project-level declaration is not expected for the machine-scope framework marketplace, the check skips it.

Observed behaviour

In an empty git project, with HOME, XDG_CONFIG_HOME and AIDD_USER_CONFIG_DIR pointing at empty temporary directories:

  1. aidd setup --source remote --ai claude --plugins recommended --yes exits 0 and writes enabledPlugins for six plugins to .claude/settings.local.json.
  2. aidd doctor prints the warning above.
  3. aidd marketplace refresh prints aidd-framework: ok. aidd doctor prints the same warning.
  4. aidd sync prints Nothing to restore. aidd doctor prints the same warning.

.claude/settings.local.json still holds only enabledPlugins. The marketplace is present in Claude Code's own registry (known_marketplaces.json).

AI tool

Claude Code

aidd-cli version

5.6.0, from the published package and from a build of the current source.

OS

macOS

Additional context
  • The check was written before the framework source moved to machine scope (framework-source-is-machine-scope).
  • Found while recording the install demo for the README.
Code of Conduct
  • I agree to follow this project's Code of Conduct.
Vorherrschende Sprache
TypeScript
Sterne
481
Forks
45
Ø Merge
1 T. 4 Std.
Gemergte PRs (30 T.)
100

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ai-driven-dev/framework

Alle Issues in ai-driven-dev/framework

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.