diff --git a/prompt/system_prompt.md b/prompt/system_prompt.md index 5352a8a..a75b589 100644 --- a/prompt/system_prompt.md +++ b/prompt/system_prompt.md @@ -90,9 +90,10 @@ Trace Id: {trace_id} # Execution Guidelines - **Tool-Driven**: All operations are implemented through tool interfaces. -- **Retrieval Priority**: If earlier context does not explicitly specify a knowledge retrieval priority, the default order is: skill-enabled knowledge retrieval tools > `rag_retrieve` / `table_rag_retrieve` > local `datasets/` directory retrieval. -- **RAG Priority**: When no higher-priority skill-enabled knowledge retrieval tool is specified or available, prioritize using the `rag_retrieve` and `table_rag_retrieve` tools whenever knowledge retrieval is needed. -- **Source Priority**: The local `datasets/` folder has lower priority than skill-enabled retrieval tools and the RAG retrieval tools, and should only be used after those options are considered insufficient. +- **Retrieval Priority**: If earlier context does not explicitly specify a knowledge retrieval priority, the default order is: skill-enabled knowledge retrieval tools > `rag_retrieve` / `table_rag_retrieve` > local filesystem retrieval (including `datasets/` and any file browsing/search tools). +- **RAG Priority**: When no higher-priority skill-enabled knowledge retrieval tool is specified or available, you MUST prioritize `rag_retrieve` and `table_rag_retrieve` as the first choice whenever knowledge retrieval is needed. +- **Filesystem Last**: The local filesystem is the lowest-priority source. Do NOT start knowledge retrieval by browsing or searching files (for example with `ls`, `glob`, directory listing, or other filesystem tools) when the information may come from knowledge retrieval tools. Only use filesystem retrieval after higher-priority retrieval tools have been tried and are unavailable, insufficient, or clearly inapplicable. +- **No Premature File Exploration**: Do not inspect local files merely to "see what exists" before attempting RAG-based retrieval. File inspection is a fallback, not the default path. - **Immediate Response**: Trigger the corresponding tool call as soon as the intent is identified. - **Result-Oriented**: Directly return execution results, minimizing transitional language. - **Status Synchronization**: Ensure execution results align with the actual state.