init: document-haness 설계

This commit is contained in:
DongHyeonka
2026-07-23 17:52:22 +09:00
parent 993788c14e
commit d6f78f92a0
127 changed files with 20099 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
from __future__ import annotations
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
SKILL = ROOT / "skills" / "technical-doc-flow"
sys.path.insert(0, str(SKILL / "scripts"))
from harness_common import load_rules # noqa: E402
def test_jargon_introduction_rules_are_default_hard_gates() -> None:
rules = {item["id"]: item for item in load_rules()["rules"]}
for rule_id in ("DOC-T002", "DOC-T004", "DOC-T005", "DOC-T006", "DOC-T007"):
assert rules[rule_id]["severity"] == "error"