Commit fa4da7d
fix(api): drop contextually-wrong "anon resources auto-expire" hint from generic 404 (BUG-API-105)
The generic "not_found" agent_action used to tack on "anon resources
also auto-expire after 24h" — irrelevant when the 404 is a typo'd path,
unknown internal endpoint, or authenticated misroute. Hint is kept on
the surface-specific 404s (webhook_not_found etc.) where the auto-
expire footnote IS actionable.
Coverage block:
Symptom: 404 agent_action says "anon resources auto-expire" on
any 404 including internal/typo'd routes
Enumeration: rg 'anon resources' internal/ --type go
Sites found: 2 — webhook_not_found (kept; correct context) +
generic not_found (changed)
Sites touched: 1 (generic not_found)
Coverage test: N/A — agent_action contract is the prose itself; no
test pins the exact wording for the generic 404 today.
Live verified: pending merge + auto-deploy + curl unknown path
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f75324c commit fa4da7d
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
347 | 354 | | |
348 | 355 | | |
349 | 356 | | |
| |||
0 commit comments