Anthony Tafoya
6654f7a7ab
Gate capability discovery V2 on executor version ( #57192 )
...
## Why
Executors older than `0.164.0` can advertise V2 discovery support without implementing the final contract. Enabling V2 also suppressed V1 discovery for incompatible executors, hiding selected capability roots and skills.
## What changed
Require both the V2 capability flag and an executor version of at least `0.164.0` before issuing `capabilities/discoverV2`. Share this compatibility check between session discovery and the exec-server client. Fall back to V1 when incompatible executors provide no V2 snapshots, clearing any previously stored V2 inventory.
## Testing
Add coverage for version boundaries, prereleases, missing and malformed versions, and transport recovery for compatible executors. Verify that an older executor retains selected plugins and skill instructions through V1 with V2 enabled.
GitOrigin-RevId: 93adf52fc91f02b58fd14f8ff3b093712b3346b8
2026-10-26 19:03:08 +00:00
..
2026-10-21 21:50:55 +00:00
2026-10-14 07:13:22 +00:00
2026-10-20 21:28:45 +00:00
2026-10-23 14:59:40 +00:00
2026-10-26 18:20:30 +00:00
2026-10-26 18:33:05 +00:00
2026-10-26 18:13:00 +00:00
2026-10-21 19:06:57 +00:00
2026-10-26 18:23:07 +00:00
2026-10-26 18:13:00 +00:00
2026-10-26 18:06:07 +00:00
2026-10-12 11:24:22 +00:00
2026-10-16 23:56:33 +00:00
2026-10-15 19:51:22 +00:00
2026-10-22 19:36:47 +00:00
2026-10-26 18:06:07 +00:00
2026-10-07 22:11:14 +00:00
2026-10-20 15:43:19 +00:00
2026-10-26 18:22:11 +00:00
2026-10-26 18:06:07 +00:00
2026-10-26 18:14:57 +00:00
2026-10-20 15:43:19 +00:00
2026-10-21 21:46:56 +00:00
2026-10-20 18:53:06 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-26 18:22:11 +00:00
2026-10-19 21:43:19 +00:00
2026-10-23 04:01:39 +00:00
2026-10-26 18:33:05 +00:00
2026-10-16 19:26:46 +00:00
2026-10-17 04:02:21 +00:00
2026-10-26 19:03:08 +00:00
2026-10-20 14:14:59 +00:00
2026-10-19 15:15:17 +00:00
2026-10-26 17:56:43 +00:00
2026-10-20 21:28:45 +00:00
2026-10-21 22:49:54 +00:00
2026-10-08 20:11:43 +00:00
2026-10-26 18:14:57 +00:00
2026-10-26 19:03:08 +00:00
2026-10-22 11:52:34 +00:00
2026-10-26 18:20:30 +00:00
2026-10-26 18:13:00 +00:00
2026-10-26 18:31:49 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 19:36:47 +00:00
2026-10-21 19:53:00 +00:00
2026-10-13 17:22:34 +00:00
2026-10-19 15:15:41 +00:00
2026-10-26 18:15:37 +00:00
2026-10-21 02:41:05 +00:00
2026-10-23 18:39:28 +00:00
2026-10-26 18:06:07 +00:00
2026-10-22 19:36:47 +00:00
2026-10-26 18:31:21 +00:00
2026-10-26 18:33:05 +00:00
2026-10-23 12:23:10 +00:00
2026-10-22 19:36:47 +00:00
2026-10-23 15:00:06 +00:00
2026-10-22 19:36:47 +00:00
2026-10-26 18:33:05 +00:00
2026-10-26 18:33:05 +00:00
2026-10-23 00:40:04 +00:00
2026-10-19 20:54:41 +00:00
2026-10-26 18:22:40 +00:00
2026-10-20 22:34:40 +00:00
2026-10-06 21:29:35 +00:00
2026-10-23 00:46:28 +00:00
2026-10-26 18:23:07 +00:00
2026-10-10 02:54:59 +00:00
2026-10-23 11:43:14 +00:00
2026-10-19 16:56:42 +00:00
2026-10-22 23:14:44 +00:00
2026-10-23 04:52:47 +00:00
2026-10-23 03:39:48 +00:00
2026-10-26 18:22:11 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-22 04:59:19 +00:00
2026-10-20 21:28:45 +00:00
2026-10-19 21:01:44 +00:00
2026-10-23 18:30:44 +00:00
2026-10-22 00:19:02 +00:00
2026-10-12 17:52:12 +00:00
2026-10-26 18:20:30 +00:00
2026-10-26 18:13:00 +00:00
2026-10-23 04:01:39 +00:00
2026-10-26 18:14:57 +00:00
2026-10-13 22:40:57 +00:00
2026-10-23 17:35:25 +00:00
2026-10-16 06:06:54 +00:00
2026-10-22 17:42:21 +00:00
2026-10-20 21:28:45 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 17:02:32 +00:00
2026-10-26 18:05:05 +00:00
2026-10-07 22:11:14 +00:00
2026-10-26 18:06:07 +00:00
2026-10-26 18:06:07 +00:00
2026-10-20 11:55:08 +00:00
2026-10-20 21:28:45 +00:00