An attached skill silently disappears beyond 400 active shelf facts
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 70/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Go
- Étoiles
- 115
- Forks
- 14
- Merge moyen
- 15 h 56 min
- PR mergées (30 j)
- 231
Préparer son environnement
Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Agent-Field/CodeAF
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Agent-Field/CodeAF#1841 ·
Les mainteneurs répondent en général sous 1 jour
-
area:chat bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Agent-Field/CodeAF#1805 ·
Les mainteneurs répondent en général sous 1 jour
-
area:session bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Agent-Field/CodeAF#1779 ·
Les mainteneurs répondent en général sous 1 jour
-
tasks: a stopped task's commit is signed with the chat model, not the model that did the workOuvertearea:session bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Agent-Field/CodeAF#1768 ·
Les mainteneurs répondent en général sous 1 jour
-
area:chat bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Agent-Field/CodeAF#1742 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de Agent-Field/CodeAF
Issues similaires
-
[Bug]: message-level cache_control on chat messages is dropped, so Anthropic prompt caching never triggersPeut-être pris @Atharva-Kanherkar l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
Les mainteneurs répondent en général sous 1 jour
-
documentation good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 90/100
eugenioenko/ttt#1000 ·
Les mainteneurs répondent en général sous 1 jour
-
bug needs-acceptance wg/developer-experience-ecosystem
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
vllm-project/semantic-router#5249 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Billionmail/BillionMail#389 ·
-
在“产品文档”下拉列表,增加“探索”频道Ouverteenhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
DaoCloud/DaoCloud-docs#7489 ·
Les mainteneurs répondent en général sous 1 jour