aidevops 3.39.51 → 3.39.53

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.51-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
28
+ [![Version](https://img.shields.io/badge/Version-3.39.53-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.51
1
+ 3.39.53
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.51
8
+ # Version: 3.39.53
9
9
 
10
10
  set -euo pipefail
11
11
 
@@ -1231,7 +1231,7 @@ _help_commands() {
1231
1231
  echo " lint [cmd] Audit/configure native repo lint, format, typecheck, and hooks"
1232
1232
  echo " design <cmd> DESIGN.md detection, scaffolding, and brand guideline exports"
1233
1233
  echo " keywords <cmd> context/keywords.md search targets: scaffold, brief, sync, track, budget"
1234
- echo " cleanup <cmd> Cleanup helpers (remote branch audit/delete)"
1234
+ echo " cleanup [cmd] Storage report/reclaim (all --apply) and branch cleanup"
1235
1235
  echo " model-accounts-pool OAuth account pool (list/check/diagnose/add/rotate/reset-cooldowns)"
1236
1236
  echo " gpt56-context <cmd> Manage the 300K GPT-5.6 OpenCode context cap (enable/disable/status)"
1237
1237
  echo " gpt6-context <cmd> Manage the default ~240K GPT-6 Sol/Luna compaction cap (enable/disable/status)"
@@ -2100,7 +2100,8 @@ _main_dispatch() {
2100
2100
  }
2101
2101
 
2102
2102
  _main_dispatch_cleanup() {
2103
- local cleanup_subcommand="${1:-help}"
2103
+ local cleanup_subcommand="${1:-report}"
2104
+ local storage_helper="storage-cleanup-helper.sh"
2104
2105
  case "$cleanup_subcommand" in
2105
2106
  branches | remote-branches)
2106
2107
  shift || true
@@ -2110,22 +2111,33 @@ _main_dispatch_cleanup() {
2110
2111
  shift || true
2111
2112
  _dispatch_helper "local-branch-cleanup-helper.sh" "local-branch-cleanup-helper.sh" "$@"
2112
2113
  ;;
2113
- help | --help | -h | "")
2114
- echo "Usage: aidevops cleanup <branches|remote-branches|local-branches> [options]"
2114
+ report | status | all | tmp | worktrees | opencode | observability)
2115
+ # GH#35245: storage stores route to their existing owning cleaners.
2116
+ _dispatch_helper "$storage_helper" "$storage_helper" "$@"
2117
+ return $?
2118
+ ;;
2119
+ help | --help | -h)
2120
+ echo "Usage: aidevops cleanup [report|all|<store>|<branch-cmd>] [options]"
2121
+ echo ""
2122
+ echo "Storage (dry-run unless --apply):"
2123
+ echo " (no args), report Sizes of aidevops-owned stores and their cleaners"
2124
+ echo " all [--apply] Preview or clean every store"
2125
+ echo " tmp|worktrees|opencode|observability [--apply] One store"
2126
+ echo " Daily automatic run: routine r922 Storage hygiene (installed by setup)"
2115
2127
  echo ""
2116
- echo "Cleanup commands:"
2117
- echo " branches Audit stale remote branches (dry-run default)"
2128
+ echo "Branches (dry-run unless --apply):"
2129
+ echo " branches Audit stale remote branches"
2118
2130
  echo " remote-branches Alias for branches"
2119
- echo " local-branches Audit merged local branches (dry-run default)"
2131
+ echo " local-branches Audit merged local branches"
2120
2132
  echo ""
2121
- echo "Options:"
2133
+ echo "Branch options:"
2122
2134
  echo " --repo PATH Repository path (default: current directory)"
2123
2135
  echo " --remote NAME Remote to audit (default: origin)"
2124
2136
  echo " --branch NAME Single local branch (local-branches only)"
2125
2137
  echo " --apply Delete safe candidates"
2126
2138
  echo ""
2127
2139
  ;;
2128
- *) print_error "Unknown cleanup subcommand: $cleanup_subcommand (try branches|remote-branches|local-branches|help)"; return 1 ;;
2140
+ *) print_error "Unknown cleanup subcommand: $cleanup_subcommand (try report|all|tmp|worktrees|opencode|observability|branches|local-branches|help)"; return 1 ;;
2129
2141
  esac
