wip: phase_z2 evidence 파이프라인 + matching 실험(phase2~26) + 프론트 trace 패널 진행분 스냅샷

- src: phase_z2 composition/mapper/pipeline/placement_planner/retry, ai_fallback(prompts/schema/validate), mdx_text_atoms 신규
- Front: PipelineTracePanel 신규, FramePanel/SlideCanvas/Home/designAgentApi 등 갱신 + 테스트 4종 추가
- templates/phase_z2: catalog(component_expansion_registry, node_slot_mapping 신규), frames, families, slide_base 갱신
- tests/matching: phase2~26 매칭 실험 스크립트·리포트·온톨로지 전체 (미커밋 진행분)
- tests: b4_v4 evidence, task5~28.5 시리즈, regression(imp95 baseline) 등 신규 테스트 대량 추가
- docs/reference: MDX 구조 인벤토리, MDX→Frame 구조 계약 문서
- scripts: mdx 계약/parity/coverage/viewport 체크, gitea comment, run sync 유틸
- .gitignore: tmp*.json, chromedriver, .orchestrator, *.pkl, Front_test* 등 임시/스냅샷 제외

미완성 작업의 보존용 스냅샷 커밋 (2026-07-02)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-02 17:03:42 +09:00
co-authored by Claude Opus 4.8
parent 97b7833a1b
commit b836e79ee1
527 changed files with 673036 additions and 717 deletions
@@ -142,3 +142,56 @@ def test_internal_region_check_skipped_when_no_region_supplied() -> None:
},
)
validate_proposal(proposal, frame_contract=_FRAME_CONTRACT)
def test_design_adaptation_plan_accepts_structure_only_operations() -> None:
proposal = _make(
ProposalKind.DESIGN_ADAPTATION_PLAN,
{
"operations": [
{
"op": "increase_repeat_count",
"target": "pillars",
"count": 6,
},
{
"op": "compact_spacing",
"target": "frame",
"level": "medium",
},
],
"region_id": "zone_top.region_a",
},
)
validate_proposal(
proposal,
frame_contract=_FRAME_CONTRACT,
internal_region=_REGION,
)
def test_design_adaptation_plan_rejects_generated_text_fields() -> None:
proposal = _make(
ProposalKind.DESIGN_ADAPTATION_PLAN,
{
"operations": [
{
"op": "increase_repeat_count",
"target": "pillars",
"count": 4,
"label": "AI가 만든 라벨",
}
],
},
)
with pytest.raises(AiFallbackValidationError, match="content-bearing fields"):
validate_proposal(proposal, frame_contract=_FRAME_CONTRACT)
def test_design_adaptation_plan_requires_operations() -> None:
proposal = _make(ProposalKind.DESIGN_ADAPTATION_PLAN, {"region_id": "zone_top.region_a"})
with pytest.raises(AiFallbackValidationError, match="operations"):
validate_proposal(proposal, frame_contract=_FRAME_CONTRACT)