docs: Phase 103 DONE (if-only parity smokes)

This commit is contained in:
nyash-codex
2025-12-17 17:41:10 +09:00
parent 99e1d24eaf
commit a5cec824c2
3 changed files with 11 additions and 5 deletions

View File

@ -1,5 +1,10 @@
# Self Current Task — Now (main) # Self Current Task — Now (main)
## 2025-12-17Phase 103 P0 完了 ✅
**Phase 103: if-only regression baseline**
- if-onlyloop無しの nested if + merge を fixture 化し、VM/LLVM EXE parity を integration smoke で固定
## 2025-12-17Phase 100 P3 完了 ✅ ## 2025-12-17Phase 100 P3 完了 ✅
**Phase 100 P3: String Accumulator Captures** **Phase 100 P3: String Accumulator Captures**

View File

@ -8,10 +8,6 @@ Related:
## 直近JoinIR/selfhost ## 直近JoinIR/selfhost
- **Phase 103: if-only regression baselineVM + LLVM EXE**
- ねらい: loop が無い `if`merge/return を含む)を VM/LLVM EXE parity で固定し、ループ系の回帰を早期検知する。
- 入口: `docs/development/current/main/phases/phase-103/README.md`
- **real-app loop regression の横展開VM + LLVM EXE** - **real-app loop regression の横展開VM + LLVM EXE**
- ねらい: 実コード由来ループを 1 本ずつ最小抽出して fixture/smoke で固定する(段階投入)。 - ねらい: 実コード由来ループを 1 本ずつ最小抽出して fixture/smoke で固定する(段階投入)。
- 現状: Phase 102read_quotedまで固定済み。 - 現状: Phase 102read_quotedまで固定済み。

View File

@ -50,6 +50,12 @@ Related:
- `bash tools/smokes/v2/profiles/integration/apps/phase97_next_non_ws_llvm_exe.sh` が PASS前提不足は SKIP - `bash tools/smokes/v2/profiles/integration/apps/phase97_next_non_ws_llvm_exe.sh` が PASS前提不足は SKIP
- 新しい環境変数は追加しない(既存の `HAKO_JOINIR_STRICT` などで制御)。 - 新しい環境変数は追加しない(既存の `HAKO_JOINIR_STRICT` などで制御)。
## DONEP0
- Fixture: `apps/tests/phase103_if_only_merge_min.hako`expected: `2`
- VM smoke: `tools/smokes/v2/profiles/integration/apps/phase103_if_only_vm.sh`
- LLVM EXE smoke: `tools/smokes/v2/profiles/integration/apps/phase103_if_only_llvm_exe.sh`
## P1任意: if-only early return ## P1任意: if-only early return
if 文の then/else 内で return する形merge 不要 or merge 途中で returnを 1 本追加して、Boundary/ExitLine の退行を拾いやすくする。 if 文の then/else 内で return する形merge 不要 or merge 途中で returnを 1 本追加して、Boundary/ExitLine の退行を拾いやすくする。
@ -66,4 +72,3 @@ if 文の then/else 内で return する形merge 不要 or merge 途中で re
- 進め方(箱理論): - 進め方(箱理論):
- “新パターン増殖” ではなく、**Pattern5 系infinite loop family**として扱う方針を先に決める。 - “新パターン増殖” ではなく、**Pattern5 系infinite loop family**として扱う方針を先に決める。
- まずは fixture + shape guard + Fail-Fast で段階投入し、VM/LLVM parity を固めてから lowering を広げる。 - まずは fixture + shape guard + Fail-Fast で段階投入し、VM/LLVM parity を固めてから lowering を広げる。