KIT: F13 도면 커밋 기준을 정리본 3개 허용으로 (SPEC 34장 보완)

첫 공개 커밋 9068b6c 뒤 F13 의 「도면 파일 커밋 금지」 항목이 FAIL 이던 기준 누락(코치 결함)을
리허설에서 발견해 보완. 커밋된 도면은 정리본 3개(drawing.dxf, drawing.svg, drawing_gen.svg)만 허용하도록
check.sh 와 SPEC 34장을 함께 고쳤다.

check.sh 결과: PASS 151 / FAIL 0 / SKIP 3 (검사 범위 F01~F46)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
오문성andClaude Haiku 5.5 committed 2026-10-27 15:58:28 +09:00
1 parent 9068b6c7f2
commit f33e00bce4
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -210,8 +210,9 @@ try:
tracked = subprocess.run(["git", "ls-files"], capture_output=True, text=True).stdout.split("\n")
except OSError:
tracked = ["?"]
leak = [t for t in tracked if t.startswith("private/") or t.lower().endswith((".svg", ".pdf", ".dwg"))]
report("F13", tracked != ["?"] and not leak, "도면 파일이 커밋되지 않음 (private/, .svg, .pdf, .dwg)" + (f" — 있음: {leak}" if leak else ""))
PUB13 = {"private/drawing.dxf", "private/drawing.svg", "private/drawing_gen.svg"}
leak = [t for t in tracked if t and t not in PUB13 and (t.startswith("private/") or t.lower().endswith((".svg", ".pdf", ".dwg")))]
report("F13", tracked != ["?"] and not leak, "커밋된 도면은 공개용 정리본 3개뿐 (SPEC 34장: private/drawing.dxf·drawing.svg·drawing_gen.svg, DWG·그 밖의 private 파일 없음)" + (f" — 있음: {leak}" if leak else ""))
report("F14", all(has_id(i) for i in ("drawStage", "drawing", "hotspots")) and "private/drawing.svg" in ((html or "") + (viewer or "") + (model_txt or "")),
"#drawStage, img#drawing, svg#hotspots, private/drawing.svg 참조")
d = MODEL.get("drawing", {}) if isinstance(MODEL, dict) else {}