phase29ap(p11): release adopt nested minimal coreplan

This commit is contained in:
2025-12-31 07:56:14 +09:00
parent efe5e2deed
commit 1ceadf361f
11 changed files with 120 additions and 4 deletions

View File

@ -3,7 +3,7 @@
## Current Focus
- Phase: `docs/development/current/main/phases/phase-29ap/README.md`
- Next: Phase 29ap P11 (planned; see `docs/development/current/main/phases/phase-29ap/README.md`)
- Next: Phase 29ap P12 (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: P11 planned)
- Phase 29ap: `docs/development/current/main/phases/phase-29ap/README.md` (Next: P12 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

@ -34,7 +34,7 @@ Related:
## 1.1 Current (active)
- Active phase: `docs/development/current/main/phases/phase-29ap/README.md`
- Next step: Phase 29ap P11 (planned)
- Next step: Phase 29ap P12 (planned)
## 2. すでに固めた SSOT再発防止の土台

View File

@ -21,6 +21,7 @@ Goal: JoinIR の最小回帰セットを SSOT として固定する。
- Pattern6 (strict shadow, VM): `phase29ao_pattern6_strict_shadow_vm`
- Pattern6 (release adopt, VM): `phase29ao_pattern6_release_adopt_vm`
- Pattern6: `phase29ab_pattern6_*`
- Pattern6 (nested minimal release adopt, VM): `phase29ap_pattern6_nested_release_adopt_vm`
- Pattern6 (nested minimal strict shadow, VM): `phase29ap_pattern6_nested_strict_shadow_vm`
- Pattern7 (strict shadow, VM): `phase29ao_pattern7_strict_shadow_vm`
- Pattern7 (release adopt, VM): `phase29ao_pattern7_release_adopt_vm`

View File

@ -0,0 +1,29 @@
# Phase 29ap P11: Pattern6_NestedLoopMinimal release adopt (CorePlan default)
## Goal
- Route nested minimal loops to CorePlan composer v2 in non-strict/release.
- Keep strict/dev tag and fail-fast behavior unchanged.
- Preserve legacy fallback when facts are missing.
## Steps
1. Release adopt path
- Use the same nested facts + composer v2 as strict/dev.
- Only adopt when facts are present; otherwise fall back to legacy.
- No new tags/logs in release.
2. Regression gate
- Add a release adopt smoke for `phase1883_nested_minimal` (exit code 9).
- Ensure no shadow-adopt tag is printed.
3. Docs
- Mark P11 done in `phase-29ap/README.md`.
- Advance Now/Backlog/roadmap to next planned step.
## Verification
- `cargo build --release`
- `./tools/smokes/v2/run.sh --profile quick`
- `./tools/smokes/v2/profiles/integration/joinir/phase29ae_regression_pack_vm.sh`

View File

@ -118,6 +118,16 @@ Gate (SSOT):
- Release/default behavior remains unchanged (legacy JoinIR path stays).
- Gate stays green.
## P11: Pattern6_NestedLoopMinimal release adopt ✅
- Scope:
- Non-strict/release adopts the nested minimal CorePlan v2 when facts are present.
- Strict/dev tag and fail-fast behavior remain unchanged.
- Legacy fallback remains for non-matches.
- Guardrails:
- No new logs/tags in release.
- Gate stays green.
## Next (planned)
- P11: Pattern6_NestedLoopMinimal release adopt (TBD; keep strict gate green)
- P12: Decide final removal of legacy nested loop entry (gate-first)