2130
2142
  return 0
2131
2143
  }
package/bun.lock CHANGED
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@secretlint/secretlint-rule-preset-recommend": "13.0.7",
16
- "@types/bun": "1.4.2",
16
+ "@types/bun": "1.4.3",
17
17
  "@types/react": "19.3.0",
18
18
  "@types/react-dom": "19.2.7",
19
19
  "ajv": "8.20.0",
@@ -54,8 +54,8 @@
54
54
  "@fontsource/mohave": "5.3.0",
55
55
  "@fontsource/playpen-sans": "5.3.0",
56
56
  "@fontsource/poppins": "5.3.0",
57
- "@fontsource/source-sans-3": "5.3.0",
58
- "@fontsource/source-serif-4": "5.3.0",
57
+ "@fontsource/source-sans-3": "5.3.1",
58
+ "@fontsource/source-serif-4": "5.3.1",
59
59
  "@fontsource/tilt-neon": "5.3.0",
60
60
  "@fontsource/ubuntu": "5.3.0",
61
61
  "@fontsource/ubuntu-mono": "5.3.0",
@@ -115,9 +115,9 @@
115
115
 
116
116
  "@fontsource/poppins": ["@fontsource/poppins@5.3.0", "", {}, "sha512-cms1nM7U6SN8epIV1WMVOV8VsA645aSm3wHfzIQnkk188U341ThbJGSl2Sv54V29gnDbT2arMPfLzvVIIVCceQ=="],
117
117
 
118
- "@fontsource/source-sans-3": ["@fontsource/source-sans-3@5.3.0", "", {}, "sha512-VrWixSgF93kOVSEkwjs9ImnAbxrBew4PgcnaJYEitG9TyJSwxjFUNJIgzB1XFP/acyAWcTDg7+sWe7JI8LTB9w=="],
118
+ "@fontsource/source-sans-3": ["@fontsource/source-sans-3@5.3.1", "", {}, "sha512-O3YxvbotUOgYI2Zx0bBcEMNjnwitRf9P2+9pd54sMoux1NHrdXnMwZusw2P78lFhEzOPN4glOEQmX0ASaS68uA=="],
119
119
 
120
- "@fontsource/source-serif-4": ["@fontsource/source-serif-4@5.3.0", "", {}, "sha512-yQz8xmIgMzks8zQbpuca3UYtjxK798XCyQAGdDXmzBgvV7sdoK6d0YvE9F9kiYxORCEMRBgGZDZsSYcXj5KvwA=="],
120
+ "@fontsource/source-serif-4": ["@fontsource/source-serif-4@5.3.1", "", {}, "sha512-cWcTCXjYYrgF9A67fThVir1VSc0lPEYmwQ6jA4pPt01s2MSCi/maINUcZoCzaqnU8fyUReDO97eGcBUkHgOeug=="],
121
121
 
122
122
  "@fontsource/tilt-neon": ["@fontsource/tilt-neon@5.3.0", "", {}, "sha512-A9C6HZEwi8TWuLiSzJQdpeb7F3rbB+nfe5MswkiR27iZVgZ9DAAB3fORtYIkAbndhH9ydnwfOJC2oR04HXyW5w=="],
123
123
 
@@ -199,7 +199,7 @@
199
199
 
200
200
  "@tokenizer/token": ["@tokenizer/token@0.3.0", "", {}, "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A=="],
201
201
 
202
- "@types/bun": ["@types/bun@1.4.2", "", { "dependencies": { "bun-types": "1.4.2" } }, "sha512-GimotNn7+ZV0uVArItBbriZsR1oNf0+WTzPkdcFrzShI7k2norL0uzEaJT8T33dWr7O/c9ZDuAFQrctKCi72oQ=="],
202
+ "@types/bun": ["@types/bun@1.4.3", "", { "dependencies": { "bun-types": "1.4.3" } }, "sha512-N67Pqy8JXbAY/j0tNraS3V5mubGvc6rrrNDmDCtZLlFzccbUJPDb0tvgUBC5q4m8ybkP93Jcn1QB+RYQ6PvBhw=="],
203
203
 
