[bug] skill-usewhen-index.json is never rebuilt (loadIndex has no caller)

オープン 初心者向け
#2,808 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
devtools

調査の方向性

報告書に記載されているwriterから始めます。AlgorithmNudge.hook.tsは--rebuild-indexを指定した場合にのみインデックスの再構築を実行し、それを起動するのがloadIndex()関数です。loadIndex()を呼び出している箇所がないことを確認し、次にLIFEOS/TOOLS/derived-artifacts.jsonでMEMORY/STATE/skill-usewhen-index.jsonに対する24時間のmax-age設定を確認します。インデックスが想定どおりのスケジュールで更新されるか、使われていないwriterとマニフェストの項目が削除され、derived-freshnessチェックが2日目に通れば完了です。

索引モデルが issue の本文から書いたものです。

説明

What happened

skill-usewhen-index.json is never rebuilt (loadIndex has no caller)

Summary

LifeOS 8.761.0. LIFEOS/TOOLS/derived-artifacts.json declares MEMORY/STATE/skill-usewhen-index.json with a maximum age of 24 hours and the note that it is refreshed per turn. Its only writer is AlgorithmNudge.hook.ts --rebuild-index, which is started only from loadIndex(). Nothing calls loadIndex() (a search finds the definition only), and nothing reads the index.

Seen: the index is built once at install and never again. From the second day the integrity lane derived-freshness reports "MEMORY/STATE/skill-usewhen-index.json: age ... exceeds declared max 24h" as a blocking finding.

Suggested fix: call loadIndex() again where the index is needed, or drop the manifest entry and the dead writer.

Details

  • Kind: bug
  • LifeOS version: 8.761.0

Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.

主要言語
TypeScript
スター
19.8k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

danielmiessler/LifeOS のほかの issue

danielmiessler/LifeOS の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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