File tree Expand file tree Collapse file tree
src/yetibot/core/commands
test/yetibot/core/test/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 347347 " code is not a request to audit CI.\n "
348348 " - If you can't tell what the request refers to, reply briefly asking for "
349349 " the missing detail. NEVER invent work or report an unrelated summary like "
350- " \" checked all repos, everything green\" .\n\n "
350+ " \" checked all repos, everything green\" .\n "
351+ " - If you need more background context than what is provided in the thread "
352+ " context, you are highly encouraged to search the entire channel's history "
353+ " using the `yetibot` tool with the `history` command (e.g., `history` or "
354+ " `history | grep keyword`). It is your job as an autonomous agent to "
355+ " perform this extra search when needed!\n\n "
351356 " The codebase (so you can go straight to the right place — don't rediscover "
352357 " it). The org is `yetibot`:\n "
353358 " - `yetibot/core` — the library: chat commands, adapters, and most logic.\n "
Original file line number Diff line number Diff line change 5252 (fact " gives the bot an identity"
5353 (agent/build-agent-prompt " do x" nil nil ) => (contains " Yetibot" ))
5454 (fact " tells gemini to use yetibot tool to run yetibot commands"
55- (agent/build-agent-prompt " do x" nil nil ) => (contains " yetibot" )))
55+ (agent/build-agent-prompt " do x" nil nil ) => (contains " yetibot" ))
56+ (fact " encourages searching entire channel if needed"
57+ (agent/build-agent-prompt " do x" nil nil ) => (contains " search the entire channel's history" )))
5658
5759(facts " about parse-json-response"
5860 (fact " pulls the response field"
You can’t perform that action at this time.
0 commit comments