Using the workspace
Dus in Slack and Teams
Ask Dus for work with @duscode in a channel, answer its questions on cards, and get the merged, checked result back in the thread.
Your team can give Dus work where they already talk. Write @duscode and what you need in an allowed Slack or Microsoft Teams channel. Dus takes it all the way: a job in its own worktree, the change with tests, Local CI on the change and on the merge result, your merge rule, and an optional deploy. The thread gets the result: what was shipped and checked, not just "pull request opened".
How it stays safe
- Only the people you list can start work. Anyone else who mentions @duscode becomes a decision for you: a card in the thread with Run it, Always allow them and Decline, and a notice in Duscode. Only your approvers can press it, and each card is answered once: a second press is told who answered first.
- Messages are data, never instructions. What people write is given to Dus as the request to work from. It can't change Dus's rules, its job profile or what it may touch.
- Your tokens stay with you. The bot's token and secret go into your Duscode vault and to your own always-on runner. No Duscode server holds them or relays your messages.
- Every request Slack or Teams sends is checked. Slack's signature and Microsoft's signed token are verified before anything is read; old or altered requests are refused, and a request the service sends twice is acted on once.
Setting it up
Open Settings → Scheduled jobs → Dus in Slack and Teams and follow the steps:
- Your server. Enter the https address of the server your always-on runner is on. Slack and Teams call it there. Only the
/hooks/chat/paths are passed to the runner; everything else is refused. - Slack. Press Copy the Slack manifest, create the app at api.slack.com from it, install it to your workspace, then press Connect and paste the bot token (
xoxb-…) and the signing secret. - Teams. Create an Azure Bot, add the Microsoft Teams channel, set its messaging endpoint to the address shown, then press Connect and paste its app id and client secret.
- Where and who. List the channels (
slack:C…,teams:19:…) and the people who may ask (slack:U…,teams:and their Azure AD object id). The people who may ask also answer cards, unless you narrow it. - Budget and deploy. Choose the most one request may spend, and whether to deploy after the merge.
- Send the setup to my runner. It goes signed through the runner's inbox, and the runner answers from then on.
In the thread
| You write | Dus does |
|---|---|
@duscode add a contact form that emails me |
Starts a job and says so. Posts the Proof of Work and the merge (and deploy) result when it's done. |
@duscode mute / unmute |
Only the final result is posted in this thread, or progress again. |
@duscode status |
Says where the job is. |
@duscode stop |
Cancels the job. What is already committed stays. |
@duscode (aside) … |
Nothing: it's a note for people, not for Dus. |
Watch's questions about your live systems can go to a channel of your choice as cards too: choose it as the calls channel.
Replies are kept within Slack's and Teams' message limits; long results are shortened with a visible end, and the full record stays in Duscode.