Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

[bug] Docs say one failed reviewer run is CRITICAL; CortexHealth.ts warns until two…

Open rain77-work opened this issue 3 weeks ago • 1 comments

What happened

文档和代码不一致:CortexHealth.ts 按 public issue #1907 改成整理失败一次给 warn、连续两次才 critical,但 MemorySystem.md 的 Health detection 一节和 CortexContract.md 仍写着最近一次失败就是 CRITICAL。

Summary

LIFEOS/TOOLS/CortexHealth.ts grades a failed, parse-failed or timed-out latest reviewer run as warn on the first failure and critical only when two or more fail in a row (skips stepped over). The code comment cites public issue #1907.

Two docs still describe the older rule:

  • LIFEOS/DOCUMENTATION/Memory/MemorySystem.md, section "Health detection": "the latest reviewer run overrides prior successes: failed, parse-failed, timed-out, malformed, or schema-invalid evidence is CRITICAL".
  • LIFEOS/DOCUMENTATION/Memory/CortexContract.md: "A failed, parse-failed, timed-out, malformed, schema-incomplete, or invalid latest reviewer run is CRITICAL."

Seen on LifeOS 8.761.0: one failed reviewer run produced reviewer-latest-failed at warn, while an assistant reading the docs expected critical.

Suggested fix: in both docs, say that one failed, parse-failed or timed-out run warns and two in a row is critical; invalid evidence stays critical as the code has it.

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.

rain77-work avatar Nov 09 '26 08:11 rain77-work

[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler

Thanks @rain77-work, you caught that the docs called a single failed reviewer run CRITICAL while CortexHealth.ts only warns until there are two. The docs now say one failed, parse-failed or timed-out run warns and two in a row is CRITICAL, in LIFEOS/DOCUMENTATION/Memory/MemorySystem.md. It ships in the next public release after 8.761.0.

danielmiessler avatar Nov 12 '26 20:11 danielmiessler