From 071a4b2bd603fa170db16cc0dc72ae20c539e3b5 Mon Sep 17 00:00:00 2001 From: marcusquinn <6428977+marcusquinn@users.noreply.github.com> Date: Sat, 24 Jan 2026 01:28:36 +0000 Subject: [PATCH] feat: aidevops update now checks planning template versions - Extract check_planning_file_version() to top-level for reuse - Add check_planning_needs_upgrade() helper for per-repo checks - After version upgrades, scan registered repos for outdated planning templates and offer to upgrade them (runs upgrade-planning --force) - Shows current vs latest template version and what's new - Only checks repos with planning feature enabled --- aidevops.sh | 148 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 122 insertions(+), 26 deletions(-) diff --git a/aidevops.sh b/aidevops.sh index 163e5dd3..a3715a19 100755 --- a/aidevops.sh +++ b/aidevops.sh @@ -153,6 +153,48 @@ check_repo_needs_upgrade() { return 1 # up to date } +# Check if a planning file needs upgrading (version mismatch or missing TOON markers) +# Usage: check_planning_file_version