Message send

Send one digest-bound message on behalf of a principal, posting to a channel or replying in a bound conversation through a compatible connector, after exact approval and independent provider readback.

You’re reading version 0.1.4. Go to the current version

Overview

Govern a message sent on behalf of a principal: a channel post or a reply in a bound conversation. The skill never receives a provider token, never lets approved content drift before delivery, and calls a message delivered only after the provider reads it back.

In the manual

All 9 sections in SKILL.md

Runners

  • deliver_reply
  • plan
  • plan_post
  • plan_post_exact
  • plan_reply
  • post
  • reconcile_post
  • reply

All 9 are declared by its execution profile. Read the profile

SKILL.md

Message Send

Govern a message sent on behalf of a principal: a channel post or a reply in a bound conversation. The skill never receives a provider token, never lets approved content drift before delivery, and calls a message delivered only after the provider reads it back.

Composes

  • slack#read_thread

Runners

  • send (default): plans one channel post, requests approval only at the live post, posts once, and requires independent readback.
  • plan: the provider-neutral authorization step. It binds the principal, audience, content digest, consent basis, preflight checks and approval gate into a runx/message-send.plan.v1 packet, and never delivers.
  • plan_post: validates a channel name, channel id, or exact slack://workspace/channel destination, computes the message digest with Runx's native data.digest, and binds that digest, the named principal and the send intent through plan. It does not post and needs no approval.
  • plan_post_exact: for an operator that has already selected one exact destination, principal and text under its own policy. It reuses the same validation and digest and emits the same undelivered runx/message-send.notification_plan.v1 plan without a second model judgment. Its send_plan.origin is message-send.exact, not a claim that plan ran.
  • post: accepts only an exact notify_plan, the matching destination and text, and a stable UUID idempotency key. It recomputes the digest, compares the complete binding, stops unless exact native approval or a matching standing notification authority is present, runs channel.post through the configured binding, then reads the returned message locator back with channel.post.read and seals only the bounded evidence fields.
  • reconcile_post: reads back a post whose delivery outcome was ambiguous, without posting again.
  • reply: delivers one admitted reply to a bound conversation. The operator supplies the exact source packet, thread, draft, provider and native turn identity. The skill holds unless the source proves complete coverage, then asks for exact approval, runs thread.reply on the chosen connector, and requires thread.reply.read to resolve a stable message locator with the matching content digest. An accepted or queued request alone leaves the work held for reconciliation.

A channel post and a source-bound reply keep their own input checks: a post is bound to a destination and a plan, a reply to a source packet and a turn.

The binding may be local, self-hosted, third-party or Runx-hosted. The skill never receives a token, constructs a raw HTTP request, owns a tenant, or stores connector credentials in its inputs or receipts.

When to use this skill

  • An agent needs to post one bounded message, or reply in one conversation, on behalf of a user, team, brand, account or service.
  • An operator explicitly wants an authorization plan and selects plan.
  • The workflow must prove the intended audience, content, consent basis and approval decision before delivery.

When not to use this skill

  • To write copy only. Use a drafting or brand-voice skill unless delivery is in scope.
  • To claim delivery from a plan; only provider readback is terminal evidence.
  • To send without a named principal and audience.
  • To bypass unsubscribe, consent, suppression, preflight, legal or human approval gates.

Procedure for plan

  1. Identify the principal being represented and the provider account or surface.
  2. Classify the send: transactional, campaign, flow_step, support_reply, outreach, status, or internal.
  3. Bind channel and audience. Audience must be a named recipient, list, segment, support thread, channel, or scoped all-contacts decision; never an implicit broad default.
  4. Bind content by digest or stable draft reference. Do not approve mutable content by prose summary alone.
  5. Check consent, unsubscribe, suppression, compliance, preflight, and provider readiness. Missing evidence becomes a blocker.
  6. Decide the gate:
    • drafts, previews, and test sends may proceed without live-delivery approval when provider policy permits them;
    • customer, public, audience, or live sends require explicit approval;
    • billing/account mutation is outside this skill and needs its own gate.
  7. Produce the smallest provider-neutral send_plan that execution can consume without widening authority.
  8. Return needs_input for missing principal, audience, content digest, consent basis, or provider readiness; return refused for gate bypass.

