fix(cli): settings propagation to an IDE keeps only the last settings file's manifest entry
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 86/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
cli/src/contexts/framework/application/install/install-ide-tool-use-case.tsから始めて、mergeAndTrackがexistingEntriesをどのように使っているかを追ってください。issueでは、cli/src/contexts/installation/application/install/propagate-ai-settings-to-ide.tsにある同じパターンが説明されています。issueで説明されている失敗するテストを最初に追加してください。既存のマニフェストエントリが1つある状態から始め、同じIDEを必要とする2つの設定ファイルを伝播させます。マニフェストが既存のエントリを保持し、新しいエントリを両方記録すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
When an AI tool has several settings files that require the same IDE, propagating the settings to that IDE keeps only the last file's manifest entry. Each iteration filters the original merge entries, not the ones the previous iteration produced.
Affected file(s)
next:cli/src/contexts/framework/application/install/install-ide-tool-use-case.ts(existingEntriescaptured once,mergeAndTrackbuildsupdatedfrom it and callsmanifest.updateToolMergeFilesper file).refactor/cli-target:cli/src/contexts/installation/application/install/propagate-ai-settings-to-ide.ts(mergeAiToolSettings,replacing(existingEntries, entry)).
Expected behaviour
After propagation the manifest holds one merge entry per settings file written.
Observed behaviour
Every iteration computes [...existingEntries.filter(not this path), entry] from the same original list, then overwrites the tool's merge files with it. The entry of file 1 is dropped when file 2 is tracked. Limit: on next only Copilot declares a settings file with requiresTool (.vscode/settings.json), so the loss is latent until a tool declares a second one. The files themselves are still written; only their tracking is lost, which hides them from clean, doctor and status.
AI tool
All (latent, no shipped tool has two such files today)
aidd-cli version
unreleased, next
OS
Any
Additional context
Red-first test: a tool profile with two settings files requiring the same IDE, a manifest with one pre-existing merge entry, then propagate. Assert the manifest holds the pre-existing entry plus both new entries. Fix direction: carry the updated list across iterations.
- 主要言語
- TypeScript
- スター
- 481
- フォーク
- 45
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 91
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ai-driven-dev/framework のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
ai-driven-dev/framework#1244 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ai-driven-dev/framework#1197 ·
メンテナーはふだん 1 日以内に返信
-
refactor(aidd-context): apply the new skill template to learn対応中かも @blafourcade が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ai-driven-dev/framework#1186 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
ai-driven-dev/framework#1163 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ai-driven-dev/framework#1162 ·
メンテナーはふだん 1 日以内に返信
ai-driven-dev/framework の issue をすべて見る
似ている issue
-
bug impact:low Team: SecuritySolution Team:Defend Workflows v9.6.0
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elastic/kibana#306401 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
agentes-chat/agentes-chat#927 ·
メンテナーはふだん 1 日以内に返信
-
comp/desktop P2 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NousResearch/hermes-agent#157702 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
e2e-failure ready-to-code
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
redhat-developer/rhdh-plugin-export-overlays#4794 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信