Skip to main content

feedback_config

Function feedback_config 

Source
pub fn feedback_config() -> FeedbackConfig
Expand description

Feedback reporting configuration. Loaded from the environment convention:

  • FEEDBACK_WEBHOOK_URL selects webhook reporting with an explicit full URL,
  • FEEDBACK_WEBHOOK_BASE_URL (Harry’s canonical global-hook namespace) routes to <base>/<project> — e.g. .../hooks/global/omni-cli — so omni feedback lands on its OWN hook sub-path, not a shared one (bd-bc5976). An explicit FEEDBACK_WEBHOOK_URL wins over the base URL.
  • FEEDBACK_WEBHOOK_TOKEN_ENV points at the bearer-token env var,
  • FEEDBACK_COMPONENT / FEEDBACK_PROJECT override the defaults,
  • unset means JSON lines to stderr (safe local default).