aidevops 3.32.27 → 3.32.29
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 +3 -1
- package/VERSION +1 -1
- package/aidevops.sh +9 -1
- package/package.json +1 -1
- package/setup.sh +16 -1
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ The result: an AI operations platform that manages projects across every busines
|
|
|
60
60
|
[](https://github.com/marcusquinn)
|
|
61
61
|
|
|
62
62
|
<!-- Release & Version Info -->
|
|
63
|
-
[](https://github.com/marcusquinn/aidevops/releases)
|
|
64
64
|
[](https://www.npmjs.com/package/aidevops)
|
|
65
65
|
[](https://github.com/marcusquinn/homebrew-tap)
|
|
66
66
|
[](https://github.com/marcusquinn/aidevops)
|
|
@@ -104,6 +104,8 @@ the required notices and preferred credit text.
|
|
|
104
104
|
- `aidevops auto-update` - Automatic update polling (enable/disable/status)
|
|
105
105
|
- `aidevops secret` - Manage secrets (gopass encrypted, AI-safe)
|
|
106
106
|
- `aidevops security` - Full security assessment (posture, secrets, supply chain)
|
|
107
|
+
- `aidevops lint audit` - Audit native lint/format/typecheck commands and repo-verify hooks
|
|
108
|
+
- `aidevops lint configure --dry-run` - Preview safe evidence-based lint provisioning
|
|
107
109
|
- `aidevops metrics generate` - Generate local LOC, language, and dependency data for README badges or app about pages
|
|
108
110
|
- `/onboarding` - Interactive setup wizard (in AI assistant)
|
|
109
111
|
- `/design-artifact` - Route artifact-first UI, deck, email, poster, and mobile mockup work
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.32.
|
|
1
|
+
3.32.29
|
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.32.
|
|
8
|
+
# Version: 3.32.29
|
|
9
9
|
|
|
10
10
|
set -euo pipefail
|
|
11
11
|
|
|
@@ -219,6 +219,7 @@ _run_update_setup() {
|
|
|
219
219
|
# Update/upgrade command
|
|
220
220
|
cmd_update() {
|
|
221
221
|
local skip_project_sync=false
|
|
222
|
+
local reconcile_repo_verify=false
|
|
222
223
|
local arg
|
|
223
224
|
for arg in "$@"; do case "$arg" in --skip-project-sync) skip_project_sync=true ;; esac done
|
|
224
225
|
print_header "Updating AI DevOps Framework"
|
|
@@ -266,6 +267,7 @@ cmd_update() {
|
|
|
266
267
|
local deployed_sha has_code_drift=0
|
|
267
268
|
deployed_sha=$(tr -d '[:space:]' <"$stamp_file" 2>/dev/null) || deployed_sha=""
|
|
268
269
|
if [[ -n "$deployed_sha" && "$deployed_sha" != "$local_hash" ]]; then
|
|
270
|
+
if _update_repo_verify_files_changed "$deployed_sha" "$local_hash"; then reconcile_repo_verify=true; fi
|
|
269
271
|
# Per Gemini code-review on PR #20342: use git's path filter +
|
|
270
272
|
# `grep -q .` to detect drift across the full set of deploy-affecting
|
|
271
273
|
# paths (not just .agents/ subdirs — also setup.sh, .agents/scripts/setup/modules/,
|
|
@@ -307,6 +309,7 @@ cmd_update() {
|
|
|
307
309
|
new_version=$(get_version)
|
|
308
310
|
new_hash=$(git rev-parse HEAD)
|
|
309
311
|
if [[ "$old_hash" != "$new_hash" ]]; then
|
|
312
|
+
if _update_repo_verify_files_changed "$old_hash" "$new_hash"; then reconcile_repo_verify=true; fi
|
|
310
313
|
local total_commits
|
|
311
314
|
total_commits=$(git rev-list --count "$old_hash..$new_hash" 2>/dev/null || echo "0")
|
|
312
315
|
if [[ "$total_commits" -gt 0 ]]; then
|
|
@@ -341,6 +344,9 @@ cmd_update() {
|
|
|
341
344
|
fi
|
|
342
345
|
|
|
343
346
|
_update_sync_projects "$skip_project_sync" "$(get_version)"
|
|
347
|
+
if [[ "$skip_project_sync" != "$_AIDEVOPS_UPDATE_TRUE" && "$reconcile_repo_verify" == "$_AIDEVOPS_UPDATE_TRUE" ]]; then
|
|
348
|
+
_update_reconcile_repo_verify
|
|
349
|
+
fi
|
|
344
350
|
_update_check_homebrew
|
|
345
351
|
_update_check_planning
|
|
346
352
|
_update_check_tools
|
|
@@ -859,6 +865,7 @@ _help_commands() {
|
|
|
859
865
|
echo " repo-sync <cmd> Daily git pull for repos in parent dirs (enable/disable/status/dirs)"
|
|
860
866
|
echo " update-tools Check for outdated tools (--update to auto-update)"
|
|
861
867
|
echo " repos [cmd] Manage registered projects (list/add/remove/clean)"
|
|
868
|
+
echo " lint [cmd] Audit/configure native repo lint, format, typecheck, and hooks"
|
|
862
869
|
echo " design <cmd> DESIGN.md detection, scaffolding, and brand guideline exports"
|
|
863
870
|
echo " cleanup <cmd> Cleanup helpers (remote branch audit/delete)"
|
|
864
871
|
echo " model-accounts-pool OAuth account pool (list/check/diagnose/add/rotate/reset-cooldowns)"
|
|
@@ -1543,6 +1550,7 @@ main() {
|
|
|
1543
1550
|
auto-update | autoupdate) _dispatch_helper "auto-update-helper.sh" "auto-update-helper.sh" "$@" ;;
|
|
1544
1551
|
repo-sync | reposync) _dispatch_helper "repo-sync-helper.sh" "repo-sync-helper.sh" "$@" ;;
|
|
1545
1552
|
update-tools | tools) cmd_update_tools "$@" ;;
|
|
1553
|
+
lint) _dispatch_helper "lint-helper.sh" "lint-helper.sh" "$@" ;;
|
|
1546
1554
|
upgrade-planning | up) cmd_upgrade_planning "$@" ;;
|
|
1547
1555
|
repos | projects) cmd_repos "$@" ;;
|
|
1548
1556
|
design) _dispatch_helper "design-guidelines-helper.sh" "design-guidelines-helper.sh" "$@" ;;
|
package/package.json
CHANGED
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.32.
|
|
15
|
+
# Version: 3.32.29
|
|
16
16
|
#
|
|
17
17
|
# Quick Install:
|
|
18
18
|
# npm install -g aidevops && aidevops update (recommended)
|
|
@@ -108,6 +108,8 @@ if [[ -d "$SETUP_MODULES_DIR" ]]; then
|
|
|
108
108
|
# shellcheck disable=SC1091
|
|
109
109
|
source "$SETUP_MODULES_DIR/_complexity_guard.sh"
|
|
110
110
|
# shellcheck disable=SC1091
|
|
111
|
+
source "$SETUP_MODULES_DIR/_repo_verify_guard.sh"
|
|
112
|
+
# shellcheck disable=SC1091
|
|
111
113
|
source "$SETUP_MODULES_DIR/_task_id_guard.sh"
|
|
112
114
|
# shellcheck disable=SC1091
|
|
113
115
|
source "$SETUP_MODULES_DIR/_canonical_guard.sh"
|
|
@@ -1194,6 +1196,7 @@ _setup_ai_session_reset_plan() {
|
|
|
1194
1196
|
_SETUP_AI_SESSION_NEEDS_AGENTS=0
|
|
1195
1197
|
_SETUP_AI_SESSION_NEEDS_CLI=0
|
|
1196
1198
|
_SETUP_AI_SESSION_NEEDS_HOOKS=0
|
|
1199
|
+
_SETUP_AI_SESSION_NEEDS_REPO_VERIFY=0
|
|
1197
1200
|
_SETUP_AI_SESSION_NEEDS_PULSE=0
|
|
1198
1201
|
_SETUP_AI_SESSION_NEEDS_GUI=0
|
|
1199
1202
|
_SETUP_AI_SESSION_REQUIRES_FULL=0
|
|
@@ -1246,6 +1249,12 @@ _setup_ai_session_plan_file() {
|
|
|
1246
1249
|
;;
|
|
1247
1250
|
.agents/hooks/*)
|
|
1248
1251
|
_SETUP_AI_SESSION_NEEDS_HOOKS=1
|
|
1252
|
+
[[ "$filepath" == ".agents/hooks/repo-verify-pre-push.sh" ]] && _SETUP_AI_SESSION_NEEDS_REPO_VERIFY=1
|
|
1253
|
+
;;
|
|
1254
|
+
.agents/scripts/repo-verify-config-lib.sh | .agents/scripts/lint-helper.sh | \
|
|
1255
|
+
.agents/scripts/install-pre-push-guards.sh | .agents/configs/repo-verify-defaults.conf | \
|
|
1256
|
+
.agents/scripts/aidevops-cli/aidevops-init-lib.sh | .agents/scripts/aidevops-cli/aidevops-update-lib.sh)
|
|
1257
|
+
_SETUP_AI_SESSION_NEEDS_REPO_VERIFY=1
|
|
1249
1258
|
;;
|
|
1250
1259
|
.agents/scripts/setup/modules/schedulers*.sh | .agents/scripts/setup/_scheduler_runtime.sh)
|
|
1251
1260
|
_SETUP_AI_SESSION_NEEDS_PULSE=1
|
|
@@ -1359,6 +1368,9 @@ _setup_run_ai_session_incremental() {
|
|
|
1359
1368
|
if [[ "$_SETUP_AI_SESSION_NEEDS_HOOKS" -eq 1 ]]; then
|
|
1360
1369
|
_time_step "$SETUP_STAGE_HOOKS" setup_safety_hooks || return $?
|
|
1361
1370
|
fi
|
|
1371
|
+
if [[ "$_SETUP_AI_SESSION_NEEDS_REPO_VERIFY" -eq 1 ]]; then
|
|
1372
|
+
_time_step "setup_repo_verify_guard" setup_repo_verify_guard || return $?
|
|
1373
|
+
fi
|
|
1362
1374
|
if [[ "$_SETUP_AI_SESSION_NEEDS_PULSE" -eq 1 ]]; then
|
|
1363
1375
|
_time_step "$SETUP_STAGE_PULSE" setup_supervisor_pulse "$os" || return $?
|
|
1364
1376
|
fi
|
|
@@ -1515,6 +1527,9 @@ _setup_run_non_interactive() {
|
|
|
1515
1527
|
# initialized repo so pushes that introduce new function-complexity,
|
|
1516
1528
|
# nesting-depth, or file-size violations are caught before CI (t2198).
|
|
1517
1529
|
_time_step "setup_complexity_guard" setup_complexity_guard
|
|
1530
|
+
# Migrate exact repository-native lint policy and install/refresh repo-verify
|
|
1531
|
+
# for eligible registered repositories. Explicit opt-outs are preserved.
|
|
1532
|
+
_time_step "setup_repo_verify_guard" setup_repo_verify_guard
|
|
1518
1533
|
# Install/refresh the canonical-on-main post-checkout hook in every
|
|
1519
1534
|
# initialized repo so branch switches away from main in the canonical
|
|
1520
1535
|
# directory are warned against (t1995). Complements pre-edit-check.sh's
|