GeezerVison is showing github.com — boundary: 명시된 known-leak 4개 군의 automation 이전 계약과 호환 경로 확정 · Issue #565 · airmang/python-hwpx
boundary: 명시된 known-leak 4개 군의 automation 이전 계약과 호환 경로 확정 #565Description요약
확인일: 2026-10-25. 정적 소스 검토 기준: b50a25e26402cdcb1cd616a4ef3ba1773d80b669.
제품 경계 문서와 layer-leak allowlist는 파일 단위 core 경계 안에 남은 장르·정책 로직을 명시적으로 인정한다.
이 이슈는 새 회귀 주장이나 7.0 일정 약속이 아니다. 기존 guard가 드리프트를 막는 것과 별도로, 남아 있는 4개 군을 실제 이전할 계약·소유자·호환 절차를 추적한다.
확인된 잔존 범위
allowlist상 known-leak 6개 항목과 undetected 2개 항목, 총 8개 이름이다. _SAFE_FILENAME_RE와 _OUTLINE_NAME_RE는 format-vocabulary로 분류되어 있으며 이번 이전 대상이 아니다.
하류 연결과 결정할 계약
automation 5093ce1a604a0d1cb0fb3271a0a35877be5c3187에는 이미 관련 진입점이 있지만 이전이 끝난 상태는 아니다.
제안
- 공문서 참조 규칙은 automation compliance/document-operations로 이전한다.
- plan→문단 변환은 automation에서 수행하고 core에는 문서·텍스트·문단 시퀀스만 넘긴다.
- 보고서 heading 추정은 automation 정책으로 분리한다. 일반 Markdown export·문서에 기록된 구조 읽기는 core에 남긴다.
- caption cleanup은 선택 정책과 mutation을 분리한다.
(N) 단어를 지울지 정하는 것은 automation, 지정 범위를 안전하게 지우고 package를 보존하는 것은 core의 장르 중립 primitive가 담당한다.
- 기존 공개 API·기본값·report schema·CLI·MCP 호출자를 조사한 뒤 호환/deprecation와 별도 승인된 major 제거 결정을 기록한다. core에서 automation을 역으로 import하지 않는다.
완료 조건
- 네 군마다 canonical owner, 남길 core primitive, 공개 대체 진입점과 호환 절차가 기록됨.
- generic
diff_paragraphs·문서 diff·Markdown export·table/package 보존 기능은 core-only 설치에서 유지됨.
- automation handler·comparison·evalplan·export 소비자가 새 owner를 사용함.
- 양쪽 ownership ledger·boundary 테스트·parity fingerprint·문서가 같은 결정을 반영함.
- 기존 참조 검사 report, plan 입력, heading 승격, caption 제거의 동등성/의도된 변경을 회귀 테스트로 검증함.
- 단순 본문 번호를 제목으로 오인하거나 일반 table 뒤 텍스트를 삭제하지 않는 경계 사례를 포함함.
- 이전 완료한 allowlist/undetected 항목을 같은 변경에서 제거하고 재유입을 검사함.
- 실행 시점·버전은 명시적 major 결정 전까지 확정된 일정으로 표현하지 않음.
우선순위와 중복 검토
제안 우선순위 P2: 현재 guard가 알려진 누수를 인정하며 확장을 제한하고 있고, 공개 호출자 호환을 고려해야 하는 계획적 이전이다. 이번 검토는 정적 소스 확인이며 새 런타임 결함이나 성능 악화를 재현한 것은 아니다.
- #384 closed/completed, PR #385 merged: 발견·가드·크기 기록을 추가했으며 제품 코드 이전은 하지 않았다.
- PR #422 merged: “7.0에서 이전”을 “향후 major 후보, 일정 미정”으로 정정했다.
- #64, #69는 완료된 이전 경계 작업이다.
따라서 기존 이슈를 실패로 재해석하거나 재개하기보다, 이 네 잔존 군의 실행 계약을 별도 추적하는 후속 이슈다. Activityairmang commented on Oct 30, 2026 2026-10-30 재검토: #575와 automation#189의 오너 A안을 그대로 적용합니다. 6.x 기존 core 이름·기본 동작은 경고 없이 유지하고, 경고는 다음 major, 제거/allowlist 삭제는 그다음 major의 별도 결정입니다. 현재 두 migration 원장은 아직 실제 이전 완료를 뜻하지 않으므로 이 이슈를 종료하지 않습니다.
실행 순서는 (1) core에 장르 중립 source→paragraphs, heading detector 주입, 호출자가 선택한 trailing-table-text 삭제 seam 추가, (2) automation compliance/document-ops/report/evalplan에 canonical 정책 소유, (3) handler·comparison·export·evalplan 소비자 전환, (4) core 단독 기능·기존 보고서/heading/caption 동등성·일반 번호/표 뒤 본문 경계·원장/fingerprint 검증입니다. 현재 공개6.10.0에는 이 seam들이 없어 automation 전환에는 먼저 core 구현·발행·실제 최소 버전/CI좌표 갱신이 필요합니다. 호환 사본을 지우거나 core에서 automation을 역import하는 단축은 하지 않습니다. 향후 major 의무를 이번 유지보수 완료로 바꾸지 않습니다. airmang commented on Oct 30, 2026 Additive core prerequisites are merged in #625 (main 2e50b95e48136b225d77db70026cc75ec8682b12; tested candidate tree is identical). Generic paragraph reading, a caller Markdown-heading hook and safe caller-selected table-tail text removal retain existing compatibility defaults and warning-free behavior. Final combined core suite:7,537pass/19skip/1xfail,90.41% coverage; exact-head Python3.10–3.14 CI passed.
Canonical automation owners and consumer routing are implemented in draft airmang/python-hwpx-automation#194 with1,859pass/9skip, unchanged MCP contract and isolated installed-wheel checks. It stays draft: public6.10.0 does not expose these three new seams. After a real core publication, update the actual dependency floor and candidate-core CI pin, then pass both source-main and published-floor gates before making it ready.
This umbrella stays open for that publication/integration gate and the separately approved relative major-version warning/removal schedule. No core compatibility definition or leak entry was removed, and no package/tag/marketplace publication occurred.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|