Skip to the content
herald

Herald v0.1.0

The first release of herald: it announces what happens on a forge, a registry, a feed or an app to the places a team reads.

Added

  • Sources. GitHub, GitLab and Forgejo repositories and owners, by webhook or by poll: releases, tags, packages, CI runs, security alerts, pull requests, issues and milestones. Package registries, a namespace at a time; container images on ghcr.io and any OCI registry; feeds; and an app's own events through the CLI and the HTTP API.
  • Destinations. Discord, Slack, Matrix, Microsoft Teams (a Workflows webhook or a Bot Framework bot), the Fediverse (the Mastodon client API, or herald's own ActivityPub actors, one per project where a route asks), and email through Amazon SES, Mailgun, Gmail, Microsoft Graph, Postmark, Resend and SMTP.
  • Routes. A route matches events by source, kind, origin, attributes and the areas a pull request's paths fall in; groups events that share a key into one announcement; holds what comes in its quiet hours; edits a post for a late or edited release and withdraws one the forge deleted; and pins, threads, crossposts and mentions subscribers where its destination can.
  • Templates and kinds. A kind is data with its own attributes and buttons; herald ships a template for each kind, and a route may give a dialect its own. [presets.<name>] adopts a shipped or local preset: review reminders, a small team's merge queue and private security alerts ship.
  • Where it runs. The CLI and GitHub Action, herald server, a container image with a Helm chart, serverless hosts, and wasi:http hosts, Spin and Fastly Compute.
  • Stores. Markers in the destination's own posts, the Actions stores, a branch of a GitHub, GitLab or Forgejo repository, SQLite, Postgres over TLS, and each serverless platform's own store; records may be sealed.
  • The queue. A view shows whose turn each open pull request is, with failing checks triaged, predicted conflicts, CI capacity, review load per team and area, and a release's readiness against its milestones; a report announces it once a window or keeps one board post; rules nudge and alert. Areas come from path globs or each repository's CODEOWNERS file.
  • Deciders. A view asks a model only what its rules cannot tell, and keeps every answer: Anthropic, Gemini and Bedrock by their own APIs, or a model the host runs.
  • Merge queues. herald merge-queue reads a forge's queue or merge train and hands pull requests to it, or runs herald's own serial queue; herald server can take its steps.
  • Buttons. Review, Re-run, Snooze, Queue and Dequeue on a post, each press signed in at the forge and confirmed as its route says; members ask herald by command in its channels.
  • Peers. Instances sign with Ed25519, publish proved feeds and a key set, pull and push between each other through pinned keys, and a static host serves the feeds as a signed log. A CI run's ID token is its credential.
  • Operating it. herald init writes a first config and the forge's workflow; herald preview renders every kind on every destination, and the wire requests with secrets by name; herald doctor names every gap, checks each destination online and lists the permissions a config needs; herald import reads existing chat subscriptions, hooks and workflows; herald status and a status page (by signed link, token or the forge's sign-in) show what herald did with each event; the log has a level and a format, and every secret is scrubbed from it.
  • Limits and settings. Every bound, wait and retention is a setting beside what it bounds, untrusted input is read in bounded time and memory, and private events reach only the places a route names.
  • Releases. Every release file is built with its SBOMs and attested; the image, the wasi:http component, its Spin build and the Helm chart are pushed, signed and attested; SECURITY.md holds the commands that verify each.

Files