Commit 649687d
Add exception-handling and library-signature lessons to AGENTS.md
Two lessons from the migrate refill-enrichment silent-zero-updates bug:
- Broad except Exception around a single external call masks programming
errors (bad kwargs, ImportError) as silent no-ops. Only catch what you
have an actual recovery path for.
- Verify external library signatures against the installed version, not
from memory or similar-looking code. The parallel=False kwarg was a
hallucination that the per-IP except silently ate for an entire release.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 75c051a commit 649687d
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
0 commit comments