phase29ap(p1): reduce joinir wrappers for pattern6/7

This commit is contained in:
2025-12-30 22:24:23 +09:00
parent ab81747d6a
commit e0c0e24196
6 changed files with 10 additions and 15 deletions

View File

@ -3,7 +3,7 @@
## Current Focus
- Phase: `docs/development/current/main/phases/phase-29ap/README.md`
- Next: Phase 29ap P1 (planned; see `docs/development/current/main/phases/phase-29ap/README.md`)
- Next: Phase 29ap P2 (planned; see `docs/development/current/main/phases/phase-29ap/README.md`)
## Gate (SSOT)

View File

@ -5,7 +5,7 @@ Scope: 「次にやる候補」を短く列挙するメモ。入口は `docs/dev
## Active
- Phase 29ap: `docs/development/current/main/phases/phase-29ap/README.md` (Next: P1 planned)
- Phase 29ap: `docs/development/current/main/phases/phase-29ap/README.md` (Next: P2 planned)
- JoinIR regression gate SSOT: `docs/development/current/main/phases/phase-29ae/README.md`
- CorePlan hardening (docs-first): `docs/development/current/main/phases/phase-29al/README.md`

View File

@ -25,8 +25,15 @@ Gate (SSOT):
- Outcome remains `Ok(None)` for non-matching cases.
- No new logs or error strings.
## P1: Reduce JoinIR wrappers (Pattern6/7) ✅
- Scope:
- Drop JoinIR-side Pattern6/7 wrapper modules (plan/composer is SSOT).
- Keep routing through single_planner → composer adopt.
- Guardrails:
- No change to pattern selection or logs.
## Next (planned)
- P1: Pattern6/7 JoinIR wrapper → composer entry only
- P2: Router pattern-name branching reduction (planner outcome + composer SSOT)
- P3: Facts/Feature expansion if needed

View File

@ -83,8 +83,6 @@ pub(in crate::mir::builder) mod pattern3_with_if_phi;
pub(in crate::mir::builder) mod pattern4_carrier_analyzer;
pub(in crate::mir::builder) mod pattern4_with_continue;
pub(in crate::mir::builder) mod pattern6_nested_minimal; // Phase 188.3: 1-level nested loop (Pattern1 outer + Pattern1 inner)
pub(in crate::mir::builder) mod pattern6_scan_with_init; // Phase 254 P0: index_of/find/contains pattern
pub(in crate::mir::builder) mod pattern7_split_scan; // Phase 256 P0: split/tokenization with variable step
pub(in crate::mir::builder) mod pattern8_scan_bool_predicate; // Phase 259 P0: boolean predicate scan (is_integer/is_valid)
pub(in crate::mir::builder) mod pattern9_accum_const_loop; // Phase 270 P1: accumulator const loop (橋渡しパターン)
pub(in crate::mir::builder) mod pattern_pipeline;

View File

@ -1,5 +0,0 @@
//! Phase 29ai P6: Re-export wrapper for Pattern6 extractor (compat)
#![allow(unused_imports)]
pub(crate) use crate::mir::builder::control_flow::plan::extractors::pattern6_scan_with_init::*;

View File

@ -1,5 +0,0 @@
//! Phase 29ai P6: Re-export wrapper for Pattern7 extractor (compat)
#![allow(unused_imports)]
pub(crate) use crate::mir::builder::control_flow::plan::extractors::pattern7_split_scan::*;