Files
hakorune/CURRENT_TASK.md
nyash-codex 8a8c90fc74 docs(joinir): Phase 86 SSOT 追記完了 + Phase 88 準備
Phase 86 SSOT 追記(P0 完了):
- 10-Now.md: carrier_init_builder / error_tags 確立を追記
- CURRENT_TASK.md: P0→P1 繰り上げ、Done 節追加

Phase 88 準備:
- nyash_kernel/lib.rs: AOT 実行器で Ring0Context 初期化
- nyash.toml: プラグインパス正規化(plugins/...)
- auto_detect.conf: integration タイムアウト 120秒に延長

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-14 00:05:16 +09:00

2.9 KiB
Raw Blame History

Current Task

このファイルは「いま何に集中しているか」と「次にやり得る候補」だけを書く軽量ビューだよ。
詳細は docs/development/current/main/ 以下の各 Phase 文書と、JoinIR の SSOT である
docs/development/current/main/joinir-architecture-overview.md を参照してね。

最終更新: 2025-12-13

過去ログ(肥大化した旧 CURRENT_TASKはここに退避したよ:

  • docs/development/current/main/CURRENT_TASK_ARCHIVE_2025-12-13.md

今の状態Phase 7487 まで到達)

  • Scope/BindingId の段階移行dev-onlyは Pattern2/3/4 まで配線済みdual-path 維持)。
  • Pattern2 の promoted carriersDigitPos/Trimについて ExitLine 契約ConditionOnly を exit PHI から除外)を E2E で固定済み。
  • debug flag SSOT / DebugOutputBox 移行 / error tags 集約 / carrier init builder まで整備済み。
  • LLVM exe line SSOT 確立: tools/build_llvm.sh を使用した .hako → executable パイプライン標準化完了。
  • cargo test --release --lib は PASS を維持(退行なし)。

参照:

  • docs/development/current/main/10-Now.md
  • docs/development/current/main/phase73-scope-manager-design.md
  • docs/development/current/main/phase80-bindingid-p3p4-plan.md
  • docs/development/current/main/phase81-pattern2-exitline-contract.md
  • docs/development/current/main/phase78-85-boxification-feedback.md
  • docs/development/current/main/phase87-selfhost-llvm-exe-line.md

次の指示書(優先順位)

P0: JoinIR / Selfhost depth-2 の前進Phase 88 候補)

目的:

  • JsonParserBox の残り複合ループを JoinIR 対応する。
  • または selfhost .hako コンパイラの他部分Lexer/ASTBuilder 等)で JoinIR 適用範囲を拡大する。

やること(設計→実装の順):

  1. 候補ループの抽出JsonParserBox or Lexer/ASTBuilder
  2. Pattern 判定Pattern 1-4 のいずれか、または新 Pattern 提案)
  3. JoinIR lowering 実装 + E2E テスト

受け入れ基準:

  • 代表ケースが 1 コマンドで再現可能CI は増やさない、quick を重くしない)。

P1: Ownership/Relay runtime 対応の再開Phase 88 候補)

目的:

  • multihop/merge relay を “runtime でも” 受理できるところまで契約を伸ばすFail-Fast の段階解除)。

受け入れ基準:

  • dev-only 既定OFF のまま、既存ラインを壊さない。

Done: P0 SSOT の軽い追記docs-only

  • docs/development/current/main/10-Now.md の「Scope / BindingId」節に Phase 86 の到達点carrier init / error tagsを追記済み。
  • docs/development/current/main/joinir-architecture-overview.md の Phase 86 SSOT Modules は記載済み(追記不要)。

すぐ走らせる確認コマンド

  • cargo test --release --lib
  • NYASH_JOINIR_NORMALIZED_DEV_RUN=1 cargo test --features normalized_dev --test normalized_joinir_min -- --nocapture