# Gateway + connector example — a help-desk inbox gateway fed by a static
# connector, and a digest responsibility that subscribes to it.
state:
  dir: ./.reactor

model:
  provider: openrouter
  render_model: google/gemini-3.5-flash
  compile_model: google/gemini-3.5-flash
  temperature: 0
  max_turns: 200

sandbox:
  mode: none
  shell_timeout_ms: 300000

# The inbox gateway is fed by the built-in `static` connector: a fixed list of
# tickets, keyed by `id`. On `serve`/`run`, each new ticket is fetched ->
# extracted -> staged into the gateway's truth -> wakes the gateway, which folds
# it into the `tickets` set; the cursor dedups, so a restart never re-ingests.
gateways:
  - node: inbox
    source_id: helpdesk
    connector:
      type: static
      id_field: id
      items: [{ id: t-1, body: "cannot log in" }, { id: t-2, body: "billing question" }, { id: t-3, body: "feature request" }]
