restore reasoning_think tool and prompt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-26 19:07:13 +02:00
parent e4c76603ba
commit 2f9e392320
9 changed files with 21 additions and 0 deletions

View File

@ -4,6 +4,7 @@
"prime tools-task 2>/dev/null || true",
"$OLLIE/x/prime agent-coding",
"$OLLIE/x/prime tools-file",
"$OLLIE/x/prime tools-reasoning",
"$OLLIE/x/prime tools-memory",
"$OLLIE/x/prime tools-subagent",
"$OLLIE/x/prime tools-elevate",

View File

@ -3,6 +3,7 @@
"$OLLIE/x/prime SYSTEM_PROMPT",
"prime tools-task 2>/dev/null || true",
"$OLLIE/x/prime tools-file",
"$OLLIE/x/prime tools-reasoning",
"$OLLIE/x/prime tools-memory",
"$OLLIE/x/prime tools-subagent",
"bash -c 'd=$PWD; while [ \"$d\" != / ]; do [ -d \"$d/.beads\" ] && exec bd prime; [ ! -e \"$d/.git\" ] && break; d=$(dirname \"$d\"); done' 2>/dev/null || true"

View File

@ -4,6 +4,7 @@
"prime tools-task 2>/dev/null || true",
"$OLLIE/x/prime agent-devops",
"$OLLIE/x/prime tools-file",
"$OLLIE/x/prime tools-reasoning",
"$OLLIE/x/prime tools-memory",
"$OLLIE/x/prime tools-subagent",
"$OLLIE/x/prime tools-elevate",

View File

@ -4,6 +4,7 @@
"prime tools-task 2>/dev/null || true",
"$OLLIE/x/prime agent-qa",
"$OLLIE/x/prime tools-file",
"$OLLIE/x/prime tools-reasoning",
"$OLLIE/x/prime tools-memory",
"$OLLIE/x/prime tools-subagent",
"bash -c 'd=$PWD; while [ \"$d\" != / ]; do [ -d \"$d/.beads\" ] && exec bd prime; [ ! -e \"$d/.git\" ] && break; d=$(dirname \"$d\"); done' 2>/dev/null || true"

View File

@ -4,6 +4,7 @@
"prime tools-task 2>/dev/null || true",
"$OLLIE/x/prime agent-reviewer",
"$OLLIE/x/prime tools-file",
"$OLLIE/x/prime tools-reasoning",
"$OLLIE/x/prime tools-memory",
"$OLLIE/x/prime tools-subagent",
"bash -c 'd=$PWD; while [ \"$d\" != / ]; do [ -d \"$d/.beads\" ] && exec bd prime; [ ! -e \"$d/.git\" ] && break; d=$(dirname \"$d\"); done' 2>/dev/null || true"

View File

@ -4,6 +4,7 @@
"prime tools-task 2>/dev/null || true",
"$OLLIE/x/prime agent-sysarchitect",
"$OLLIE/x/prime tools-file",
"$OLLIE/x/prime tools-reasoning",
"$OLLIE/x/prime tools-memory",
"$OLLIE/x/prime tools-subagent",
"bash -c 'd=$PWD; while [ \"$d\" != / ]; do [ -d \"$d/.beads\" ] && exec bd prime; [ ! -e \"$d/.git\" ] && break; d=$(dirname \"$d\"); done' 2>/dev/null || true"

View File

@ -4,6 +4,7 @@
"prime tools-task 2>/dev/null || true",
"$OLLIE/x/prime agent-writer",
"$OLLIE/x/prime tools-file",
"$OLLIE/x/prime tools-reasoning",
"$OLLIE/x/prime tools-memory",
"$OLLIE/x/prime tools-subagent",
"bash -c 'd=$PWD; while [ \"$d\" != / ]; do [ -d \"$d/.beads\" ] && exec bd prime; [ ! -e \"$d/.git\" ] && break; d=$(dirname \"$d\"); done' 2>/dev/null || true"

View File

@ -0,0 +1,7 @@
# reasoning_think
Use `reasoning_think` to reason through complex problems before acting. Call it once with your full chain of thought before making decisions, writing code, or taking any non-trivial action.
```
execute_code: steps=[{tool: "reasoning_think", args: ["your full reasoning here"]}]
```

7
tools/reasoning_think Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# ollie:parallel read
# description: Internal reasoning scratchpad; think through complex problems before acting
# Args: <thought>
[ -z "$*" ] && echo "usage: reasoning_think <thought>" && exit 1
exit 0