Open-source tools for running an AA intergroup: the groups and meetings it lists, the members who serve, the telephone responders who answer its helpline, and the people who need to reach them.
Most of it is a suite of WordPress plugins built around one core, Unity, which models the intergroup. Around the plugins sit a handful of Composer libraries they share, .NET MAUI apps for the handsets and tablets that use the site, and REST clients for anything else that wants to talk to it.
Everything here is MIT (Modified — no resale) unless its repository says otherwise. Looking for one repository? See the index of every repository at the end.
| Layer | What it is | Repositories |
|---|---|---|
| Core | The intergroup model, audit log and status dashboard every other plugin builds on | unity · scrutiny · sentinel |
| Data & admin | Where the data comes from, how it is edited and how it is moved in bulk | tsml-for-unity · amber · reconcile · trumpet |
| Helpline | The telephone rota, call forwarding and finding a 12th-step volunteer | trusted · tamar · reach |
| Messaging & apps | Server sides for the apps, and outbound messaging | fellowship · freedom · whatsapp |
| APIs | The intergroup's data, published to other software | integrity · promises |
| Standalone | Plugins that need nothing else from the suite | concordance · confur · lifelines |
| Libraries | Shared code bundled into plugins through Composer — never activated | beacon · rabbit · guardian · wp-mocks |
| Apps | .NET MAUI apps for tablets and phones | register · link · monitor |
| Clients | Libraries an app uses to reach the site | integrity-sharp · integrity-php · freedom-sharp · inventory |
An arrow points at what a plugin needs. Solid lines are hard requirements; dotted ones are optional.
flowchart BT
classDef core fill:#fef3c7,stroke:#b45309,color:#1f2937
classDef plugin fill:#ffffff,stroke:#475569,color:#1f2937
classDef ext fill:#f1f5f9,stroke:#94a3b8,color:#475569,stroke-dasharray:4 3
Unity["<b>Unity</b><br/>intergroup model + container"]:::core
Scrutiny["<b>Scrutiny</b><br/>GDPR audit log"]:::core
Sentinel["<b>Sentinel</b><br/>status + Monitor server"]:::core
TSML4U["TSML for Unity"]:::plugin
Amber["Amber"]:::plugin
Reconcile["Reconcile"]:::plugin
Integrity["Integrity"]:::plugin
Reach["Reach"]:::plugin
Fellowship["Fellowship"]:::plugin
Freedom["Freedom"]:::plugin
WhatsApp["WhatsApp"]:::plugin
Trusted["Trusted"]:::plugin
Promises["Promises"]:::plugin
Trumpet["Trumpet"]:::plugin
Tamar["Tamar"]:::plugin
TSML[("12 Step Meeting List")]:::ext
Scrutiny --> Unity
TSML4U --> Unity
TSML4U --> TSML
Trusted --> Unity
Promises --> Unity
Trumpet --> Unity
Amber --> Scrutiny
Amber --> Sentinel
Reconcile --> Scrutiny
Integrity --> Scrutiny
Reach --> Scrutiny
Fellowship --> Scrutiny
WhatsApp --> Scrutiny
Freedom --> Fellowship
Promises -. "rota tools" .-> Trusted
Trusted -. "call forwarding" .-> Tamar
Sentinel -. "Monitor module" .-> Scrutiny
Everything that needs Scrutiny also needs Unity. Unity ships headless: it defines the interfaces and the container, and TSML for Unity supplies the concrete repositories, backed by the 12 Step Meeting List plugin's meetings and groups.
Standalone, with no Unity dependency: Concordance (a client for the AAGBDB Groups API), Confur (needs 12 Step Meeting List and ACF) and LifeLines (needs nothing). Tamar is standalone too — Trusted uses it when it is there.
| Plugin | What it does |
|---|---|
| Unity | The intergroup model — groups, meetings, members, service positions, locations, contacts and intergroup meetings — as interfaces, plus the dependency-injection container, caching, configuration and change tracking the rest of the suite registers against. Fires unity/loaded, which almost everything else waits for. |
| Scrutiny | GDPR audit logging and personal-data masking. Records who saw or changed personal data and when, and hides it in the admin from anyone without clearance. |
| Sentinel | A dashboard of which suite plugins are installed, active and at what version, and the shared logger. Also hosts Monitor's server (sentinel/v1): handset sign-in, sealed push alerts and paging admins when a matching error is logged. |
| Plugin | What it does |
|---|---|
| TSML for Unity | Implements every Unity interface over 12 Step Meeting List data, so the meeting list a site already has becomes Unity's groups and meetings. |
| Amber | The admin interface: the Intergroup menu, dashboard widgets for positions, meetings and attendance, position shortcodes and data validation. |
| Reconcile | Spreadsheet import and export (.xlsx, .xls, .csv) for members, groups and positions. |
| Trumpet | Announcements, and a [todays_meetings] shortcode for the front page. |
| Plugin | What it does |
|---|---|
| Trusted | A seven-day telephone-responder rota: weekly shift templates, applied to a week and filled from a calendar view with Unity's telephone responders. |
| Tamar | Call forwarding through Tamar Telecommunications' control panel — reads and writes the hunt group, so the helpline rings whoever is on shift. Implements Beacon's contract. |
| Reach | The public 12th-step finder: sign in with Google, Microsoft, Apple or Facebook, enter an area, see the nearest available 12th-step volunteers. Every member shown is audit-logged against the visitor's verified email. |
| Plugin | What it does |
|---|---|
| Fellowship | The server side of Link. Enrols handsets against Unity members by OAuth-verified email, stores messages and delivers them to members and committees as push notifications sealed to each handset's own key. Also signs other plugins' users in through Google. |
| Freedom | Zero-configuration settings for the apps. A tablet signs in through Fellowship and receives its application's configuration — versioned per key, with secrets sealed to that tablet. This is how Register gets its credentials without any being built into it. |
| Sends WhatsApp messages to Unity members through Meta's WhatsApp Business Cloud API, audit-logged through Scrutiny. Implements Rabbit's contract. |
| Plugin | What it does |
|---|---|
| Integrity | A secure REST API (integrity/v1) over Unity's groups, meetings, members, positions and intergroup meetings. Argon2id-hashed API keys scoped per resource, rate limiting, IP allow-lists, HTTPS enforcement and a full request log. |
| Promises | A Model Context Protocol server (promises/v1/mcp), so an AI assistant can read the intergroup's records — and, if an admin allows it, fill gaps in the Trusted rota. Personal contact details are masked by default. |
| Plugin | What it does |
|---|---|
| Concordance | A client for the AAGBDB Groups API: a caching REST proxy, a dashboard widget and WP-CLI commands. GPL v2. |
| Confur | Collates groups' answers to Conference questions — a public form for groups, and status and results screens for the region's representatives. |
| LifeLines | A fast public lookup over a UK place, service and helpline dataset uploaded as CSV. |
These are Composer packages, not plugins — they are never activated. Each
consuming plugin ships its own copy in vendor/. A PHP class loads once per
request, so whichever copy loads first serves every plugin that uses it, and
consumers move to a new major version together.
flowchart LR
classDef lib fill:#e0e7ff,stroke:#4338ca,color:#1f2937
classDef plugin fill:#ffffff,stroke:#475569,color:#1f2937
Beacon["<b>Beacon</b><br/>call-forwarding contracts"]:::lib
Rabbit["<b>Rabbit</b><br/>member-messaging contracts"]:::lib
Guardian["<b>Guardian</b><br/>OAuth sign-in"]:::lib
Tamar:::plugin -- "binds its driver" --> Beacon
Trusted:::plugin -- "gets the driver" --> Beacon
WhatsApp:::plugin -- "implements MessageService" --> Rabbit
Reach:::plugin --> Guardian
Fellowship:::plugin --> Guardian
| Library | What it provides |
|---|---|
| Beacon | The CallForwardingService contract, models, HTTP transport, the beacon_* roles, an optional beacon/v1 REST API, and ForwardingRegistry — where Tamar publishes its driver and Trusted finds it, whichever loads first. |
| Rabbit | The MessageService contract, message models and MemberMessenger: member → message → driver, with a Scrutiny audit entry. WhatsApp registers it into Unity's container, and any plugin can resolve it from there. |
| Guardian | Google, Microsoft, Facebook and Apple sign-in, RS256 ID-token verification with cached key sets, single-use sign-in state, and the provider-credentials settings section. Who may sign in, and what that becomes, stays with each plugin. |
| wp-mocks | Development only: the suite's WordPress test doubles — a state-backed stub layer over Brain Monkey, plus fakes for $wpdb and the WP HTTP API. |
Install one through a vcs repository:
"repositories": [{ "type": "vcs", "url": "https://github.com/bleedingdeacons/beacon" }],
"require": { "bleedingdeacons/beacon": "^1.0" }Three .NET MAUI apps use the site, each through the plugin that is its server side. External software uses Integrity's API through one of its clients, and AI assistants use Promises.
flowchart LR
classDef app fill:#dcfce7,stroke:#15803d,color:#1f2937
classDef pkg fill:#e0e7ff,stroke:#4338ca,color:#1f2937
classDef plugin fill:#ffffff,stroke:#475569,color:#1f2937
classDef ext fill:#f1f5f9,stroke:#94a3b8,color:#475569,stroke-dasharray:4 3
subgraph Devices["Apps and other software"]
Register["<b>Register</b><br/>attendance tablet"]:::app
Link["<b>Link</b><br/>member messaging"]:::app
Monitor["<b>Monitor</b><br/>responder alerts"]:::app
Other["Your software<br/>(.NET or PHP)"]:::app
AI["MCP client<br/>e.g. Claude"]:::app
end
subgraph Packages["Client libraries"]
IS["integrity-sharp<br/><code>Integrity.Client</code>"]:::pkg
IP["integrity-php"]:::pkg
FS["freedom-sharp<br/><code>Freedom.Client</code>"]:::pkg
Inv["inventory"]:::pkg
end
subgraph Site["WordPress site"]
Integrity["Integrity<br/><code>integrity/v1</code>"]:::plugin
Freedom["Freedom<br/><code>freedom/v1</code>"]:::plugin
Fellowship["Fellowship<br/><code>fellowship/v1</code>"]:::plugin
Sentinel["Sentinel<br/><code>sentinel/v1</code>"]:::plugin
Promises["Promises<br/><code>promises/v1/mcp</code>"]:::plugin
end
subgraph Services["Outside services"]
FCM[("Firebase Cloud Messaging<br/>pushes to Link and Monitor")]:::ext
BS[("Better Stack<br/>app logs")]:::ext
end
Register --> IS
Register --> FS
Register --> Inv
Link --> FS
Link --> Inv
Other --> IS
Other --> IP
IS --> Integrity
IP --> Integrity
FS --> Freedom
Inv --> BS
Link -- "sign-in, messages" --> Fellowship
Monitor -- "sign-in, alerts" --> Sentinel
AI --> Promises
Fellowship -- "sealed push" --> FCM
Sentinel -- "sealed push" --> FCM
| App | Platforms | What it does | Server side |
|---|---|---|---|
| Register | Android tablet | The intergroup meeting's attendance register: keeps a local SQLite copy of Unity's data, records attendance and consent, and sends welcome and acceptance emails. Every credential it uses arrives from Freedom — none is built in. | Integrity · Freedom |
| Link | Android (iOS in progress) | Messaging between members and to committees. Recipients are picked from an anonymous directory, never typed; each push is sealed to a key only that handset holds. | Fellowship |
| Monitor | Android, iOS, Mac Catalyst, Windows | Rings telephone responders — loudly, repeatedly, over the lock screen — until somebody acknowledges, and pages admins who opt in to site errors. Every alert is stored before it is pushed, and handsets poll as well, so nothing depends on push alone. Formerly Hand, served by Reach. | Sentinel |
| Library | Language | What it does |
|---|---|---|
| integrity-sharp | C# / .NET 9 | Typed client for Integrity's API. Published to GitHub Packages as Integrity.Client, with its models bundled. |
| integrity-php | PHP 8.1 | A single-file cURL client for Integrity's API, with typed response objects and rate-limit details. |
| freedom-sharp | C# / .NET MAUI | The app half of Freedom: sign in once, then on each start fetch only the settings whose version changed (usually a 304), and open secrets with the device's own key. Freedom.Client and Freedom.Client.Maui. |
| inventory | C# / .NET MAUI | Durable logging to Better Stack for apps that spend their lives without signal: disk first, each event's own timestamp, errors flushed at once, and a pipeline that can be pointed somewhere new after sign-in without losing anything. |
The .NET packages are on GitHub Packages, which asks for a token even for public
packages — a classic personal access token with only read:packages is enough:
<packageSources>
<add key="bleedingdeacons" value="https://nuget.pkg.github.com/bleedingdeacons/index.json" />
</packageSources>The plugins do not depend on WordPress's load order. Each one waits for the action fired by the plugin it needs, so a missing dependency means a plugin quietly stands down rather than failing.
sequenceDiagram
autonumber
participant WP as WordPress
participant U as Unity
participant R as TSML for Unity, Promises
participant D as Scrutiny, Amber, Reach, Trusted,<br/>Trumpet, Fellowship, WhatsApp …
participant F as Freedom
WP->>U: plugins_loaded
Note over WP: Sentinel and Tamar boot here too,<br/>needing nothing from Unity
U->>R: unity/register_services
R-->>U: register repositories and services in the container
U->>D: unity/loaded (container ready)
D->>D: resolve what they need, register hooks and routes
D->>F: fellowship/loaded
F->>F: register its sign-in audience with Fellowship
Most plugins also define a <PLUGIN>_KILL constant — set it in
wp-config.php to stand a plugin down without deactivating it.
Every maintained plugin releases itself when a pull request merges to main.
flowchart LR
PR["Pull request"] --> Gates
subgraph Gates["CI gates"]
direction TB
T["Tests (Pest)"]
S["PHPStan level 8"]
C["PHPCS (PSR-12)"]
A["composer audit"]
G["Semgrep"]
end
Gates -- "merge to main" --> Rel
subgraph Rel["Release job"]
direction TB
L["Level from commit prefixes<br/>feat! → major · feat → minor · else patch"]
B["Write version, build the zip"]
K["Commit chore(release) to main"]
GR["Publish GitHub Release vX.Y.Z<br/>with the plugin zip"]
L --> B --> K --> GR
end
So a PR title is a release note: feat: cuts a minor version, fix:
and everything else a patch, and feat!: or BREAKING CHANGE a major.
Pull requests are squash-merged, so the PR title is what the release job reads.
The Composer libraries are released by hand as vX.Y.Z tags; the .NET
libraries publish to GitHub Packages from a tag.
| Repository | Kind | Language | Purpose |
|---|---|---|---|
| amber | Plugin | PHP | The admin interface for Unity: the Intergroup menu, dashboard widgets for positions, meetings and attendance, and position shortcodes. |
| beacon | Library | PHP | Call-forwarding contracts, roles and an optional REST API, plus the registry where a driver (Tamar) is published and a consumer (Trusted) finds it. |
| concordance | Plugin | PHP | Client for the AAGBDB Groups API: a caching REST proxy, a dashboard widget and WP-CLI commands. Standalone; GPL v2. |
| confur | Plugin | PHP | Collates groups' answers to Conference questions: a public form for groups, status and results screens for region representatives. Standalone. |
| fellowship | Plugin | PHP | Server side of Link: enrols handsets against Unity members, stores messages and pushes them sealed to each handset's key. Also signs in for Freedom. |
| freedom | Plugin | PHP | Zero-configuration settings for the apps: a tablet signs in through Fellowship and receives versioned configuration, with secrets sealed to that tablet. |
| freedom-sharp | Client | C# | The app half of Freedom (Freedom.Client, Freedom.Client.Maui): sign in once, fetch only changed settings on each start, open secrets with the device key. |
| guardian | Library | PHP | OAuth sign-in shared by Reach and Fellowship: Google, Microsoft, Facebook and Apple providers, ID-token verification and single-use sign-in state. |
| integrity | Plugin | PHP | A secure REST API over Unity's groups, meetings, members and positions: scoped API keys, rate limits, IP allow-lists and a full request log. |
| integrity-php | Client | PHP | A single-file cURL client for Integrity's API, with typed responses. |
| integrity-sharp | Client | C# | A typed .NET client for Integrity's API, published as Integrity.Client. Used by Register. |
| inventory | Client | C# | Durable Better Stack logging for .NET apps: buffered to disk, timestamped at source, shipped once the app knows where. Used by Register and Link. |
| lifelines | Plugin | PHP | A fast public lookup over a UK place, service and helpline dataset uploaded as CSV. Standalone. |
| link | App | C# | Messaging between members and to committees, from a phone. Server side is Fellowship. |
| monitor | App | C# | Rings telephone responders until an alert is acknowledged, and pages admins about site errors. Server side is Sentinel. |
| promises | Plugin | PHP | A Model Context Protocol server, so an AI assistant can read the intergroup's records and, if allowed, fill gaps in the rota. |
| rabbit | Library | PHP | Member-messaging contracts and MemberMessenger, which sends to a Unity member through whichever driver is registered and audits it. |
| reach | Plugin | PHP | The public 12th-step finder: sign in, enter an area, see the nearest available 12th-step volunteers. |
| reconcile | Plugin | PHP | Spreadsheet import and export for members, groups and positions. |
| register | App | C# | The intergroup meeting's attendance register on an Android tablet, working from a local copy of Unity's data. Server side is Integrity and Freedom. |
| scrutiny | Plugin | PHP | GDPR audit logging of who saw or changed personal data, and masking it from anyone without clearance. |
| sentinel | Plugin | PHP | A dashboard of the suite's plugins and versions, the shared logger, and Monitor's server side. |
| tamar | Plugin | PHP | Call forwarding through Tamar Telecommunications' control panel, so the helpline rings whoever is on shift. |
| trumpet | Plugin | PHP | Announcements, and a shortcode listing today's meetings on the front page. |
| trusted | Plugin | PHP | The seven-day telephone-responder rota: weekly templates applied to a week and filled from a calendar. |
| tsml-for-unity | Plugin | PHP | Implements Unity's model over 12 Step Meeting List data, so an existing meeting list becomes Unity's groups and meetings. |
| unity | Plugin | PHP | The core: the intergroup model as interfaces, and the container every other plugin registers against. |
| Plugin | PHP | Sends WhatsApp messages to Unity members through Meta's Business Cloud API. | |
| wp-mocks | Library | PHP | Development only: the suite's shared WordPress test doubles over Brain Monkey. |
- WordPress 6.0 or later (6.1 for about half the plugins)
- PHP 8.4 or later for every plugin; integrity-php runs on 8.1
- .NET 10 for the apps;
Integrity.Clienttargets .NET 9