Files
clawX/harness/specs/rules/host-events-fallback-policy.md
2026-05-01 00:22:30 +08:00

533 B

id, title, type, appliesTo, requiredTests
id title type appliesTo requiredTests
host-events-fallback-policy Host Events Fallback Policy ai-coding-rule
gateway-backend-communication
tests/unit/host-events.test.ts

Host event subscriptions must use IPC mappings by default.

Unknown host events must not fall back to SSE unless clawx:allow-sse-fallback is explicitly enabled inside src/lib/host-events.ts.

New user-visible gateway, channel, OAuth, or QR events should be added to the host event IPC mapping instead of relying on EventSource fallback.