Commit f1e62ec
Purge stale Active Agents SCM installs (#420)
Older lowercase VS Code companion installs kept registering the removed Active Agents Commit Source Control provider even after the repo extension stopped creating it. The installer now deletes retired lowercase install IDs before refreshing the current Recodee companion copies, so already-open windows cannot keep loading that stale provider path after reload.
Constraint: VS Code may keep multiple local extension IDs under ~/.vscode/extensions and load stale publisher/name variants.
Rejected: Re-add a runtime Source Control hide shim | the current extension no longer creates a SourceControl object, so stale installed copies were the cause.
Confidence: high
Scope-risk: narrow
Directive: Keep retired extension ID cleanup when publisher/name casing changes; stale local install folders can survive normal compatibility refreshes.
Tested: node --test test/vscode-active-agents-session-state.test.js
Tested: diff -u scripts/install-vscode-active-agents-extension.js templates/scripts/install-vscode-active-agents-extension.js
Tested: node scripts/install-vscode-active-agents-extension.js removed 20 retired local install paths
Not-tested: node --test test/metadata.test.js remains red on unrelated README release-note/version expectations and existing Active Agents extension/template drift
Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>1 parent 5bf27a5 commit f1e62ec
4 files changed
Lines changed: 60 additions & 0 deletions
File tree
- openspec/changes/agent-codex-remove-stale-active-agents-scm-provider-2026-04-24-17-44
- scripts
- templates/scripts
- test
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
68 | 77 | | |
69 | 78 | | |
70 | 79 | | |
| |||
82 | 91 | | |
83 | 92 | | |
84 | 93 | | |
| 94 | + | |
85 | 95 | | |
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
89 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
90 | 105 | | |
91 | 106 | | |
92 | 107 | | |
| |||
107 | 122 | | |
108 | 123 | | |
109 | 124 | | |
| 125 | + | |
110 | 126 | | |
111 | 127 | | |
112 | 128 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
68 | 77 | | |
69 | 78 | | |
70 | 79 | | |
| |||
82 | 91 | | |
83 | 92 | | |
84 | 93 | | |
| 94 | + | |
85 | 95 | | |
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
89 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
90 | 105 | | |
91 | 106 | | |
92 | 107 | | |
| |||
107 | 122 | | |
108 | 123 | | |
109 | 124 | | |
| 125 | + | |
110 | 126 | | |
111 | 127 | | |
112 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1217 | 1217 | | |
1218 | 1218 | | |
1219 | 1219 | | |
| 1220 | + | |
| 1221 | + | |
1220 | 1222 | | |
1221 | 1223 | | |
1222 | 1224 | | |
1223 | 1225 | | |
1224 | 1226 | | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
1225 | 1231 | | |
1226 | 1232 | | |
1227 | 1233 | | |
| |||
1244 | 1250 | | |
1245 | 1251 | | |
1246 | 1252 | | |
| 1253 | + | |
| 1254 | + | |
1247 | 1255 | | |
1248 | 1256 | | |
| 1257 | + | |
1249 | 1258 | | |
1250 | 1259 | | |
1251 | 1260 | | |
| |||
0 commit comments