On this page
Signals, alerts, the morning brief, actions, playbooks, memos and the decision ledger.
The routers read and advance decision lifecycle state; the scoring math and every ledger write live in packages/metrics (offtake.ts, offtake-loop.ts). Every approve or record mutation requires an owner or admin, a weak signal abstains, and every decision is traceable to its rule version, signal values and model version.
alerts#
Source: apps/web/src/server/routers/alerts.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
alerts. |
query | orgProcedure |
— |
alerts. |
query | orgProcedure |
— |
alerts. |
query | orgProcedure |
— |
alerts. |
mutation | rateLimited |
— |
alerts. |
mutation | rateLimited, owner or admin |
Someone has seen the incident; it stays active until it clears or is resolved. |
alerts. |
mutation | rateLimited, owner or admin |
Close an active incident by hand; the next true evaluation opens a new one. |
alerts. |
mutation | rateLimited |
Hide one active incident from the caller until until (at most 30 days out); other members still see it. |
alerts. |
query | orgProcedure |
The live state of the incidents a bell page names, behind the same fence the mutations use, plus whether the caller may acknowledge/resolve them. |
alerts. |
query | rateLimited, manage_ |
Everything the authoring form offers, in one round trip: |
alerts. |
query | orgProcedure, manage_ |
The org's authored dataset rules, newest first. |
alerts. |
mutation | rateLimited, owner or admin |
— |
alerts. |
mutation | rateLimited, owner or admin |
Pause or resume one authored rule. |
alerts. |
mutation | rateLimited, manage_ |
The org's on/off for one rule (pack or reminder). |
alerts. |
mutation | rateLimited, owner or admin |
— |
alerts. |
mutation | authed, owner or admin |
— |
alertWorkflows#
Source: apps/web/src/server/routers/alert-workflows.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
alertWorkflows. |
query | orgProcedure |
— |
alertWorkflows. |
query | orgProcedure |
— |
alertWorkflows. |
query | orgProcedure |
— |
alertWorkflows. |
query | orgProcedure |
— |
alertWorkflows. |
query | orgProcedure |
The catalog by data type for this org: which groups it has data for, and where each evaluable template can be created. |
alertWorkflows. |
mutation | rateLimited, owner or admin |
— |
alertWorkflows. |
mutation | rateLimited |
— |
alertWorkflows. |
mutation | authed |
— |
alertWorkflows. |
mutation | rateLimited |
— |
alertWorkflows. |
mutation | rateLimited |
— |
alertWorkflows. |
query | orgProcedure |
— |
alertWorkflows. |
query | orgProcedure |
— |
briefing#
Source: apps/web/src/server/routers/briefing.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
briefing. |
query | brandProcedure |
— |
briefing. |
query | brandProcedure |
The button polls this until the worker's run lands (ISO or null). |
briefing. |
query | orgProcedure |
— the page's alert card reads the brief's own fenced read for this reader, so the card and the bullets can never show two alert sets. |
briefing. |
query | orgProcedure |
Why there is no brief: the worker's last recorded run for this cadence, as a closed notice kind (never the raw reason code). |
briefing. |
query | orgProcedure |
— |
briefing. |
mutation | rateLimited |
A durable intent for the worker's briefing job, never an in-request rebuild. |
actions#
Source: apps/web/src/server/routers/actions.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
actions. |
query | orgProcedure, manage_, manage_ |
— |
actions. |
mutation | authed, manage_ |
— |
actions. |
mutation | authed, manage_ |
— |
actions. |
mutation | authed, manage_ |
— |
actions. |
mutation | authed, manage_ |
— |
actions. |
query | orgProcedure |
— |
actions. |
query | orgProcedure |
— |
memos#
Source: apps/web/src/server/routers/memos.ts
Weekly Action Memo router.
| Procedure | Type | Access | Description |
|---|---|---|---|
memos. |
query | orgProcedure |
— |
memos. |
query | orgProcedure |
— |
memos. |
mutation | rateLimited, manage_ |
— |
memos. |
mutation | rateLimited, manage_ |
— |
memos. |
mutation | rateLimited, manage_ |
Generate (or refresh) the memo for an explicit period. |
playbooks#
Source: apps/web/src/server/routers/playbooks.ts
Playbooks router — backing store for the React-Flow canvas at /automations.
| Procedure | Type | Access | Description |
|---|---|---|---|
playbooks. |
query | orgProcedure |
— |
playbooks. |
query | orgProcedure |
— |
playbooks. |
mutation | rateLimited, manage_ |
— |
playbooks. |
mutation | rateLimited, manage_ |
— |
playbooks. |
mutation | authed, manage_ |
— |
playbooks. |
mutation | rateLimited, manage_ |
— |
playbooks. |
query | orgProcedure |
Canvas palette. |
offtake#
Source: apps/web/src/server/routers/offtake.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
offtake. |
query | orgProcedure |
— |
offtake. |
query | orgProcedure |
Decision Memory (historical) + Inbox (proposed) + outcomes, all brands. |
offtake. |
query | orgProcedure |
Track record (calibration): hit-rate by confidence bucket. |
offtake. |
query | orgProcedure |
— |
offtake. |
query | orgProcedure |
— |
offtake. |
query | orgProcedure |
— |
offtake. |
mutation | rateLimited, owner or admin |
— |
offtake. |
mutation | rateLimited, owner or admin |
— |
offtake. |
mutation | rateLimited, owner or admin |
Govern gate → approve a proposed decision (1-click) + emit action_commands. |
offtake. |
mutation | rateLimited, owner or admin |
— |
offtake. |
mutation | rateLimited, owner or admin |
— |
offtake. |
mutation | rateLimited, owner or admin |
Owner/admin un-RUNs an approved/activated decision — returns it to the Decision Inbox ('proposed') so it can be re-decided or skipped. |
offtake. |
query | orgProcedure |
— |
offtake. |
mutation | rateLimited, owner or admin |
— |
offtake. |
query | orgProcedure |
— |
offtake. |
query | orgProcedure |
— |
offtake. |
query | orgProcedure, owner or admin |
— |
offtake. |
query | orgProcedure |
— |
offtake. |
query | orgProcedure |
— |
offtake. |
query | orgProcedure |
— |
offtake. |
mutation | rateLimited, owner or admin |
— |
offtake. |
mutation | rateLimited, owner or admin |
Read out a registered experiment. |
offtake. |
mutation | rateLimited, owner or admin |
Produce — and record — an off-policy evaluation of a candidate ranking policy. |
offtake. |
query | orgProcedure |
The champion/challenger board: every version, its alias and its evidence. |
offtake. |
mutation | rateLimited, owner or admin |
— |
offtake. |
mutation | rateLimited, owner or admin |
Roll the champion back to its parent. |
msoPlaybooks#
Source: apps/web/src/server/routers/mso-playbooks.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
msoPlaybooks. |
query | orgProcedure |
— |
msoPlaybooks. |
mutation | rateLimited, owner or admin |
— |
msoPlaybooks. |
mutation | rateLimited, owner or admin |
— |
msoPlaybooks. |
mutation | authed, owner or admin |
— |
msoPlaybooks. |
mutation | rateLimited, owner or admin |
— |
msoPlaybooks. |
mutation | rateLimited, owner or admin |
— |
msoPlaybooks. |
query | orgProcedure, owner or admin |
— |
msoPlaybooks. |
query | orgProcedure, owner or admin |
— |
msoPlaybooks. |
query | orgProcedure, owner or admin |
— |
msoPlaybooks. |
mutation | rateLimited, owner or admin |
— |
msoPlaybooks. |
mutation | rateLimited, owner or admin |
One-click: materialise the code defaults into editable DB rows for this org. |
signals#
Source: apps/web/src/server/routers/signal-events.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
signals. |
query | orgProcedure |
— |
signals. |
mutation | rateLimited, owner or admin |
"Stop telling me this." Records who, when and why on the instance, and the collector reads it back at the next brief: |
signals. |
mutation | rateLimited, owner or admin |
— "acted on" feeds signal_stats ranking for the whole org, so it is an owner/admin verdict like dismiss. |