Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

An attached skill silently disappears beyond 400 active shelf facts

Abierto
#1,458 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
70/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
go
Área
cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:chat area:session bug sev:papercut

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: /skill attaching 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.
Lenguaje dominante
Go
Estrellas
115
Forks
14
Merge medio
9 h 38 min
PR fusionados (30 d)
749

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Agent-Field/CodeAF

Todos los issues de Agent-Field/CodeAF

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.