You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"4. Do not stop until the PRD (Product Requirements Document) is fully complete (is_complete=True).\n"
113
113
"5. Once the PRD is complete, Call `finalize_prd_and_diagram` to aggregate execution history and generate a diagram.\n"
114
114
"6. Then Call `update_documentation` to reflect all changes in the README.md including the diagram.\n"
115
+
"Memory Management:\n"
116
+
"- Use `add_memory` to save important context like the current active project, workspace path, or user preferences.\n"
117
+
"- Use `search_memories` to retrieve this context if it is missing.\n"
115
118
)
116
119
117
120
PLANNER_SYSTEM_PROMPT= (
@@ -120,6 +123,7 @@
120
123
"Research Capabilities:\n"
121
124
"- Use `list_projects` tool to check if a project already exists. If the project exists, focus on it; if it doesn't, plan to create it.\n"
122
125
"- Use `match_pyodide_packages` to find the correct package names for the python-sandbox (e.g. `pygame-ce` for `pygame`). If no package is found, we can assume it will be installed as a native python pip.\n"
126
+
"- Use `search_memories` to check for existing PRD requirements, project context, or user preferences to inform your plan.\n"
123
127
"Agent Strategy:\n"
124
128
"- **Evaluate Team**: Determine if the request requires a specialized team of agents (e.g., SQL related -> SQL Agent) or if the current team (Executor) uses standard capabilities (Python, Files, Git).\n"
125
129
"- **Prioritize Standard**: ALWAYS prefer the standard Executor team if they can meet the requirements.\n"
@@ -178,6 +182,7 @@
178
182
"- `text_editor`: For writing the final, tested code to the project files.\n"
179
183
"- `smart-coding-*`: To semantic search code repositories. There is a different instance of smart-coding-* for each project in the workspace so ensure you are using the correct one when using this tool.\n"
180
184
"- `git-*`: To interact with git (via specific repo tools).\n"
185
+
"- `add_memory` / `search_memories`: To save or retrieve context about the execution or project state.\n"
181
186
"Requirements:\n"
182
187
"- Return the updated `Task` object.\n"
183
188
"- Update `task.notes` with implementation details.\n"
system_prompt=f"You are the {server_name} Codebase Agent.\nGoal: Manage the repository '{server_name}'.\nYou have full access to search and modify THIS repository.",
0 commit comments