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
@@ -0,0 +1,47 @@
from types import SimpleNamespace
from phase_z2_pipeline import (
_build_verbatim_cards_n_grid,
_frame_expansion_trace,
)
def _unit_with_groups(count: int):
raw = "\n\n".join(
f"- **Group {i}**\n - Item {i}"
for i in range(1, count + 1)
)
return SimpleNamespace(title="Title", raw_content=raw)
def test_task27_repeatable_frame_reports_covered_via_expand():
payload = _build_verbatim_cards_n_grid(
_unit_with_groups(6),
slot_count=4,
label_pattern="quadrant_{n}_label",
body_pattern="quadrant_{n}_body",
)
trace = _frame_expansion_trace("bim_issues_quadrant_four", payload)
assert trace["coverage_state"] == "covered_via_expand"
assert trace["expanded"] is True
assert trace["base_items"] == 4
assert trace["actual_items"] == 6
assert trace["font_policy"] == "no_font_shrink"
def test_task27_base_count_frame_reports_covered_native():
payload = _build_verbatim_cards_n_grid(
_unit_with_groups(4),
slot_count=4,
label_pattern="quadrant_{n}_label",
body_pattern="quadrant_{n}_body",
)
trace = _frame_expansion_trace("bim_issues_quadrant_four", payload)
assert trace["coverage_state"] == "covered_native"
assert trace["expanded"] is False
assert trace["actual_items"] == 4