aidevops 3.39.207 → 3.39.208

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/README.md CHANGED
@@ -25,7 +25,7 @@ token efficiency, and quality control built in.**
25
25
  [![Maintainability](https://qlty.sh/gh/marcusquinn/projects/aidevops/maintainability.svg)](https://qlty.sh/gh/marcusquinn/projects/aidevops)
26
26
  [![Codacy Badge](https://app.codacy.com/project/badge/Grade/2b1adbd66c454dae92234341e801b984)](https://app.codacy.com/gh/marcusquinn/aidevops/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
27
27
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
28
- [![Version](https://img.shields.io/badge/Version-3.39.207-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
28
+ [![Version](https://img.shields.io/badge/Version-3.39.208-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
29
29
  [![npm version](https://img.shields.io/npm/v/aidevops)](https://www.npmjs.com/package/aidevops)
30
30
  [![Homebrew](https://img.shields.io/badge/homebrew-marcusquinn%2Ftap-orange)](https://github.com/marcusquinn/homebrew-tap)
31
31
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.39.207
1
+ 3.39.208
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.39.207
8
+ # Version: 3.39.208
9
9
 
10
10
  set -euo pipefail
11
11
 
@@ -789,7 +789,7 @@ _repos_list() {
789
789
  fi
790
790
  local current_ver
791
791
  current_ver=$(get_version)
792
- jq -r '.initialized_repos[] | "\(.path)|\(.version)|\((.features // []) | join(","))|\(if .maintenance == false then false else true end)|\(.pulse // false)"' "$REPOS_FILE" 2>/dev/null | while IFS='|' read -r path version features maintenance pulse; do
792
+ jq -r '.initialized_repos[] | "\(.path)|\(.version)|\((.features // []) | join(","))|\(if .maintenance == false then false else true end)|\(.pulse // false)|\(.checkpoint_policy.auto_resolve_decisions == true)|\(.checkpoint_policy.auto_continue_unknown_pending_work == true)"' "$REPOS_FILE" 2>/dev/null | while IFS='|' read -r path version features maintenance pulse decisions pending; do
793
793
  local name
794
794
  name=$(basename "$path")
795
795
  local status="✓" status_color="$GREEN"
@@ -810,6 +810,7 @@ _repos_list() {
810
810
  else
811
811
  echo " Automation: dormant (Pulse: off)"
812
812
  fi
813
+ echo " Checkpoint policy: decisions=$decisions pending-work=$pending"
813
814
  echo ""
814
815
  done
815
816
  echo "Legend: ✓ up-to-date ↑ update available ✗ not found"
@@ -1011,6 +1012,46 @@ _repos_pulse() {
1011
1012
  return 0
1012
1013
  }
1013
1014
 
1015
+ _repos_checkpoint_policy() {
1016
+ local state="${1:-}" selector="" owner="" arg="" owner_arg=""
1017
+ case "$state" in
1018
+ on | off) shift ;;
1019
+ *) print_error "Usage: aidevops repos checkpoint-policy <on|off> [slug-or-path] [--owner OWNER]"; return 2 ;;
1020
+ esac
1021
+ while [[ $# -gt 0 ]]; do
1022
+ arg="${1:-}"
1023
+ owner_arg="${2:-}"
1024
+ case "$arg" in
1025
+ --owner)
1026
+ [[ $# -ge 2 && -z "$owner" ]] || { print_error "--owner requires one owner"; return 2; }
1027
+ owner="$owner_arg"
1028
+ [[ -n "$owner" ]] || return 2
1029
+ shift 2
1030
+ ;;
1031
+ -*) print_error "Unknown checkpoint-policy option: $arg"; return 2 ;;
1032
+ *)
1033
+ [[ -z "$selector" ]] || { print_error "Specify only one repository"; return 2; }
1034
+ selector="$arg"
1035
+ shift
1036
+ ;;
1037
+ esac
1038
+ done
1039
+ if [[ -n "$owner" ]]; then
1040
+ [[ -z "$selector" ]] || { print_error "Use a repository selector or --owner, not both"; return 2; }
1041
+ set_owner_checkpoint_policy "$owner" "$state"
1042
+ return $?
1043
+ fi
1044
+ if [[ -z "$selector" ]]; then
1045
+ selector=$(git rev-parse --show-toplevel 2>/dev/null) || {
1046
+ print_error "Checkpoint policy needs a registered repo selector or a current Git worktree"
1047
+ return 1
1048
+ }
1049
+ fi
1050
+ set_repo_checkpoint_policy "$selector" "$state" || return $?
1051
+ print_success "Checkpoint policy $state for $selector (decisions and pending work)"
1052
+ return 0
1053
+ }
1054
+
1014
1055
  _repos_actions() {
1015
1056
  local state="${1:-}" selector="${2:-}" reason="${3:-}"
1016
1057
  case "$state" in
@@ -1076,6 +1117,10 @@ cmd_repos() {
1076
1117
  shift
1077
1118
  _repos_pulse "$@"
1078
1119
  ;;
1120
+ checkpoint-policy)
1121
+ shift
1122
+ _repos_checkpoint_policy "$@"
1123
+ ;;
1079
1124
  actions)
1080
1125
  shift
1081
1126
  _repos_actions "$@"
@@ -1096,6 +1141,8 @@ cmd_repos() {
1096
1141
  echo " Include/exclude a registered repo from recurring automation"
1097
1142
  echo " pulse <on|off> [repo]"
1098
1143
  echo " Enable/disable Pulse task automation (on requires maintenance)"
1144
+ echo " checkpoint-policy <on|off> [slug-or-path] [--owner OWNER]"
1145
+ echo " Toggle AI decision/pending-work recovery; --owner selects Pulse-enabled repos"
1099
1146
  echo " pulse auth <set|status|check|clear> owner/repo [options]"
1100
1147
  echo " Configure repository GitHub App reads without changing write auth"
1101
1148
  echo " pulse auth usage [--since 1h]"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.39.207",
3
+ "version": "3.39.208",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.11",
package/setup.sh CHANGED
@@ -17,7 +17,7 @@ fi
17
17
  # AI Assistant Server Access Framework Setup Script
18
18
  # Helps developers set up the framework for their infrastructure
19
19
  #
20
- # Version: 3.39.207
20
+ # Version: 3.39.208
21
21
  #
22
22
  # Quick Install:
23
23
  # npm install -g aidevops && aidevops update (recommended)