Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Micro-agent: Remove planner specific actions (#1515)

Boxuan Li30e10e7a4a52
diff --git a/agenthub/micro/_instructions/actions/add_task.md b/agenthub/micro/_instructions/actions/add_task.md
deleted file mode 100644
index 7275201131..0000000000
--- a/agenthub/micro/_instructions/actions/add_task.md
+++ /dev/null
@@ -1,4 +0,0 @@
-* `add_task` - add a task to your plan. Arguments:
- * `parent` - the ID of the parent task
- * `goal` - the goal of the task
- * `subtasks` - a list of subtasks, each of which is a map with a `goal` key.
diff --git a/agenthub/micro/_instructions/actions/finish.md b/agenthub/micro/_instructions/actions/finish.md
index e1a4b272b9..3591093928 100644
--- a/agenthub/micro/_instructions/actions/finish.md
+++ b/agenthub/micro/_instructions/actions/finish.md
@@ -1,2 +1,2 @@
-* `finish` - if ALL of your tasks and subtasks have been verified or abandoned, and you're absolutely certain that you've completed your task and have tested your work, use the finish action to stop working. Arguments:
+* `finish` - if you're absolutely certain that you've completed your task and have tested your work, use the finish action to stop working. Arguments:
* `outputs` - a dictionary representing the outputs of your task, if any
diff --git a/agenthub/micro/_instructions/actions/modify_task.md b/agenthub/micro/_instructions/actions/modify_task.md
deleted file mode 100644
index 0cb5b6ad00..0000000000
--- a/agenthub/micro/_instructions/actions/modify_task.md
+++ /dev/null
@@ -1,3 +0,0 @@
-* `modify_task` - close a task. Arguments:
- * `id` - the ID of the task to close
- * `state` - set to 'in_progress' to start the task, 'completed' to finish it, 'verified' to assert that it was successful, 'abandoned' to give up on it permanently, or `open` to stop working on it for now.
diff --git a/agenthub/micro/study_repo_for_task/prompt.md b/agenthub/micro/study_repo_for_task/prompt.md
index 4cf9588d74..4612b4aa5f 100644
--- a/agenthub/micro/study_repo_for_task/prompt.md
+++ b/agenthub/micro/study_repo_for_task/prompt.md
@@ -14,7 +14,7 @@ the information needed to complete this task:
You must ONLY `run` commands that have no side-effects, like `ls` and `grep`.
Do NOT finish until you have a complete understanding of which parts of the
-codebase are relevant to the task, including particular files, function, functions, and classes.
+codebase are relevant to the task, including particular files, functions, and classes.
When you're done, put your summary in `outputs.summary` in the `finish` action.
## History