docs: Phase 123 DONE

Updates documentation to reflect Phase 123 completion.

**Updates**:
1. `docs/development/current/main/phases/phase-123/README.md`:
   - Marked all success criteria as complete
   - Added comprehensive DONE section with implementation details
   - Documented key design decisions (graceful degradation, fail-fast, box-first)
   - Added verification commands and next steps (Phase 124)

2. `docs/development/current/main/10-Now.md`:
   - Moved Phase 123 from "Next" to "2025-12-18: Phase 123 完了"
   - Added Phase 123 summary (Return literal, If minimal compare, graceful degradation)
   - Updated "Next" to Phase 124 (Normalized reads facts + Return(Variable))

3. `docs/development/current/main/01-JoinIR-Selfhost-INDEX.md`:
   - Added Phase 123 entry: "Normalized semantics (Return literal + If minimal compare, dev-only)"

**Phase 123 Summary**:
- P0: Docs complete, scope frozen 
- P1: Return(Integer literal) working 
- P2: Return(Variable) returns Ok(None) (graceful degradation) 
- P3: If(minimal compare) generates correct JoinIR 
- P4: Integration smoke passing 
- P5: Docs updated 

**Verification**:
- Unit tests: 8 passed
- Integration smoke: PASS
- Legacy tests: Still passing (graceful degradation confirmed)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
nyash-codex
2025-12-18 05:50:29 +09:00
parent b3cd7c0884
commit 4f0ffae70d
3 changed files with 124 additions and 13 deletions

View File

@ -80,9 +80,11 @@ JoinIR の箱構造と責務、ループ/if の lowering パターンを把握
- `docs/development/current/main/design/control-tree.md`
23. Phase 121: StepTree→Normalized Shadow Loweringif-only, dev-only
- `docs/development/current/main/phases/phase-121/README.md`
24. Phase 122: StepTree→Normalized 実生成if-only, dev-only / planned
24. Phase 122: StepTree→Normalized 実生成if-only, dev-only
- `docs/development/current/main/phases/phase-122/README.md`
25. Phase 104: loop(true) break-only digitsVM + LLVM EXE
25. Phase 123: Normalized semanticsReturn literal + If minimal compare, dev-only
- `docs/development/current/main/phases/phase-123/README.md`
26. Phase 104: loop(true) break-only digitsVM + LLVM EXE
- `docs/development/current/main/phases/phase-104/README.md`
26. Phase 107: json_cur find_balanced_* depth scanVM + LLVM EXE
- `docs/development/current/main/phases/phase-107/README.md`