agent-gateway: Known Failure Modes

Component: agent-gateway Tags: agent-gateway,rabbitmq,deep-path,rpe Author: phase-f-migration Updated: 4/26/2026, 3:47:42 PM

agent-gateway receives deep-path messages from telegram-listener (HTTP POST) and routes them to rpe-context-assembler via RabbitMQ.

FAILURE MODES:

1. RabbitMQ publish failure — rpe.assemble queue not receiving messages. agent-gateway receives the HTTP call from telegram-listener but publish fails. request.module.entry appears but no request.dispatched to rpe-context-assembler.

2. RabbitMQ connection lost — channel closed mid-operation. Container may stay running but all publishes fail silently. Restart resolves.

3. Redis session corruption — stale session data causes context assembly errors. Clear RPE session keys with prefix rpe:.

4. Neo4j connection refused — graph queries fail gracefully (not fatal) but user context is missing from assembled context.

5. community-builder timeout — 3s timeout, best-effort. Failure is logged but does not block processing.

FIRST CHECKS:

DEPLOY TYPE: bind-mount. Changes require restart only.