MDX 03/04/05 작업 인사이트 정리 — 파이프라인 반영 axis 8 #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
개요
mdx 03, 04, 05 슬라이드 생성 작업을 진행하며 발견한 Phase Z-2 pipeline 의 한계 + 향후 정식 반영할 인사이트 8 axis. 각 axis 다음 형식으로 정리 :
I1. V4 fallback chain max_rank 정책 검토 (현 3 → 동적)
[origin]
mdx 05-2 슬라이드 생성 시 발견.
reject+ rank 1~9 catalog 미등록three_parallel_requirements)max_rank=3hardcoded 라 등록 frame 도달 못함 →chain_exhausted→ composition planner 가 unit 생성 안 함 → 05-2 zone filtered[pipeline stage]
src/phase_z2_pipeline.py의lookup_v4_match_with_fallback(Step 5 → Step 6 composition planner 의 frame selector)[현재 동작 vs 의도]
max_rank=3hardcoded. rank 1~3 검토. 그 안 등록 frame 없으면 unit 생성 안 함.[개선 방안]
max_rank의미 명확화 : 의미 신뢰 범위 / catalog fallback 검색 범위usable ≥ N → 3/ 미만 → 32)PHASE_Z_MAX_RANK정식 정책화[예시]
mdx 05-2 V4 ranking :
I2. label priority + confidence sort 일관성 (frontend / backend)
[origin]
mdx 04 frame override 시도 시 발견.
bim_dx_comparison_table, reject, conf=0.815) 자동 선택 → process_product_two_way (light_edit, conf=0.771) 가 가려짐.[pipeline stage]
lookup_v4_match_with_fallback의 judgments iterate 순서designAgentApi.ts의frame_candidatessort[현재 동작 vs 의도]
[개선 방안]
lookup_v4_match_with_fallback의 judgments sort 정식 추가RANKING_SORT_POLICY변수 또는 catalog[예시]
mdx 04-2 V4 :
I3. frame-aware AI 자동 보완 layer (IMP-31 활성화)
[origin]
mdx 04-1 / 04-2 / 05-2 처리 시 발견.
[pipeline stage]
phase_z2_mapper.py의 builder +templates/phase_z2/families/*.htmlpartial[현재 동작 vs 의도]
[개선 방안]
AI-assisted frame-aware adaptation — restructure / reject routes) 활성화feedback_ai_isolation_contract) 준수 — 콘텐츠 단위 또는 restructuring proposal 만, mdx 재작성 X[예시]
I4. slide-level CSS override 정식 mechanism
[origin]
mdx 04 default 슬라이드 의 zone 1 빈공간 / 04-2 bullet 간격 조정 시 발견.
<style>post-process 한 file (mdx04_b3_v29_custom) 도 ad-hoc[pipeline stage]
[현재 동작 vs 의도]
[개선 방안]
--override-slide-css '<style>...</style>'또는--slide-css-file path/to/override.cssslide_overrides.css:같은 field 정식 인식</head>직전에 injectslideOverrideCssprop)[예시]
I5. frame contract default text 정책
[origin]
mdx 04-2 의 frame
bim_dx_comparison_table사용 시 발견.col_a_label_default: "BIM"/col_b_label_default: "DX"가 mdx 에 없는 텍스트 강제 표시[pipeline stage]
phase_z2_mapper.py의_resolve_title+ 각 builder 의 default 처리[현재 동작 vs 의도]
[개선 방안]
*_label_default= visual placeholder (figma 원본 텍스트 보존). 콘텐츠 매핑 시 자동 disable.[예시]
I6. stage0 normalizer 통합 (raw HTML / JSX mdx 추출 한계)
[origin]
mdx 04-1 (raw HTML 카드 5개) 와 mdx 05-1 (빨간 박스 raw HTML) 처리 시 발견.
<div><ul><li>안 텍스트 추출 못함[pipeline stage]
src/phase_z2_pipeline.py의parse_mdx+_stage0_chained_adapterproject_phase_z_normalize_gap— stage0 normalizer 미통합[현재 동작 vs 의도]
parse_mdx가 raw markdown 만 인식. raw HTML / JSX block 의 텍스트 무시.[개선 방안]
mdx_normalizer(이미 존재하지만 미통합) 정식 활성화<div><ul><li>→ markdown bullet 으로 변환 (텍스트 보존)<details><summary>popup 패턴 별 처리 (Layer A → popup slot)PHASE_Z_STAGE0_ADAPTER_ENABLED정식 default ON[예시]
I7. frame 의 figma 원본 1:1 재현 (figma_to_html_agent 룰 준수)
[origin]
mdx 04-2 rank 2 (
bim_dx_comparison_table) 작업 시 발견.[pipeline stage]
templates/phase_z2/families/*.html의 모든 frame partial[현재 동작 vs 의도]
figma_to_html_agent의 PROCESS.md 룰 (수학적 계산 / bottom-up / 색상 1:1) 준수. figmaindex.html색상 / gradient / structure 모두 1:1 재현 후 보완.[개선 방안]
figma_to_html_agent/blocks/<frame_id>/index.html의 정확한 CSS extract 의무화[예시]
I8. frame ranking 의 label 별 UI 시각 차별
[origin]
mdx 04 / 05 의 frame 선택 UI 시 발견.
[pipeline stage]
[현재 동작 vs 의도]
[개선 방안]
APPLICATION_MODE_BY_V4_LABEL의 매핑 정보 frontend 에 forward (이미 step09 에서 가능)[예시]
종합
8 axis 모두 mdx 03 / 04 / 05 의 실제 작업에서 발견. pipeline 의 hardcoded default / 미구현 mechanism / 정책 명문화 필요. 보고용 단발성 mitigation (env toggle / Claude 수동 대행) 으로 임시 해결 중 — 정식 axis 정리 + 정책 결정 필요.
본 issue 는 정리 / 검토용. 각 axis 별 별도 implementation issue 분리 결정은 사용자 결정.
Kyeongmin referenced this issue2026-05-21 10:13:52 +09:00
분해 완료 — 14 신규 IMP + 흡수 + 후순위 매핑 (2026-05-21)
#43 axis 8 → 신규 IMP 매핑 표
closed: 8 axis 모두 분해 (7) 또는 후순위 결정 (1). 정리 / 검토용 source 이슈로서의 본래 목적 달성.
동반 14 신규 IMP 전체 (Wave 1 + Wave 2)
overflow 처리 정정된 순서 (모든 chain IMP 의 가드)
zone resize (#63 IMP-34) → responsive fit (#65 IMP-36) → popup (#64 IMP-35) → AI+cache (#61 IMP-33 + #62 IMP-46) → 사용자 명시 override → 자동 frame_swap 없음
closed.
I7 framing 정정 (2026-05-21) — R7 후순위 → Wave 1 destination 본체
정정 사항
이전 closing comment 에서 I7 (frame 의 figma 원본 1:1 재현 룰) 을 "후순위 (R7 Figma 자동화), backlog 보류" 로 분류했음.
사용자 관찰 (2026-05-21, mdx03 시연 검증) 결과:
dx_sw_necessity_three_perspectives.htmlpartial 이.f20b__colsCSS class 사용 = frame 20b 의 visual 빌려쓰기 (cross-frame CSS clash)정정 매핑
신규 IMP-49 (#78) — partial figma 1:1 audit + 정정
IMP-49 frame partial figma 원본 1:1 audit + 정정 (cross-frame CSS clash 폐기)#43 의 #43 → IMP 매핑 표 갱신 (I7 부분만)
후순위 (R7), backlog 보류다른 axis (I1~I6, I8) 매핑은 변경 없음.