[#797] vendor bash3boilerplate (MIT) as house standard for new operational scripts

main.sh engine + example.sh demo + adoption policy (new scripts start
from b3bp; existing retrofit opportunistically on touch; vendored copy
pruned from shellcheck scan — upstream code, not house-audited).
Founder directive 2026-09-05.
https://projects.knownelement.com/issues/797
This commit is contained in:
2026-09-05 23:39:46 -05:00
parent 6783f377d6
commit 26dcc247bb
4 changed files with 658 additions and 1 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ TODAY="$(date +%Y-%m-%d)"
# Runs in Docker so the host stays clean (no native shellcheck required).
# ----------------------------------------------------------------------------
$RULE_VERBOSE && log_step "Shell scripts (shellcheck)"
mapfile -d '' SH_FILES < <(find . -path ./.git -prune -o -path ./.tmp -prune -o -path ./vendor -prune -o -path ./node_modules -prune -o \( -name '*.sh' -o -name '*.bash' \) -print0 2>/dev/null)
mapfile -d '' SH_FILES < <(find . -path ./.git -prune -o -path ./.tmp -prune -o -path ./vendor -prune -o -path ./node_modules -prune -o -path ./scripts/bash3boilerplate -prune -o \( -name '*.sh' -o -name '*.bash' \) -print0 2>/dev/null)
if [ "${#SH_FILES[@]}" -gt 0 ]; then
if have shellcheck; then
if shellcheck "${SH_FILES[@]}" >/dev/null 2>&1; then