init: document-haness 설계
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user