林 駿甫 (Shunsuke Hayashi)
f5fe5f36cf
[調査] L-Step/Funnel/Analytics 利用状況レポート ( #85 )
...
Polaris (miyabi gate) で管理した調査タスク。
タグ251個、4段ファネル構造、自動化3件を確認。
改善点5件を特定(ログ不在、KPI統合、Polaris連携等)。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 09:44:24 +09:00
林 駿甫 (Shunsuke Hayashi)
98239fc3f3
[追加] miyabi gate init: Git/GitHub チェック + .gitignore 自動更新 ( #75 )
2026-04-10 09:28:47 +09:00
林 駿甫 (Shunsuke Hayashi)
9edc191907
[整備] MiyabiGate スキル: miyabi-gate と miyabi の区別を明記
...
- miyabi-gate gate ... が Polaris GATE CLI
- miyabi は別の hub CLI(使わない)
- Claude Code での正式運用フロー追記
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 09:23:57 +09:00
林 駿甫 (Shunsuke Hayashi)
0747fee394
[整備] Codex + Claude Code スキルを強化: バイナリパス明記 + 全コマンド例 + init
...
.codex/instructions.md: 全フロー + 全コマンド + exit code + 禁止事項
skills/miyabi-gate-cli/SKILL.md: バイナリパス + クイックスタート追加
バイナリ名: miyabi-gate (~/bin/miyabi-gate)
コマンド: miyabi-gate gate <subcommand>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 09:07:49 +09:00
林 駿甫 (Shunsuke Hayashi)
0c5dec9950
[追加] miyabi gate init: リポ初期化コマンド ( #74 )
2026-04-10 09:04:42 +09:00
林 駿甫 (Shunsuke Hayashi)
3e3149f7d1
[追加] Claude Code hooks: ファイル編集前にロック自動チェック ( #73 関連)
...
.claude/settings.json:
PreToolUse hook: Edit/Write 前に miyabi gate locks を確認
PostToolUse hook: git commit 後にロック状態をリマインド
scripts/hook-check-lock.sh:
他人がロック中のファイルへの書き込みを exit 2 でブロック
ロックなしファイルの編集は警告のみ(ブロックしない)
scripts/hook-post-bash.sh:
git commit 後にロック残数を表示
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 08:58:58 +09:00
林 駿甫 (Shunsuke Hayashi)
3744382d3d
[追加] assign 後に実行プランを自動表示 ( #73 )
2026-04-10 08:53:40 +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)
b56728ba22
[整備] Polaris 運用設定: CLAUDE.md + Codex + グローバルルール + dream cron
...
- CLAUDE.md に Polaris ルール追加(全エージェント必読)
- .codex/instructions.md 更新(Codex 用ルール)
- ~/.claude/rules/polaris-gate.md(グローバルルール)
- launchd: com.miyabi.polaris.dream(毎日 03:00 に学び抽出)
- logs/ ディレクトリ作成
エージェントが自然に miyabi gate を使えるように設定完了。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 08:15:24 +09:00
林 駿甫 (Shunsuke Hayashi)
a965bd3b62
[追加] verify_merge + escape hatch (force_unlock, manual_complete)
2026-04-10 08:11:29 +09:00
林 駿甫 (Shunsuke Hayashi)
e6ec2cab8d
[整備] IP保護強化: .gitattributes + Copilot学習除外 + シークレットスキャン
...
- DTP 核心コードに linguist-generated 属性(GitHub コード検索除外)
- project_memory/ も検索除外
- .env は gitignore 済み
- シークレットファイルのコミットなし確認済み
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 07:59:38 +09:00
林 駿甫 (Shunsuke Hayashi)
54c4d01701
[文書] 知的財産保護方針: クローズド + BSL 1.1 + 公開禁止
...
- npm / crates.io 公開禁止
- GitHub は Private のまま維持
- Sprint 5 の公開タスクを廃止
- エージェントへの外部送信禁止指示
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 07:57:56 +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)
fc6be84853
[文書] エッジケース設計決定書 ( #64 , #68 , #69 , #70 )
...
- #64 : ブランチ戦略(ブランチは切る、ワークツリーは不要)
- #68 : マルチマシン分断(単一マシン前提、CAS で衝突検出)
- #69 : ロック外ファイル(attach_context で事前通知)
- #70 : merge 変更検知(post-commit hook + 通知)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 07:44:58 +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)
36eec31fa1
[追加] 完了通知スクリプト: gate-notify.sh ( #71 )
...
scripts/gate-notify.sh:
VOICEBOX 音声通知
後続タスクの自動 dispatch 表示
Bus に complete 自動通知
skill-bus に record-run 自動記録
イベント: registered, assigned, merged, gate_rejected, error
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 07:17:57 +09:00
林 駿甫 (Shunsuke Hayashi)
f936605794
[追加] Bus ドッキング: gate-bus-bridge.sh + post-commit 統合 ( #61 )
...
scripts/gate-bus-bridge.sh:
register: miyabi gate register 後に Bus に auto enqueue
complete: miyabi gate merge 後に Bus に auto complete
sync: tasks.json の pending タスクを Bus に一括 enqueue
post-commit hook に Bus bridge を統合:
merge/完了コミットを検出 → Bus に complete 自動通知
Bus stats: 51 → 53 (sync テストで 2件 enqueue 成功)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 07:15:46 +09:00
林 駿甫 (Shunsuke Hayashi)
69867124f3
[追加] miyabi gni ask: 自然言語で GNI に質問できる CLI ラッパー ( #72 )
...
質問例:
miyabi-gni-ask "このリポの構造を教えて"
miyabi-gni-ask "protocol.rs は何に依存してる?"
miyabi-gni-ask "テストはいくつある?"
miyabi-gni-ask "ロックの状態を教えて"
miyabi-gni-ask "gate.rs の関数一覧"
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 07:12:51 +09:00
林 駿甫 (Shunsuke Hayashi)
7a4f72d44c
[整備] Bus データパスをシンボリックリンクで統合 ( #65 )
...
skills/prompt-request-bus → HAYASHI_SHUNSUKE/skills/prompt-request-bus
queue.jsonl (51件), dag-state.jsonl (11件), active-locks.jsonl (0件) に接続
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 07:07:34 +09:00
林 駿甫 (Shunsuke Hayashi)
553eed3b5d
[追加] Git hooks: pre-commit ロック検証 + post-commit Issue 自動更新 ( #66 )
...
scripts/pre-commit-lock-check.sh:
- コミット前にファイルロックを検証
- POLARIS_AGENT_ID 環境変数でエージェント識別
- ロック保持者以外の変更を exit 1 で拒否
scripts/post-commit-issue-update.sh:
- コミットメッセージから #N を抽出
- gh issue comment で自動更新
- cargo test 結果も添付
- バックグラウンド実行(コミットをブロックしない)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 07:04:07 +09:00
林 駿甫 (Shunsuke Hayashi)
ec1d25887e
[文書] Playbook v4: ビジョン全38要素をカバーする完全版
...
v3 から追加:
Sprint 3: 記憶アタッチメント (#58 ) + ドリーミング (#59 ) + Web ダッシュボード (#63 )
Sprint 4: シータサイクル (#60 ) + Obsidian (#62 )
Sprint 2: Bus データパス統合 (#65 ) + ブランチ戦略 (#64 )
新規 Issue:
#64 : 並列Codexブランチ戦略 (worktree + PR)
#65 : Bus データパス統合
ビジョン達成度推移:
現在 32% → Sprint1後 38% → Sprint2後 47% → Sprint3後 72% → Sprint4後 93%
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 06:54:20 +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)
ca1c734bc8
[文書] Sprint 3 に Web + TUI ダッシュボードを追加
...
3.6 Web ダッシュボード(人間用):
miyabi gate serve (localhost:4848)
DAG ノードグラフ、ファイルロック、タスク状態を可視化
自動リロード、スマホ対応
3.7 TUI ダッシュボード(エージェント用、Sprint 4 以降):
miyabi-tui に DTP タブ追加
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 06:40:10 +09:00
林 駿甫 (Shunsuke Hayashi)
1f9fb248cf
[文書] Phase C 修正計画 + GitHub Issue 6件起票 + ラベル設定
...
検証で発見した GATE の甘い部分 6 件:
#52 : Issue=0 で登録拒否されない
#53 : ブランチ名バリデーションがない
#54 : HIGH risk で承認なしに assign できる
#55 : merge 後にロックが解放されない
#56 : 不正 SHA の exit code が 2 だが 1 が正しい
#57 : 依存未解決の assign が exit 0
ラベル: dtp, gate-fix, phase-c を作成・付与
autorun/sprint-1-today/FIXES.md に修正計画を記載
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 06:36:57 +09:00
林 駿甫 (Shunsuke Hayashi)
6cc892347b
[追加] v1.0-dtp-beta リリース + Codex CLI 設定
...
- GitHub Release: v1.0-dtp-beta (prerelease)
- バイナリ: ~/bin/miyabi-gate にインストール
- .codex/instructions.md に miyabi gate CLI の使い方を追記
- Codex / Claude Code どちらからも使用可能
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 06:30:30 +09:00
林 駿甫 (Shunsuke Hayashi)
437b959ac3
[改善] clippy 警告 7件を解消
2026-04-10 06:28:46 +09:00
林 駿甫 (Shunsuke Hayashi)
cc2c6a90f4
[追加] Sprint 1-4 アクションプラン + miyabi gate CLI スキル
...
autorun/:
sprint-1-today/TASKS.md + GATE.md: verify_merge + escape hatch + E2E テスト
sprint-2-this-week/TASKS.md: OpenClaw ドッキング (hooks/sync/サブエージェント)
sprint-3-next-week/TASKS.md: 運用基盤 (Heartbeat/Telegram/VOICEBOX/Maestro)
sprint-4-this-month/TASKS.md: 品質ゲート多層化 (rust-ai-pipeline/proptest/mutants)
skills/miyabi-gate-cli/SKILL.md:
全11サブコマンドの使い方
Claude Code / Codex / OpenClaw からの呼び出し方法
exit code (0/1/2) とエージェントの対処方法
GATE フロー図
~/.claude/skills/miyabi-gate-cli → シンボリックリンク設定
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 06:28:15 +09:00
林 駿甫 (Shunsuke Hayashi)
15b7c98ac2
[文書] Polaris ビジョン文書 — 分散エージェント実行・記憶モデル設計
...
林駿甫の構想を読者が末尾まで読めば設計と運用の全体像を把握できるレベルで言語化。
3原則:
1. 記憶はアタッチメント(全部覚えさせない、ピンポイントで差し込む)
2. ジグ環境(手順+環境=再現性。誰がやっても同じ結果)
3. 二層SSOT(GitHub=事実の正、リポ=文脈の正、tasks.json=実行台帳)
仕組み:
- GATE チェーン(9つの検証関数、LLM の揺らぎを JSON で封じる)
- ファイルロック(lease+heartbeat、競合防止)
- DAG(依存関係の強制、飛ばせない)
- 記憶のライフサイクル(当日メモ→振り返り→昇格)
ジグ仮説:
十分に閉じた手順と観測可能なジグが揃えば、
その環境内では手順通りに実行可能な状態に近づける。
人格と記憶は別。ノウハウを与えられたら誰でもできるはず。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 06:24:02 +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)
4336e348b7
[文書] DTP 実装後ロードマップ (NEXT-STEPS.md)
...
直近: clippy修正 + Phase C (GitHub Evidence + E2E)
短期: OpenClawドッキング + Maestro登録 + npm CLI統合
中期: Heartbeatデーモン + tasks.json自動同期 + Telegram通知
長期: rust-ai-pipeline多層品質ゲート + miyabi-private移行 + OpenClaw公開
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 06:19:31 +09:00
林 駿甫 (Shunsuke Hayashi)
273c416344
feat: [日本語] DTP Phase B CLI 追加
2026-04-10 06:17:01 +09:00
林 駿甫 (Shunsuke Hayashi)
986d907e5b
feat: [日本語] DTP Phase A 基盤追加
2026-04-10 01:35:17 +09:00
林 駿甫 (Shunsuke Hayashi)
1bfc0f9643
[文書] OpenClaw ドッキングプラン — DTP × OpenClaw 統合設計
...
5つのドッキングポイントを特定:
1. exec-approvals ↔ gate.rs(承認ゲート)
2. hooks ↔ protocol.rs(イベント通知)
3. sessions-spawn ↔ orchestration.rs(サブエージェント起動)
4. memory ↔ store.rs(tasks.json 同期)
5. routing ↔ dag.rs(DAG レベル振り分け)
改善項目 8件:
#1-5: miyabi-cli-standalone 側(Phase A/B で対応可能)
#6-8: OpenClaw 側(Phase C 以降)
GNI で OpenClaw Gateway/CLI/Sessions/Memory/Hooks/Routing/Agents を
全て横断分析した結果に基づく。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 01:22:29 +09:00
林 駿甫 (Shunsuke Hayashi)
286cf5664a
[整備] tasks.json を v2 (3 Phase) に更新 + Phase A ロック
...
- tasks.json: v1 (8 Phase) → v2 (3 Phase: A/B/C)
- Phase A: implementing, codex-a@macbook-pro にロック
- file_locks: gate.rs, lock.rs, protocol.rs, store.rs → phase-a
- Phase B/C: pending(Phase A 完了待ち)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 01:19:43 +09:00
林 駿甫 (Shunsuke Hayashi)
39a5180b8e
[文書] DTP Playbook v2: 8 Phase → 3 Phase に圧縮
...
miyabi-core 既存資産(7,654行)を最大活用する方針に転換。
v1 の 1,780行新規 → v2 の 1,000行新規(既存 DAG/GitHub/承認/並列を流用)。
推定時間: 1〜1.5時間 → 25〜35分。
Phase A: gate.rs + lock.rs + store.rs + protocol.rs(4ファイル新規)
Phase B: CLI サブコマンド追加(既存 main.rs に追加)
Phase C: GitHub Evidence + E2E テスト
Codex Round 2 レビュー 3件も保存。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 01:15:24 +09:00
林 駿甫 (Shunsuke Hayashi)
146fcafc5e
[追加] DTP (Deterministic Task Protocol) 設計文書・指示書を移植
...
deterministic-task-protocol リポから miyabi-cli-standalone に統合:
- docs/dtp/: PLAYBOOK, PLAN, UML, GIT-RULES, Codex レビュー 3件
- autorun/: Phase 0-8 の TASKS/ASSIGNMENT/GATE + INDEX/HANDOFF/ROLLBACK
- project_memory/tasks.json: 全9 Phase の DAG SSOT
- skills/: polaris-ops, rust-llm-pitfalls
- .codex/instructions.md: Codex 設定
実装は miyabi-core に gate.rs, lock.rs, protocol.rs, store.rs を追加する方針。
既存の dag.rs, github.rs, approval.rs 等は変更不要。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 01:07:32 +09:00
林 駿甫 (Shunsuke Hayashi)
2d500c3654
feat(ci): add Copilot full automation pipeline
...
- copilot-assign.yml: GraphQL agentAssignment
- ai-review.yml: Claude Opus auto-review
- auto-merge.yml: CI + APPROVE squash merge
- decompose.yml: Issue decomposition + sub-issues
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 21:48:22 +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
6d5b55ad74
fix: TUIウィジェットの表示を修正
...
- diff表示の修正
- historyリストの修正
- markdown表示の修正
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-21 05:08:11 +09:00
Shunsuke Hayashi
aa2651465f
docs: Add comprehensive user manual in Japanese
...
Create detailed USER_MANUAL.md covering:
- Installation and setup
- Basic usage and commands
- TUI mode with keybindings
- Agent mode with examples
- Session management
- Configuration options
- Project rules (.miyabirules)
- Troubleshooting guide
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 01:55:38 +09:00
Shunsuke Hayashi
86cd2a122d
docs: Add 60-second setup and troubleshooting to README
...
- Add prominent quick start section at the top
- Add comprehensive troubleshooting section
- Cover common issues: API key, terminal errors, build errors
- Include debug mode instructions and help resources
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 01:51:38 +09:00
Shunsuke Hayashi
c3c3400bb2
fix: Resolve clippy warnings in dag.rs and workflow.rs
...
- Replace ok_or_else with ok_or for non-lazy error construction
- Derive Default for StepCondition and FailurePolicy enums
- Allow clippy::only_used_in_recursion for visit_step method
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 01:46:46 +09:00
Shunsuke Hayashi
22672b2d65
test(config): Add comprehensive config module tests
...
Add 16 new tests for configuration functionality:
- Path/directory helpers (default_path, default_dir)
- API key retrieval methods
- Sub-config defaults (ApiConfig, UiConfig, SessionConfig, ToolConfig)
- Save/load operations and roundtrip
- Edge cases (invalid TOML, empty file, nested dirs)
- Debug and Clone trait implementations
Total miyabi-core tests: 387 (was 371)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 01:33:43 +09:00
Shunsuke Hayashi
810eb43128
test(retry): Add comprehensive retry module tests
...
Add 12 new tests for retry functionality:
- RetryConfig constructors (new, aggressive, conservative)
- calculate_delay exponential backoff and capping
- retry_with_backoff behavior (exhaustion, zero attempts, success/error)
- Config traits (Clone, Debug)
Total miyabi-core tests: 371 (was 359)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 01:04:05 +09:00
Shunsuke Hayashi
671b04e4f8
test(hooks): Add comprehensive hooks module tests
...
- Add 24 new tests for HookEvent, HookAction, Hook, HookContext
- Test HookManager registration, enable/disable, get_hooks
- Test HooksConfig save/load
- Test hook execution with Log, Notify actions
- Test conditional hook execution
- Test variable expansion in hook messages
Core tests: 359 passed (+24 new)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 00:56:37 +09:00
Shunsuke Hayashi
2b27a4a667
test(rules): Add comprehensive rules module tests
...
- Add 23 new tests for Rule, AgentPreferences, MiyabiRules
- Test validation logic (version, name, suggestion, severity)
- Test file matching and pattern matching
- Test RulesLoader file discovery and loading
- Test serialization and error handling
Core tests: 335 passed (+23 new)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 00:54:50 +09:00
Shunsuke Hayashi
f740f07c23
test: Add comprehensive cache and error_policy tests
...
Cache tests (18 new):
- Test CacheEntry creation and expiration
- Test TTLCache insert, remove, clear, stats
- Test custom TTL, concurrent access
- Test LLMCacheKey and ApiCacheKey creation
- Test cache factories and serialization
Error policy tests (18 new):
- Test FallbackStrategy variants and defaults
- Test CircuitState equality
- Test CircuitBreaker default, reset, counters
- Test circuit transitions and thresholds
Core tests: 312 passed (52 new this phase)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 00:45:42 +09:00