This commit is contained in:
commit
8f085a28d3
3220 files changed
+985495
No files matched your search
@@ -0,0 +1 @@
|
||||
[{"id": 19811, "html_url": "https://gitea.hmac.kr/Kyeongmin/C.E.L_Slide_test2/issues/16#issuecomment-19811", "pull_request_url": "", "issue_url": "https://gitea.hmac.kr/Kyeongmin/C.E.L_Slide_test2/issues/16", "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-16 problem review (B-2 verification 보조 axis)\n\n### Root-cause framing\n\nIMP-16 is the verification-helper sibling of IMP-07 (B-2 main: edited HTML → MDX → pipeline re-entry). When IMP-07 lands, the re-entered MDX needs deterministic checks on three axes — text preserved, structure intact, trace surfaced — without re-introducing AI/Kei into the normal path. The Phase Q file `src/content_verifier.py` already contains the relevant deterministic utilities, but it is classified **Reference Only** (PHASE-Q-AUDIT.md §2.7, H3) — direct import is forbidden because the same file also hosts Archive-only Kei assets (`FORBIDDEN_KEI_MEMOS`, `generate_with_retry`). IMP-16 scope is therefore to **port the H3 deterministic subset into a new Phase Z module**, NOT to import `content_verifier.py` from Phase Z pipeline. The port is splittable into two units; only the wiring-free unit can land now under the `hard link: IMP-07` gate.\n\n### Verified facts (value + path + upstream)\n\n- IMP-16 backlog row = `docs/architecture/PHASE-Z-IMPLEMENTATION-ISSUE-BACKLOG.md:67` — priority ↓ low, hard link IMP-07, guardrail \"AI/Kei verification 회귀 X / utility deterministic\"\n- IMP-07 backlog row = same doc line 51 — status `pending`. `git log --all --oneline | grep -iE \"IMP-07|html_to_slide_mdx|B-2 reverse|reverse path\"` → 0 hits. `grep -rn \"html_to_slide_mdx\\|reverse_path\\|edited_html_to_mdx\" --include=\"*.py\"` → 0 hits. **IMP-07 (B-2 main) is unimplemented in repo.**\n- Source insight = `docs/architecture/PHASE-Q-INSIGHT-TO-22STEP-MAP.md:122` (§3 axis registry \"B-2 verification 보조\") + `docs/architecture/PHASE-Q-AUDIT.md:766` (§2.7 H3 footnote)\n- H3 Reference Only assets in `src/content_verifier.py`:\n - `VerificationResult` dataclass (line 29)\n - `_TextExtractor` (43) + `extract_text_from_html` (66)\n - `normalize_for_comparison` (97) + `_PARTICLES` (78) + `_ENDING_NORMALIZE` (85)\n - `extract_keywords` (120), `strip_meta_lines` (150), `split_into_sentences` (174)\n - `verify_text_preservation` L1 (206), `detect_invented_text` (276)\n - `verify_structure` L3 (395) + `REQUIRED_PATTERNS` (382)\n- Archive assets in same file (**EXCLUDED** from IMP-16): `verify_no_forbidden_content` (338), `FORBIDDEN_KEI_MEMOS` (322), `FORBIDDEN_LABELS_IN_KEYMSG` (331), `generate_with_retry` (async) — H4/H5 markers in §2.7.\n- Phase Z import isolation (verified now): `grep -n \"extract_text_from_html\\|normalize_for_comparison\\|extract_keywords\\|verify_text_preservation\" src/phase_z2_pipeline.py` → 0 hits. Phase Q `content_verifier.py` is currently imported only by `src/pipeline.py`, `scripts/run_from_artifacts.py`, `scripts/test_phase_s.py`, `scripts/test_phase_t_full.py`. **No existing Phase Z coupling to refactor.**\n- `REQUIRED_PATTERNS` (Phase Q line 382) uses `body_bg/core/sidebar/footer` area abstraction — explicitly mismatched with Phase Z unit/zone/preset/frame contract abstraction (PHASE-Q-AUDIT.md §2.7 H2/H3 footnotes). Values cannot be reused; pattern only. L3 port belongs to IMP-20 (H2), not IMP-16.\n- Related steps cross-ref (PHASE-Q-INSIGHT-TO-22STEP-MAP.md:100/107): Step 14 (visual_check, partial) + Step 21 (debug.json trace, partial) were just extended by IMP-15 (commits e9b3d2e/2827622/535c484/614c533 — `image_aspect_mismatch` + `table_self_overflow` + classifier + debug.json surfacing). Step 1/2 = MDX normalize + section parse; Step 22 = UI export. **IMP-16 sits on top of these steps as a separate verification layer, not inside any of them.** IMP-15 = visual axis; IMP-16 = text axis. Non-overlapping.\n- HEAD = `614c533`; branch = `main`; working tree dirty on orchestrator infra (`orchestrator.py`, `tests/orchestrator_unit/test_subprocess_cleanup.py`, `.orchestrator/`, `chromedriver/`, …) — all unrelated WIP, MUST NOT be staged under this issue.\n\n### Scope-lock\n\nThe `hard link: IMP-07` clause means IMP-16 cannot **wire** into Phase Z pipeline until IMP-07's reverse-path output schema exists. But the H3 subset port can be split into two units; Line truncated
|
||||
Reference in new issue
Block a user