mengzhe gan and morluto
82e16b4dda
fix(setup): write the recommended tool call timeout into dsh registrations ( #4043 )
...
* fix(setup): write the recommended tool call timeout into dsh registrations
rea setup --client dsh wrote registrations without toolCallTimeoutMs, so
DeepSeek Harness applied its 60-second default while a native provider
startup alone can exceed it. Setup now derives the deadline from the same
provider allowance plus operation headroom used for Kimi and Codex,
preserves a positive caller-selected value, and doctor reports a
registration without a usable timeout as stale.
ProviderRequestBudgetResolver declares an optional budgetSettings read
set, so the fail-closed budget gate rejects unresolved Cordis expressions
only for settings the derivation may read plus the timeout inputs; an
unrelated expression such as GHIDRA_INSTALL_DIR still refreshes, and an
expression in REA_IDA_MCP_CONFIG fails closed.
* test(setup): record the dsh tool call deadline in the NUL repair fixture
The NUL refusal scenario rewrites a valid dsh registration and expects
doctor to report it healthy. That fixture omitted toolCallTimeoutMs,
which doctor now reports stale, so the repaired registration records the
deadline a current dsh registration carries.
* test(setup): separate dsh timeout repair coverage
---------
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com >
2026-11-18 14:31:34 -05:00
..
2026-11-18 13:06:25 -05:00
2026-11-17 18:38:40 -05:00
2026-11-16 06:28:01 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 07:40:30 +08:00
2026-11-17 09:01:23 -05:00
2026-11-17 10:04:46 +00:00
2026-11-16 03:56:10 +08:00
2026-11-18 13:05:37 -05:00
2026-11-18 09:41:35 -05:00
2026-11-16 06:28:01 +08:00
2026-11-18 12:49:23 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 09:14:20 +08:00
2026-11-16 06:28:01 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 07:05:30 +08:00
2026-11-17 18:48:24 -05:00
2026-11-17 14:40:38 +00:00
2026-11-18 12:59:16 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 07:55:43 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 08:42:11 +08:00
2026-11-16 08:39:18 +08:00
2026-11-17 13:13:02 +00:00
2026-11-16 09:48:52 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 09:28:35 +08:00
2026-11-16 06:28:01 +08:00
2026-11-18 10:09:07 -05:00
2026-11-16 20:39:33 -05:00
2026-11-16 06:28:01 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 06:28:01 +08:00
2026-11-15 20:58:47 -05:00
2026-11-16 07:40:30 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 06:28:01 +08:00
2026-11-17 08:19:52 +00:00
2026-11-17 14:16:24 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-11 20:16:24 +08:00
2026-11-17 14:16:24 -05:00
2026-11-15 15:33:08 +08:00
2026-11-16 04:20:40 +08:00
2026-11-13 04:45:16 -05:00
2026-11-16 06:28:01 +08:00
2026-11-16 07:28:20 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 07:05:30 +08:00
2026-11-11 17:15:47 +08:00
2026-11-16 07:04:34 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-11 17:15:47 +08:00
2026-11-16 06:28:01 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-17 18:48:24 -05:00
2026-11-15 23:52:56 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 03:05:55 +08:00
2026-11-01 13:30:21 +08:00
2026-11-13 04:45:16 -05:00
2026-11-16 07:05:30 +08:00
2026-11-15 21:31:35 +08:00
2026-11-17 14:16:24 -05:00
2026-11-15 10:13:14 -05:00
2026-11-16 03:56:10 +08:00
2026-11-15 21:31:35 +08:00
2026-11-15 21:31:35 +08:00
2026-11-15 21:31:35 +08:00
2026-11-14 14:37:04 -05:00
2026-11-15 21:31:35 +08:00
2026-11-15 21:31:35 +08:00
2026-11-15 19:39:33 +08:00
2026-11-15 20:53:36 -05:00
2026-11-16 07:05:30 +08:00
2026-11-16 03:56:10 +08:00
2026-11-17 18:48:24 -05:00
2026-11-18 14:31:34 -05:00
2026-11-16 07:05:30 +08:00
2026-11-11 17:42:53 -05:00
2026-11-18 14:31:34 -05:00
2026-11-15 20:53:25 +08:00
2026-11-14 04:08:37 -05:00
2026-11-15 19:39:33 +08:00
2026-11-18 14:31:34 -05:00
2026-11-15 19:39:33 +08:00
2026-11-16 07:05:30 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 16:30:22 -05:00
2026-11-16 16:30:22 -05:00
2026-11-16 05:31:37 +08:00
2026-11-16 05:31:37 +08:00
2026-11-17 19:58:40 +08:00
2026-11-16 03:56:10 +08:00
2026-11-18 14:31:34 -05:00
2026-11-17 19:58:40 +08:00
2026-11-11 04:10:32 -05:00
2026-11-16 03:56:10 +08:00
2026-11-18 14:31:34 -05:00
2026-11-09 18:30:31 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-11-05 03:26:31 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 16:42:07 -05:00
2026-11-15 18:38:24 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 06:28:01 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 07:05:30 +08:00
2026-11-14 04:08:37 -05:00
2026-11-14 04:08:37 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-15 20:53:36 -05:00
2026-10-31 11:11:05 -07:00
2026-10-28 14:12:39 +08:00
2026-11-15 19:54:39 +08:00
2026-11-15 21:31:35 +08:00
2026-11-15 20:53:36 -05:00
2026-11-11 17:28:23 +08:00
2026-11-16 10:59:18 +08:00
2026-10-27 09:26:40 +08:00
2026-11-14 05:36:32 +01:00
2026-11-16 06:28:01 +08:00
2026-11-17 18:38:27 -05:00
2026-11-14 19:00:38 -05:00
2026-11-16 10:59:18 +08:00
2026-11-16 20:55:14 -05:00
2026-11-16 07:05:30 +08:00
2026-11-15 19:39:33 +08:00
2026-11-13 04:45:16 -05:00
2026-11-16 10:59:18 +08:00
2026-10-27 08:47:16 +08:00
2026-11-13 04:45:16 -05:00
2026-11-11 17:28:23 +08:00
2026-11-16 10:59:18 +08:00
2026-11-14 19:28:38 +08:00
2026-11-15 18:38:24 +08:00
2026-11-11 17:28:23 +08:00
2026-11-16 10:59:18 +08:00
2026-11-18 10:05:23 -05:00
2026-11-16 04:27:07 +08:00
2026-11-16 04:27:07 +08:00
2026-11-16 04:27:07 +08:00
2026-11-16 07:05:30 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 04:27:07 +08:00
2026-11-16 03:56:10 +08:00
2026-11-15 19:54:39 +08:00
2026-11-17 18:48:24 -05:00
2026-11-15 19:39:33 +08:00
2026-11-16 03:56:10 +08:00
2026-11-11 17:21:19 +08:00
2026-11-11 17:21:19 +08:00
2026-11-11 17:21:19 +08:00
2026-11-12 22:05:32 -05:00
2026-11-16 07:05:30 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-15 20:06:47 +08:00
2026-11-16 03:56:10 +08:00
2026-11-15 20:53:36 -05:00
2026-11-14 14:16:39 +01:00
2026-11-08 16:39:20 +00:00
2026-11-16 06:28:01 +08:00
2026-11-09 18:28:13 +08:00
2026-11-16 06:28:01 +08:00
2026-11-09 18:28:13 +08:00
2026-11-16 06:28:01 +08:00
2026-10-29 07:54:41 +08:00
2026-11-14 14:16:39 +01:00
2026-11-16 06:28:01 +08:00
2026-10-31 02:23:47 +08:00
2026-11-11 21:39:09 +08:00
2026-11-16 03:56:10 +08:00
2026-11-11 18:23:15 +08:00
2026-11-15 20:53:36 -05:00
2026-11-16 07:29:54 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 00:05:14 +08:00
2026-11-16 07:29:54 +08:00
2026-11-12 22:05:32 -05:00
2026-11-17 08:28:59 -05:00
2026-11-17 19:58:40 +08:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-11-16 05:31:37 +08:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-17 18:48:24 -05:00
2026-11-18 14:31:34 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 07:05:30 +08:00
2026-11-14 05:36:32 +01:00
2026-11-14 05:36:32 +01:00
2026-11-17 18:48:24 -05:00
2026-11-16 03:56:10 +08:00
2026-11-15 20:53:36 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 07:05:30 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 07:05:30 +08:00
2026-11-16 03:56:10 +08:00
2026-11-17 18:48:24 -05:00
2026-11-10 23:58:52 -05:00
2026-11-18 09:11:08 -05:00
2026-11-15 19:39:33 +08:00
2026-11-16 07:05:30 +08:00
2026-11-16 07:05:30 +08:00
2026-11-16 07:05:30 +08:00
2026-11-08 16:39:20 +00:00
2026-11-16 07:05:30 +08:00
2026-11-15 19:54:39 +08:00
2026-11-15 20:53:36 -05:00
2026-11-10 16:02:45 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 06:28:01 +08:00
2026-11-16 06:28:01 +08:00
2026-11-16 03:56:10 +08:00
2026-11-11 02:28:27 -05:00
2026-11-16 07:04:34 +08:00
2026-11-15 20:53:36 -05:00
2026-11-16 06:28:01 +08:00
2026-11-15 20:53:36 -05:00
2026-11-16 03:56:10 +08:00
2026-11-16 06:28:01 +08:00
2026-11-16 07:04:34 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-14 04:08:37 -05:00
2026-11-14 04:08:37 -05:00
2026-10-29 10:12:09 +08:00