feat(runtime): Phase 100 user-facing 出力の ConsoleService 完全統一 - 29箇所完了
## Phase 100 完了項目 - ✅ selfhost.rs: 6箇所 → console_println! - ✅ llvm.rs: 23箇所(主要メッセージ) → console_println! - ✅ 全テストPASS(core_services: 11, plugin_host: 7) - ✅ ドキュメント更新完了 ## 置き換え箇所(29箇所) **selfhost.rs**(6箇所): - Line 57: CoreInitError 出力 - Lines 194/363/418/519/570: Result 出力 **llvm.rs**(23箇所、ユーザー向けメッセージのみ): - エラーメッセージ(❌): ファイル読み込み、using/parse エラー - 成功メッセージ(📊): MIR コンパイル成功 - LLVM/harness 関連エラー - 実行結果出力 - Mock LLVM メッセージ ## 意図的に除外(Phase 101 対象) - llvm.rs の `[joinir/llvm]`, `[parse/context]` デバッグログ - hack_check: .hako アプリ(Nyash言語の ConsoleBox 経由) - bench.rs: テスト・性能表示(dev-debug) - mir.rs: 内部 MIR ダンプ(dev-debug) ## 技術的成果 - selfhost/LLVM runner のユーザー向けメッセージを ConsoleService に統一 - Phase 99 で確立したログ/出力ポリシーを実装レベルで実現 - デバッグログとユーザー向け出力の明確な分離 - Graceful Degradation パターンの実用確認 ## 統計 - Phase 98: 7箇所 - Phase 100: 29箇所 - **合計**: 36箇所で ConsoleService 経由に移行完了 - 残り user-facing: ~330箇所(Phase 101-102 で段階的拡張) ## ドキュメント更新 - logging_policy.md: Section 7 追加(Phase 100 実装完了記録) - ring0-inventory.md: Category 1 更新(Phase 100 進捗反映) - CURRENT_TASK.md: Phase 85 セクション追記 ## Phase 85-100 総括 - Phase 95.5-97: CoreServices 6個完全実装(String/Integer/Bool/Array/Map/Console) - Phase 98-98.5: ConsoleService 代表パス拡張(7箇所) - Phase 99: ログ/出力ポリシー確定(3層設計文書化) - Phase 100: user-facing 出力の ConsoleService 化(29箇所) ✅ 次: Phase 101(dev-debug/test/internal 出力の整理、Ring0.log 活用) 🎊 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -68,7 +68,15 @@ This document provides an inventory of Ring0.log infrastructure and categorizes
|
||||
|
||||
**Phase 98 Progress**: 7 locations completed (representative paths)
|
||||
|
||||
**Phase 100-101 Plan**: Gradual expansion
|
||||
**Phase 100 Progress**: 29 locations completed (selfhost + LLVM runner)
|
||||
- selfhost.rs: 6箇所(CoreInitError, Result 出力)
|
||||
- llvm.rs: 23箇所(エラー、成功メッセージ、実行結果)
|
||||
|
||||
**合計完了**: Phase 98 (7) + Phase 100 (29) = **36箇所**
|
||||
|
||||
**残り**: ~330箇所(その他の runner/modes/*)
|
||||
|
||||
**Phase 101-102 Plan**: 段階的拡張継続
|
||||
|
||||
**Example Locations**:
|
||||
- `src/runner/` - CLI entry points
|
||||
|
||||
Reference in New Issue
Block a user