Dev agent doesnt know how to create PRs - guesses tea commands incorrectly #223

Closed
opened 2026-04-07 15:06:47 +02:00 by shoko · 0 comments
Owner

Problem

The dev agent is told to "Create a PR when the implementation is complete" but is not given explicit instructions on HOW to create a PR. The agent guesses tea issue create instead of the correct method.

Error in Logs

tea issue create --repo shoko/kugetsu --title "fix(queue-daemon)..."
Incorrect Usage: flag provided but not defined: -body

Agent should be using tea pr create not tea issue create.

Root Cause

build_dev_agent_message() in kugetsu-session.sh tells the agent to create a PR but does not provide explicit instructions on how to do so.

Fix

Add explicit PR creation instructions to build_dev_agent_message() in kugetsu-session.sh. The instructions should:

  1. Show how to create PR using Gitea API with curl
  2. Provide example curl command with proper params
  3. Show alternative using tea pr create if available
## Problem The dev agent is told to "Create a PR when the implementation is complete" but is not given explicit instructions on HOW to create a PR. The agent guesses `tea issue create` instead of the correct method. ## Error in Logs ``` tea issue create --repo shoko/kugetsu --title "fix(queue-daemon)..." Incorrect Usage: flag provided but not defined: -body ``` Agent should be using `tea pr create` not `tea issue create`. ## Root Cause `build_dev_agent_message()` in `kugetsu-session.sh` tells the agent to create a PR but does not provide explicit instructions on how to do so. ## Fix Add explicit PR creation instructions to `build_dev_agent_message()` in `kugetsu-session.sh`. The instructions should: 1. Show how to create PR using Gitea API with curl 2. Provide example curl command with proper params 3. Show alternative using `tea pr create` if available
shoko closed this issue 2026-04-07 15:10:35 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/kugetsu#223