docs: Phase 132 DONE - loop(true) + post-loop complete
Update documentation to mark Phase 132 as complete: **10-Now.md**: - Add Phase 132 completion entry (P0/P0.5/P1/R0) - Document what was solved: - loop(true) + post VM/LLVM EXE parity (exit code 3) - Continuation contracts SSOT化 - merge が by-name 推測禁止 - Entry link: docs/development/current/main/phases/phase-132/README.md **phase-132/README.md**: - Update Status: IN PROGRESS → DONE ✅ - Add Current Status section with P0/P0.5/P1/R0 completion details - Document SSOT achievements: - JoinInlineBoundary::default_continuations() - src/mir/builder/control_flow/joinir/merge/README.md (merge contracts) - src/mir/builder/control_flow/joinir/legacy/README.md (removal conditions) - Test placement: continuation_contract.rs - Test results: All Phase 131/132/97 smokes PASS Phase 132 Summary: - P0: post_k generation (loop_true_break_once.rs extension) - P0.5: Suffix router for StepTree (post statements visibility fix) - P1: k_exit continuation classification fix (structural check) - R0: Infrastructure refactoring (SSOT + legacy isolation + docs) Key achievements: - VM/LLVM EXE parity for loop(true) + post-loop - Continuation contracts SSOT and documented - Legacy code path isolated for future removal - Code quality improved (warnings reduced) Related: Phase 132 loop(true) + post-loop complete implementation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@ -35,6 +35,29 @@
|
||||
- Unit tests: 1155/1155 PASS
|
||||
- 入口: `docs/development/current/main/phases/phase-129/README.md`
|
||||
|
||||
## 2025-12-18:Phase 132 完了 ✅
|
||||
|
||||
**Phase 132: loop(true) break-once + post-loop minimal(dev-only)**
|
||||
- 目的: Phase 131 を拡張し、ループ後の最小 post 計算まで Normalized shadow で固定(PHI-free 維持)
|
||||
- 仕様:
|
||||
- `loop(true) { x = 1; break }; x = x + 2; return x` は exit code `3`(VM/LLVM EXE parity)
|
||||
- post_k continuation で post-loop statements を処理
|
||||
- 実装:
|
||||
- **P0**: post_k 生成(loop_true_break_once.rs 拡張)
|
||||
- **P0.5**: StepTree が post-loop statements を保持(suffix router box 追加)
|
||||
- **P1**: k_exit continuation 分類修正(構造ベースの判定)
|
||||
- **R0**: Continuation SSOT 一本化 + legacy 隔離 + docs 整備
|
||||
- SSOT:
|
||||
- `JoinInlineBoundary::default_continuations()` - continuation ID の集約
|
||||
- `src/mir/builder/control_flow/joinir/merge/README.md` - merge 契約明文化
|
||||
- `src/mir/builder/control_flow/joinir/legacy/README.md` - legacy 撤去条件
|
||||
- テスト配置: `src/mir/builder/control_flow/joinir/merge/tests/continuation_contract.rs`
|
||||
- 検証:
|
||||
- `bash tools/smokes/v2/profiles/integration/apps/phase132_loop_true_break_once_post_add_vm.sh`
|
||||
- `bash tools/smokes/v2/profiles/integration/apps/phase132_loop_true_break_once_post_add_llvm_exe.sh`
|
||||
- 回帰: Phase 131/97 維持確認(全 PASS)
|
||||
- 入口: `docs/development/current/main/phases/phase-132/README.md`
|
||||
|
||||
## 2025-12-18:Phase 131 P2 完了 ✅
|
||||
|
||||
**Phase 131: loop(true) break-once Normalized(dev-only)**
|
||||
|
||||
Reference in New Issue
Block a user