MergeGate: deterministic execution protocol for AI-assisted development and the execution layer for GitNexus-style code intelligence https://github.com/ShunsukeHayashi/mergegate
Find a file
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
.claude chore: Initialize Miyabi project with full planning 2025-11-22 17:45:08 +09:00
.github/workflows chore: Add workflow weekly-report.yml 2025-11-22 17:07:21 +09:00
crates feat: Add config system, agent mode, and session management 2025-11-22 22:22:11 +09:00
docs chore: Initialize Miyabi project with full planning 2025-11-22 17:45:08 +09:00
.env.example chore: Initialize Miyabi project with full planning 2025-11-22 17:45:08 +09:00
.gitignore feat(diff_viewer): Add syntax highlighting for diff content 2025-11-22 18:39:27 +09:00
.miyabi.yml feat: Add config system, agent mode, and session management 2025-11-22 22:22:11 +09:00
Cargo.lock feat: Add config system, agent mode, and session management 2025-11-22 22:22:11 +09:00
Cargo.toml feat(core): implement Glob and Grep search tools 2025-11-22 18:25:00 +09:00
CLAUDE.md chore: Initialize Miyabi project with full planning 2025-11-22 17:45:08 +09:00
GOALS.md feat: Add config system, agent mode, and session management 2025-11-22 22:22:11 +09:00
LICENSE Initial commit 2025-11-22 17:06:52 +09:00
README.md feat: Add config system, agent mode, and session management 2025-11-22 22:22:11 +09:00

miyabi-cli-standalone

Autonomous development powered by Miyabi - AI-driven development framework.

Getting Started

Prerequisites

# Set environment variables
cp .env.example .env
# Edit .env and add your tokens

Installation

npm install

Development

npm run dev          # Run development server
npm run build        # Build project
npm test             # Run tests
npm run typecheck    # Check types
npm run lint         # Lint code

Project Structure

miyabi-cli-standalone/
├── src/              # Source code
│   └── index.ts     # Entry point
├── tests/           # Test files
│   └── example.test.ts
├── .claude/         # AI agent configuration
│   ├── agents/      # Agent definitions
│   └── commands/    # Custom commands
├── .github/
│   ├── workflows/   # CI/CD automation
│   └── labels.yml   # Label system (53 labels)
├── CLAUDE.md        # AI context file
└── package.json

Miyabi Framework

This project uses 7 autonomous AI agents:

  1. CoordinatorAgent - Task planning & orchestration
  2. IssueAgent - Automatic issue analysis & labeling
  3. CodeGenAgent - AI-powered code generation
  4. ReviewAgent - Code quality validation (80+ score)
  5. PRAgent - Automatic PR creation
  6. DeploymentAgent - CI/CD deployment automation
  7. TestAgent - Test execution & coverage

Workflow

  1. Create Issue: Describe what you want to build
  2. Agents Work: AI agents analyze, implement, test
  3. Review PR: Check generated pull request
  4. Merge: Automatic deployment

Label System

Issues transition through states automatically:

  • 📥 state:pending - Waiting for agent assignment
  • 🔍 state:analyzing - Being analyzed
  • 🏗️ state:implementing - Code being written
  • 👀 state:reviewing - Under review
  • ✅ state:done - Completed & merged

Commands

# Check project status
npx miyabi status

# Watch for changes (real-time)
npx miyabi status --watch

# Create new issue
gh issue create --title "Add feature" --body "Description"

Configuration

Environment Variables

Required variables (see .env.example):

  • GITHUB_TOKEN - GitHub personal access token
  • ANTHROPIC_API_KEY - Claude API key (optional for local development)
  • REPOSITORY - Format: owner/repo

GitHub Actions

Workflows are pre-configured in .github/workflows/:

  • CI/CD pipeline
  • Automated testing
  • Deployment automation
  • Agent execution triggers

Note: Set repository secrets at: https://github.com/ShunsukeHayashi/miyabi-cli-standalone/settings/secrets/actions

Required secrets:

  • GITHUB_TOKEN (auto-provided by GitHub Actions)
  • ANTHROPIC_API_KEY (add manually for agent execution)

Documentation

Support

License

MIT


Generated by Miyabi