rdmbair13m5-changelog-20260828-2145-devupdate-agy-autorepair-release
rdmbair13m5-changelog-20260828-2145-devupdate-agy-autorepair-release
Created ~/devupdateAGY.zsh, an enhanced maintenance
script that pairs dev environment updates with automatic Google
Antigravity (AGY) diagnostic analysis and remediation.
Scope
- Hosts:
rdmbair13m5(template ready for fleet replication tordmsm4x:~/dev) - Files touched:
~/devupdateAGY.zsh(mode 0755)~/dev/LLM/Claude/changelogs/rdmbair13m5-changelog-20260828-2145-devupdate-agy-autorepair-release.md
Summary of Changes
- AGY Auto-Repair Integration:
- Analyzes
$ISSUESarray and$LOG_FILEat the end of the update pass. - If any "Action Required" items occur, automatically launches
agywith structured failure diagnostics, log paths, and repair directives. - Supports interactive execution (
agy -i), automated non-interactive repair (--agy-auto/--dangerously-skip-permissions), custom models (--agy-model), or suppression (--no-agy).
- Analyzes
- Network Pre-flight and Offline Hardening:
- Probes network reachability early to prevent misdiagnosing temporary network/DNS drops as broken package manager installations.
- Sanitizes
mas outdatedand Apple software update offline errors into clean diagnostic summaries.
- Corepack and Toolchain Hanging Protection:
- Exports
COREPACK_ENABLE_DOWNLOAD_PROMPT=0to ensure package manager shims (yarn,pnpm) do not stall in background subshells waiting for invisible prompts. - Enforces timeout wrappers on version queries
(
quick_cmd). - Downgrades non-critical doc cache refreshes
(
tldr --update) fromrun_cmd(blocking failure) torun_soft(advisory warning).
- Exports
Verification
- Verified syntax, executable permissions,
--helpoutput, and full dry-run execution:~/devupdateAGY.zsh --dry-run --no-agycompleted in 29s with exit code 0.- Pinned execution and single-run lock mechanisms verified.
How to Undo
- Delete
~/devupdateAGY.zshif no longer needed.