Files
hermes-agent/scripts
alt-glitch 0173fb57b4 docs(gateway): say which methods the shared gateway answers, from the dispatch tables
The attached-client page listed a hand-picked "Method catalog (selected)"
that included methods the shared gateway's /api/ws socket refuses
(session.title, session.usage, session.activate, session.compress,
session.branch, session.close, session.status). Nothing told a client
author that `x-canonical-methods` (53 names) is the set of methods with a
hermes-gateway-v1 wire model of their own, not the set the gateway serves
(it serves 114), or that some methods only reach an older handler.

`scripts/gen_serve_handler_ledger.py` already derives, per method, how
/api/ws answers it. It now also writes that split into the page between
markers, and its `--check` and test fail when the page is stale. The page
explains the authority-first dispatch, the older-handler rule, and what
`x-canonical-methods` means, and the live-session paragraph names the
methods to use on the shared gateway.
2026-11-15 01:22:20 +05:30
..
…