Commit graph

23 commits

Author SHA1 Message Date
林 駿甫 (Shunsuke Hayashi)
71ca903234 feat(cli): add full command reference to gate guide
Adds detailed reference for all 21 subcommands with arguments,
options, and usage examples. Agents can run `miyabi-gate gate guide`
to get both the workflow overview and per-command documentation.

Closes #113

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 10:50:48 +09:00
林 駿甫 (Shunsuke Hayashi)
602ccac22f feat(cli): add gate guide command for agent onboarding
Prints a complete workflow guide that any AI agent can read to
understand how to use Polaris: rules, step-by-step workflow,
context attachments, emergency commands, exit codes, and
quality checks.

Closes #111

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 10:48:01 +09:00
林 駿甫 (Shunsuke Hayashi)
9bf1b5e24c fix(core): address review findings F1-F4 + add 10 missing tests
F1: Add depth limit (max 5) to find_note_by_name and
    collect_obsidian_matches to prevent stack overflow on large vaults
F2: Fix bus_enqueue to use store_path parent instead of cwd
F3: Fix update_skill_md_from_patterns to preserve sections after
    the auto-generated marker instead of truncating them
F4: Fix extract_wikilinks to consume chars after | in [[Note|Display]]
    so subsequent links parse correctly

Tests added:
- extract_wikilinks: basic, display text, empty/broken
- find_note_by_name: depth limit enforcement
- resolve_wikilink: direct, nested, non-existent
- build_rejection_section: empty, sorted by count desc
- update_skill_md_from_patterns: append, replace preserving following sections

955 tests GREEN, clippy zero.

Closes #109

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 10:36:44 +09:00
林 駿甫 (Shunsuke Hayashi)
61cdee2db8
Merge pull request #98 from Miyabi-G-K/feature/issue-97-dashboard-stats
feat(dashboard): completion stats with progress bar
2026-04-10 10:16:18 +09:00
林 駿甫 (Shunsuke Hayashi)
f929c5b6af feat(dashboard): add completion stats panel with progress bar
Adds a Completion Stats panel to the Polaris web dashboard showing:
- Completion percentage with large display
- Visual progress bar (green)
- Breakdown of done/active/pending/total tasks

Closes #97

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 10:12:14 +09:00
林 駿甫 (Shunsuke Hayashi)
d52ac2fe12 feat(cli): auto-enqueue to skill-bus on register
After successful task registration, automatically append a queued
entry to skill-runs.jsonl. This connects the Polaris gate workflow
to the skill-bus tracking system.

Use --no-bus to skip auto-enqueue when not needed.

Closes #93

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 10:10:18 +09:00
林 駿甫 (Shunsuke Hayashi)
17ad33a96a [追加] Sprint 5: Issue自動作成 + git同期 + Telegram + Heartbeat + Obsidian検索 (#77-81) 2026-04-10 09:48:49 +09:00
林 駿甫 (Shunsuke Hayashi)
98239fc3f3 [追加] miyabi gate init: Git/GitHub チェック + .gitignore 自動更新 (#75) 2026-04-10 09:28:47 +09:00
林 駿甫 (Shunsuke Hayashi)
0c5dec9950 [追加] miyabi gate init: リポ初期化コマンド (#74) 2026-04-10 09:04:42 +09:00
林 駿甫 (Shunsuke Hayashi)
3744382d3d [追加] assign 後に実行プランを自動表示 (#73) 2026-04-10 08:53:40 +09:00
林 駿甫 (Shunsuke Hayashi)
a965bd3b62 [追加] verify_merge + escape hatch (force_unlock, manual_complete) 2026-04-10 08:11:29 +09:00
林 駿甫 (Shunsuke Hayashi)
59be218b20 [整備] ライセンスを MIT → BSL 1.1 に変更
Licensor: 合同会社みやび (Miyabi G.K.)
非商用・教育目的のみ無料。商用利用は別途ライセンス。
4年後に Apache 2.0 に自動移行。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 07:50:40 +09:00
林 駿甫 (Shunsuke Hayashi)
0588d41799 [追加] Web ダッシュボード: miyabi gate serve (#63) 2026-04-10 07:42:21 +09:00
林 駿甫 (Shunsuke Hayashi)
70cd906776 [追加] ドリーミング: event log → 学び抽出 (#59) 2026-04-10 07:29:03 +09:00
林 駿甫 (Shunsuke Hayashi)
a1febb67eb [修正] GATE 0+5: Issue=0 拒否 + ブランチ名バリデーション (#52, #53) 2026-04-10 06:51:39 +09:00
林 駿甫 (Shunsuke Hayashi)
58c8bf71e1 [修正] exit code: GATE拒否=1, 入力エラー=2 に統一 (#56, #57) 2026-04-10 06:48:55 +09:00
林 駿甫 (Shunsuke Hayashi)
89d2ab3c12 [文書] DTP Playbook v3 完全版 — Sprint 1〜5 の全タスク網羅
Sprint 1 (今日): clippy修正 + Phase C + GNI確認
Sprint 2 (今週): OpenClawドッキング (JSON標準化/hooks/memory sync/サブエージェント)
Sprint 3 (来週): 運用基盤 (Heartbeat/git自動同期/Telegram/VOICEBOX/Maestro)
Sprint 4 (今月): 品質ゲート多層化 (rust-ai-pipeline/proptest/cargo-mutants)
Sprint 5 (来月): 移行+公開 (TS→Rust/OpenClawプラグイン/npm配布)

各Sprint: DAG依存/承認ゲート/ロールバックポイント定義済み

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 06:21:31 +09:00
林 駿甫 (Shunsuke Hayashi)
273c416344 feat: [日本語] DTP Phase B CLI 追加 2026-04-10 06:17:01 +09:00
林 駿甫 (Shunsuke Hayashi)
dfdd52ec1d feat(collab): add miyabi collab subcommand for Collaborator canvas control
Add `miyabi collab` subcommand (Phase 3 of Miyabi canvas integration):
  miyabi collab list [--json] [--type TYPE] [--count]
  miyabi collab add <type> [--file PATH] [--pos x,y] [--size w,h] [--idempotent]
  miyabi collab rm <tile_id>
  miyabi collab move <tile_id> --pos x,y
  miyabi collab resize <tile_id> --size w,h
  miyabi collab viewport [--pan x,y] [--zoom 1.0]
  miyabi collab status

Delegates to ~/.local/bin/collab (collab CLI v0.2.0+).
Error handling includes installation hint on binary not found.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28 10:06:15 +09:00
Shunsuke Hayashi
0e37360f8b feat: add OpenClaw integration module to miyabi-core
- Add openclaw.rs module for cluster communication
- Expand CLI with OpenClaw-related commands (264 lines)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 06:35:05 +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
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