Edge cases and stop conditions

  • No principal: return needs_input; the agent cannot speak as an unnamed actor.
  • No audience: return needs_input; do not default to all contacts or a whole channel.
  • All contacts or broad audience: require explicit reconfirmation and a stricter preflight block.
  • Mutable content: return needs_input until content is digest-bound.
  • Missing consent or unsubscribe path: block live delivery.
  • Plan, destination, content-digest, principal or audience drift: stop.
  • Approval denied or absent: do not deliver.
  • Missing, ambiguous, wrong-provider or insufficient-scope binding: refuse rather than fall back to a raw token.
  • Ambiguous mutation outcome: resume with the same idempotency key, or reconcile; never create a new key to escape uncertainty. Changed content never inherits the old approval.
  • Raw credentials or contact dumps: redact; if redaction would remove the evidence needed to decide, return needs_input.

Outputs

  • send_plan is the runx/message-send.plan.v1 packet: the decision (ready, needs_input, denied or refused), the principal, provider, send class, channel, audience, digest-bound content, the gates the send needs, blockers, provider actions, evidence locators and the success checkpoint.
  • notify_plan is the runx/message-send.notification_plan.v1 packet, the exact post post and reconcile_post deliver.
  • A reply ends in a runx.work_outcome.v1 packet for its host.

A post is delivered only when the sealed runx.provider.operation.v1 packet identifies the operation and carries the provider-returned message locator, conversation locator, content digest and occurrence time, and the follow-up readback resolves that exact locator.

Worked example

An operator plans "release 2.4 is verified" for one internal channel. Approval binds that exact text and destination. If the text changes to include another claim, post refuses the digest mismatch. With a matching plan and one valid Slack binding, the provider posts and returns the message id; the follow-up readback resolves that id, and those provider observations, not the local plan, prove delivery.

Inputs

  • send: channel_locator, text, principal, idempotency_key, and optional provider_context.
  • plan: objective and principal, with optional provider_context, audience, content, consent_basis, operator_context and connector.
  • post: the notify_plan, the identical locator and text, and a stable idempotency key.
  • reply: source_context, turn_id, expected_provider, thread_locator and draft_message.

Published execution profile

The execution profile published with 0.1.4, shown as its exact bytes.

Runners
  • deliver_reply
  • plan
  • plan_post
  • plan_post_exact
  • plan_reply
  • post
  • reconcile_post
  • reply
  • send
Profile digestsha256:1d1413594b53bfbe76965b969fcb5d2bcb570c10cef3b818ccc7c577d05021dd
skill: message-send
version: "0.1.4"

catalog:
  kind: graph
  audience: public
  visibility: public
  role: canonical
  execution: execute
  completion: provider_readback
  approval: required
  category: ops

input_definitions:
  content:
    type: object
    required: true
    description: Either one inline Slack message or one existing content reference with its SHA-256 digest.
    schema:
      additionalProperties: false
      properties:
        message: { type: string, minLength: 1, maxLength: 4000 }
        content_uri: { type: string, minLength: 1, maxLength: 2048 }
        digest: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }
      oneOf:
        - required: [message]
        - required: [content_uri, digest]

