rdmbair15m5-changelog-20260905-1415-devupdate-v196-remediation-fleet-support
dev_update v1.96 Remediation & Fleet Orchestrator
One-line summary: Fixed false "ALL CLEAR" Zsh pipeline masking bug in dev_update, resolved Ollama headless launch in SSH, prevented agy cask upgrade collisions, cleaned Apple Silicon vs Intel tuning presentation, and added --fleet / --hosts multi-node execution.
Scope
- Hosts: Fleet-wide (
rdmsm4x,rdmbair13m5,rdmbair15m5,rdmpw3265m,rdmpw3275m,jdmbair13m5) - Canonical host:
rdmsm4x:~/dev/scripts/ - Primary files touched:
rdmsm4x:~/dev/scripts/dev_update_v1.96.zshrdmsm4x:~/dev/scripts/dev_update.zsh(symlink)rdmsm4x:~/dev/scripts/devupdate.zsh(symlink)rdmsm4x:~/dev_update.zsh(symlink)rdmbair15m5:~/dev/scripts/dev_update_v1.96.zshand symlinks
Root Causes Diagnosed
- False ALL CLEAR / exit 0 (Critical Zsh Bug): In
dev_update_v1.95.zshphase_dev_update, the pipeline"$FU_DU_PATH" "${args[@]}" 2>&1 | _du_filterwas inside anif ... else ... ficompound block, andDU_RC=$pipestatus[1]was placed afterfi. In Zsh, exitingfiresets$pipestatusto 0. Consequently,DU_RCevaluated as 0 regardless of failure, printing[PASS] exit 0andALL CLEAReven whendev_update.zshexited with 1 and recorded issues. brew upgrade --cask --greedy failed (exit 1)on agy:antigravity-cliauto-updates itself and overwrites the Homebrew symlink$(brew --prefix)/bin/agywith a standalone binary. Whenbrew upgrade --cask --greedysubsequently runs, Homebrew halts withError: antigravity-cli: It seems there is already a Binary at .../bin/agy. A fleet audit showed 4 other hosts (rdmbair13m5,rdmbair15m5,rdmpw3265m,rdmpw3275m) currently have this collision pending.Ollama: server failed to startunder SSH: In non-Aqua environments (SSH sessions, background agents),open -ga Ollamafails withOSLaunchdErrorDomain Code=125 ("Domain does not support specified action"). Because/Applications/Ollama.appexisted, the script exclusively attemptedopen -ga Ollamaand never fell back to headlessollama serve.- Alarming "CASCADE LAKE TUNING" Header on Apple
Silicon: Cascade Lake is the Intel Xeon W-32xx architecture on
rdmpw3265mandrdmpw3275m(using AVX-512 VNNI). Apple Silicon machines use native arm64 bottles; there is nothing to tune or recompile. Showing a prominent "CASCADE LAKE TUNING" banner on Apple Silicon was confusing.
Remediation Implemented in v1.96 / Payload v2.12
- Pipeline Exit Capture: Captured
DU_RC=$pipestatus[1]immediately inside both branches of theif/elseblock beforefi. Also escalatedDU_ISSUES > 0toHIGH_Nso issues are never masked with a falseALL CLEAR. - Pre-Cask agy Defense: Added pre-cask link
inspection: if
$(brew --prefix)/bin/agyis a regular file whileantigravity-cliis installed as a cask, unlinks it and normalizes the link sobrew upgrade --caskupgrades smoothly without conflict. - Ollama Headless Fallback: Checks
[[ "$(launchctl managername)" == "Aqua" ]]before callingopen -ga Ollama. If not in Aqua or ifapi/tagsdoes not respond within 3s, starts headless(OLLAMA_HOST="127.0.0.1:11434" ollama serve >>"$LOG_FILE" 2>&1 &)adhering to Rule 23 (127.0.0.1 only) and polls up to 15s. Verified that models refresh successfully. - Clean Apple Silicon Architecture Presentation:
Refactored Phase 4:
- On Apple Silicon (
apple-silicon): DisplaysAPPLE SILICON: Native arm64 architecture verifiedand passes cleanly without displaying the Cascade Lake recompilation banner. - On Cascade Lake Intel (
cascadelake): DisplaysCASCADE LAKE TUNINGand runs the full build-log verified recompilation pass.
- On Apple Silicon (
- Multi-Node Fleet Execution (
--fleetand--hosts):--fleet: Iterates sequentially across all 6 machines (rdmsm4x,rdmbair13m5,rdmbair15m5,rdmpw3265m,rdmpw3275m,jdmbair13m5).--hosts host1,host2: Allows updating specific targeted hosts.- Automatically applies
--no-masfor remote SSH safety (preventing headless App Store sudo hangs) and prints a consolidated fleet summary table.
Verification Evidence
dev_update_v1.96.zsh --verify-embedded: Passed with embedded payload SHA82ba1eef966605f5cdd1d138a9c061cd4b2314cdbc6c0e19242143c474a1e421andzsh syntax check: OK.dev_update_v1.96.zsh --self-test: Completed all 5 phases in 8s with exit 0.dev_update_v1.96.zsh -nonrdmsm4x: Correctly reporteddev_update.zsh reported issues (exit 1)and summaryHIGH: 1 item(s) need attention(exit 20) โ proving the pipeline bug is resolved and failures are no longer hidden.dev_update_v1.96.zsh --hosts rdmsm4x --dry-run: Completed remote orchestration via SSH and printed formatted fleet summary table.- Live
antigravity-clicask reinstallation verified onrdmsm4x:brew outdated --cask --greedyreports 0 outdated casks.