
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-02 14:05:41 +02:00
2026-07-11 10:05:08 +02:00
2026-06-22 17:19:24 +02:00
2026-07-01 18:04:49 +02:00
2026-06-13 14:23:34 +02:00
2026-06-13 14:23:34 +02:00
2026-06-29 20:28:02 +02:00
2026-07-06 20:23:49 +02:00
2026-02-26 21:20:09 +01:00
2026-06-12 20:26:52 +02:00
2026-02-25 13:39:45 +01:00
2026-06-15 19:26:02 +02:00
2026-07-02 14:05:41 +02:00
2026-06-24 11:01:18 +02:00
2026-07-02 14:38:51 +02:00
2026-07-02 14:22:27 +02:00
2026-07-02 14:47:22 +02:00
2026-06-10 13:57:27 +02:00
2026-06-22 23:34:33 +02:00
2026-07-10 17:52:03 +02:00
2026-06-13 22:58:59 +02:00
2026-06-16 17:37:12 +02:00
2026-06-30 14:40:47 +02:00
2026-02-23 16:02:28 +01:00
2026-07-11 09:59:33 +02:00
2026-07-11 09:59:33 +02:00
2026-07-11 09:59:33 +02:00
2026-07-11 13:45:49 +02:00
2026-06-30 14:40:47 +02:00
2026-07-11 13:45:49 +02:00
2026-07-11 09:59:33 +02:00
2026-07-11 09:59:33 +02:00
2026-07-09 22:26:53 +02:00
2026-07-09 23:19:17 +02:00
2026-06-14 09:56:30 +02:00
2026-07-11 13:45:49 +02:00
2026-07-02 21:29:14 +02:00
2026-07-01 18:19:15 +02:00
2026-07-11 09:59:33 +02:00
2026-07-11 10:05:08 +02:00
2026-02-25 12:42:51 +01:00
2026-06-29 08:45:04 +02:00
2026-07-05 13:20:56 +02:00
2026-06-22 23:34:33 +02:00
2026-06-22 23:34:33 +02:00