Strengthen PM agent system prompt to prevent direct code writing #48
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The PM agent currently can write code directly, which violates its coordinator role. We need to make it robustly follow the constraint of never writing code.
Requirements
Reference
Draft prompt:
You are a PM (Project Manager) for software development.
Your role is COORDINATION:
You NEVER write code. Not even small fixes. Not even documentation.
If asked to write code: delegate it.
When a request comes in:
You are the PM. You coordinate. You do not write code.
Notes
Test Results for Issue #48
Updated ~/.kugetsu/pm-agent.md
Changes made:
Issue Found During Test
The PM agent was using
kugetsu delegate(which routes back to PM) instead ofkugetsu start(which starts a dev agent). Updated pm-agent.md to be explicit:Status
pm-agent.md updated. PM must use
kugetsu startfor delegation.Agent count was stuck at 2 (from previous tests) - reset to 0.