untracked files on main: dceb101 feat(#63): IMP-34 R1 donor capacity measured bound (u1+u2)

This commit is contained in:
kmlee1 committed 2026-05-21 22:07:41 +09:00
commit 8f085a28d3
3220 files changed
+985495

No files matched your search

@@ -0,0 +1 @@
[{"id": 20791, "html_url": "https://gitea.hmac.kr/Kyeongmin/C.E.L_Slide_test2/issues/20#issuecomment-20791", "pull_request_url": "", "issue_url": "https://gitea.hmac.kr/Kyeongmin/C.E.L_Slide_test2/issues/20", "user": {"id": 28, "login": "Kyeongmin", "login_name": "", "source_id": 0, "full_name": "이경민", "email": "kyeongmin@noreply.localhost", "avatar_url": "https://gitea.hmac.kr/avatars/d883a35f9197b080b2a0c535c3f9357dcd5c7d40b3c42bd8f40218cb94609a8e", "html_url": "https://gitea.hmac.kr/Kyeongmin", "language": "", "is_admin": false, "last_login": "0001-01-01T00:00:00Z", "created": "2025-12-30T10:51:04+09:00", "restricted": false, "active": false, "prohibit_login": false, "location": "", "website": "", "description": "", "visibility": "public", "followers_count": 0, "following_count": 0, "starred_repos_count": 1, "username": "Kyeongmin"}, "original_author": "", "original_author_id": 0, "body": "[Claude #1] Stage 1 — problem-review Round #1\n\n## 1. Re-read of scope (backlog §2 IMP-20)\n\nsource = INSIGHT-MAP §3 / §2.7 H2 (`content_verifier.verify_structure` CSS pattern + 폰트 위계 검사) — Reference Only axis.\nrelated step = Step 10 (Frame Contract 확인).\npriority = ↓ low. dependency = `soft link: IMP-04` (확장 catalog 적용 시 검증 범위 확대).\nguardrail = Phase Q `REQUIRED_PATTERNS` 값 회귀 X / Phase Z 자체 pattern dict 설계 필요.\n\n## 2. Root cause (3-axis check)\n\n### Axis A — Phase Q `verify_structure` + `REQUIRED_PATTERNS` source pattern (read-only reference)\n\n- `D:\\ad-hoc\\kei\\design_agent\\src\\content_verifier.py:382-392` `REQUIRED_PATTERNS: dict[str, list[str]]` :\n - key = Phase Q **area** name (`body_bg` / `body_core` / `sidebar` / `footer`).\n - value = list of CSS/HTML substring patterns required to exist in the generated HTML.\n - 현 값: `body_bg=[]`, `body_core=[\"key-msg\"]`, `sidebar=[\"padding-left\", \"text-indent\"]`, `footer=[]`.\n - Phase T comment (L379-381) : `overflow:hidden` 필수 요구 제거 (Phase T 프롬프트 모순 회피).\n- `D:\\ad-hoc\\kei\\design_agent\\src\\content_verifier.py:395-448` `verify_structure(generated_html, area_name, has_image=False, font_hierarchy=None) -> VerificationResult` :\n - L405 `patterns = REQUIRED_PATTERNS.get(area_name, [])` — area → pattern list lookup.\n - L408-412 OR pattern logic (`\"a|b\"` split — alternatives any-match).\n - L414-416 `has_image and area_name == \"body_core\"` → `\"slide-img-\"` substring 강제.\n - L418-436 Phase T-8 폰트 위계 검사 (`font_hierarchy` dict 가 주어지면 area 별 max font-size 박스 — 1px tolerance).\n - L438-447 `VerificationResult` 합성 (passed / score / errors / warnings).\n- 호출 지점 = `content_verifier.py:465` `verify_area` + `content_verifier.py:516` `verify_all_areas` (body_core 분기) — Phase Q forward-direction post-check (Kei AI 생성 HTML 검증).\n\n### Axis B — Phase Z Step 10 frame contract 현 상태 (active, IMP-04/Step 11 mix)\n\n- `D:\\ad-hoc\\kei\\design_agent\\src\\phase_z2_mapper.py:56` `def get_contract(template_id: str) -> dict | None` — frame contract loader (template_id 키 lookup).\n- `D:\\ad-hoc\\kei\\design_agent\\templates\\phase_z2\\catalog\\frame_contracts.yaml` 현 등록 frame 수 = **11** (`grep -c \"^ template_id:\" → 11`). PHASE-Z-PIPELINE-OVERVIEW.md L267 의 \"F13/F29/F16 만\" 표현은 **drift** — 현 catalog 가 더 진행됨 (IMP-04 활성 trajectory 일부).\n- 각 contract 의 surface field (sample L21-75 `three_parallel_requirements`):\n - `template_id`, `frame_id`, `family`, `source_shape`, `cardinality` (strict / overflow_policy), `visual_hints` (현재 `min_height_px` 만), `accepted_content_types` (선언 — `sub_zones` 11 개 frame 중 대부분 declared), `sub_zones` (Layer B Frame Slot 선언, `id` / `role` / `accepts` / `cardinality` / `partial_target_path`), `payload`.\n- Step 10 gap (PHASE-Z-PIPELINE-OVERVIEW.md L268) : \"`accepted_content_types` 미선언 / `sub_zones` 미선언 / `density envelope` 미선언\" — 이 wording 도 *catalog drift* (accepted_content_types / sub_zones 는 현재 부분 선언, density_envelope 만 일관 부재).\n- 결론 : Phase Z Step 10 *consumer side* (`get_contract` + frame_contracts.yaml) 는 catalog 차원에서 11/32 frame 진행 중 (IMP-04 axis). *Validation side* (frame contract 가 HTML 으로 변환된 후, 그 frame partial 이 contract 의 약속을 지켰는지 검증) = **현 부재**.\n\n### Axis C — abstraction gap (audit §2.7 H2 명시 — L723, L741-742, L764)\n\n| Phase Q (`REQUIRED_PATTERNS` + `verify_structure`) | Phase Z (frame contract validation 별 axis) |\n|---|---|\n| 단위 = Phase Q **area** (body_bg / body_core / sidebar / footer) | 단위 = Phase Z **frame contract** (template_id 별 — 11+ frame) + **Frame Slot** (sub_zones Layer B) |\n| key 종류 = 4 개 area (고정) | key 종류 = N 개 frame (IMP-04 확장 시 32 개 후보) |\n| pattern source = Kei AI 생성 HTML 의 *CSSLine truncated