林 駿甫 (Shunsuke Hayashi)
7976886bc5
test(core): add proptest property-based tests for lock and store
...
Adds proptest to dev-dependencies and 6 property-based tests:
- lock: acquire→release always clears, two tasks can't lock same file,
wrong owner renew always fails
- store: CAS rejects stale version, upsert is idempotent,
event replay is deterministic
945 tests all GREEN.
Closes #100
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 10:18:41 +09:00
林 駿甫 (Shunsuke Hayashi)
3560b6e702
[整備] OpenSSL 依存を排除: rustls-tls + vendored-openssl で全ノード対応
...
- reqwest: rustls-tls に切り替え(OpenSSL 不要)
- git2: vendored-openssl で静的リンク
- 全 Mac ノード (mainmini, macmini2, mini3) にバイナリ配布済み
- mini3 の dylib not found エラーを解消
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 08:24:42 +09:00
林 駿甫 (Shunsuke Hayashi)
986d907e5b
feat: [日本語] DTP Phase A 基盤追加
2026-04-10 01:35:17 +09:00
Shunsuke Hayashi
48dfa915c7
feat: Add hooks, workflow, MCP support and core modules
...
Phase 2: Hooks System
- Event-driven execution with HookEvent/HookAction types
- HookManager for registration and execution
Phase 3: Multi-Agent Workflow
- Workflow orchestration with dependency graphs
- WorkflowStep with conditions and retry support
Phase 4: MCP (Model Context Protocol) Support
- McpServer for external tool servers
- McpManager for multiple server management
Also includes core modules: cache, error_policy, feature_flags,
git, logger, plugin, retry, rules
662 tests passing
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 23:37:14 +09:00
Shunsuke Hayashi
25d358f96e
feat: Add config system, agent mode, and session management
...
- Add comprehensive Config system with TOML support (~/.miyabi/config.toml)
- Add Agent module for autonomous task execution with tool approval
- Add Session management for conversation persistence
- Extend CLI with new commands: init, sessions, agent, version
- Add CLI flags: --model, --max-tokens, --thinking, --config, --session
- Fix all clippy warnings (16 → 0)
- Improve code quality with collapsible pattern matching
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 22:22:11 +09:00
Shunsuke Hayashi
c82ad45b36
feat(core): implement Glob and Grep search tools
...
- Add GlobTool for finding files matching glob patterns
- Supports ** recursive patterns
- Configurable max results (default 1000)
- Base directory support
- Add GrepTool for searching file contents with regex
- Regex pattern matching
- Case insensitive option
- File glob filtering
- Directory recursive search
- Max matches limit (default 100)
- Add glob and regex dependencies to workspace
- Export GlobTool and GrepTool from lib.rs
- Update create_file_tool_registry (5 tools)
- Update create_standard_tool_registry (6 tools)
- Add 7 tests for Glob and Grep tools
Closes #27
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 18:25:00 +09:00
Shunsuke Hayashi
29d1335c7e
feat(core): implement file operation tools (Read, Write, Edit)
...
Add tools.rs with:
- ReadTool - Read files with offset/limit, line numbers
- WriteTool - Write files with auto directory creation
- EditTool - Replace text with replace_all option
- Security checks for path traversal
- Base directory configuration
- create_file_tool_registry() helper
- 10 unit tests with tempfile
Closes #25
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 18:07:51 +09:00
Shunsuke Hayashi
4440302e3b
feat(core): implement Tool trait and registry system
...
Add tool.rs with complete tool abstraction:
- Tool trait with async_trait for tool definitions
- ToolRegistry for managing and executing tools
- ParameterDef for declarative parameter schemas
- Automatic JSON schema generation
- Input validation before execution
- Integration with Anthropic tool format
- ToolOutput for structured results
- Comprehensive error types (NotFound, ValidationError, etc.)
- 12 unit tests covering registration, lookup, execution
Dependencies added: async-trait
Closes #24
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 17:58:31 +09:00
Shunsuke Hayashi
8d7a7a6099
feat(core): implement Anthropic API client with streaming
...
Add anthropic.rs with complete Claude API integration:
- AnthropicClient with builder pattern configuration
- Message types (Role, ContentBlock, Tool, etc.)
- Non-streaming message() method with retry logic
- Streaming message_stream() with SSE parsing
- Comprehensive error types (AuthError, RateLimited, ApiError)
- Exponential backoff for transient errors
- 8 unit tests for client and parsing
Dependencies added: reqwest (with stream), futures
Closes #19
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 17:56:33 +09:00
Shunsuke Hayashi
00d5d4d4e9
chore: Initialize Miyabi project with full planning
...
- Add .claude/ configuration (agents, commands, prompts, templates)
- Add comprehensive documentation:
- WBS.md - Work Breakdown Structure
- SPRINT_PLANNING.md - 4-sprint detailed plan
- OPERATION_PLAN.md - Execution procedures
- PRODUCT_SPEC.md - Product requirements
- PREPARATION_OPS.md - Pre-sprint checklist
- Add PlantUML diagrams (wbs-diagram, gantt-chart)
- Configure Miyabi (.miyabi.yml)
- Set up Rust workspace structure
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 17:45:08 +09:00