Skip to content

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

Open

Description

@fish5421

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions