#!/bin/zsh
set -e
R=/var/home/jim60105/repos/subx-cli/.worktrees/split-mixed-capabilities-across-repos/local_scratch/replace.zsh
T=/var/home/jim60105/repos/subx-cli/.worktrees/split-mixed-capabilities-across-repos/openspec/changes/split-mixed-capabilities-across-repos/tasks.md
zsh $R $T 'for **91** arriving titles. Rename map: the removed *Library and Binary Error Surface Split* arrives as the new-half title *Library Error Surface Holds Only Machine Contracts* (already in the seven); the other 83 removed titles arrive verbatim, incl. *Task Scheduler Entry Point* and *Sync Method Selection*, which keep their own titles on the core half' 'for **91** arriving titles: 82 removed titles arrive verbatim under their own names (incl. *Task Scheduler Entry Point* and *Sync Method Selection*, which keep their titles on the core half) and two are retired — *Library and Binary Error Surface Split* arrives renamed *Library Error Surface Holds Only Machine Contracts* and *No-Extract CLI Flag* arrives renamed *No-Extract Collection Switch*, the ninth core-half title — so the arriving set is 82 + 7 + 2 = 91'
zsh $R $T 'Rename map: the removed *Library and Binary Error Surface Split* arrives renamed *Library Error Surface Holds Only Machine Contracts* (already among the seven); the other 83 removed titles arrive under their own titles' 'Rename map: *Library and Binary Error Surface Split* arrives renamed *Library Error Surface Holds Only Machine Contracts*, and *No-Extract CLI Flag* arrives renamed *No-Extract Collection Switch*; the other 82 removed titles arrive under their own titles, and the seven new core-half titles complete the 82 + 7 + 2 = 91'
echo OK