Commit 7128618
committed
fix(#247): classify the claude Exec-format/broken-shim failure with retry guidance (ABCA-659)
When the agent image's claude CLI can't be exec'd (OSError Exec format error, or
the shim's own 'claude native binary not installed'), the classifier had no
matching pattern and fell through to the bare 'Unexpected error' with a generic
'report it' remedy — the exact no-guidance anti-pattern the error-feedback arc
(K5 buckets, remedy+retryable+errorClass) was built to eliminate. Live-caught on
ABCA-659's retry: the ❌ Linear comment just said 'Unexpected error', telling the
user nothing about whether to retry or escalate.
Add a COMPUTE + transient pattern so the failure reads honestly and actionably:
'Couldn't start the coding agent (environment issue) … not a problem with your
request … reply here to try again; if every attempt fails the same way, the
agent image needs a rebuild — contact your ABCA admin with the task id.' The
transient class also lets the platform's session-start auto-retry take a shot.
Matched before the AGENT/UNKNOWN fallthrough; two tests pin the copy + axis.1 parent cb92466 commit 7128618
2 files changed
Lines changed: 45 additions & 0 deletions
File tree
- cdk
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
258 | 282 | | |
259 | 283 | | |
260 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
160 | 181 | | |
161 | 182 | | |
162 | 183 | | |
| |||
0 commit comments