An attached skill silently disappears beyond 400 active shelf facts
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 70/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 115
- Fork
- 14
- Merge medio
- 9h 38m
- PR unite (30g)
- 749
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Agent-Field/CodeAF
-
area:chat feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Agent-Field/CodeAF#1510 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Agent-Field/CodeAF#1489 ·
I maintainer di solito rispondono entro 1 giorno
-
area:chat bug good first issue sev:papercut
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Agent-Field/CodeAF#1470 ·
I maintainer di solito rispondono entro 1 giorno
-
area:chat bug good first issue sev:papercut
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Agent-Field/CodeAF#1469 ·
I maintainer di solito rispondono entro 1 giorno
-
area:chat bug sev:papercut
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Agent-Field/CodeAF#1468 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Agent-Field/CodeAF
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
volodya-lombrozo/aidy#333 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
rossoctl/context-guru#314 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
OwO-Network/DLX#236 · 1 commento · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100