Commit 4c06e87
feat: wire spawn error categories + worktree isolation check (AGENT-001, AGENT-002) (#594)
- spawner.py: import classify_spawn_error/RetryStrategy; break inner retry
loop immediately for NO_RETRY and RETRY_AFTER_FIX errors (adapter not
installed, permission denied) instead of trying alternate providers
- worktree.py: call validate_worktree_isolation() after create(); cleanup
and raise WorktreeError if .sdd symlink, mutable-state symlink, or
hardlink violations are detected
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9561d61 commit 4c06e87
2 files changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
1459 | 1460 | | |
1460 | 1461 | | |
1461 | 1462 | | |
| 1463 | + | |
1462 | 1464 | | |
1463 | 1465 | | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
1464 | 1483 | | |
1465 | 1484 | | |
1466 | 1485 | | |
| |||
1488 | 1507 | | |
1489 | 1508 | | |
1490 | 1509 | | |
1491 | | - | |
| 1510 | + | |
1492 | 1511 | | |
1493 | 1512 | | |
1494 | 1513 | | |
| 1514 | + | |
1495 | 1515 | | |
1496 | 1516 | | |
1497 | 1517 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
| 302 | + | |
301 | 303 | | |
302 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
303 | 318 | | |
304 | 319 | | |
305 | 320 | | |
| |||
0 commit comments