Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

An attached skill silently disappears beyond 400 active shelf facts

オープン
#1,458 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go
領域
cli

調査の方向性

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 の本文から書いたものです。

説明

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.
主要言語
Go
スター
115
フォーク
14
平均マージ
9時間 35分
マージ済み PR(30日)
752

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Agent-Field/CodeAF のほかの issue

Agent-Field/CodeAF の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。