mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 13:12:26 +00:00
* 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>