ids.py python
12 lines 309 B
Raw
sha256:0e9549ec7b463911bc08b7d586dc320b1ac9b1f5c943ee7e3865dcc6cb0f6f83 chore(governance): sync handover+roadmap to 84db8c8 (drift:… Human 1 day ago
1 """Step and template id validation (§K9.3)."""
2
3 from __future__ import annotations
4
5 import re
6
7 STEP_ID_PATTERN = re.compile(r"^[a-z][a-z0-9_-]{0,63}$")
8
9
10 def is_valid_step_id(value: str) -> bool:
11 """Return True when ``value`` matches the frozen id regex."""
12 return bool(STEP_ID_PATTERN.match(value))
File History 1 commit
sha256:6abcf1fa82a7a621ccbc945f19acdba5bc0db54569599404a1452fb4a096a199 fix(ISR): default require_independent_second_reviewer to require Human minor 1 day ago