docs: update kugetsu-debug skill with delegation coordination findings

This commit is contained in:
shokollm
2026-04-01 08:57:09 +00:00
parent 2b2515ed3e
commit 0b27eb8f9a
5 changed files with 14 additions and 12 deletions

View File

@@ -150,8 +150,8 @@ result = delegate_task(
Steps:
1. Read existing docs in ~/repositories/kugetsu/docs/
2. Identify message passing mechanisms used
3. Write findings to /tmp/findings-4.md
4. cat /tmp/findings-4.md
3. Write findings to ${KUGETSU_TEMP_DIR:-/tmp}/findings-4.md
4. cat ${KUGETSU_TEMP_DIR:-/tmp}/findings-4.md
5. Post findings as Gitea issue comment
Gitea: git.example.com
@@ -179,7 +179,7 @@ terminal(
```bash
# Write findings to temp file first
cat > /tmp/findings-4.md << 'EOF'
cat > ${KUGETSU_TEMP_DIR:-/tmp}/findings-4.md << 'EOF'
# Research Findings for Issue #4
## Message Passing Mechanisms Identified
@@ -197,7 +197,7 @@ curl -X POST "git.example.com/api/v1/repos/shoko/kugetsu/issues/4/comments" \
-H "Authorization: token &lt;YOUR_GITEA_TOKEN&gt;" \
-H "Content-Type: application/json" \
-H "User-Agent: Kugetsu-Subagent/1.0" \
-d @/tmp/findings-4.md \
-d @${KUGETSU_TEMP_DIR:-/tmp}/findings-4.md \
--max-time 30 \
--retry 3 \
--retry-delay 5
@@ -211,7 +211,7 @@ curl -X POST "git.example.com/api/v1/repos/shoko/kugetsu/issues/3/comments" \
-H "Authorization: token &lt;YOUR_GITEA_TOKEN&gt;" \
-H "Content-Type: application/json" \
-d '{
"body": "## Task Assignment\n\nAgent: coding-agent-1\n\n1. Explore ~/repositories/kugetsu/tools/parallel-capacity-test/\n2. Run the capacity test tool\n3. Document findings in /tmp/findings-3.md\n4. Post findings here\n\nDeadline: Before next PM review cycle"
"body": "## Task Assignment\n\nAgent: coding-agent-1\n\n1. Explore ~/repositories/kugetsu/tools/parallel-capacity-test/\n2. Run the capacity test tool\n3. Document findings in ${KUGETSU_TEMP_DIR:-/tmp}/findings-3.md\n4. Post findings here\n\nDeadline: Before next PM review cycle"
}'
```
@@ -232,7 +232,7 @@ curl -X POST "git.example.com/api/v1/repos/shoko/kugetsu/pulls" \
-H "Content-Type: application/json" \
-d '{
"title": "fix #3: Add parallel capacity test tool",
"body": "## Summary\n\nImplements parallel capacity testing for Hermes/OpenCode.\n\n## Testing\n\n- [ ] Tool runs without errors\n- [ ] Output logged to /tmp/capacity-test.log",
"body": "## Summary\n\nImplements parallel capacity testing for Hermes/OpenCode.\n\n## Testing\n\n- [ ] Tool runs without errors\n- [ ] Output logged to ${KUGETSU_TEMP_DIR:-/tmp}/capacity-test.log",
"head": "fix/issue-3-capacity-test",
"base": "main"
}'