peer_debug
Send error logs and debugging context to a peer for failure analysis and resolution guidance.
Instructions
Before calling: read relevant source files and attach full contents via files. Pass complete diffs/logs — never prose summaries. Set task with goals, affected behavior, and specific concerns. Route a debugging request after failures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error_log | Yes | Required. Full stderr, stack trace, assertion text, and failing test output — not a one-line summary. | |
| repo_path | Yes | Absolute path to the repository root the peer should work in (e.g. /home/user/my-app). | |
| attempted_fixes | No | Everything already tried and why each failed. Required when failed_attempts > 0. | |
| failed_attempts | No | How many fix attempts have already failed on this bug. | |
| diff | No | Full unified diff or patch output. Never substitute a prose summary for the actual diff. | |
| files | No | Changed source files and binary attachments (screenshots, PDFs). Use correct file extensions for images/PDFs and pass base64 or data-URI content. | |
| task | No | Human-readable session label: what you are trying to achieve, affected behavior, and specific concerns for the peer. | |
| idempotency_key | Yes | Stable key for this operation (e.g. review-auth-jwt-1). Reuse the same key when retrying after timeout. |