phase29aa(p1): rc insertion plan/apply refactor

This commit is contained in:
2025-12-27 16:02:32 +09:00
parent d32b72653c
commit b6e80943a3
5 changed files with 191 additions and 102 deletions

View File

@ -1,18 +1,17 @@
# Self Current Task — Now (main)
## Current Focus: Phase 29aa P0RC insertion safety expansion, design-first
## Current Focus: Phase 29aa P1RcPlan 2-stage, meaning-preserving
**2025-12-27: Phase 29aa P0 Readydesign-first**
- 目的: rc_insertion を CFG-aware に拡張する前提設計を固定誤release防止
- 入口: `docs/development/current/main/phases/phase-29aa/P0-RC_INSERTION_CFG_AWARE_DESIGN-INSTRUCTIONS.md`
- 次: Phase 29aa P1RcPlan 2-stage, meaning-preserving※実装反映待ち
**2025-12-27: Phase 29aa P1 完了**
- 目的: rc_insertion を RcPlan に閉じ込め、Plan→Apply 2-stage 化(挙動不変
- 入口: `docs/development/current/main/phases/phase-29aa/README.md`
**2025-12-27: Phase 29z P2 closeout**
- `src/mir/passes/rc_insertion.rs`: `Store` 上書き + `Store null`explicit drop+ Return終端cleanup の最小 release 挿入単一block・安全ガード
- 既定OFF: Cargo feature `rc-insertion-minimal`env var 新設なし)
- 検証: quick 154/154 PASS 維持 + `cargo run --bin rc_insertion_selfcheck --features rc-insertion-minimal`
- 入口: `docs/development/current/main/phases/phase-29z/README.md`
- 次: Phase 29aa P0CFG-aware design
- 次: Phase 29aa P2CFG-aware の最小ターゲット選定
**2025-12-27: Phase 29y P0 完了**
- docs-first SSOT finalizedABI/RC insertion/Observability
@ -20,7 +19,7 @@
- pilot 実装Phase 29y.1)の入口を固定
- Next steps実装タスク3つを明文化
- 入口: `docs/development/current/main/phases/phase-29y/README.md`
- **Next**: Phase 29zRC insertion minimal)または Phase 29xDe-Rust runtime候補
- **Next**: Phase 29aaCFG-aware RC insertionまたは Phase 29xDe-Rust runtime候補
**2025-12-27: Phase 287 完了**
- P0-P9完了big files modularization / facade pattern / SSOT establishment / closeout