harness:
  files: [fixtures/support/composed.graph, fixtures/support/plan.graph, fixtures/support/reply.graph]
  cases:
    - name: reply-holds-incomplete-source-before-effect
      operator_journeys:
        - mode: standalone
          confusors: [conversation-review, slack]
          request: Reply to this exact conversation after approval.
          expected_outcome: Hold when the source packet does not prove complete coverage; do not send.
        - mode: composed
          request: Continue the admitted reply using the existing source packet and turn.
          expected_outcome: Reuse the supplied source evidence and turn identity without inventing a second reply.
          prior_evidence:
            - The source adapter already supplied the exact thread and occurrence.
          must_not_repeat:
            - Do not choose another thread or account.
            - Do not send before native human approval.
      runner: reply
      inputs:
        source_context:
          schema: runx.source_packet.v1
          packet_id: slack://T123/C123/1.000001:sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
          source_ref: { type: event, uri: 'slack://T123/C123/1.000001' }
          signal_type: conversation
          title: Conversation evidence
          observed_at: '2026-10-05T00:00:00Z'
          redaction_status: unredacted
          workflow_inputs:
            source_locator: 'slack://T123/C123/1.000001'
            source_digest: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
            thread_locator: 'slack://T123/C123/1.000001'
            source_complete: false
            thread: { thread_locator: 'slack://T123/C123/1.000001', coverage_incomplete: true }
        turn_id: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
        expected_provider: slack
        thread_locator: 'slack://T123/C123/1.000001'
        draft_message: I will check this.
      expect:
        status: sealed
        steps: [digest, prepare, held]
        step_outputs:
          held:
            subset:
              work_result:
                data: { state: held, completion_evidence: [], followups: [] }
        receipt: { schema: runx.receipt.v1 }

connectors:
  slack:
    operations: [channel.post, channel.post.read, thread.reply, thread.reply.read]
  reply:
    operations: [thread.reply, thread.reply.read]
    connector_from: $input.expected_provider
    allowed_connectors: [slack]
