aidevops 3.13.6 → 3.13.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/aidevops.sh +19 -1
- package/package.json +1 -1
- package/setup-modules/schedulers.sh +7 -7
- package/setup.sh +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.13.
|
|
1
|
+
3.13.8
|
package/aidevops.sh
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# AI DevOps Framework CLI
|
|
6
6
|
# Usage: aidevops <command> [options]
|
|
7
7
|
#
|
|
8
|
-
# Version: 3.13.
|
|
8
|
+
# Version: 3.13.8
|
|
9
9
|
|
|
10
10
|
set -euo pipefail
|
|
11
11
|
|
|
@@ -1568,6 +1568,7 @@ _help_commands() {
|
|
|
1568
1568
|
echo " client-format Client request format alignment (extract/check/canary/monitor)"
|
|
1569
1569
|
echo " opencode-sandbox Test OpenCode versions in isolation (install/run/check/clean)"
|
|
1570
1570
|
echo " approve <cmd> Cryptographic issue/PR approval (setup/issue/pr/verify/status)"
|
|
1571
|
+
echo " circuit-breaker Supervisor circuit breaker (status/reset/check/trip) — alias: cb"
|
|
1571
1572
|
echo " issue <cmd> Interactive issue ownership (claim/release/status/scan-stale)"
|
|
1572
1573
|
echo " security [cmd] Full security assessment (posture + hygiene + supply chain)"
|
|
1573
1574
|
echo " contributions External contributions inbox (bare: status | seed/scan/stop/restart/install/uninstall)"
|
|
@@ -1695,6 +1696,17 @@ _help_detailed_sections() {
|
|
|
1695
1696
|
echo " aidevops stats ingest # Parse new Claude JSONL log entries"
|
|
1696
1697
|
echo " aidevops stats sync-budget # Sync to budget tracker (t1100)"
|
|
1697
1698
|
echo ""
|
|
1699
|
+
echo "Supervisor Circuit Breaker (t1331):"
|
|
1700
|
+
echo " aidevops circuit-breaker # Show breaker state (alias: cb)"
|
|
1701
|
+
echo " aidevops circuit-breaker status # Show breaker state"
|
|
1702
|
+
echo " aidevops circuit-breaker reset # Manually reset (resumes worker dispatch)"
|
|
1703
|
+
echo " aidevops circuit-breaker check # Exit 0 if dispatch allowed, 1 if paused"
|
|
1704
|
+
echo " aidevops circuit-breaker trip # Manually trip (testing)"
|
|
1705
|
+
echo " aidevops cb reset # Short alias for reset"
|
|
1706
|
+
echo ""
|
|
1707
|
+
echo " When the breaker trips (auto-filed GH issue), copy/paste:"
|
|
1708
|
+
echo " aidevops circuit-breaker reset"
|
|
1709
|
+
echo ""
|
|
1698
1710
|
_help_management_sections
|
|
1699
1711
|
return 0
|
|
1700
1712
|
}
|
|
@@ -2108,6 +2120,12 @@ main() {
|
|
|
2108
2120
|
review-gate | review_gate) _dispatch_helper "review-gate-config-helper.sh" "review-gate-config-helper.sh" "$@" ;;
|
|
2109
2121
|
secret | secrets) _dispatch_helper "secret-helper.sh" "secret-helper.sh" "$@" ;;
|
|
2110
2122
|
approve) _dispatch_helper "approval-helper.sh" "approval-helper.sh" "$@" ;;
|
|
2123
|
+
circuit-breaker | circuit_breaker | cb)
|
|
2124
|
+
# Supervisor circuit breaker control (t1331). Bare invocation defaults to status.
|
|
2125
|
+
# Subcommands forward verbatim: check | status | record-failure | record-success | reset | trip | help
|
|
2126
|
+
[[ $# -eq 0 ]] && set -- status
|
|
2127
|
+
_dispatch_helper "circuit-breaker-helper.sh" "circuit-breaker-helper.sh" "$@"
|
|
2128
|
+
;;
|
|
2111
2129
|
issue) _dispatch_helper "interactive-session-helper.sh" "interactive-session-helper.sh" "$@" ;;
|
|
2112
2130
|
signing) _dispatch_helper "signing-setup.sh" "signing-setup.sh" "$@" ;;
|
|
2113
2131
|
contributions | contrib)
|
package/package.json
CHANGED
|
@@ -39,13 +39,13 @@ trap 'rc=$?; echo "[ERROR] ${BASH_SOURCE[0]}:${LINENO} exit $rc" >&2' ERR
|
|
|
39
39
|
shopt -s inherit_errexit 2>/dev/null || true
|
|
40
40
|
|
|
41
41
|
# SCRIPT_DIR — resolves to the setup-modules/ directory so sub-library
|
|
42
|
-
# source calls work regardless of the caller's working directory
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
42
|
+
# source calls work regardless of the caller's working directory or any
|
|
43
|
+
# inherited SCRIPT_DIR from parent scripts. Always derive from ${BASH_SOURCE[0]}
|
|
44
|
+
# to ensure sub-libraries load from the correct location.
|
|
45
|
+
_sched_orch_lib_path="${BASH_SOURCE[0]%/*}"
|
|
46
|
+
[[ "$_sched_orch_lib_path" == "${BASH_SOURCE[0]}" ]] && _sched_orch_lib_path="."
|
|
47
|
+
SCRIPT_DIR="$(cd "$_sched_orch_lib_path" && pwd)"
|
|
48
|
+
unset _sched_orch_lib_path
|
|
49
49
|
|
|
50
50
|
# Source sub-libraries. Each carries its own include guard so double-sourcing
|
|
51
51
|
# is safe. SC1091 suppressed per reference/large-file-split.md §5.1 — paths
|
package/setup.sh
CHANGED
|
@@ -12,7 +12,7 @@ shopt -s inherit_errexit 2>/dev/null || true
|
|
|
12
12
|
# AI Assistant Server Access Framework Setup Script
|
|
13
13
|
# Helps developers set up the framework for their infrastructure
|
|
14
14
|
#
|
|
15
|
-
# Version: 3.13.
|
|
15
|
+
# Version: 3.13.8
|
|
16
16
|
#
|
|
17
17
|
# Quick Install:
|
|
18
18
|
# npm install -g aidevops && aidevops update (recommended)
|