feat(edgecfg): Phase 265 P0 - compose/verify 最小実装(入口SSOT迷子防止)

🎯 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-21 13:07:17 +09:00
parent 923a442326
commit ab1510920c
5 changed files with 174 additions and 20 deletions

View File

@ -137,6 +137,12 @@ Frag = { entry_block, exits: Map<ExitKind, Vec<EdgeStub>> }
- 合成関数: `seq`, `if_`, `loop_`, `cleanup`シグネチャのみ、中身TODO
- 検証: `verify_frag_invariants`(空実装)
次フェーズ(Phase 265+)で既存 pattern への適用を開始。
**Phase 265 P0 で最小実装完了**
- `compose::loop_()`: exit集合の分類実装配線なし、P1以降
- `verify_frag_invariants()`: 最小検証追加(デバッグガード付き)
- Pattern8適用: P0ではやらない偽Frag回避、P1から実戦投入
次フェーズPhase 265 P1+)で配線ロジック + Pattern8適用 + seq/if_ 実装へ。
現時点では既存 pattern6/7/8 や merge/EdgeCFG は未改変(入口だけ用意)。