feat: slhx requirements, project structure, and core primitives

This commit is contained in:
2026-05-10 11:33:26 +02:00
commit bd13d0fa0d
7 changed files with 1045 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
msg_file="$1"
# Require scope if REQs exist
if [ -f REQUIREMENTS.md ]; then
if ! grep -qE '^[a-z]+(\(.+\))?:' "$msg_file"; then
echo "error: commit requires scope — e.g. feat(parser): ..."
exit 1
fi
fi