|
|
939efbca9b
|
feat(llvm/phi): Phase 277 P1.5 - structured error handling + import organization
## Changes
- P1.5.1: import整理 - debug_helper imports をモジュールトップへ移動
- P1.5.2: PhiStrictError 箱化 - エラーハンドリング構造化 (error_helpers.py新規)
- P1.5.3: wiring.py で PhiStrictError を使用 - 3箇所のエラーパターン統一
## Benefits
- ✅ エラーメッセージ生成の一元化(SSOT化)
- ✅ Python import 慣習準拠(関数内import削除)
- ✅ エラーコンテキスト構造化(block_id/dst_vid/next_file)
## Testing
✅ strict=OFF - passes without errors
✅ strict=ON - passes without errors
✅ debug mode - verification connected and running
🤖 Generated with Claude Code
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
2025-12-22 14:59:24 +09:00 |
|