docs.rs failed to build miyabi-agent-issue-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
miyabi-agent-issue
Status: Stable | Category: Agent
IssueAgent (みつけるん) - W1: Issue Triage & Label Management Agent. Analyzes GitHub Issues to infer appropriate labels, estimate complexity, and provide implementation guidance.
📋 Overview
IssueAgent is the first agent in the Miyabi workflow (W1), responsible for:
- 🏷️ Automated Label Inference: Analyzes issue content and assigns appropriate labels from Miyabi's 57-label system
- 📊 Complexity Estimation: Evaluates task complexity (Trivial, Simple, Medium, Complex, Very Complex)
- 📝 Implementation Guidance: Suggests architecture patterns and task decomposition
- 🔍 Content Analysis: Extracts key information, identifies dependencies, and detects technical requirements
This agent implements the Issue Triage workflow defined in 組織設計原則57ラベル体系.
🚀 Features
Label System Integration (57 Labels)
- 11 Categories:
kind/,priority/,status/,area/,complexity/,effort/,impact/,risk/,workflow/,epic/,meta/ - Smart Inference: Analyzes title, body, and context to suggest appropriate labels
- Hierarchical Label Management: Supports parent-child label relationships
- Label Validation: Ensures labels conform to Miyabi's taxonomy
Complexity Analysis
- 5-Level Scale: Trivial (P4), Simple (P3), Medium (P2), Complex (P1), Very Complex (P0)
- Effort Estimation: Hours, days, or weeks based on complexity
- Risk Assessment: Identifies potential blockers and dependencies
- Impact Scoring: Evaluates feature importance and user impact
Implementation Guidance
- Architecture Suggestions: Recommends crates, modules, and design patterns
- Task Decomposition: Breaks down complex issues into subtasks
- Dependency Detection: Identifies prerequisite issues and external dependencies
- Test Strategy: Suggests testing approach based on issue type
📦 Installation
Add to your Cargo.toml:
[]
= "0.1.0"
= "0.1.0"
= "0.1.0"
Or use cargo add:
🔧 Usage
As a Library
use ;
use BaseAgent;
use ;
async
With Miyabi CLI
# Analyze a single issue
# Batch analysis
# With custom GitHub repository
IssueAnalysis Output
🏗️ Architecture
miyabi-agent-issue
├── agent.rs # IssueAgent implementation (BaseAgent trait)
├── analysis.rs # IssueAnalysis types and complexity logic
└── lib.rs # Public API
Dependencies:
├── miyabi-agent-core # BaseAgent trait
├── miyabi-types # Task, AgentConfig, Result types
├── miyabi-core # Utilities
├── serde/serde_json # Serialization
├── tokio # Async runtime
└── chrono # Date/time handling
🧪 Testing
Run Tests
# All tests
# Integration tests only
# With output
Test Coverage
Example Test
async
🔗 Dependencies
Core Dependencies
- miyabi-agent-core - BaseAgent trait and shared agent utilities
- miyabi-types - Common types (Task, AgentConfig, Result)
- miyabi-core - Core utilities and error handling
External Dependencies
- tokio (v1.42) - Async runtime
- serde (v1.0) - Serialization framework
- serde_json (v1.0) - JSON support
- chrono (v0.4) - Date/time handling
- async-trait (v0.1) - Async trait support
- tracing (v0.1) - Structured logging
📚 Related Crates
Workflow Integration
- miyabi-agent-coordinator - W0: Orchestrates IssueAgent and other agents
- miyabi-agent-codegen - W2: Code generation (receives IssueAgent output)
- miyabi-agent-review - W4: Code review
- miyabi-agent-pr - W3: Pull request creation
Infrastructure
- miyabi-github - GitHub API integration
- miyabi-worktree - Git worktree management
- miyabi-cli - Command-line interface
📖 Documentation
- Label System: LABEL_SYSTEM_GUIDE.md - 57-label taxonomy
- Agent Specs: .claude/agents/specs/coding/issue-agent.md
- Entity-Relation Model: ENTITY_RELATION_MODEL.md
- Workflow: agents.md
🤝 Contributing
See CONTRIBUTING.md for development guidelines.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🔖 Version History
- v0.1.0 (2025-11-06) - Initial release
- 57-label system integration
- Complexity analysis (5 levels)
- Implementation guidance generation
- GitHub Issue integration