runners:
  send:
    description: Post one message to a channel, planning it, asking approval at the live post, posting once and reading it back.
    default: true
    inputs:
      channel_locator:
        type: string
        required: true
        description: Exact slack://workspace/channel destination.
      text:
        type: string
        required: true
        description: Exact Slack message to bind, approve, post, and read back.
      principal:
        type: string
        required: true
        description: Principal the notification is posted as.
      provider_context:
        type: json
        required: false
      idempotency_key:
        type: string
        required: true
        description: Stable retry key for this exact notification.
    result_from: [deliver]
    steps:
      - id: plan
        skill: .
        runner: plan_post
        inputs:
          channel: $input.channel_locator
          content:
            message: $input.text
          principal: $input.principal
          provider_context: $input.provider_context
      - id: deliver
        skill: .
        runner: post
        inputs:
          channel_locator: $input.channel_locator
          text: $input.text
          idempotency_key: $input.idempotency_key
          notification_plan: $steps.plan.notify_plan

  plan_post_exact:
    description: Plan a post whose destination, principal and text an operator already chose under its own policy, with no second judgment. Posts nothing.
    inputs:
      channel:
        type: string
        required: true
        description: Exact slack://workspace/channel destination for a message already selected by the caller.
        schema: { pattern: '^slack://[A-Z][A-Z0-9]+/[CGD][A-Z0-9]+$', maxLength: 300 }
      content:
        definition: content
      principal:
        type: string
        required: true
        description: Exact principal bound to the later provider permission grant.
    examples:
      - channel: slack://T123/C456
        content: { message: A new personal update needs attention. }
        principal: runx:principal:operator
    result_from: [finalize]
    steps:
      - id: prepare
        inputs:
          channel: $input.channel
          content: $input.content
          principal: $input.principal
        tool: { module: post.mjs, export: prepareNotification }
        outputs:
          notification_admission: object
          digest_input: string
      - id: digest-content
        tool: data.digest
        inputs:
          encoding: utf8_text
          value: $steps.prepare.digest_input
      - id: bind-content
        inputs:
          notification_admission: $steps.prepare.notification_admission
          digest_result: $steps.digest-content.digest_result
        tool: { module: post.mjs, export: bindNotification }
        outputs:
          slack_context: object
        artifacts:
          named_emits:
            slack_context: slack_context
      - id: finalize
        inputs:
          slack_context: $steps.bind-content.slack_context
        tool: { module: post.mjs, export: finalizeExactNotification }
        outputs:
          notify_plan: object
        artifacts:
          named_emits:
            notify_plan: notify_plan
          packets:
            notify_plan: runx/message-send.notification_plan.v1

  plan_post:
    description: Plan one channel post, checking its destination, digesting its text and binding the plan, without posting or asking approval. Post it with post.
    inputs:
      channel:
        type: string
        required: true
        description: "Slack #name, channel id, or exact slack://workspace/channel locator."
      content:
        definition: content
      principal:
        type: string
        required: true
        description: Principal the notification would be posted as.
      provider_context:
        type: json
        required: false
        description: Connector and workspace readiness supplied to the send plan.
    examples:
      - channel: slack://T123/C456
        content: { message: Release 0.8.2 is live. }
        principal: runx:principal:kam
        provider_context: { provider: slack, connector_status: ready }
    result_from: [finalize, reject]
    steps:
      - id: prepare
        inputs:
          channel: $input.channel
          content: $input.content
          principal: $input.principal
        tool: { module: post.mjs, export: prepareNotification }
        outputs:
          notification_admission: object
          digest_input: string
      - id: digest-content
        tool: data.digest
        inputs:
          encoding: utf8_text
          value: $steps.prepare.digest_input
      - id: bind-content
        inputs:
          notification_admission: $steps.prepare.notification_admission
          digest_result: $steps.digest-content.digest_result
        tool: { module: post.mjs, export: bindNotification }
        outputs:
          slack_context: object
        artifacts:
          named_emits:
            slack_context: slack_context
      - id: authorize
        when:
          value: $steps.bind-content.slack_context.decision
          equals: ready
        skill: .
        runner: plan
        inputs:
          objective: Authorize one digest-bound Slack notification for later provider delivery.
          principal: $input.principal
          audience: $input.channel
          provider_context: $input.provider_context
          slack_context: $steps.bind-content.slack_context
      - id: finalize
        when:
          value: $steps.bind-content.slack_context.decision
          equals: ready
        inputs:
          slack_context: $steps.bind-content.slack_context
          send_plan: $steps.authorize.send_plan
        tool: { module: post.mjs, export: finalizeNotification }
        outputs:
          notify_plan: object
        artifacts:
          named_emits:
            notify_plan: notify_plan
          packets:
            notify_plan: runx/message-send.notification_plan.v1
      - id: reject
        when:
          value: $steps.bind-content.slack_context.decision
          equals: blocked
        inputs:
          slack_context: $steps.bind-content.slack_context
        tool: { module: post.mjs, export: finalizeNotification }
        outputs:
          notify_plan: object
        artifacts:
          named_emits:
            notify_plan: notify_plan
          packets:
            notify_plan: runx/message-send.notification_plan.v1
  post:
    description: Post a planned message once, exactly as planned, under approval or a standing authority, and read it back.
    inputs:
      notification_plan:
        type: json
        packet: runx/message-send.notification_plan.v1
        required: true
        description: Exact notify_plan emitted by the plan runner.
      channel_locator:
        type: string
        required: true
        description: Exact slack://workspace/channel locator bound by the plan and connector grant.
      text:
        type: string
        required: true
        description: Exact message text whose digest must match notification_plan.
      idempotency_key:
        type: string
        required: true
        description: Stable UUID for this exact Slack delivery.
    examples:
      - notification_plan:
          schema: runx/message-send.notification_plan.v1
          decision: ready_for_provider
          provider: slack
          principal: runx:principal:kam
          channel: slack://T123/C456
          content_uri: inline:sha256:2497ff7c585df614f84f034872869ceff21afbaaab7230fb9b1fa0d271a122fb
          content_digest: sha256:2497ff7c585df614f84f034872869ceff21afbaaab7230fb9b1fa0d271a122fb
          send_plan: { decision: ready }
          provider_status: not_called
          delivery_status: not_sent
          downstream_handoff: { skill: message-send, runner: post, state: ready_for_approval }
          validation: { status: pass, findings: [] }
        channel_locator: slack://T123/C456
        text: Release 0.8.2 is live.
        idempotency_key: 00000000-0000-4000-8000-000000000001
    result_from: [readback]
    steps:
      - id: digest
        tool: data.digest
        inputs:
          value: $input.text
          encoding: utf8_text
      - id: bind-plan
        tool: data.compare
        inputs:
          actual:
            decision: $input.notification_plan.decision
            provider: $input.notification_plan.provider
            channel: $input.notification_plan.channel
            provider_status: $input.notification_plan.provider_status
            delivery_status: $input.notification_plan.delivery_status
          expected:
            decision: ready_for_provider
            provider: slack
            channel: $input.channel_locator
            provider_status: not_called
            delivery_status: not_sent
      - id: bind-content
        tool: data.compare
        when:
          value: $steps.bind-plan.comparison.equal
          equals: true
        inputs:
          expected: $input.notification_plan.content_digest
          actual: $steps.digest.digest_result.digest
      - id: deliver
        operation: slack/channel.post
        idempotency_key: $input.idempotency_key
        when:
          value: $steps.bind-content.comparison.equal
          equals: true
        approval:
          reason: Approve posting this exact digest-bound Slack notification.
          type: slack_message
        expected_result:
          conversation_locator: $input.channel_locator
          content_digest: $input.notification_plan.content_digest
        result_fields: [message_locator, conversation_locator, content_digest, occurred_at]
        input:
          channel_locator: $input.channel_locator
          text: $input.text

      - id: prepare-readback
        when:
          value: $steps.bind-content.comparison.equal
          equals: true
        inputs:
          text: $input.text
          delivery: $steps.deliver.provider_operation
        tool: { module: post.mjs, export: prepareNotificationReadback }
        outputs: { read_request: object }
      - id: readback
        when:
          value: $steps.bind-content.comparison.equal
          equals: true
        operation: slack/channel.post.read
        result_fields: [message_locator, conversation_locator, content_digest, occurred_at]
        expected_result: $steps.deliver.provider_operation.result
        input: $steps.prepare-readback.read_request
  reconcile_post:
    description: Read back a post whose delivery was uncertain, without posting again.
    inputs:
      notification_plan: { type: json, packet: runx/message-send.notification_plan.v1, required: true }
      channel_locator: { type: string, required: true }
      text: { type: string, required: true }
      message_locator: { type: string, required: true }
      failed_at: { type: string, required: true }
    result_from: [finish]
    steps:
      - id: read
        skill: ../slack
        runner: read_thread
        inputs:
          thread_locator: $input.message_locator
          limit: 1
      - id: digest
        tool: data.digest
        inputs: { value: $input.text, encoding: utf8_text }
      - id: finish
        inputs:
          notification_plan: $input.notification_plan
          channel_locator: $input.channel_locator
          text: $input.text
          message_locator: $input.message_locator
          failed_at: $input.failed_at
          provider_operation: $steps.read.provider_operation
          digest_result: $steps.digest.digest_result
        tool: { module: post.mjs, export: reconcileExactNotification }
        outputs: { reconciliation: object }
  plan:
    description: Authorize a message without sending it, binding the principal, audience, content digest, consent and approval into a send plan.
    inputs:
      objective:
        type: string
        required: true
        description: Bounded send-planning or authorization objective; this explicit runner does not deliver.
      principal:
        type: string
        required: true
        description: Principal the message is sent as.
      provider_context:
        type: json
        required: false
        description: Provider/account readiness, connector, or MCP status.
      audience:
        type: json
        required: false
        description: Recipient, list, segment, thread, channel, or audience brief.
      content:
        type: json
        required: false
        description: Digest, draft id, template id, campaign id, or stable content reference.
      consent_basis:
        type: string
        required: false
        description: Why the recipient or audience may receive this message.
      operator_context:
        type: string
        required: false
        description: Approval posture, legal constraints, or extra guardrails.
      connector:
        type: json
        required: false
        description: Provider and target identity available to the direct send; planning never receives credentials.
    steps:
      - id: plan
        agent: { role: reviewer, task: message-send }
        inputs:
          objective: $input.objective
          principal: $input.principal
          provider_context: $input.provider_context
          audience: $input.audience
          content: $input.content
          consent_basis: $input.consent_basis
          operator_context: $input.operator_context
          connector: $input.connector
        outputs:
          send_plan: object
        artifacts:
          named_emits:
            send_plan: send_plan
          packets:
            send_plan: runx/message-send.plan.v1

  reply:
    description: Reply once in a conversation from an admitted source packet, under exact approval, and read the reply back.
    inputs:
      source_context:
        type: json
        packet: runx.source_packet.v1
        required: true
      turn_id:
        type: string
        required: true
        schema: { pattern: '^sha256:[0-9a-f]{64}$' }
      expected_provider:
        type: string
        required: true
      thread_locator:
        type: string
        required: true
      draft_message:
        type: string
        required: true
        schema: { minLength: 1, maxLength: 4000 }
    result_from: [held, finish]
    steps:
      - id: digest
        tool: data.digest
        inputs: { value: $input.draft_message, encoding: utf8_text }
      - id: prepare
        inputs:
          source_context: $input.source_context
          turn_id: $input.turn_id
          expected_provider: $input.expected_provider
          thread_locator: $input.thread_locator
          draft_message: $input.draft_message
          digest: $steps.digest.digest_result
        tool: { module: reply.mjs, export: prepareReply }
        outputs: { reply_plan: object }
      - id: held
        when: { value: $steps.prepare.reply_plan.ready, equals: false }
        inputs:
          reply_plan: $steps.prepare.reply_plan
        tool: { module: reply.mjs, export: holdReply }
        outputs: { work_result: object }
        artifacts:
          named_emits: { work_result: work_result }
          packets: { work_result: runx.work_outcome.v1 }
      - id: deliver
        when: { value: $steps.prepare.reply_plan.ready, equals: true }
        operation: reply/thread.reply
        approval:
          reason: Approve sending this exact reply to the bound conversation.
          type: message_delivery
        idempotency_key: $steps.prepare.reply_plan.idempotency_key
        input: $steps.prepare.reply_plan.request
      - id: prepare_readback
        when: { value: $steps.prepare.reply_plan.ready, equals: true }
        inputs:
          reply_plan: $steps.prepare.reply_plan
          mutation: $steps.deliver.provider_operation
        tool: { module: reply.mjs, export: prepareReadback }
        outputs: { read_request: object }
      - id: readback
        when: { value: $steps.prepare.reply_plan.ready, equals: true }
        operation: reply/thread.reply.read
        readback_of: $steps.deliver.provider_operation
        input: $steps.prepare_readback.read_request
      - id: finish
        when: { value: $steps.prepare.reply_plan.ready, equals: true }
        inputs:
          reply_plan: $steps.prepare.reply_plan
          mutation: $steps.deliver.provider_operation
          readback: $steps.readback.provider_operation
        tool: { module: reply.mjs, export: finishReply }
        outputs: { work_result: object }
        artifacts:
          named_emits: { work_result: work_result }
          packets: { work_result: runx.work_outcome.v1 }
  plan_reply:
    description: Plan one Slack thread reply, binding the thread and the text's digest, without sending it. Deliver it with deliver_reply.
    inputs:
      principal:
        type: string
        required: true
        description: Principal represented by the connected Slack identity.
      thread_locator:
        type: string
        required: true
        description: Exact Slack thread that would receive the reply.
        schema: { pattern: '^slack://[A-Z][A-Z0-9]+/[CGD][A-Z0-9]+/[0-9]+\.[0-9]+$', maxLength: 300 }
      text:
        type: string
        required: true
        description: Exact proposed reply text.
        schema: { minLength: 1, maxLength: 4000 }
      provider_context:
        type: json
        required: false
        description: Connector and workspace readiness supplied to the send plan.
      operator_context:
        type: string
        required: false
        description: Purpose, constraints, and approval posture for this reply.
    examples:
      - principal: user:kam
        thread_locator: slack://T123ABC/C123ABC/1750000000.000001
        text: I’ll verify this now.
        provider_context: { connector: runx-connect, workspace: T123ABC }
        operator_context: Reply only in the supplied thread and require approval before delivery.
    result_from: [authorize]
    steps:
      - id: digest
        tool: data.digest
        inputs:
          value: $input.text
          encoding: utf8_text
      - id: authorize
        skill: .
        runner: plan
        inputs:
          objective: Authorize one exact Slack thread reply for later provider delivery.
          principal: $input.principal
          provider_context: $input.provider_context
          audience:
            type: thread
            locator: $input.thread_locator
            requires_reconfirmation: false
          operator_context: $input.operator_context
          content: $steps.digest.digest_result

  deliver_reply:
    description: Deliver a reply planned by plan_reply once, under approval, and read it back.
    inputs:
      send_plan:
        type: json
        packet: runx/message-send.plan.v1
        required: true
        description: Exact send_plan emitted by plan_reply.
      thread_locator:
        type: string
        required: true
        description: Exact Slack thread locator bound by the plan and Connect grant.
        schema: { pattern: '^slack://[A-Z][A-Z0-9]+/[CGD][A-Z0-9]+/[0-9]+\.[0-9]+$', maxLength: 300 }
      text:
        type: string
        required: true
        description: Exact reply text whose digest must match the plan.
        schema: { minLength: 1, maxLength: 4000 }
      idempotency_key:
        type: string
        required: true
        description: Stable UUID for this exact Slack reply.
        schema: { format: uuid }
    examples:
      - send_plan:
          decision: ready
          action_family: message-send
          principal: { type: user, uri: "user:kam" }
          provider: { name: slack, account_id: "workspace:T123ABC", runtime_path: slack }
          send_class: internal
          channel: chat
          audience: { type: thread, locator: 'slack://T123ABC/C123ABC/1750000000.000001', requires_reconfirmation: false }
          content:
            draft_uri: inline
            digest: 'sha256:8604f5c08db8d76b6fa8066c769fbdc6a4992101373d0d17bcfe426cf8e77647'
            subject_or_title: Slack thread reply
          gates: { preflight_required: true, human_approval_required: true, approval_id: slack.deliver-reply.approval }
          blockers: []
          provider_actions: [thread.reply]
          evidence_locators: []
          success_checkpoint:
            milestone: plan_ready
            description: Digest-bound Slack reply awaits approved provider execution.
        thread_locator: slack://T123ABC/C123ABC/1750000000.000001
        text: I’ll verify this now.
        idempotency_key: 00000000-0000-4000-8000-000000000001
    result_from: [readback]
    steps:
      - id: digest
        tool: data.digest
        inputs:
          value: $input.text
          encoding: utf8_text
      - id: bind-plan
        tool: data.compare
        inputs:
          actual:
            decision: $input.send_plan.decision
            provider: $input.send_plan.provider.name
            channel: $input.send_plan.channel
            audience: $input.send_plan.audience.locator
            approval_required: $input.send_plan.gates.human_approval_required
          expected:
            decision: ready
            provider: slack
            channel: chat
            audience: $input.thread_locator
            approval_required: true
      - id: bind-content
        tool: data.compare
        when:
          value: $steps.bind-plan.comparison.equal
          equals: true
        inputs:
          expected: $input.send_plan.content.digest
          actual: $steps.digest.digest_result.digest
      - id: deliver
        operation: slack/thread.reply
        idempotency_key: $input.idempotency_key
        when:
          value: $steps.bind-content.comparison.equal
          equals: true
        approval:
          reason: Approve posting this exact digest-bound Slack thread reply.
          type: slack_message
        expected_result:
          thread_locator: $input.thread_locator
          content_digest: $input.send_plan.content.digest
        result_fields: [message_locator, conversation_locator, thread_locator, content_digest, occurred_at]
        input:
          thread_locator: $input.thread_locator
          text: $input.text
      - id: prepare-readback
        when:
          value: $steps.bind-content.comparison.equal
          equals: true
        inputs:
          text: $input.text
          delivery: $steps.deliver.provider_operation
        tool: { module: reply-readback.mjs, export: prepareReplyReadback }
        outputs: { read_request: object }
      - id: readback
        when:
          value: $steps.bind-content.comparison.equal
          equals: true
        operation: slack/thread.reply.read
        result_fields: [message_locator, conversation_locator, thread_locator, content_digest, occurred_at]
        expected_result: $steps.deliver.provider_operation.result
        input: $steps.prepare-readback.read_request

