agents: restore preTurn task_add reminder

Removing it caused the model to fall back to reasoning_think for planning.
The preTurn reminder is necessary to override that behavior.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-26 13:13:48 +02:00
parent f4b6cfa4f9
commit 70f9aed14e
7 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@
"$OLLIE/x/prime tools-elevate"
],
"preTurn": [
"true"
"bash -c 'plan=\"$OLLIE/s/$OLLIE_SESSION_ID/plan\"; [ -s \"$plan\" ] || echo \"Reminder: call task_add before taking any action.\"' 2>/dev/null || true"
],
"postTurn": [
"task list 2>/dev/null || true"

View File

@ -13,7 +13,7 @@
"$OLLIE/x/prime tools-subagent"
],
"preTurn": [
"true"
"bash -c 'plan=\"$OLLIE/s/$OLLIE_SESSION_ID/plan\"; [ -s \"$plan\" ] || echo \"Reminder: call task_add before taking any action.\"' 2>/dev/null || true"
],
"postTurn": [
"task list 2>/dev/null || true"

View File

@ -15,7 +15,7 @@
"$OLLIE/x/prime tools-elevate"
],
"preTurn": [
"true"
"bash -c 'plan=\"$OLLIE/s/$OLLIE_SESSION_ID/plan\"; [ -s \"$plan\" ] || echo \"Reminder: call task_add before taking any action.\"' 2>/dev/null || true"
],
"postTurn": [
"task list 2>/dev/null || true"

View File

@ -14,7 +14,7 @@
"$OLLIE/x/prime tools-subagent"
],
"preTurn": [
"true"
"bash -c 'plan=\"$OLLIE/s/$OLLIE_SESSION_ID/plan\"; [ -s \"$plan\" ] || echo \"Reminder: call task_add before taking any action.\"' 2>/dev/null || true"
],
"postTurn": [
"task list 2>/dev/null || true"

View File

@ -14,7 +14,7 @@
"$OLLIE/x/prime tools-subagent"
],
"preTurn": [
"true"
"bash -c 'plan=\"$OLLIE/s/$OLLIE_SESSION_ID/plan\"; [ -s \"$plan\" ] || echo \"Reminder: call task_add before taking any action.\"' 2>/dev/null || true"
],
"postTurn": [
"task list 2>/dev/null || true"

View File

@ -14,7 +14,7 @@
"$OLLIE/x/prime tools-subagent"
],
"preTurn": [
"true"
"bash -c 'plan=\"$OLLIE/s/$OLLIE_SESSION_ID/plan\"; [ -s \"$plan\" ] || echo \"Reminder: call task_add before taking any action.\"' 2>/dev/null || true"
],
"postTurn": [
"task list 2>/dev/null || true"

View File

@ -14,7 +14,7 @@
"$OLLIE/x/prime tools-subagent"
],
"preTurn": [
"true"
"bash -c 'plan=\"$OLLIE/s/$OLLIE_SESSION_ID/plan\"; [ -s \"$plan\" ] || echo \"Reminder: call task_add before taking any action.\"' 2>/dev/null || true"
],
"postTurn": [
"task list 2>/dev/null || true"