---
title: Daily Slack digest
description: Configure, preview, and operate the daily Workbench engineering summary.
owner: engineering
sourceFiles:
  - .env.production
  - .github/workflows/daily-digest.yml
  - scripts/daily-digest.ts
  - scripts/daily-digest.test.ts
---

**Workbench Daily Digest** posts to `#workbench-daily` every day at 6 p.m. in `America/New_York`, including weekends. GitHub Actions runs the workflow from `main`; its scheduler can delay delivery. The schedule becomes active when the workflow lands on `main` and the credentials below are configured.

Each message starts with a plain date heading, such as **Workbench daily summary — October 29, 2026**, followed by the work summary. Exact reporting windows are described below rather than displayed as technical timestamps in Slack.

## Configure access

Store these values in Proton’s `Workbench Production Deployment` vault, as fields on the `Environment` item. The main-only GitHub `production` environment holds the scoped reader credential; the Effect environment command loads `.env.production` before reporting.

| Secret | Purpose |
| --- | --- |
| `SLACK_DAILY_WEBHOOK_URL` | Incoming webhook for the destination Slack channel |
| `AI_GATEWAY_API_KEY` | Vercel AI Gateway credential for narrative generation |
| `LINEAR_API_KEY` | Read-only Linear API key scoped to the Workbench team |

Create the webhook through a workspace Slack app's **Incoming Webhooks → Add New Webhook**, selecting the destination channel. Store the URL only as a secret. A webhook is tied to its channel; use a new webhook to change destinations. See [Slack's webhook setup](https://docs.slack.dev/messaging/sending-messages-using-incoming-webhooks/).

The workflow's temporary GitHub token reads this repository's PRs and workflow runs. Vercel AI Gateway receives issue and PR titles, descriptions, identifiers, statuses, owners, source URLs, and PR-to-issue references to generate the narrative. Descriptions omit template comments and fenced code examples, then retain up to 4,000 characters. The model defaults to `openai/gpt-5.4-mini`; the production Proton field `DIGEST_MODEL` selects a gateway model supporting the Responses API, structured JSON output, and low reasoning effort. Gateway usage consumes the key's available credits. See [Vercel's Responses API support](https://vercel.com/changelog/ai-gateway-supports-openais-responses-api).

## Preview and verify

Use the [daily digest commands](/reference/cli#daily-digest) to preview the latest completed reporting window, then explicitly post it. Preview mode still calls the gateway when activity exists and writes the result to the GitHub workflow summary. It does not contact Slack or advance the posting checkpoint.

The digest covers updated Workbench Linear issues, updated open PRs, PR merges, and production push-workflow results. It also reads descriptions of Workbench tickets referenced by those PRs, even when the tickets were not updated in the reporting window. These extra tickets provide background context and do not count as new activity; each paragraph must cite an activity record.

The narrative groups related work by feature or workflow and states the specific work and its evidenced status in short, direct paragraphs: finished in code, released, in progress, or awaiting review. It uses ticket descriptions to explain the feature, without storytelling, direct address, or invented benefits. An updated open PR does not prove the work started that day. Supporting links appear as **Details** and **Related work**, keeping ticket numbers and commit bookkeeping out of the prose. Ticket descriptions and acceptance criteria explain intent, rather than proving completed behavior. Updated issues describe their current state; they do not prove a state transition happened in the window. Successful manual plan runs are excluded from deployment evidence. Merged code is distinct from released work. Local edits, unpushed work, and discussions outside those sources are not included.

## Reporting windows and recovery

Each window ends at the most recent 6 p.m. Eastern cutoff. The first run starts at the preceding day's cutoff; daylight-saving changes produce 23- or 25-hour windows as appropriate. Subsequent runs start at the last acknowledged posting checkpoint, allowing a missed day to be included while that cache remains available. Source APIs return current records, rather than a complete historical event log.

The workflow serializes runs and caches the cutoff only after Slack acknowledges delivery. An available checkpoint suppresses a second post for that cutoff. The cache is best effort: eviction, cache-save failure, or interruption after posting can allow duplicate delivery. Inspect the channel before retrying an uncertain delivery. Slack posts are never automatically retried. GitHub/API/model errors fail the workflow instead of presenting missing data as a quiet day; pagination and source-count limits also fail explicitly. A quiet day gets a short no-recorded-activity message without calling the model.

The AI narrative must reference one to three supplied source IDs per paragraph, including an activity source; code builds the actual links and escapes Slack mentions. Up to 100 missing linked tickets are fetched with at most five concurrent lookups, within a 250-record activity/context limit. Verify consequential claims against the links. The workflow summary is visible to repository readers, so it should be treated as an engineering report.
