Files
hermes-agent/apps/shared
Teknium adf44edf03 fix(gateway): declare clarify.lock as a canonical verb so the dispatcher checks its params
The owner served clarify.lock but only METHODS (the sidecar) declared it,
so AuthorityConnection.dispatch never applied the contract and
session_clarify_lock.py checked keys and types by hand. It is now in
CANONICAL_METHODS with the sidecar's own ClarifyLockParams /
ClarifyLockResult (same wire), so an unknown key or a mistyped field gets
4001 invalid_params naming the field before the handler runs. The handler
keeps only the empty-id check. Generated TS and OpenRPC regenerated.

Test: test_clarify_lock_params_are_checked_by_the_declared_canonical_contract
(KeyError: 'clarify.lock' -> green).

Review finding by @alt-glitch on #140472
Refs #134889 (TUI-18)
Refs #140337
2026-10-17 08:03:50 -07:00
..