Files
boshu2__agentops/scripts/validate-workflow-install.sh
Boden Fuller 9aaad348f2 feat(scripts): workflow install + drift/marker validation scripts (ag-wi9w1)
install-workflows.sh: arg-scoped, generic (no workflow special case),
idempotent ln -sfn, backup-then-replace on divergent local edits.
check-workflow-drift.sh: blocking on bdd-foundry.js (absent=>SKIP exit 0,
dangling/misresolved/divergent=>FAIL), DRIFT-REPORT-only for siblings
bead-crank.js / operating-loop.js. check-bdd-foundry-markers.sh: S4 marker
floors, fails naming the missing marker. validate-workflow-install.sh: the
named blocking parent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 18:47:14 -04:00

16 lines
618 B
Bash
Executable File

#!/usr/bin/env bash
# validate-workflow-install.sh — the named blocking parent for workflow install
# freshness (ag-wi9w1; gate check ID workflow.install-drift).
#
# Thin parent: run check-workflow-drift.sh, then check-bdd-foundry-markers.sh
# (argless — the repo canonical). Exit non-zero if either fails, propagating
# their output. Clean machines stay green via the drift check's absent=>SKIP.
set -uo pipefail
repo_root="$(git rev-parse --show-toplevel)"
status=0
bash "$repo_root/scripts/check-workflow-drift.sh" || status=1
bash "$repo_root/scripts/check-bdd-foundry-markers.sh" || status=1
exit "$status"