docs(phase-286): P2.2 完了 + P2.3 準備中の進捗記載

更新内容:
- Phase 286 README に P2.2  COMPLETE セクション追加
  - extractor helper化(extract_loop_increment_plan 統一)の内容
  - router helper化(lower_via_plan() 追加)の内容
  - 削減行数(~65行)と検証結果(quick 154 PASS, PoC 両方 PASS)

- 10-Now.md の Current Focus を Phase 286 P2.3 に更新
  - P2/P2.1/P2.2 の完了を時系列記載
  - Pattern9 (AccumConstLoop) を次の PoC 対象に決定

- CURRENT_TASK.md の Handoff(現状)を更新
  - P2.2 COMPLETE の記載(hygiene 内容 + 成果)
  - P2.3 準備中(Pattern9 PoC 準備)の1段落を追加

- pattern2-deferred.md 新規作成
  - Pattern2 の複雑性(break値再接続)を説明
  - 再開条件(after_bb PHI + compose::loop_ + Break wiring)を明文化
  - Phase 286 P2.2 として後続タスク化

関連 issues: Phase 286 JoinIR Line Absorption

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-26 02:03:34 +09:00
parent a824346e30
commit 6656098c95
4 changed files with 112 additions and 21 deletions

View File

@ -1,21 +1,29 @@
# Self Current Task — Now (main)
## Current Focus (next)
## Current Focus: Phase 286 P2.3 (Next PoC Target Selection)
**2025-12-25: Phase 288.1 完了**
- REPL session persistence + auto-display 実装完了
- AST rewrite 方式__repl.get/set ExternCall
- 154/154 smoke tests PASSfile mode 不変)
- 詳細: `docs/development/current/main/phases/phase-288/README.md`
Pattern1 → Plan/Frag SSOT 化まで完了。次は Pattern9 (AccumConstLoop) を Plan化 PoC の対象に決定。
**次の候補**:
1. **Phase 288.2+** (REPL UX improvements): Multi-line input, syntax highlighting, history
**2025-12-26: Phase 286 P2 完了**
- Pattern4 (Loop with Continue) → Plan/Frag SSOT 化 PoC 成功
- phi_bindings 導入で PHI dst 参照を正しく解決
- Integration test PASS (output: 6), quick smoke 154/154 PASS
**2025-12-26: Phase 286 P2.1 完了**
- Pattern1 (SimpleWhile) → Plan/Frag SSOT 化 PoC 成功
- Integration test PASS (return: 3), quick smoke 154/154 PASS
- Plan line routing: `route=plan strategy=extract pattern=Pattern1_SimpleWhile`
**2025-12-26: Phase 286 P2.2 完了**
- extractor helper化: `extract_loop_increment_plan``common_helpers.rs` に統一(重複排除 ~25行
- router helper化: `lower_via_plan()` 追加で Pattern6/7/4/1 の boilerplate 削減(~40行
- quick smoke 154/154 PASS 維持、Pattern1/4 PoC 両方 PASS
**次のステップ**:
1. **Phase 286 P2.3** (current): Pattern9 (AccumConstLoop) Plan化 PoC 準備
- 橋渡しパターン、粒度小さい → 次に Pattern8 へ
2. **Phase 284** (design-first): Return as ExitKind SSOT
- 入口: `docs/development/current/main/phases/phase-284/README.md`
- 手順: `docs/development/current/main/phases/phase-284/P0-INSTRUCTIONS.md`
3. **JoinIR/slot improvements**: Phase 285/286 継続
- Phase 285: Box lifecycle SSOT
- Phase 286: JoinIR line absorption
3. **Phase 288.2+** (REPL UX improvements): Multi-line input, syntax highlighting, history
## Recently Completed