mirror of
https://github.com/boshu2/agentops.git
synced 2026-09-14 15:08:13 +08:00
9aaad348f2
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>
16 lines
618 B
Bash
Executable File
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"
|