Skip to main content
Sariva uses one chat surface per install: Microsoft Teams or Slack. This page covers both. It explains which channels to create, where each id goes, and how Sariva remembers a conversation.

The channels to create

Create these in the same team (Teams) or workspace (Slack) where Sariva is installed. Sariva can only post where its app is installed. Alerts always go to the app’s own channel, wherever someone asked. A developer can chat with Sariva in a 1:1 or in any channel, but the app’s alerts and notices land in the channel on its registration. When someone asked for a decision, such as on-demand log scans, the thread where they asked is also told the outcome.

Teams: create a Posts channel

In the new Teams Create a channel dialog, pick the Posts layout.
⚠WARNING
The Threads layout is not supported yet. Microsoft’s newer Threads layout shows a channel as one running chat. Since May 2026 it is the default for the first channel of a new team. Sariva has not been tested against it, and a bot cannot tell which layout a channel uses. In a Threads channel, Sariva may treat the whole channel as one conversation. Use Posts until a later release says otherwise. You can switch an existing channel’s layout from its settings.

Get a channel id

  1. Open the channel’s ⋯ menu → Copy link (older clients: Get link to channel). The link looks like https://teams.microsoft.com/l/channel/19%3Aa1b2c3d4e5f6%40thread.tacv2/payments-eng?groupId=…&tenantId=…
  2. Take the part between /channel/ and the next /: 19%3Aa1b2c3d4e5f6%40thread.tacv2.
  3. Decode it: %3a / %3A → : and %40 → @. The result, 19:a1b2c3d4e5f6@thread.tacv2, is the channel id.
The groupId in the same link is the team, not the channel, and is rejected. The wizard, sariva validate teams and app registration all check the shape (19: … @thread. …). Put the ids in the place each row above names. The wizard asks for the alerts and approvals ids; an app team sets teams_channel_id when it registers.

Slack

Create the channels in Slack (+ next to Channels) and invite the Sariva bot to each one. Slack takes channel names. The setup wizard asks for the approvals and alerts channels; app teams set slack_channel (e.g. #payments-eng) at registration. Details: Slack channels and verification.

How Sariva keeps context

Inside a conversation Sariva remembers what was asked, what it proposed and anything still waiting. A proposal, for example, waits for your “yes” or your correction. In a channel, start a new post for a new topic. Replying under an old post continues that post’s conversation, including anything still waiting in it.

After a long silence

A conversation with no message for 15 days starts fresh. The next reply says so once, first, and names what was left open:
This thread was quiet for 16 days, so I’m starting fresh. Left open here: PR #51 (still open); add Kafka API key for np-orders-app (held until np-orders-app is live). Nothing that was waiting was raised — ask again for anything you still want.
  • Forgotten: the earlier messages, a proposal or question that was waiting, and anything held or queued behind it. None of it is raised later on its own — ask again for what you still want.
  • Kept: a pull request Sariva raised in that conversation that is still open, so “close #51” and “is #51 merged?” still work there.
  • Untouched: everything outside the conversation — registered apps, approvals, alerts, your repo and the pull requests themselves.
A Teams 1:1 or group chat does the same after 24 hours; its reply names a proposal that expired. A conversation with no message for 90 days is forgotten entirely: the next reply starts fresh and names nothing.

One message, one reply

You can put several things in one message — an instruction, a side question, a second request. Sariva answers every part in the same reply, in this order:
  1. Answers and results — the answer to each question and the outcome of anything it did, in the order you asked.
  2. What is waiting — one Waiting: line for each request it has not started, with the reason (for example, an API key held until its service account is live).
  3. Its own question or proposal, last — so the thing it needs from you is the last thing you read.
A short follow-up such as “is it merged?” or “and now?” is read against the conversation: the pull requests Sariva raised there and the last thing it did. If a part could not be handled, the reply says which one. In a Teams channel, Sariva answers a message that @mentions it. It also answers a reply without the mention in a post that you started with Sariva, or in a post that Sariva itself made, such as an approval request. Other channel messages are left alone.