204
204
  "@types/node": ["@types/node@24.10.1", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ=="],
205
205
 
@@ -267,7 +267,7 @@
267
267
 
268
268
  "boundary": ["boundary@2.0.0", "", {}, "sha512-rJKn5ooC9u8q13IMCrW0RSp31pxBCHE3y9V/tp3TdWSLf8Em3p6Di4NBpfzbJge9YjjFEsD0RtFEjtvHL5VyEA=="],
269
269
 
270
- "bun-types": ["bun-types@1.4.2", "", { "dependencies": { "@types/node": "*" } }, "sha512-bxV1FgK7yBIzjRe5zBozIM4Bem11ZJcCXSrjWRG3YWLt8yFDePu4cLjpebO8OvPeIE9trbyPF4fuj3Cia4Fj3w=="],
270
+ "bun-types": ["bun-types@1.4.3", "", { "dependencies": { "@types/node": "*", "undici-types": "*" } }, "sha512-tinRJNGOmUN+tEAsn2y2e942n9JHRHR42iUYzDH75NmhJqVBokGSQkkfSFdNWwsANIdrK6ACH9t01M452YyTwg=="],
271
271
 
272
272
  "chalk": ["chalk@5.6.2", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="],
273
273
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.39.51",
3
+ "version": "3.39.53",
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",
@@ -63,7 +63,7 @@
63
63
  },
64
64
  "devDependencies": {
65
65
  "@secretlint/secretlint-rule-preset-recommend": "13.0.7",
66
- "@types/bun": "1.4.2",
66
+ "@types/bun": "1.4.3",
67
67
  "@types/react": "19.3.0",
68
68
  "@types/react-dom": "19.2.7",
69
69
  "ajv": "8.20.0",
@@ -16,8 +16,8 @@
16
16
  "@fontsource/mohave": "5.3.0",
17
17
  "@fontsource/playpen-sans": "5.3.0",
18
18
  "@fontsource/poppins": "5.3.0",
19
- "@fontsource/source-sans-3": "5.3.0",
20
- "@fontsource/source-serif-4": "5.3.0",
19
+ "@fontsource/source-sans-3": "5.3.1",
20
+ "@fontsource/source-serif-4": "5.3.1",
21
21
  "@fontsource/tilt-neon": "5.3.0",
22
22
  "@fontsource/ubuntu": "5.3.0",
23
23
  "@fontsource/ubuntu-mono": "5.3.0",
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.51
20
+ # Version: 3.39.53
21
21
  #
22
22
  # Quick Install:
23
23
  # npm install -g aidevops && aidevops update (recommended)
@@ -1902,6 +1902,8 @@ _setup_noninteractive_schedulers() {
1902
1902
  # opencode DB archive/VACUUM (GH#25136). Dedicated low-priority scheduler;
1903
1903
  # not tied to pulse preflight cadence.
1904
1904
  _time_step "setup_opencode_db_archive" setup_opencode_db_archive
1905
+ # r922 storage hygiene (GH#35245). Daily owning-cleaner run, Pulse-independent.
1906
+ _time_step "setup_storage_hygiene" setup_storage_hygiene
1905
1907
  # Migrate cron entries to systemd after schedulers are installed (GH#17695 Finding D)
1906
1908
  _time_step "migrate_cron_to_systemd" migrate_cron_to_systemd
1907
1909
  _time_step "$SETUP_STAGE_TABBY" setup_tabby
@@ -1958,6 +1960,7 @@ _setup_post_setup_steps() {
1958
1960
  setup_oauth_token_refresh
1959
1961
  setup_opencode_db_maintenance
1960
1962
  setup_opencode_db_archive
1963
+ setup_storage_hygiene
1961
1964
  # Migrate cron entries to systemd after schedulers are installed (GH#17695 Finding D)
1962
1965
  migrate_cron_to_systemd
1963
1966
  setup_tabby