Commit 4231fee
committed
Make uninstall reverse everything it installed, not just skills
Only skills had a branch that removed what the backup lacked. Everything else
relied on restoring a prior version over the top, which works on a machine that
had one and does nothing at all on a fresh install. Uninstalling a first-time
install therefore left 8 agents, 14 commands, 4 hooks and 7 wrappers behind with
nothing to say where they came from.
Same rule, applied to the rest. A file the backup has is restored; a file it
does not have was added by vstack and goes. Symlinks are still never touched.
settings.json and .claude.json stay out of it on purpose. install.sh merges
those rather than copying them, so no version of either belongs solely to
vstack, and deleting one would take the user's own configuration with it.
Found by running the lane rather than reading it, in a scratch HOME seeded with
a file the installer overwrites and one it never touches. Worth recording that
the first attempt to measure this read `uninstall.sh | tail` and reported exit 0
for the no --yes case. Unpiped it is 1, as documented. That is twice now that a
pipe has produced a false green in this repo.
.audit/ is gitignored: decision logs carry machine detail.1 parent d19ccf3 commit 4231fee
2 files changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
130 | 158 | | |
131 | 159 | | |
132 | 160 | | |
| |||
167 | 195 | | |
168 | 196 | | |
169 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
170 | 202 | | |
171 | 203 | | |
0 commit comments