A linked skill folder can make chat hash an entire repository at launch
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- cli, performance
調査の方向性
Start with internal/resident/skills.go at contentDigest and line 705, then inspect internal/tui3/skillpick.go:515. Reproduce the linked-folder case by calling skills.Discover and ReconcileImportedSkills, counting files passed through contentDigest, and reopening /skill. Done means bounded chat and picker work, unrelated root files are excluded from the digest, and the boundary is documented in the skills manual and invalidates.
索引モデルが issue の本文から書いたものです。
説明
Found on santos/dev2 at 008363c98 (#1410). It reaches dev when #1410 merges.
What happened
Discovery follows linked skill folders, while import digesting walks every regular file beneath a resolved folder. A committed .agents/skills/x -> .. link and a valid root SKILL.md make the digest cover the repository. /skill also reruns discovery on the update loop. The path is confirmed by reading the code; no slow launch was measured in the small hand setup.
Replication
Deterministic (no model). In a throwaway Git repository, write a root SKILL.md, make .agents/skills/x link to .., and add many regular files under the root. Call skills.Discover and ReconcileImportedSkills from internal/resident; count files passed through contentDigest. The count grows with unrelated repository files. Open /skill again and observe another discovery pass.
Where
internal/resident/skills.go:226, contentDigest, walks all regular files; :705 resolves a linked folder before digesting. internal/tui3/skillpick.go:515, discoveredSkills, scans on picker updates.
The fix
Bound imported-skill content to the skill's allowed folder and files, and cache or schedule picker discovery so an update cannot repeatedly walk a large tree.
Acceptance
- e2e:
codeaf chatand/skillin the linked fixture finish within a bounded time as unrelated files are added, while still listing the valid skill. - Unit: the digest does not include unrelated root files through a linked folder.
- State the link boundary in the skills manual and
invalidates.
- 主要言語
- Go
- スター
- 115
- フォーク
- 14
- 平均マージ
- 9時間 44分
- マージ済み PR(30日)
- 775
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Agent-Field/CodeAF のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1679 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Agent-Field/CodeAF#1678 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Agent-Field/CodeAF#1592 ·
メンテナーはふだん 1 日以内に返信
-
codeaf do "" runs a paid job with an empty brief対応中かも @santoshkumarradha が 3 日前に担当しました。 オープンarea:headless bug sev:critical
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1566 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
area:chat feature
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1510 ·
メンテナーはふだん 1 日以内に返信
Agent-Field/CodeAF の issue をすべて見る
似ている issue
-
[Docs] - Document minimum Terraform/OpenTofu version (>= 1.11) required by write-only argumentsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
MagaluCloud/terraform-provider-mgc#323 ·
メンテナーはふだん 11 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
rossoctl/context-guru#366 ·
メンテナーはふだん 1 日以内に返信
-
stage-fail
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
siyuan-note/bazaar#2293 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
piraeusdatastore/piraeus-operator#1070 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信