fix(cli): kilo local-path install leaves plugin rules inert
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
Start in cli/src/contexts/tools/domain/profiles/kilo/profile.ts at the RulesCapability configuration, then compare it with the flat build strategy from #868 and the marketplace install behavior. Check how local-path installation and plugin remove handle rule paths; done means all-files Rules are installed at the top level, path-scoped Rules are skipped with a warning, and removal deletes exactly the installed files.
索引モデルが issue の本文から書いたものです。
説明
Description
aidd plugin install <local plugin path> --tool kilo copies every plugin Rule verbatim into .kilo/rules/<plugin>/<name>.md, including path-scoped Rules with their paths frontmatter, and adds no instructions entry. Kilo never loads Rules placed there, so every Rule installed this way is inert. If anyone lists them, the path-scoped ones apply to every file, because Kilo ignores paths.
The marketplace install (aidd plugin install <name>, aidd setup) and the flat archive (aidd translate --to kilo --as flat) already handle this, through the flat build strategy delivered with #868 (PR #1069):
- all-files Rules land at top-level
.kilo/rules/<plugin>-<group>-<name>.md; - path-scoped Rules are skipped with a warning naming the Rule and its paths (install), or fail the build (translate).
The local-path install goes through the Kilo profile's RulesCapability instead, which predates that work.
Affected file(s)
cli/src/contexts/tools/domain/profiles/kilo/profile.ts (rules: new RulesCapability(...))
Expected behaviour
A local-path install for Kilo matches the marketplace install:
- each all-files Rule is written to top-level
.kilo/rules/<plugin>-<group>-<name>.md, so Kilo loads it; - each path-scoped Rule is skipped with the same warning;
plugin removedeletes exactly what the install wrote.
Observed behaviour
With a plugin holding 1 all-files Rule and 7 path-scoped Rules (aidd-craft), the install exits 0 and prints no warning:
- all 8 Rules are copied to
.kilo/rules/aidd-craft/, with theirpathsfrontmatter; .kilo/kilo.jsonchas noinstructionskey;- none of the 8 Rules reaches the model.
Measured on Kilo 7.7.5, real runtime, with a fake OpenAI-compatible server capturing the prompt:
- a top-level
.kilo/rules/*.mdreaches the model without aninstructionsentry; - a file in
.kilo/rules/<subdir>/reaches it only when listed ininstructions; - a Rule with
paths: ["**/*.ts"]reaches a session that touches no.tsfile, sopathsis ignored.
Repro, from a CLI build of next, with an isolated HOME:
- Stage a marketplace (
.claude-plugin/marketplace.jsonplusplugins/<plugin>/) whose plugin has one all-files Rule and onepathsRule. - In a scratch git project, run
aidd setup --ai kilo --plugins none --no-default-marketplace --yes. - Run
aidd plugin install <path-to-plugin> --tool kilo --yes. - Run
find .kilo/rulesandgrep instructions .kilo/kilo.jsonc.
AI tool
Kilo Code
aidd-cli version
5.5.0 (next, plus PR #1069)
OS
macOS 26.6.2
Additional context
- Related: #868 (flat archive Rules), #914 (in-project Kilo Rule generation by aidd-context; a different path).
- Kilo docs: https://kilo.ai/docs/customize/custom-rules
- 主要言語
- TypeScript
- スター
- 481
- フォーク
- 45
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 77
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ai-driven-dev/framework のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ai-driven-dev/framework#1002 ·
メンテナーはふだん 1 日以内に返信
-
feat(aidd-dev/test): enforce test effectiveness and test-double discipline対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ai-driven-dev/framework#952 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one roundオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ai-driven-dev/framework#887 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 64/100
ai-driven-dev/framework#1084 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
ai-driven-dev/framework#1079 ·
メンテナーはふだん 1 日以内に返信
ai-driven-dev/framework の issue をすべて見る
似ている issue
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
apex-dev-tools/apex-log-parser#199 ·
メンテナーはふだん 1 日以内に返信
-
area/frontend/library-panels automated-triage type/bug type/ux
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
PostHog/posthog.com#21607 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
ajv-validator/ajv#2689 ·
-
[Bug]: IME confirmation Enter can submit the SSH port-forward dialog対応中かも @seijikohara が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信