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": 19895, "html_url": "https://gitea.hmac.kr/Kyeongmin/C.E.L_Slide_test2/issues/17#issuecomment-19895", "pull_request_url": "", "issue_url": "https://gitea.hmac.kr/Kyeongmin/C.E.L_Slide_test2/issues/17", "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 — IMP-17 problem review (AI repair fallback infra carve-out)\n\n### Root-cause framing\n\nIMP-17 is a **carve-out axis** — explicitly flagged \"normal path 밖 (AI fallback only)\" in both the Gitea issue body and the source maps. It is not a normal-path implementation task; it is the **axis registry slot** that holds the *infrastructure pattern reference* for a future AI repair fallback runtime. Phase Z `phase_z2_pipeline.py` currently labels `restructure` V4 outputs as `ai_adaptation_required` (line 569) with an inline comment \"deferred to IMP-31\" (line 564) — a forward-reference ID that does **not exist** in the backlog (which ends at IMP-28). IMP-17 (Gitea #17) is the actual carve-out slot. The numeric mismatch needs decision in this cycle (correct comment vs. accept dual numbering).\n\nThe Phase Q file `src/content_editor.py` already contains the pattern source — `httpx` + SSE streaming + retry + JSON parse — but the entire file is **Archive Candidate** (PHASE-Q-AUDIT.md §2.6 line 660–663; G3 footnote line 681). The only salvageable artifact is the *infrastructure pattern shape*, not the code: Kei persona prompts (`EDITOR_PROMPT`), Kei-API endpoint config, and Kei-specific retry semantics are **all archived** per AI 격리 contract (memory: feedback_ai_isolation_contract) and Phase Q persona disconnect rule (PHASE-Q-AUDIT.md §2.6 + the issue body's guardrail \"Kei persona 단절\").\n\nIMP-17 scope is therefore *not a port*. It is **a carve-out boundary lock** — recording (a) what the AI fallback runtime will eventually look like, (b) what it must never touch, (c) which Phase Q artifacts remain Archive and which pattern is referenced, (d) what activation gate must fire before any code lands. Code implementation is **gated behind axis activation** which is currently \"(별 axis priority — pending)\" per backlog row 68.\n\n### Verified facts (value + path + upstream)\n\n- IMP-17 backlog row = `docs/architecture/PHASE-Z-IMPLEMENTATION-ISSUE-BACKLOG.md:68` — priority `(별 axis priority — pending)`, soft link `IMP-04 + IMP-05`, guardrail `normal path AI 호출 0 — 본 axis = fallback only, normal path 와 분리 설계 / Kei persona 단절 (Phase Q 자산과 단절)`\n- Axis registry source = `docs/architecture/PHASE-Q-INSIGHT-TO-22STEP-MAP.md:123` (§3 row \"AI repair fallback infra | Step 12, 16, 17 | §2.6 G3 | pending | **no (AI fallback only)**\") — the only §3 row with `normal path 여부 = no` (all 8 other axes are `yes`). Confirms unique carve-out status.\n- Phase Q origin = `docs/architecture/PHASE-Q-AUDIT.md:681` (§2.6 G3 footnote): \"AI repair fallback (Phase Z step12 light_edit/restructure) 설계 axis 활성 시, content_editor 의 *infrastructure pattern* (`httpx` + SSE streaming + retry + JSON parse) 이 reference 가능. 단 §0-B Audit 범위 lock (L3) 따라 *별 axis 활성 시 새 기준으로 재검토*\"\n- Pipeline overview cross-ref = `docs/architecture/PHASE-Z-PIPELINE-OVERVIEW.md`:\n - line 281–283 (Step 12 Slot Payload): \"*deterministic mapper* 가 기본. *AI 는 normal path 에 없음*. AI 가능 위치 (제한적): light_edit / restructure 에서 content_object → slot 배치 proposal 필요 시\"\n - line 284 (AI 금지): \"MDX 원문 요약·삭제 / HTML·CSS 직접 생성 / 새 디자인 임의 / layout·frame 임의 선택\" — this is the AI output schema fence\n - line 287 (Gap): \"restructure label 의 AI proposal path 미구현 (현재 restructure 는 filter)\" — confirms restructure-as-filter today, restructure-as-AI-proposal in future\n- Phase Q infra files in repo (unchanged):\n - `src/kei_client.py` (1471 lines, Kei API + httpx + SSE) — Phase Q, Archive Candidate (G3 file scope)\n - `src/sse_utils.py` (50 lines, SSE parsing helpers) — Phase Q\n - `src/content_editor.py` (475 lines, `_call_kei_editor_with_retry` + `EDITOR_PROMPT` + `fill_content`) — Phase Q, Archive Candidate\n- Phase Z isolation (verified now): `grep -n \"kei_client\\|sse_utils\\|content_editor\" src/phase_z2_pipeline.py` → 0 hits. Line truncated