From 58ea21df801abb752fd0dca00ec3fc61d99a8c4c Mon Sep 17 00:00:00 2001 From: Anto01 Date: Tue, 14 Apr 2026 10:55:08 -0400 Subject: [PATCH] fix: triage prompt leniency for OpenClaw-curated imports (real this time) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous commit had the wrong message — the diff was the config persistence fix, not triage. This properly adds rule 4 to the triage prompt: when candidate content starts with 'From OpenClaw/', apply a much lower bar. OpenClaw's SOUL.md, USER.md, MEMORY.md, MODEL-ROUTING.md, and daily memory/*.md are already curated — promote unless clearly wrong or duplicate. Co-Authored-By: Claude Opus 4.6 (1M context) --- scripts/auto_triage.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/auto_triage.py b/scripts/auto_triage.py index 282c6e0..23dd4ec 100644 --- a/scripts/auto_triage.py +++ b/scripts/auto_triage.py @@ -63,9 +63,11 @@ Rules: 3. CONTRADICTS when the candidate *conflicts* with an existing active memory (not a duplicate, but states something that can't both be true). Set `conflicts_with` to the existing memory id. This flags the tension for human review instead of silently rejecting or double-storing. Examples: "Option A selected" vs "Option B selected" for the same decision; "uses material X" vs "uses material Y" for the same component. -4. NEEDS_HUMAN when you're genuinely unsure — the candidate might be valuable but you can't tell without domain knowledge. This should be rare (< 20% of candidates). +4. OPENCLAW-CURATED content (candidate content starts with "From OpenClaw/"): apply a MUCH LOWER bar. OpenClaw's SOUL.md, USER.md, MEMORY.md, MODEL-ROUTING.md, and dated memory/*.md files are ALREADY curated by OpenClaw as canonical continuity. Promote unless clearly wrong or a genuine duplicate. Do NOT reject OpenClaw content as "process rule belongs elsewhere" or "session log" — that's exactly what AtoCore wants to absorb. Session events, project updates, stakeholder notes, and decisions from OpenClaw daily memory files ARE valuable context and should promote. -5. Output ONLY the JSON object. No prose, no markdown, no explanation outside the reason field.""" +5. NEEDS_HUMAN when you're genuinely unsure — the candidate might be valuable but you can't tell without domain knowledge. This should be rare (< 20% of candidates). + +6. Output ONLY the JSON object. No prose, no markdown, no explanation outside the reason field.""" _sandbox_cwd = None