aidevops 3.13.8 → 3.13.10

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 CHANGED
@@ -1 +1 @@
1
- 3.13.8
1
+ 3.13.10
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
8
+ # Version: 3.13.10
9
9
 
10
10
  set -euo pipefail
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.13.8",
3
+ "version": "3.13.10",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "bin": {
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.8
15
+ # Version: 3.13.10
16
16
  #
17
17
  # Quick Install:
18
18
  # npm install -g aidevops && aidevops update (recommended)
@@ -419,6 +419,37 @@ _should_setup_noninteractive_stats_wrapper() {
419
419
  return 1
420
420
  }
421
421
 
422
+ # Pulse-merge-routine is a REQUIRED dependency of the supervisor pulse — it
423
+ # is the merge-side of pulse, running merge_ready_prs_all_repos() on a fast
424
+ # 120s cadence so green PRs land within ~3 min of CI completion instead of
425
+ # waiting for the next full pulse cycle (t2862, GH#20919). Without this
426
+ # escape hatch, auto-update on existing systems never installs the routine
427
+ # (the generic _should_setup_noninteractive_scheduler chicken-and-egg gate
428
+ # returns 0 only when the scheduler is ALREADY installed). The result on
429
+ # the wild was the deterministic_merge_pass running 1-2x/24h instead of
430
+ # every 2 min, leaving green PRs unmerged for 30+ hours (t3036, GH#21616).
431
+ # Mirrors the stats-wrapper escape hatch above (t2418, GH#20016).
432
+ _should_setup_noninteractive_pulse_merge_routine() {
433
+ if _should_setup_noninteractive_scheduler \
434
+ "Pulse merge routine" \
435
+ "sh.aidevops.pulse-merge-routine" \
436
+ "aidevops: pulse-merge-routine" \
437
+ "aidevops-pulse-merge-routine"; then
438
+ return 0
439
+ fi
440
+
441
+ # Pulse-dependency escape hatch: install the merge routine whenever the
442
+ # supervisor pulse is (or will be) enabled. The routine is layered
443
+ # defense for the in-cycle merge call in pulse-wrapper.sh, which is
444
+ # kept as a safety net but short-circuits when this routine ran within
445
+ # the last 60s.
446
+ if _should_setup_noninteractive_supervisor_pulse; then
447
+ return 0
448
+ fi
449
+
450
+ return 1
451
+ }
452
+
422
453
  # Spinner for long-running operations
423
454
  # Usage: run_with_spinner "Installing package..." command arg1 arg2
424
455
  run_with_spinner() {
@@ -1360,8 +1391,11 @@ _setup_noninteractive_schedulers() {
1360
1391
  if _should_setup_noninteractive_scheduler "Complexity scan" "sh.aidevops.complexity-scan" "aidevops: complexity-scan" "aidevops-complexity-scan"; then
1361
1392
  setup_complexity_scan
1362
1393
  fi
1363
- # t2862 (GH#20919): pulse merge routine — fast 120s standalone merge pass
1364
- if _should_setup_noninteractive_scheduler "Pulse merge routine" "sh.aidevops.pulse-merge-routine" "aidevops: pulse-merge-routine" "aidevops-pulse-merge-routine"; then
1394
+ # t2862 (GH#20919): pulse merge routine — fast 120s standalone merge pass.
1395
+ # t3036 (GH#21616): use the pulse-dependency escape hatch instead of the
1396
+ # generic chicken-and-egg gate so the routine installs on existing systems
1397
+ # whenever the supervisor pulse is consented.
1398
+ if _should_setup_noninteractive_pulse_merge_routine; then
1365
1399
  setup_pulse_merge_routine
1366
1400
  fi
1367
1401
  # t2932 (GH#21125): peer productivity monitor — adaptive cross-runner