Chat Ops — Ouroboros in Slack
Chat Ops brings Ouroboros into Slack. This page covers three things:
- the Chat Ops page in Ouroboros — how Slack is connected, which channels it posts to, and a mirror of what it published there;
- what Ouroboros posts to your channels — the questions loops are waiting on, finished loops and the weekly digest;
- linking your Slack identity to your Ouroboros account, which you do once.
Your workspace's Owner or Maintainer connects Slack first and decides which channel gets what — see Chat Ops — connecting Slack.
Ouroboros posts cards to Slack; linking, unlinking and the /ouro commands work — see
Commands; and a card's buttons answer the decision — see
Answer a decision from Slack. An unanswered decision escalates
when its countdown ends.
The Chat Ops page
The Chat Ops page is at /chatops. It is not in the sidebar. Reach it from:
- Chat Ops → on the Slack tile, in the Integrations section of Settings;
- Chat Ops beside Answer from anywhere in the Needs-you inbox;
- Weekly digest in Slack → at the top of Insights;
- the Chat Ops link on the Slack row of Get Started.
The page refreshes itself every few seconds. Every member can read it; binding channels, installing and verifying are for an Owner or a Maintainer.
The connection strip
Under the heading, one line says how the Slack connection stands — such as acme-robotics · app v2.4 · scopes ✓ · active · verified 2m ago:
| Part | It means |
|---|---|
| The first name | The Slack workspace that is connected. |
| app v2.4 | The version of the Slack app that was installed. |
| scopes ✓ | Slack granted everything the app asks for. Otherwise it reads, for example, 1 scope missing: groups:read — re-install the app to grant it. |
| active | Slack accepts the connection. |
| revoked | The app was removed from the Slack workspace, or its token was revoked. Slack's reason follows, such as revoked — app_uninstalled. Nothing reaches your channels until the app is installed again. |
| error | Slack is answering with an error, such as error — ratelimited. Messages may not reach your channels. |
| verified 2m ago | When Ouroboros last checked the connection with Slack. not verified yet means it has not. |
An Owner or a Maintainer also sees Verify now, which checks the connection with Slack at once, and — when the connection is revoked or in error — Re-install. Everyone else is told that an Owner or a Maintainer can re-install the app.
Open the channel in Slack
Open #ouroboros-loops ↗ at the top right opens your workspace's Loops channel in Slack, in a new tab. It carries that channel's own name. The button is there only when a channel has been bound for Loops; until then there is nothing to open, so it is not shown.
Bound channels
Bound channels lists each channel Ouroboros posts to: its name, what it is for (Loops, Alerts or Leads), how many members it has, and which notification routes point at it. Open ↗ opens that channel in Slack, and Show mirror shows that channel in the channel mirror beside the list — the row then reads Showing.
Add a channel
An Owner or a Maintainer binds a channel with + Add channel ▾:
-
Choose + Add channel ▾. Add a channel lists the Slack workspace's channels. Each row says whether it is private, how many members it has, and whether bot is a member or bot is not in this channel.
-
Choose a channel, then say what it is for:
Purpose Binding it switches on Loops Blocking questions, with a DM to the on-call person · loop finished · stage transitions (off) Alerts Build failures Leads The weekly digest -
Choose Bind. The page confirms, such as #ouroboros-loops is bound for Loops. Choose another channel, or Done.
Ouroboros can only post where it is a member. If the row reads bot is not in this
channel, open the channel in Slack and send /invite @Ouroboros, then choose Refresh from
Slack in the picker. Private channels are added the same way: the bot cannot join a channel
on its own. Binding a channel the bot is not in is refused, with that explanation.
Each purpose has one channel. Binding a second channel for Loops moves Loops to it. Unbind, on a bound channel, stops Ouroboros posting there: the routes that pointed at it are left without a channel.
To point a single route at a different channel, use What gets published where.
The channel mirror
Beside the bound channels, the page shows one channel as Ouroboros recorded it: every card it
published there and every /ouro command that was run there, oldest at the top.
It is a mirror, not Slack. The mirror chip in the heading says so: this is Ouroboros's record of what it published — the conversation lives in Slack. What your team writes to each other in the channel is not here, and nothing is shown that Ouroboros did not record. Open ↗ opens the real channel in Slack.
The heading also carries:
- the channel's name and Slack, with the member count and the installed app's version when Slack has reported them — such as 24 members · Ouroboros app v2.4;
- a Slack / Teams switch. Teams cannot be chosen: it is not available yet, and is marked arrives with CB.2 (#547);
- when the mirror was last read, such as updated 12s ago. The mirror re-reads itself every few seconds, so a card published a moment ago appears by itself; press the time to read again at once.
The mirror opens on your first bound channel. Show mirror on another row changes it, and
the address keeps your choice (/chatops?channel=…), so you can share the link.
What each entry looks like
| Entry | How it is drawn |
|---|---|
| A finished loop | A card with a green bar: the headline, the issue, a line of figures, and buttons that open the pull request and the run console in Ouroboros. |
| A question a loop is waiting on | A card with a glowing amber bar. While it is open, its buttons — such as Allow once and Deny — open that decision in the Needs-you inbox, where you answer it. Nothing is answered from the mirror. |
| The same question, answered | The card with no buttons and a line such as resolved: allow once — Maya Chen (14:11). |
| An escalated question | The card, marked ⚠ escalated with the time. |
| A build that went green | A card with an accent bar and a button to the pull request's verification. |
| A build that failed | A card with a red bar. |
| A one-line notice | A short line between two rules, such as who answered a question. |
| A command | The person's initials and name, then the command as typed — /ouro status. A command typed in Ouroboros rather than in Slack is marked console. Ouroboros's answer follows in a box; a command that takes a while reads still running — the result appears here when it finishes, and then shows its result. |
Entries are grouped by day — Today, Yesterday, then the date. Load earlier at the top reads the entries before the ones shown. A channel with nothing recorded yet reads Nothing has been published to this channel yet.
If Ouroboros was removed from the channel, the mirror says so — Ouroboros was removed
from #ouroboros-loops, so nothing new is being posted there — and how to bring it back:
send /invite @Ouroboros in the channel. An archived channel says that it is archived.
Run a command from the mirror
The box under the stream runs /ouro commands — the same commands, with the same
rules about who may run them, as Slack and
the command console:
- Type
/ouroand a command, such as/ouro status. Suggestions appear as you type; Tab completes one and ↑ recalls what you ran before. - Choose Send, or press Enter.
The command and its answer then appear in the stream, marked console, for everyone who opens this channel's mirror. They are recorded in Ouroboros only: nothing is posted to Slack. If the command is refused, the reason appears under the box and what you typed stays there.
The box does not send messages. Type anything that is not a command and Send is switched off, with the reason beside it: messages live in Slack — commands work here, and Open ↗ to write in the channel itself.
The commands card
COMMANDS, beside the mirror, lists every /ouro command — the same list, from the same
source, as /ouro chat commands. Each row shows the command as you would
type it and what it does. Since ouroboros-ui 0.160.0
- Try it puts the command in the box under the mirror, as
/ouroand the command's name, ready for you to finish and send. It does not run anything. - A command your role does not include is dimmed and says why — Not available to you — followed by who it is for. It is listed so you know it exists.
- The
explain prcommand carries a v2 · #546 chip: it is not available yet, and has no Try it.
The card's caption — Identical in Slack, Teams, and the in-app console. Tab-completion everywhere. — is followed by Teams arrives with #547: Teams is not available yet.
What gets published where
WHAT GETS PUBLISHED WHERE lists what Ouroboros posts to Slack and the channel each goes to. Since ouroboros-ui 0.160.0
| Row | It posts |
|---|---|
| Loop finished (merged) | A card when a loop's pull request merges. |
| Blocking questions | A question a loop is waiting on — and, with + DM on-call, the same card as a direct message to the person on call. |
| Build failures | A card when a build fails. |
| Weekly insights report | The weekly digest. |
| Every stage transition — noisy, off by default | A line for every stage a loop enters. It is off unless someone switches it on. |
Every member can read the card. An Owner or a Maintainer can change it:
- The channel. Choose one of the bound channels from the row's list. + Add a channel… opens Add a channel. A row with no channel reads choose a channel.
- The switch turns the route on or off. It changes at once; if the change cannot be saved, the switch goes back and the reason is shown under the row.
- The person on call. + DM on-call names them, such as + DM on-call (Ken Suenobu), or reads nobody designated. Change lists the members who have linked their Slack identity — only they can be chosen — and Nobody. One person is on call at a time: rotations arrive with #548.
Everyone else sees the same rows as text, with Changing what gets published where is for an Owner or a Maintainer.
These are the same routes as the Notifications section of Settings: a change made in one shows in the other. Manage in Settings → at the foot of the card opens that section — see Notifications, email & webhooks.
The AI presence card
AI PRESENCE, under WHAT GETS PUBLISHED WHERE, is a preview. It shows what asking Ouroboros a question in plain words will look like. It is not available yet, and nothing in it is a real conversation. Since ouroboros-ui 0.161.0
- The preview chip and arrives with AI presence (#546), beside the title, say so.
- The exchange inside the dashed frame — a question about issue #479, and an answer that suggests a change — is an illustration. So is the line under it, ✓ applied · policy-checked · audit-logged: it is drawn faint, between dashed rules, where a real notice in the channel mirror is green between solid ones.
- Apply is switched off. The reason is under it: Apply is part of the preview — it arrives with AI presence (#546).
- Open Analyzer → is a real link. It opens the Build Analyzer.
The caption is what the feature will hold to: When it lands: anything the UI can do, a sentence can do — same permissions, same audit trail.
To do these things today, use the /ouro commands. today, the /ouro commands do this
deterministically →, at the foot of the card, goes to the commands card;
every command is described in /ouro chat commands.
When Slack is not connected yet
The page then explains what is missing instead:
- This deployment has no Slack app yet — whoever operates the deployment has to register one first.
- Install the Slack app into your workspace — the deployment has an app, and an Owner or a Maintainer can install it with Install.
Both link the setup guide. The steps are in Chat Ops — connecting Slack.
What can go wrong
When something stops working, a quiet channel looks the same as a channel with nothing to say. The page tells you instead. Each of these appears by itself — the page refreshes every few seconds — and goes away when the cause does. Since ouroboros-ui 0.162.0
Your Slack identity is not linked
A banner at the top of the channel mirror reads Your Slack identity is not linked. It appears only while Slack is connected and you have no linked identity.
- What still works: everything in Ouroboros. Commands you run from the mirror or the console run as you.
- What does not: in Slack, buttons and
/ourocommands will not act as you. - What to do: choose Open Slack ↗, send
/ouro linkthere, and open the link Slack answers with. The steps are in Link your identity.
Messages are not reaching Slack
A banner under the connection strip reads, for example, 2 messages could not be delivered to Slack. It names the affected routes — such as Affected: Build failures. — and Slack's last answer, such as channel_not_found. A message sent straight to the on-call person is named On-call DM.
- An Owner or a Maintainer sees Retry now, which sends the undelivered messages again. Fix the cause first — for example, invite the bot back to the channel. Everyone else is told that an Owner or a Maintainer can retry them.
- Open the audit log goes to the Audit section of Settings.
- The banner goes away by itself once the messages have been delivered.
The banner may instead read 1 message keeps failing to reach Slack, and is still being retried. Ouroboros is still trying; there is nothing to press. What an operator can check is in Delivery: retries and failures.
Slack revoked the app
The connection strip reads revoked, with Slack's reason in words — such as The app was removed from the Slack workspace. — and nothing reaches your channels.
- The page shows Channel history: the mirror of each channel that was bound, as it stood. You can read it and switch between channels. There is no box to run commands in, and nothing can be bound or unbound.
- An Owner or a Maintainer chooses Re-install on the strip. Everyone else is told that an Owner or a Maintainer can re-install the app.
- After the re-install, the bound channels and routes are as they were.
The page looks the same while the strip reads error.
Ouroboros was removed from a channel
The mirror of that channel shows a warning: Ouroboros was removed from #helios-alerts, so nothing new is being posted there. What was posted before stays in the mirror.
- To bring it back: in Slack, open the channel and send
/invite @Ouroboros. Then an Owner or a Maintainer chooses I invited it — refresh on the warning. - To stop posting there: an Owner or a Maintainer chooses Unbind on the warning.
Everyone else is told that an Owner or a Maintainer can refresh the channel list or unbind the channel.
You can read but not change
If you are not an Owner or a Maintainer, the page is the same page with the controls that are not yours left out or explained:
| You see | It means |
|---|---|
| No Verify now, Re-install or Retry now | Checking, re-installing and retrying are for an Owner or a Maintainer. |
| + Add channel ▾ that cannot be pressed, and no Unbind | Binding a channel is for an Owner or a Maintainer. |
| Channel names instead of pickers under What gets published where | Changing what gets published where is for an Owner or a Maintainer. |
| A command without Try it, with a reason beside it | Your role may not run that command. The reason is given under it. |
You can still read every mirror and run the commands your role allows.
The page could not be read
A banner reading The Slack connection could not be re-read., or The channel mirror could not be re-read., means the page is showing what it last read. Choose Retry on the banner. While a mirror is being read for the first time, grey bars stand where its messages will be.
What Ouroboros posts
Every message is a card: a headline, the facts, sometimes a line of figures, and buttons. The coloured bar on its left says what kind of news it is — green for done, amber for a question, red for a failure.
A question a loop is waiting on
When a loop reaches a decision only a person may make, Ouroboros posts it as a card:
- The headline is the question, and the line under it says why it is being asked. These are the same words the Needs-you inbox shows for that decision.
- The next line says what it is about — such as loop #1851 · issue #479 · boot/rollback_flag.c.
- The buttons are that decision's own actions. Buttons that answer it — such as Allow once and Deny — answer it as you; see Answer a decision from Slack. Buttons that open a page — such as View diff → — open it in Ouroboros.
- The last line says how long the loop has waited and when the decision escalates — such as paused 4m · escalates to the Needs-you inbox in 26m. The times are as they stood when the card was last written; the card does not tick, but it is rewritten when the decision escalates or is answered.
A workspace may also send each question as a direct message to the person on call — see What gets published where.
The same card, once it is answered
When the decision is answered — in Slack, in the inbox, by email or anywhere else — Ouroboros edits the card in place. Its buttons disappear and its last line says how it ended and who ended it, such as Maya Chen answered: allowed once · in Slack. A decision that was settled elsewhere reads Closed — settled elsewhere.
A short line then follows in the channel, such as ✓ Maya Chen answered: allow once — loop #1851.
So a card in a channel is never a stale invitation: if it still has answer buttons, the decision is still open.
Answer a decision from Slack
Press a button on the card — such as Allow once or Deny. Ouroboros does exactly what the same button in the Needs-you inbox does, as you: the loop resumes or is sent back, the answer is recorded under your name with in Slack as where it came from, and the audit log records it. You get a message only you can see, such as Answered: Allow once — exception granted · resume sent to loop #1851, and the card closes as described above.
Who may press a button. You must have linked your Slack identity,
and your account must be allowed to give that answer — the same rule as in the inbox. Most
answers need the can_approve_loops capability; see
Roles. If you are not allowed, Ouroboros tells you — only you —
what the button needs, such as Allow once needs the can_approve_loops capability, and
nothing changes.
If someone answered first. In a busy channel two people can press within seconds. The first press answers; the second does nothing, and its presser is told who answered — such as This was already answered — Maya Chen answered: allowed once · in Slack. The card is edited to its answered form for everyone.
Merges are confirmed in Ouroboros. A card that asks you to approve a merge has no answer
buttons. It has one button, Confirm in Ouroboros ↗, which opens the decision in the inbox
where you answer it signed in, and it says why: A merge is confirmed in Ouroboros, signed in
— it cannot be answered from chat. /ouro answer refuses a merge the same way.
Answers that need a note. Some answers come with a note — such as returning a plan to the loop with what to change. Slack's button cannot take one, so pressing it answers, to you alone, that the answer needs a note, which a Slack button cannot take, with an Open in Ouroboros button. Give the answer there.
A button that does nothing. If a button answers That button is not valid for this message, the press did not come from the card Ouroboros posted — nothing was changed. Open the decision in the inbox instead.
When nobody answers
Each decision has an escalation window — 30 minutes for most kinds. The card counts it down from when the question was asked. If the window ends with no answer:
- the card's last line changes to ⚠ escalated — now in the Needs-you inbox, so the channel can see it was escalated, not ignored;
- the decision moves to the top of the Needs-you inbox;
- the person on call for decisions gets the card as a direct message, if someone is on call and has linked their Slack identity.
The buttons keep working after an escalation. Answering a decision, snoozing it in the inbox, or its loop no longer needing it stops the countdown: the decision then never escalates.
A loop that finished
When a loop's pull request merges, the card reads Loop #1846 finished — PR #512 merged, with the issue under it, a line of figures, and View PR ↗ and Run console buttons.
The line of figures reads like 14/14 checks · 11m cycle · $0.94 · claude-fable-5. Each part appears only when it is known:
- The cost appears only when all of the loop's usage was priced. If any of it was not,
there is no cost on the card at all — never
$0.00, and never an estimate. - The model appears only when one is on record.
The weekly digest
Once a week Ouroboros posts the week's figures from Insights: how many pull requests merged and how many needed a person, each headline figure against the week before, where loops most often needed a person, flaky tests that moved, and the cost. It is the same digest the weekly email carries, so the two always agree. Open Insights opens the page.
Not posted yet
Cards for a build that went green or failed are not posted yet.
Why you link
A button pressed or a command typed in Slack acts with your Ouroboros permissions and appears in the audit trail under your name. A Slack display name can be changed by anyone, so Ouroboros never trusts one. It acts only for a Slack identity that a signed-in person has confirmed is theirs.
Link your identity
- In Slack, type
/ouro link. - Ouroboros answers with a message only you can see, and a Link your account button. The link works once, for fifteen minutes, and only for you.
- Choose the button. A page opens in your browser. If you are not signed in to Ouroboros it reads Sign in to link your Slack identity — choose Sign in to continue, and you return to the page afterwards.
- The page reads Link this Slack identity to your account? It names your Slack identity and its workspace, and the Ouroboros account it will act as. Check both.
- Choose Link this Slack identity.
The page then reads Your Slack identity is linked, and you can go back to Slack.
Nothing is linked until you press the button. Opening the link — or a mail scanner or link preview opening it for you — changes nothing.
The email note on the confirmation screen
The screen says whether the email on your Slack profile matches your Ouroboros account. This is a hint, not proof: a match never links anyone by itself, and no match does not stop you. Confirm only if the Slack identity shown is yours.
Unlink
In Slack, type /ouro unlink. Ouroboros answers that your identity is unlinked. What you did
while it was linked stays in the audit trail under your name.
To link again, type /ouro link.
Commands
Once you are linked, type /ouro and a command in any channel or direct message. The answer is
shown to you alone. Since ouroboros-rest 0.41.25
| Type | To |
|---|---|
/ouro status | see loops live, the queue, the build farm, today's spend and what needs you, in one line |
/ouro queue #485 | send an issue into the loop |
/ouro pause loop 1847 | hold a loop — /ouro resume loop 1847 lets it continue |
/ouro abort loop 1847 confirm | stop a loop for good |
/ouro answer q-231 allow_once | answer a question that is blocking a loop |
/ouro dry-run #486 | rehearse a workflow with no writes and no pull requests |
/ouro route implement claude-fable-5 | repin the model a task kind uses |
/ouro estimate #490 | see an issue's effort, cost and cycle estimate |
/ouro pause all confirm | pause every loop in the workspace |
/ouro help | list the commands |
Each command does what the matching button in Ouroboros does, with your role: a command your
role does not include answers with who it is for, and does nothing. abort loop and
pause all run only when you add the word confirm. Without it they describe what would
happen.
The full reference — every argument, who may run each command and what it answers — is /ouro chat commands.
The same commands, in Ouroboros
You do not need Slack to run a command. Press Ctrl+K
(⌘+K on a Mac) anywhere in Ouroboros and type /ouro and a space: the
palette becomes a command console, with the same commands, the same rules about who may run
them and the same answers, word for word. The differences are only these:
- You are already signed in, so there is nothing to link, and Slack does not have to be connected.
- It completes what you type from your workspace's real issues, loops, workflows and models.
- A command that takes a while tells you its result with a notification in Ouroboros.
See The command console. On the Chat Ops page you can also run a command under a channel's mirror — see Run a command from the mirror.
If you press a button before linking
Ouroboros answers, to you alone, You're not linked with a Link your account button, and does nothing else. Link, then press the button again.
When a link does not work
| The page reads | What happened | What to do |
|---|---|---|
| This link is not valid | The link was already used, was replaced by a newer one, or its address is incomplete. | Type /ouro link again. |
| This link has expired | More than fifteen minutes passed since it was sent. | Type /ouro link again. |
| You are not a member of that workspace | You are signed in to an account that is not a member of the Ouroboros workspace this Slack workspace is connected to. | Sign in with the right account, or ask an Owner or Maintainer to invite you. |
| Your account already has a Slack identity | Your account is already linked to another Slack identity in that Slack workspace. | Type /ouro unlink from the other identity first. |
| Slack is no longer connected | The Slack app was removed since the link was sent. | Ask an Owner or Maintainer to connect Slack again. |
Each of these pages ends with Nothing was linked.
If /ouro link answers Your Slack identity is already linked, there is nothing to do.