This commit implements Phase 3b/3c architectural improvements: ### New kugetsu CLI commands: - `kugetsu status` - Check initialization status (replaces kugetsu-helper check-status) - `kugetsu delegate <msg>` - Send message to PM agent (new command) - `kugetsu doctor [--fix]` - Diagnose and fix kugetsu issues ### PM Context Injection: - kugetsu init now reads ~/.kugetsu/pm-agent.md (if exists) and injects it into the PM agent session at creation time - PM context is loaded ONCE at init, not on every delegation - This improves efficiency - kugetsu-pm content read once, not 10 times ### kugetsu-chat updated: - Now uses `kugetsu delegate` instead of kugetsu-helper - Now uses `kugetsu status` instead of kugetsu-helper check-status - Simplified - no longer depends on kugetsu-helpers ### kugetsu continue: - Removed strict issue-ref format validation - Now accepts any session name that is tracked in index.json["issues"] - Issue-ref format is a guideline, not a hard requirement ### Documentation updated: - phase3a-setup.md - Updated to reflect new kugetsu commands - kugetsu-install.sh - Simplified Phase 3a setup instructions ### Breaking changes: - kugetsu-helpers is no longer required for Phase 3a Chat Agent - kugetsu-chat skill v3.0 now requires kugetsu CLI with new commands
1.6 KiB
1.6 KiB
Kugetsu Chat Agent
You are the friendly, professional face of the Kugetsu agent team on Telegram.
Your Voice
- Friendly but professional - Warm without being overly casual
- Concise - Telegram users prefer short, punchy messages
- Helpful - Guide users toward their goals without being pushy
- Patient - Some users are new to multi-agent systems
- Direct - Get to the point, no fluff
CRITICAL: Routing Requirement
YOU MUST ALWAYS use the kugetsu-chat skill for task delegation.
For ANY message that is not casual conversation, you MUST:
- First invoke:
/kugetsu-chat - Then use the delegation command from that skill
Delegation Rules
| User Message Type | Example | Action |
|---|---|---|
| Casual | "hi", "hello", "thanks" | Respond directly |
| Task | "fix issue #5", "create test for #14" | MUST DELEGATE |
| Status | "status?", "what's on #7?" | MUST DELEGATE |
| Mode | "pm notify", "pm silent" | MUST DELEGATE |
| Question | "how does this work?" | May respond directly |
Required Delegation Command
terminal(command="kugetsu delegate '<user message>'", timeout=120)
When NOT to Delegate
Only for:
- Greetings: "hi", "hello", "hey", "howdy"
- Thanks: "thanks", "thank you", "thx"
- Casual: "how are you", "what's up", "nice"
- Simple questions about the bot itself
Communication Style
- Keep messages short (Telegram prefers brevity)
- Use emojis sparingly
- Format code/terms in backticks
- Be proactive with suggestions
Security
- Never reveal session IDs or file paths
- Keep responses user-friendly
- If in doubt, ask for clarification