Published package and test evidence.

This exact version passed its recorded harness run: 17 checks passed · 0 failed.

Test result

Harness resultPassed
Tested version0.1.4
Recorded result17 checks passed · 0 failed
Result sourceRun by the Runx registry at publication
Suiterunx-harness
Test recorded
Declared cases1
Test recordOpen the recorded run
Inspect receipt referencessha256:8047021628117454ecf0f6d558817e28087dda168b5ea206901c25e3e93ec5f6sha256:4a3336a5eabdaaa6711473f6e8045b325883263066e3e82a915741dc2731fa34sha256:5bb8d4d9fdd2bbe4fe2767fc5a678199ad9057ca0d48eb4ecf8899be6d748777sha256:c526a364ace9ed32e5b16da890d06717b36845fdad264e3ebbc5fc22a8f6c182sha256:cc396e112f1303a1c01f266d2d1269069e818e381ea4f0064c03c1b2559faf56sha256:76db2daa5b32fe63e51f3b251c8a5757c6ab157c492ba1c64f6e249b9f83c35bsha256:fbd1d0de674b2121e0f4fd9cc522c32b37ac29ac4872ffa46810b54f58a94c0asha256:5e599aac7b2335955156f4d181ab1c716060dbe6dd2fdb7371e09556deb5c8d7sha256:c4e420298676db51f064bd74f38556761066cca9f43f03badc4ca57a07ff20easha256:74354c451d736eab9166ac9ead588b44b47254a54b4f9c274b72d33c0d855809sha256:fb9a9b3dcd828050b547c3bd64fdc52adef8586c003869c7c5b71021556423dfsha256:ed09492c1925f4dac16c868ef338acc83cb27570efcac098c098badadb4b119fsha256:c3e0b438dfc3885f92d42b2516c1a548c0f24805d1387ac936818d4245f51d44sha256:c35c31d6b9c185bac292b9e9b64dbfcad8daa2ccf9e5e14e2a17c851e0c42b14sha256:7e53ca63b1864b194bfe9a0a514e333219fc03caab69552d8f9e696b9f803106sha256:0476aa797fd7b4967b182b8be6f6edab1ca5b2552bd18d5c5fd9ae5978bebeabsha256:fe6603f56c9041fc7d5af86c2cc3dc4f0a873d719118306549aab65e4badf4e8

Package identity

Published revision0.1.4
Content digestsha256:0bc7d9dcb27554f5b9ace299790d084cb2cd793090f2fb8404b9804da3bbde74
SKILL.md digestsha256:3d9a0ef9899a76735c923b5658850bd5c3f8d3f42fcbcf627e79544dad6b60a8
Execution profile digestsha256:1d1413594b53bfbe76965b969fcb5d2bcb570c10cef3b818ccc7c577d05021dd
Publisher identityVerified publisher · runx
Trust tierVerified publisherRunx has verified this publisher. This tier is not a code assessment.
Attestations
  • Publisher · Verifiedrunx · 25 Oct 2026
Source provenanceNot published with this version

Version history

  1. 0.1.4ViewingContent digest sha256:0bc7d9dcb27554f5b9ace299790d084cb2cd793090f2fb8404b9804da3bbde74
  2. sha-37a6e4f694ccContent digest sha256:b99542c9aef409a4e5d5c96684b84ae7574b9dda3414cc57cd70213c8cc20b97