Repository navigation
Commit a68b4c4
fix(workspace): unlink never deletes on a "not linked" answer; confirm a link as the captured credential (review)
- `workspace unlink` touches nothing when the service says the project is not linked: `Manage.unlink` deletes server-side, and the answer can be a cached miss that predates a new link. Reverts the local cleanup added in the previous commit; the skill sync already takes skills out of service on a confirmed unbind
- `link` confirming an existing link derives the account from the captured credential, and a refused or failed record exits 1 instead of reporting the link as confirmed
- Tests assert the list and bind run as the captured credential too
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018fJ3X7pcGT4R9yzjsJnqsV1 parent ed1298a commit a68b4c4
3 files changed
Lines changed: 58 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
992 | | - | |
993 | | - | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
994 | 995 | | |
995 | 996 | | |
996 | 997 | | |
| |||
1051 | 1052 | | |
1052 | 1053 | | |
1053 | 1054 | | |
1054 | | - | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
1055 | 1072 | | |
1056 | 1073 | | |
1057 | 1074 | | |
| |||
1131 | 1148 | | |
1132 | 1149 | | |
1133 | 1150 | | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
1138 | 1155 | | |
1139 | 1156 | | |
1140 | 1157 | | |
| |||
1146 | 1163 | | |
1147 | 1164 | | |
1148 | 1165 | | |
| 1166 | + | |
1149 | 1167 | | |
| 1168 | + | |
1150 | 1169 | | |
1151 | 1170 | | |
1152 | 1171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
260 | 258 | | |
261 | 259 | | |
262 | 260 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
| 186 | + | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | 257 | | |
264 | 258 | | |
265 | 259 | | |
| |||
298 | 292 | | |
299 | 293 | | |
300 | 294 | | |
301 | | - | |
302 | | - | |
303 | | - | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
304 | 298 | | |
305 | 299 | | |
306 | 300 | | |
| |||
388 | 382 | | |
389 | 383 | | |
390 | 384 | | |
391 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
392 | 406 | | |
393 | 407 | | |
394 | 408 | | |
| |||
0 commit comments