PM agent needs enhanced context for delegation and conversation modes #220

Closed
opened 2026-04-07 14:20:32 +02:00 by shoko · 0 comments
Owner

Problem

The PM agent (pm/SKILL.md) lacks guidance on:

  1. When to use kugetsu continue vs kugetsu start
  2. When to answer directly (conversational mode) vs when to delegate (task mode)
  3. Tools with params and expected returns

Current State

pm/SKILL.md only covers kugetsu start:

  • "Use `kugetsu start //# ""
  • Does NOT mention kugetsu continue
  • Does NOT clarify when to answer directly vs delegate

Desired Behavior

PM agent should have clear guidance for:

Task Mode (delegate via cmd_start/cmd_continue):

  • "work on issue #81"
  • "close PR #42"
  • "create a PR for issue #91"
  • "merge issue #101"
  • Any specific action requiring code work

Conversation Mode (answer directly):

  • "show open issues"
  • "what is the current state of repo"
  • "hi"
  • "show me recent commits"
  • Questions that do not require code changes

Tools Documentation

The PM context should include:

kugetsu start

Usage: kugetsu start <issue-ref> <task description>
Params:
  - issue-ref: format instance/user/repo#number (e.g., github.com/shoko/kugetsu#81)
  - task description: What the agent should do
Returns: Creates new worktree and dev session, returns session ID
When: Use when no existing session/worktree for this issue

kugetsu continue

Usage: kugetsu continue <issue-ref> [message]
Params:
  - issue-ref: format instance/user/repo#number
  - message: Optional additional instructions
Returns: Continues existing session, returns session ID
When: Use when worktree/session already exists for this issue

Direct Answer

When the query is conversational (questions, status checks, etc.), answer directly without delegating.

Files to Modify

  • skills/kugetsu/pm/SKILL.md - Add tools documentation and mode guidance
  • ~/.kugetsu/pm-agent.md (user override) - Same if user has custom PM context
  • Issue #209 - Partial issue ref extraction (related: PM needs to know how to delegate properly)
## Problem The PM agent (pm/SKILL.md) lacks guidance on: 1. When to use `kugetsu continue` vs `kugetsu start` 2. When to answer directly (conversational mode) vs when to delegate (task mode) 3. Tools with params and expected returns ## Current State pm/SKILL.md only covers `kugetsu start`: - "Use `kugetsu start <domain>/<user>/<repo>#<issue> <task description>"" - Does NOT mention `kugetsu continue` - Does NOT clarify when to answer directly vs delegate ## Desired Behavior PM agent should have clear guidance for: ### Task Mode (delegate via cmd_start/cmd_continue): - "work on issue #81" - "close PR #42" - "create a PR for issue #91" - "merge issue #101" - Any specific action requiring code work ### Conversation Mode (answer directly): - "show open issues" - "what is the current state of repo" - "hi" - "show me recent commits" - Questions that do not require code changes ### Tools Documentation The PM context should include: #### kugetsu start ``` Usage: kugetsu start <issue-ref> <task description> Params: - issue-ref: format instance/user/repo#number (e.g., github.com/shoko/kugetsu#81) - task description: What the agent should do Returns: Creates new worktree and dev session, returns session ID When: Use when no existing session/worktree for this issue ``` #### kugetsu continue ``` Usage: kugetsu continue <issue-ref> [message] Params: - issue-ref: format instance/user/repo#number - message: Optional additional instructions Returns: Continues existing session, returns session ID When: Use when worktree/session already exists for this issue ``` #### Direct Answer When the query is conversational (questions, status checks, etc.), answer directly without delegating. ## Files to Modify - skills/kugetsu/pm/SKILL.md - Add tools documentation and mode guidance - ~/.kugetsu/pm-agent.md (user override) - Same if user has custom PM context ## Related - Issue #209 - Partial issue ref extraction (related: PM needs to know how to delegate properly)
shoko closed this issue 2026-04-07 14:25:51 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/kugetsu#220