Expand description
The one conversation record (docs/ONTOLOGY.md §2.2): a conversation
reached on a surface, routed to a profile, run by a worker, with a
lifecycle. A Hermes sessions row, an OpenClaw session key and an
orchestrator bindings row each decode to it ONCE, here; the discovery
row’s nouns are its projection (Binding::nouns).
Structs§
- Binding
- The conversation record.
- Handoff
- A conversation moved (or moving) to another surface — Hermes
handoff_*. - Hermes
Session Row - One Hermes
sessionsrow, the columns a binding is made of. Empty strings are read as absent by the decoder. - Orchestrator
Binding Row - One row of an orchestrator profile’s
bindingstable, as read. - Worker
- The worker session a binding points at.
Enums§
- EndReason
- Why a binding ended (
docs/ORCHESTRATOR-IR.md§2.5).
Functions§
- hermes_
cron_ job_ id - Hermes cron fire session ids are minted as
cron_<job_id>_<YYYYMMDD_HHMMSS>(cron/scheduler.py); recover the job id. - hermes_
trigger_ for_ source - Hermes
sessions.source→ trigger. Cron fires are taggedcron; the CLI, TUI and ACP adapter are human surfaces;api_serveris the HTTP API;webhookis inbound; every other value is a messaging platform. - parse_
hermes_ session_ key - Parse a Hermes gateway session key
(
agent:<profile|main>:<platform>:<chat_type>[:<chat_id>][:<thread_id>][:<participant>]). Returns the surface and the profile namespace (Noneformain). - parse_
openclaw_ session_ key - Parse an OpenClaw gateway session key. Shapes (
docs/channels/channel-routing.md,docs/automation/cron-jobs.md,docs/cli/acp.mdupstream):agent:<id>:main,agent:<id>:<channel>:<group|channel>:<cid>[:thread|topic:<tid>],cron:<jobId>,hook:<name>:<id>,acp-bridge:<uuid>. - render_
hermes_ session_ key - Render a surface as Hermes’s
build_session_keyform, whichparse_hermes_session_keyreads back unchanged.