An attached skill silently disappears beyond 400 active shelf facts
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the 400-fact limit in internal/store/facts.go and trace its use in internal/session/skillturn.go; compare this with independent discovery in internal/tui3/skillpick.go. Run the deterministic 401-skill reproduction and verify attached and named identities survive bounded retrieval. Done means the e2e and unit acceptance cases pass, retrieval remains bounded, and the manual and invalidates describe the behavior.
索引モデルが issue の本文から書いたものです。
説明
Found on santos/dev2 at 008363c98 (#1410). It reaches dev when #1410 merges.
What happened
The picker can list a discovered skill while turn composition reads at most 400 active facts, newest first. With 401 or more, an older attached or explicitly named skill can appear available but be absent from the next turn without an explanation.
Replication
Deterministic (no model). Seed 401 active skills in a temporary store, making the desired skill oldest. Attach or name that skill and compose a turn in internal/session. Today SkillFacts(..., 400) excludes it and the resulting skill list does not contain its name. Check the picker against the same discovered folder to show it remains selectable.
Field (real models). In a fresh home with 401 valid skills, attach the oldest through /skill, send a question relying on its body, and inspect · skills ·. Use OPENROUTER_API_KEY, deepseek/deepseek-v4-flash, a few minutes and a small charge.
Where
internal/store/facts.go:33 sets SkillShelfLimit = 400; internal/session/skillturn.go:44 applies it to the turn; internal/tui3/skillpick.go:515 discovers folders independently.
The fix
Resolve attached and named skills by identity before bounded retrieval, and surface any genuine resolution failure instead of silently dropping an attachment.
Acceptance
- e2e:
/skillattaching the oldest of 401 active skills produces its name in the next· skills ·line. - Unit: attached and named identities survive a bounded shelf query; retrieval remains bounded.
- State the limit or new resolution behavior in the manual and
invalidates.
- 主要言語
- Go
- スター
- 115
- フォーク
- 14
- 平均マージ
- 9時間 35分
- マージ済み PR(30日)
- 752
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Agent-Field/CodeAF のほかの issue
-
area:chat bug sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Agent-Field/CodeAF#1592 ·
メンテナーはふだん 1 日以内に返信
-
area:headless bug sev:critical
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1566 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug sev:critical
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent-Field/CodeAF#1548 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:chat feature
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1510 ·
メンテナーはふだん 1 日以内に返信
-
area:tests bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent-Field/CodeAF#1489 ·
メンテナーはふだん 1 日以内に返信
Agent-Field/CodeAF の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
521xueweihan/HelloGitHub#3789 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 12 日以内に返信
-
stage-fail
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
siyuan-note/bazaar#2282 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openshift/kube-compare#307 ·
メンテナーはふだん 1 日以内に返信