Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

MemoryReviewer tags an assistant proposal as the principal's `~explicit` preference

Open henrique-franze opened this issue 1 month ago • 1 comments

What happens In a session, the DA proposed a workflow preference ("I could deliver commands via X"). The principal never answered it. The next MemoryReviewer run wrote it to PRINCIPAL_MEMORY.md as PREFERENCE: ... ~explicit, while the reviewer's own rationale said it was "pending his confirmation".

From then on every session read it as something the principal had said, and a later session stacked a "never X" correction next to it instead of removing it.

Why LIFEOS/TOOLS/MemoryReviewer.ts (prompt, ~line 262) defines ~explicit as "the principal stated it" and reads untagged entries as ~explicit, but says nothing about who spoke the turn the fact came from. An assistant suggestion, an assistant summary, or a question the principal left unanswered can all land as ~explicit.

Proposed fix

  1. Prompt: a fact counts as ~explicit only when a principal turn states or confirms it. An assistant proposal without confirmation is not a memory entry, or at most ~inferred.
  2. Default for untagged entries: ~inferred, not ~explicit.
  3. Optional check: when the rationale contains "pending", "unconfirmed" or "proposed", refuse an ~explicit tag.

Related: PR #1832 (the "never resolve a conflict you cannot source" rule) covers conflicts, not attribution.

henrique-franze avatar Oct 18 '26 15:10 henrique-franze

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

Thanks @henrique-franze. You found a real gap. The reviewer prompt defined ~explicit as "the principal stated it" but never said which speaker's turn counts, so an unanswered assistant proposal could be stored as the principal's own preference.

Fixed in source, as your point 1. The curation rule now says ~explicit needs a principal turn that stated or confirmed the fact. Something the assistant proposed, summarised or asked, with no confirming reply, is not a memory entry, or at most ~inferred with the rationale saying it is unconfirmed. A test checks the wording.

We didn't take points 2 and 3:

  • Point 2. Untagged entries come from hand edits, because the reviewer always tags what it writes. If untagged defaulted to ~inferred, the reviewer could downgrade facts the principal wrote by hand.

  • Point 3. The memory item schema has no rationale field, so a check for "pending" would have nothing reliable to read.

This ships in the next release.

danielmiessler avatar Oct 28 '26 18:10 danielmiessler