Skip to main content

Module kind

Module kind 

Source
Expand description

Supported outbox payload kinds. Stored as TEXT in cloud_outbox.kind; the drain_outbox dispatcher matches on these to pick the right POST route. Keep the string literals stable — changing one means abandoning every row in the queue at upgrade time.

Constants§

ACCEPTED_EDIT
IMPORTED_REVIEWS
LEGACY_FIX_ACCEPTANCE
Pre-release OSS outbox rows. Kept stable so drains can acknowledge and discard them, but they must never feed the current accepted-edit value-loop evidence endpoint.
MCP_QUERY
OBSERVATION
PostToolUse observation; see cloud::api_types::Observation and crate::observation for the payload shape.
REVIEW_METRICS
SESSION_MINED_CANDIDATE
Session-mined candidate rule — see crate::cloud::session_mined::SessionMinedCandidate. The destination endpoint is POST /api/cloud/session-mined-candidates. The cloud endpoint exists; local drains still need an explicit dispatcher arm before these rows leave pending. Defined here (rather than in session_mine/worker.rs) so the enqueue and dispatcher share one source of truth for the wire string.
TRAJECTORY