brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
mistral-webhooks-eventsImplement Mistral Workflows event ingestion over SSE with checkpoints, deduplication, reconnect control, and reconciliation. Use when consuming workflow event streams. Trigger with "stream Mistral workflow events", "reconcile Mistral runs", or "replace Mistral webhooks".
Independent GitHub snapshot · Automated classification · Original documentation governs
Consume the current Workflows stream as an at-least-once boundary. Authenticate the outbound SSE connection, persist checkpoints/deduplication, and reconcile terminal run state after disconnects.
The Events API documents SSE at GET /v1/workflows/events/stream. This authenticated outbound stream is not evidence of a generic Mistral-to-application webhook callback contract.
Open SSE from a trusted service with Bearer auth. Never put the key in query strings, browser EventSource URLs, logs, checkpoints, or event records.
Use Read, Glob, and Grep to inspect code, locks, configuration, tests, and evidence. Use Write and Edit only for approved repository changes. Invocation alone does not authorize network calls, paid usage, uploads, stateful resources, admin mutations, deployments, or deletion.
Workflow deployment, production stream access, identifier retention, replay, or application mutation require explicit approval. Keep fixture-based parser work local until those approvals exist.
Return endpoint and scope, consumer, checkpoint, deduplication strategy, reconnect count, reconciled state, retention, risks, and rollback. Report unresolved event gaps separately.
Use fixtures for split frames, comments, duplicates, gaps, malformed data, auth failure, cancellation, and restart.