workbooks docs

Workbooks + Slack

Connecting Slack would let a workbook (or the agent running it) post a message or notify a channel — a build finished, an eval regressed, a card moved — by asking the host to call Slack across the Dock. The credential (an incoming webhook URL or bot token) is held by the host; the toolkit never sees it and never opens a socket.

FieldValue
Toolkit idslack (planned)
#+EXEC shapecommand
Backing CLI— (HTTP via the Dock)
Statusnorth-star
Manifesttoolkits/slack/manifest.org (planned)

What it does

Planned capabilities:

  • Post a message to a channel (incoming-webhook path).

  • Send a rich/blocks message (bot-token path).

  • Notify on a workbook event — build done, eval result, board change.

Capabilities it grants

The caps this toolkit would need already exist and ship — host-brokered network egress and a host-held secret are defined in policy.ex (the network profile; secrets is granted from minimal up). Only the Slack-specific command wrapper is unbuilt.

CapabilityWhy it needs it
netThe host POSTs to the Slack API / webhook on its behalf
secretsThe host holds SLACK_WEBHOOK_URL / SLACK_BOT_TOKEN

See Dock capabilities.

How to add it

The intended flow:

  1. Create a Slack incoming webhook (or a bot token) and store it as a host secret:

       wbx secret set SLACK_WEBHOOK_URL <url>
    
  2. Add the toolkit:

       wbx toolkit add slack
    

a "post to Slack" capability across the Dock — it never reads the secret and never opens its own connection.

Worked example

The intended end state — an agent posts to #deploys when a deploy lands:

wbx slack post --channel '#deploys' --text 'engine deployed to fly · iad'   # planned

The host resolves SLACK_WEBHOOK_URL from its secret store, POSTs the message, and returns the result to the toolkit — the credential never crosses the sandbox boundary. Until the toolkit ships, the same effect is achievable today by authoring a small command toolkit that declares net + secrets and calls the Dock SDK (see The Dock SDK).

Related toolkits

Maturity

north-star. No Slack toolkit is published. What is real today is the foundation it would stand on — host-brokered network egress plus a host-held secret (policy.ex:29) — which is exactly the safe pattern any author can use right now to write a one-off Slack command toolkit. The dedicated, installable integration is the documented next step, stated as such, never present tense.

  • Capability Matrix row: /maturity

  • Foundation (ships today): runtime/host/policy.ex:29