Skip to content

Add an outbox for external side effects #192

Description

@pilipilisbot

Context

Executor flow currently performs external effects such as GitHub reactions, OpenClaw dispatch, and completion notifications inline while processing a job. This works, but makes partial failure and retry semantics harder to audit.

Proposal

Introduce an outbox table for requested external effects with explicit idempotency keys, states, attempts, and last_error.

Acceptance criteria

  • Reaction, dispatch, and notification effects can be recorded before execution.
  • Retried effects are idempotent where the external API allows it.
  • Job timeline distinguishes “decided”, “requested”, and “executed”.
  • Monitor reports stuck outbox items.

Priority

Medium.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions