
adminandClaude Fable 5
d347dc48d2
feat: agent-capability gate for coupled features — typed StatusError + Supports probe/cache + netstorage add gate (option-1)
- agentapi: non-2xx GETs now surface as typed *StatusError (same text); features.go
adds Feature/SupportState/SupportCache (route probe, TTL 5m, Yes/No cached,
Unknown never cached or refused) + Client.Supports
- web: handleNetStorageAdd refuses up front (412, code agent_outdated, Hungarian
message) when the agent predates /netstorage/verify-status (= pre-0.81 add
semantics); gate runs BEFORE the single-flight claim; SupportUnknown passes
through to the existing agent-error paths
- netAddSupport page-render helper lands here; its template consumer follows
- tests: T1 gate refusal (job never starts, slot free), T2 unchanged happy path +
warm-cache negative assertion, T3 indeterminate never 'too old', T4
classification incl. the string-match trap, T6 TTL, wire-level 404-typing;
red-proofs RP1-RP4 run and reverted
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PSK5g6qYLknKj8u3QAFEr6
2026-07-11 13:45:49 +02:00
..
2026-07-11 13:45:49 +02:00
2026-07-06 20:23:49 +02:00
2026-06-14 21:58:49 +02:00
2026-06-14 14:08:56 +02:00
2026-02-26 21:20:09 +01:00
2026-07-10 07:02:23 +02:00
2026-06-30 21:49:47 +02:00
2026-06-29 21:45:57 +02:00
2026-02-26 21:20:09 +01:00
2026-07-09 19:14:14 +02:00
2026-02-25 13:39:45 +01:00
2026-06-26 10:28:58 +02:00
2026-02-26 21:20:09 +01:00
2026-06-29 13:13:40 +02:00
2026-07-10 15:43:29 +02:00
2026-06-13 15:38:40 +02:00
2026-06-29 20:28:02 +02:00
2026-07-09 23:58:30 +02:00
2026-06-22 23:34:33 +02:00
2026-02-21 12:33:17 +01:00
2026-07-10 15:43:29 +02:00
2026-02-26 21:20:09 +01:00
2026-06-10 13:57:27 +02:00
2026-07-10 17:52:03 +02:00
2026-07-09 23:48:42 +02:00
2026-07-02 14:38:51 +02:00
2026-07-05 11:52:04 +02:00
2026-07-06 14:05:12 +02:00
2026-06-14 10:18:22 +02:00
2026-02-25 13:47:52 +01:00
2026-07-11 13:45:49 +02:00