Files
aiturk-mobil/app/src/test/java/com
M57andM57 07764955d3 test(#549): add slash command dispatch audit tests (#564)
- SlashCommandDispatcherTest: covers all branch routes (Interrupt /
  NewSession / RpcDispatch) incl. case-insensitivity, args, slash-only,
  empty, and unknown commands.
- SlashCommandDispatchRpcTest: asserts a non-hardcoded command is
  forwarded to COMMAND_DISPATCH with the exact {name,arg,session_id}
  shape the gateway expects, args split correctly, and that client-
  handled /stop + /new do NOT hit the backend.

Verified against the live hermes-agent gateway: commands.catalog returns
185 catalog entries but command.dispatch only handles a subset, so most
forwarded commands currently 4018. These tests lock the client contract;
the backend gap is tracked separately.

Co-authored-by: M57 <m57@hermes-control.app>
2026-07-12 14:57:37 +03:00
..