|
|
15c5b9ae00
|
IMP-05 deterministic V4 candidate bridge — pre-render rank-2/3 fallback + trace schema + dedup invariant test
round 55~73 review-loop lock per Codex #11 final + Claude #13 6-axis L1~L9.
Scope (deterministic only) :
- pre-render rank-2/3 fallback via lookup_v4_match_with_fallback (selector only,
no calculate_fit migration, no AI, no full planner rerun, no layout topology change,
no abort behavior change)
- Step 9 informative candidate_evidence schema (additive) — v4_label / phase_z_status
/ catalog_registered / filtered_for_direct_execution / route_hint / decision / reason
- Step 20 qualifier fields (additive) — fallback_used / fallback_selection_count
/ selection_paths[] — top-level enum unchanged
- restructure / reject candidates preserved as non-direct evidence with route hints
(design_reference_only / ai_adaptation_required) — deferred actual handlers IMP-29/IMP-31
- catalog 1:1 invariant test (separate file tests/test_catalog_invariant.py) —
fails fast if template_id/frame_id 1:1 mapping ever breaks
- 6 behavior tests fully synthetic with MOCK_ prefix (no real catalog IDs,
no v4_full32_result.yaml dependency) — monkeypatch get_contract +
compute_capacity_fit (selector has no DI, function signature unchanged)
Deferred to follow-up issues :
- IMP-30 first-render invariant + abort bypass (zero-unit + section status filter)
- IMP-29 frontend zone-level override (deterministic only)
- IMP-31 AI-assisted frame-aware adaptation
Guardrails locked : no calculate_fit / no AI / no frontend / no full rerun /
no layout topology / no abort behavior change / no 1-2 sample hardcoding.
Tests : 8/8 pass (6 selector behavior + 2 catalog invariant).
Smoke regression : 11/11 partials pass (IMP-04 F17 calibration intact).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-13 23:06:39 +09:00 |
|
|
|
85c680f02a
|
docs + V4 catalog + samples + Phase Q legacy 보존
전체 26 files (20 추가 + 6 수정), 10507 insertions.
Phase Z 문서 :
- docs/architecture/PHASE-Z-CHANGE-LOG.md (신설) — axis-by-axis 의사결정 history
(newest-on-top). Step 7-A 부터 6 entry 박힘 + 2026-05-08 / 2026-05-08 #2
(compat 매트릭스 폐기 / 6-B 폐기 / F14 표현 정정 / label gate policy 분리).
- docs/architecture/PHASE-Z-PIPELINE-OVERVIEW.md (수정) — Step 5/6/9 Gap note
append (구조 무변, append-only). 6-B 폐기 사실 + Refinement F.
- docs/architecture/PHASE-Z-PIPELINE-STATUS-BOARD.md (수정) — snapshot date
2026-05-08 갱신. §3 핵심 missing item 5 (Step 5/6/9 boundary axis breakdown
+ 폐기 기록). §6 한 줄 갱신 — 다음 axis 후보 A~F.
Project root docs :
- PLAN.md / PROGRESS.md / README.md (수정) — 토큰 체계 / 폴더 구조 / 설계 문서 /
역할 분리 반영.
- IMPROVEMENT-REDESIGN.md (신설) — Phase Z 설계 핵심 문서.
- PROCESS_OVERVIEW.html (신설) — 파이프라인 개요 시각.
- docs/tasks/* (신설) — Phase Z task 문서.
V4 catalog (Phase Z runtime 필수 의존성) :
- tests/matching/v4_full32_result.yaml (신설, 4888 줄) — V4 매칭 결과 32 frame
× 10 MDX section. lookup_v4_match() / lookup_v4_candidates() 가 본 파일 read.
Phase Z runtime 이 *없으면 즉시 abort* — clone 후 즉시 동작 가능 보장.
Samples :
- samples/mdx_batch/04.mdx (신설) — MDX04 기본 sample.
- samples/mdx/04. DX 지연 요인.mdx (신설) — MDX04 원본.
Phase Q legacy 보존 (별 axis "Phase Q audit & salvage" 영역) :
- src/block_matcher_tfidf.py / catalog_blocks.py / frame_extractor.py /
pipeline_v2.py — Phase Q (옛 파이프라인) src 신규 untracked 파일들.
Phase Z runtime 와 의존성 0. Phase Q audit axis 에서 검토 예정.
- scripts/eval_block_matcher.py / fetch_all_frame_screenshots.py /
match_17_units_my_matcher.py / match_mdx_strict.py / match_mdx_to_frames_tfidf.py /
ocr_augment_texts.py / run_pipeline_v2.py / previews/ — Phase Q 작업 시
사용한 옛 script. 같이 보존.
- run_mdx03_pipeline.py (수정) — Phase Q 진입점 (no flag) + Phase Z 진입점
(--phase-z2 flag) 동시 wrapper. Phase Z 만 사용 시 `python -m
src.phase_z2_pipeline samples/mdx_batch/03.mdx <run_id>` 직접 호출.
비-scope :
- tests/matching/ (v4_full32_result.yaml 외 ~63MB) — V4 진화 history /
reports / DECK / ATTACH. Phase Q audit axis 에서 검토.
- tests/pipeline/ (~15MB) — pipeline data. Phase Q audit 영역.
- templates/catalog/blocks.yaml — 옛 block catalog. Phase Q audit.
- templates/phase_z2/frames/ — 옛 frame partial 위치. Phase Q audit.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-08 09:47:58 +09:00 |
|
|
|
c42e65fc7e
|
Initial commit: Kei Design Agent
콘텐츠를 시각적으로 구조화된 슬라이드 HTML로 변환하는 독립 에이전트.
아키텍처 (4단계 파이프라인):
1. Kei 실장 (Opus) — 콘텐츠 유형 분류 + 블록 배치
2. 디자인 팀장 (Sonnet) — 레이아웃 컨셉 (블록 배치 + 페이지 수)
3. 텍스트 편집자 (Sonnet) — 슬롯 텍스트 정리 (핵심 유지)
4. CSS Grid 렌더러 — HTML 조립
블록 템플릿 7종:
comparison, card-grid, relationship, process,
quote-block, conclusion-bar, comparison-table
기술 스택:
FastAPI + Anthropic API + Jinja2 + CSS Grid
Pretendard Variable 한국어 폰트
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-03-24 17:25:47 +09:00 |
|