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>
This commit is contained in:
@ -2,9 +2,6 @@
|
||||
|
||||
## Current Focus (next)
|
||||
|
||||
- Phase 277 P0/P1(docs+validation): `docs/development/current/main/phases/phase-277/README.md`
|
||||
- PHI型推論の導線/責務/SSOT を docs に固定(Phase 275/276 の実装を「読める形」にする)
|
||||
- PHI順序(PHI → non-PHI → terminator)検証の fail-fast を強化
|
||||
- Phase 278(cleanup): `docs/development/current/main/phases/phase-278/README.md`
|
||||
- Phase 277 P2 の後方互換(旧PHI env var)を撤去して、1セットに収束させる
|
||||
- Phase 279(impl): `docs/development/current/main/phases/phase-279/README.md`
|
||||
@ -16,6 +13,7 @@
|
||||
|
||||
- Phase 275 P0(A1/B2/C2 coercion SSOT): `docs/development/current/main/phases/phase-275/README.md`
|
||||
- Phase 276 P0(quick wins / type_helper SSOT): `docs/development/current/main/phases/phase-276/README.md`
|
||||
- Phase 277 P1(PHI strict fail-fast): `docs/development/current/main/phases/phase-277/README.md`
|
||||
- Phase 277 P2(PHI env var 統合): `docs/development/current/main/phases/phase-277/README.md`
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user