#2270·LifeOS

UpdateModels.ts --check drowns real drift in runtime noise

Author: mj-devingCreated Oct 1, 2026Updated Oct 1, 2026

What happens. On an install that has been used for a while, bun LIFEOS/TOOLS/UpdateModels.ts --check reports six-figure counts of stale IDs (161,393 here after bumping CURRENT) and exits 1. Almost all hits come from runtime data Claude Code writes under ~/.claude, not from source:

  • projects/** (session transcripts, subagent JSONL)
  • telemetry/**
  • file-history/**
  • plans/**
  • backup copies such as settings.json.bak*

SCAN_EXCLUDES already skips history.jsonl and cache/, but not these. Third-party skill suites that pin their own IDs (for example a vendored gstack under skills/) also show up, while plugins/ is already excluded for the same reason.

Why it matters. With that volume, --check can no longer answer the question it exists for (is there live single-pin drift after a bump?). The real consumers on this install were three comment-only mentions.

Suggested change. Add projects/, telemetry/, file-history/, plans/ and a .bak suffix rule to SCAN_EXCLUDES, or scan an allowlist of source roots (LIFEOS/, hooks/, skills/ minus third-party suites) instead of the whole ~/.claude tree.

Environment. LifeOS 7.40.4, macOS.