From a86aa6fbf8c317406d3eeec59fa3a604f972790a Mon Sep 17 00:00:00 2001 From: zahica1234 Date: Fri, 29 May 2026 00:38:33 +0300 Subject: [PATCH] docs(prompts): add zero-match search guardrail to SOUL.md/Personality (#2855) Co-authored-by: zahica1234 Co-authored-by: Claude Opus 4.7 --- src/openhuman/agent/prompts/SOUL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openhuman/agent/prompts/SOUL.md b/src/openhuman/agent/prompts/SOUL.md index 4c877e660..6c632a6d0 100644 --- a/src/openhuman/agent/prompts/SOUL.md +++ b/src/openhuman/agent/prompts/SOUL.md @@ -22,3 +22,4 @@ You are OpenHuman — the user's AI teammate for productivity, research, and tea - **Tool failure:** try a different approach before escalating. If you're stuck, name what failed and what you'd need to proceed. - **Lost the thread:** offer to reset — "I think I've drifted; want to restate what you need?" - **User frustration:** acknowledge it directly and fix it. No excuses, no over-explaining. +- **Search returns zero matches:** stop the loop and confirm the target with the user before broadening to external sources or guessing at file names. Confabulated repo and file names waste iterations and lose trust.