Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed src/openhuman/agent/registry/agents/goals_agent/agent.toml,src/openhuman/agent/

Steven Enamakela44b7ec5b5cf
diff --git a/src/openhuman/agent/registry/agents/goals_agent/agent.toml b/src/openhuman/agent/registry/agents/goals_agent/agent.toml
index 6adfb3242f..62a9f3ca30 100644
--- a/src/openhuman/agent/registry/agents/goals_agent/agent.toml
+++ b/src/openhuman/agent/registry/agents/goals_agent/agent.toml
@@ -19,4 +19,4 @@ omit_memory_md = true
hint = "agentic"
[tools]
-named = ["goals_list", "goals_add", "goals_edit", "goals_delete", "memory_recall"]
+named = ["goals", "memory_recall"]
diff --git a/src/openhuman/agent/registry/agents/goals_agent/prompt.md b/src/openhuman/agent/registry/agents/goals_agent/prompt.md
index cf5d3ced22..4e1f441cf1 100644
--- a/src/openhuman/agent/registry/agents/goals_agent/prompt.md
+++ b/src/openhuman/agent/registry/agents/goals_agent/prompt.md
@@ -8,14 +8,14 @@ not tasks. It lives in `MEMORY_GOALS.md` and is capped at ~8 items.
## How you work
-1. **Always call `goals_list` first.** Never add or edit without seeing the
+1. **Always call `goals { "op": "list" }` first.** Never add or edit without seeing the
current list — this avoids duplicates and lets you address the right ids.
2. **Use `memory_recall`** when you need more context about the user's past
intentions before deciding what to change.
3. Apply the **minimal** set of changes justified by the provided context:
- - `goals_add` — a genuinely new durable goal that isn't already captured.
- - `goals_edit` — refine the wording of an existing goal as it evolves.
- - `goals_delete` — remove a goal the user has completed or abandoned.
+ - `op: "add"` — a genuinely new durable goal that isn't already captured.
+ - `op: "edit"` — refine the wording of an existing goal as it evolves.
+ - `op: "delete"` — remove a goal the user has completed or abandoned.
4. **First run (empty list):** populate an initial set of goals inferred from
the context. Be conservative — only add goals you're confident about.
diff --git a/src/openhuman/agent/registry/agents/orchestrator/agent.toml b/src/openhuman/agent/registry/agents/orchestrator/agent.toml
index e826fa71b4..ae3d37f609 100644
--- a/src/openhuman/agent/registry/agents/orchestrator/agent.toml
+++ b/src/openhuman/agent/registry/agents/orchestrator/agent.toml
@@ -245,10 +245,7 @@ named = [
# goals" because this allowlist never named the family — capability and
# domain gates both pass at runtime (the driver advertises `goals`), so
# this list was the only closed layer (#5875 test session).
- "goals_list",
- "goals_add",
- "goals_edit",
- "goals_delete",
+ "goals",
# Memory-protocol close-out (#4116). A successful `memory_store` is a durable
# write, so the memory-protocol middleware appends a "call `update_memory_md`
# to keep the MEMORY.md index in sync" note to the tool result and warns at run
diff --git a/src/openhuman/memory/goals/enrich.rs b/src/openhuman/memory/goals/enrich.rs
index b04aa7cee8..f3dbe6edd0 100644
--- a/src/openhuman/memory/goals/enrich.rs
+++ b/src/openhuman/memory/goals/enrich.rs
@@ -40,11 +40,11 @@ fn build_prompt(context_input: &str, first_run: bool) -> String {
let mode = if first_run {
"The goals list is currently EMPTY. This is the first run — populate \
an initial set of the user's durable long-term goals (max ~8) from \
- the context below. Start by calling goals_list to confirm, then use \
- goals_add for each goal."
+ the context below. Start with `goals { "op": "list" }` to confirm, \
+ then `op: "add"` for each goal."
} else {
- "Maintain the existing goals list. Call goals_list first, then make \
- the MINIMAL set of changes (goals_add / goals_edit / goals_delete) \
+ "Maintain the existing goals list. Call `goals { \"op\": \"list\" }` \
+ first, then make the MINIMAL set of changes (add / edit / delete) \
justified by the context below. Do not churn goals that are still \
valid."
};
diff --git a/src/openhuman/tools/ops_tests.rs b/src/openhuman/tools/ops_tests.rs
index e6a08f0587..8063a4427f 100644
--- a/src/openhuman/tools/ops_tests.rs
+++ b/src/openhuman/tools/ops_tests.rs
@@ -410,10 +410,7 @@ const MEMORY_TOOL_CAPABILITIES: &[(&str, tinymemory_api::capabilities::Capabilit
("memory_store_raw_search", C::Entities),
("memory_doctor", C::Maintenance),
("tool_stats", C::ToolMemory),
- ("goals_list", C::Goals),
- ("goals_add", C::Goals),
- ("goals_edit", C::Goals),
- ("goals_delete", C::Goals),
+ ("goals", C::Goals),
]
};
@@ -452,10 +449,7 @@ const OPTIONAL_FAMILY_MEMORY_TOOLS: &[&str] = &[
"memory_flavour",
"memory_store_raw_search",
"memory_doctor",
- "goals_list",
- "goals_add",
- "goals_edit",
- "goals_delete",
+ "goals",
];
/// Memory-family tools that remain available when a null driver deliberately
diff --git a/src/openhuman/tools/ops_tests_part_04_tests.rs b/src/openhuman/tools/ops_tests_part_04_tests.rs
index d32466a20f..b2ec77f8ce 100644
--- a/src/openhuman/tools/ops_tests_part_04_tests.rs
+++ b/src/openhuman/tools/ops_tests_part_04_tests.rs
@@ -67,7 +67,7 @@ fn tool_group_classifies_gate_and_harness_families() {
// Harness-mapped families → kept under harness().
assert_eq!(tool_group("memory_store"), DomainGroup::Memory);
- assert_eq!(tool_group("goals_add"), DomainGroup::Memory);
+ assert_eq!(tool_group("goals"), DomainGroup::Memory);
assert_eq!(tool_group("update_memory_md"), DomainGroup::Memory);
assert_eq!(tool_group("todo_add"), DomainGroup::Threads);
assert_eq!(tool_group("goal_get"), DomainGroup::Threads);