Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Swarm: agents acknowledge with reactions (👀 ✅ 🚀), like Slack bots — Desktop (#2209)

harness-for-autonomous[bot]d7a26a8de526
diff --git a/backend/integration/superTabProfile.test.ts b/backend/integration/superTabProfile.test.ts
index c1ddce387..ae2507058 100644
--- a/backend/integration/superTabProfile.test.ts
+++ b/backend/integration/superTabProfile.test.ts
@@ -401,6 +401,51 @@ describe('reactions', () => {
const side = (await run(tab, { type: 'message.send', conversationId: group, text: 'here', replyTo: null, recipientIds: [] })).result.messageId as string
await expect(react(tab, side, true)).rejects.toMatchObject({ code: 'NOT_FOUND' })
})
+
+ // Agents acknowledge with reactions, as Slack bots do (the swarm skills): 👀 started, ✅ done, 🚀 merged.
+ const config = { engine: 'claude', model: 'opus', effort: 'high', contextWindow: null, engineVersion: null }
+ const agentIn = async (tab: string, conversationId: string, name: string, lead = false) =>
+ (await run(tab, { type: 'agent.add', conversationId, machineId: 'host', harnessId: randomUUID(), name, configuration: config, lead })).result.agentId as string
+ const agentReact = (tab: string, conversationId: string, messageId: string, agentId: string, emoji: 'eyes' | 'check' | 'rocket', on = true) =>
+ run(tab, { type: 'message.react', conversationId, messageId, emoji, on }, owner, agentId)
+
+ it('shows an agent\'s 👀 and then ✅ on the message it took, to every reader of the conversation', async () => {
+ const tab = await swarm()
+ const builder = await agentIn(tab, 'lead', 'Kai')
+ const messageId = await post(tab, 'Kai, please add avatars.')
+ await agentReact(tab, 'lead', messageId, builder, 'eyes')
+ expect(await countsOf(tab, messageId, peer)).toEqual([{ emoji: 'eyes', count: 1, by: [{ kind: 'agent', id: builder }] }])
+ await agentReact(tab, 'lead', messageId, builder, 'eyes', false)
+ await agentReact(tab, 'lead', messageId, builder, 'check')
+ expect(await countsOf(tab, messageId, peer)).toEqual([{ emoji: 'check', count: 1, by: [{ kind: 'agent', id: builder }] }])
+ })
+
+ it('privacy: an agent reacts only where it takes part, never on another agent\'s private notice, and a reader outside a private project sees none of it', async () => {
+ const tab = await swarm()
+ const { projectId, conversationId } = (await run(tab, { type: 'project.create', name: 'Secret', visibility: 'private', brief: '' })).result as
+ { projectId: string; conversationId: string }
+ await run(tab, { type: 'project.sharing', projectId, visibility: 'private', memberIds: [owner.sub] })
+ const pm = await agentIn(tab, conversationId, 'Secret PM', true)
+ const secret = (await run(tab, { type: 'message.send', conversationId, text: 'Ship the secret.', replyTo: null, recipientIds: [] })).result.messageId as string
+ await agentReact(tab, conversationId, secret, pm, 'rocket')
+ // The project's own reader sees it; a member outside the project reads neither the conversation nor its counter.
+ expect((await read(tab, owner, `conversations/${conversationId}/messages`)).body.data.messages
+ .find((m: { id: string }) => m.id === secret).reactions).toEqual([{ emoji: 'rocket', count: 1, by: [{ kind: 'agent', id: pm }] }])
+ const outside = await read(tab, peer, `conversations/${conversationId}/messages`)
+ expect(outside.status).toBe(404)
+ expect(outside.text).not.toContain(secret)
+ const parts = await read(tab, peer)
+ expect(parts.text).not.toContain(conversationId)
+ // An agent outside the private project is not even told it exists, and another agent's private notice is not there for it to mark.
+ const builder = await agentIn(tab, 'lead', 'Kai')
+ await expect(agentReact(tab, conversationId, secret, builder, 'eyes')).rejects.toMatchObject({ code: 'NOT_FOUND', status: 404 })
+ const lead = await agentIn(tab, 'lead', 'River', true)
+ const notice = (await run(tab, { type: 'message.send', conversationId: 'lead', text: 'Your skill changed.', replyTo: null, recipientIds: [lead],
+ agentOnly: true }, owner, lead)).result.messageId as string
+ await expect(agentReact(tab, 'lead', notice, builder, 'eyes')).rejects.toMatchObject({ code: 'NOT_FOUND' })
+ await agentReact(tab, 'lead', notice, lead, 'eyes')
+ expect((await page(tab, peer)).map(m => m.id)).not.toContain(notice)
+ })
})
describe('the ship moment', () => {
diff --git a/backend/src/superTabs/reactions.test.ts b/backend/src/superTabs/reactions.test.ts
index 14659cf1e..130e692c9 100644
--- a/backend/src/superTabs/reactions.test.ts
+++ b/backend/src/superTabs/reactions.test.ts
@@ -5,6 +5,8 @@ import { reactionCounts } from './reactions.js'
const owner: Extract<Actor, { kind: 'person' }> = { kind: 'person', userId: 'owner', email: '[email protected]' }
const peer: Extract<Actor, { kind: 'person' }> = { kind: 'person', userId: 'peer', email: '[email protected]' }
+const configuration = { engine: 'claude', model: null, effort: null, contextWindow: null, engineVersion: null }
+const asAgent = (agentId: string): Actor => ({ kind: 'agent', agentId, machineOwnerId: 'owner' })
function fixture() {
let state = createSuperTab('tab', 'Pilot', { id: 'owner', email: owner.email }, 'prod')
@@ -19,7 +21,9 @@ function fixture() {
run({ type: 'invite.accept', inviteId: invited.result.inviteId as string }, peer)
}
const lead = () => state.conversations.find(c => c.id === 'lead')!
- return { run, invite, lead, get state() { return state } }
+ const agent = (conversationId: string, name: string) => run({ type: 'agent.add', conversationId, machineId: 'machine', harnessId: name,
+ name, configuration, lead: false }, owner, { contribution: { machineOwnerId: 'owner', contributorId: 'owner' } }).result.agentId as string
+ return { run, invite, lead, agent, get state() { return state } }
}
const react = (on: boolean, emoji = 'tada'): Command => ({ type: 'message.react', conversationId: 'lead', messageId: 'm1', emoji, on } as Command)
const target = (reacted: boolean) => ({ reaction: { messageId: 'm1', reacted } })
@@ -65,4 +69,28 @@ describe('reactions', () => {
])
expect(reactionCounts(f.state, rows).get('m2')).toEqual([{ emoji: 'eyes', count: 1, by: [{ kind: 'person', id: 'owner' }] }])
})
+
+ it('lets an agent react in a conversation it is in, as a person does, with ✅ for done', () => {
+ const f = fixture()
+ const builder = f.agent('lead', 'Builder')
+ for (const emoji of ['eyes', 'check', 'rocket']) {
+ expect(f.run(react(true, emoji), asAgent(builder), target(false)).result, emoji).toMatchObject({ changed: true })
+ }
+ expect(f.lead().reactionSeq).toBe(3)
+ })
+
+ it('refuses an agent outside the conversation, so it cannot mark a message it does not take part in', () => {
+ const f = fixture()
+ const group = f.run({ type: 'conversation.create', title: 'Side', brief: 'Side work.', checks: [] }).result.conversationId as string
+ const outsider = f.agent(group, 'Outsider')
+ expect(() => f.run(react(true, 'eyes'), asAgent(outsider), target(false))).toThrow(expect.objectContaining({ code: 'FORBIDDEN' }))
+ expect(f.lead().reactionSeq).toBeUndefined()
+ })
+
+ it('shows an agent\'s progress in its order: 👀 started, ✅ done, 🚀 merged', () => {
+ const f = fixture()
+ const builder = f.agent('lead', 'Builder')
+ const rows = ['rocket', 'check', 'eyes'].map(emoji => ({ messageId: 'm1', emoji, actorKind: 'agent', actorId: builder }))
+ expect(reactionCounts(f.state, rows).get('m1')!.map(r => r.emoji)).toEqual(['eyes', 'check', 'rocket'])
+ })
})
diff --git a/backend/src/superTabs/reactions.ts b/backend/src/superTabs/reactions.ts
index 843e4c45a..3e5a6f2b0 100644
--- a/backend/src/superTabs/reactions.ts
+++ b/backend/src/superTabs/reactions.ts
@@ -1,8 +1,10 @@
import { z } from 'zod'
import { fail, type SuperTabState } from './model.js'
-/** The small set a message can be reacted with, in the order counts show. Desktop draws each (👍 🎉 ❤️ 😄 👀 🚀). */
-export const REACTIONS = ['thumbs_up', 'tada', 'heart', 'laugh', 'eyes', 'rocket'] as const
+/** The small set a message can be reacted with, in the order counts show. Desktop draws each (👍 🎉 ❤️ 😄 👀 ✅ 🚀). People and
+ * agents alike; an agent acknowledges with the last three instead of a post, as Slack bots do: 👀 started, ✅ done, 🚀 merged.
+ * An older client skips an emoji it does not know. */
+export const REACTIONS = ['thumbs_up', 'tada', 'heart', 'laugh', 'eyes', 'check', 'rocket'] as const
export const reactionSchema = z.enum(REACTIONS)
export type Reaction = (typeof REACTIONS)[number]
diff --git a/cli/src/lib/swarmSkills.spec.ts b/cli/src/lib/swarmSkills.spec.ts
index b3f6c6779..a2d86720d 100644
--- a/cli/src/lib/swarmSkills.spec.ts
+++ b/cli/src/lib/swarmSkills.spec.ts
@@ -141,9 +141,34 @@ describe('built-in Swarm skills', () => {
['default', 'lead', '- When the Swarm tells you a task stalled (quiet or orphaned), act on it within minutes: nudge its agent, reassign it, or post in its chat why it waits.\n',
'- Work with no progress for 6 hours goes back to you: reassign it or cut it smaller.\n'],
]
+ // Acknowledgements as reactions, as Slack bots do (Dee 10-29, Slack parity): every role, in both modes, in a section of its own
+ // right before the shared-machine rules, or before Requests and Done for each Lead; only the Lead adds 🚀 at a merge. A
+ // handoff such as "Ready for review" stays a post (Lead, 10-29): it opens the review.
+ const react = '- Acknowledge with a reaction instead of a post, as Slack bots do: react 👀 to a message addressed to you when you start on it; when you have done what it asked, take the 👀 back and react ✅. Use harness super-tab react GROUP MESSAGE_ID eyes|check OPERATION_ID, with --off to take one back. A reaction tells the people in the chat; your work status still tells the Swarm.\n'
+ const substance = '- Post only substance: a plan, a question, a ruling, a finding, a verdict, a handoff, a blocker or a result with its evidence; never an acknowledgement alone ("on it", "took it", "thanks", "done").\n'
+ const rocket = '- When a group\'s pull request merges, react 🚀 to the message that assigned its work.\n'
+ const reactions = (role: 'lead' | 'dev' | 'review') => `## Reactions\n${react}${substance}${role === 'lead' ? rocket : ''}\n`
+ // Before a section that is last: after a blank line, without its own.
+ const reactionsBefore = (role: 'lead' | 'dev' | 'review') => `\n${reactions(role).trimEnd()}\n`
+ // The Builder's 👀 replaces its "say that you took it" line, in both modes.
+ const took = '- React 👀 to the message that assigned it and mark it working; your first post is your plan or a first result, never that you took it.\n'
+ const reactionTake: Array<['orchestration' | 'default', 'dev', string, string]> = [
+ ['orchestration', 'dev', took, '- Say in the group chat that you took it and what your first step is; mark it working.\n'],
+ ['default', 'dev', took, '- Say in the group that you took it and what you will do first; mark it working.\n'],
+ ]
+ it('has every role acknowledge with reactions and post only substance, the Lead adding 🚀 at a merge', () => {
+ for (const mode of ['orchestration', 'default'] as const) for (const role of ['lead', 'dev', 'review'] as const) {
+ const text = readFileSync(prepareSwarmSkill(fixture(), { role, key: 'session', mode }).file, 'utf8')
+ expect(text, `${mode} ${role}`).toContain(`\n\n${reactions(role)}## ${role === 'lead' ? 'Requests and Done' : 'Shared machines and secrets'}\n`)
+ expect(text.split('## Reactions\n'), `${mode} ${role}`).toHaveLength(2)
+ expect(text.split(rocket), `${mode} ${role}`).toHaveLength(role === 'lead' ? 2 : 1)
+ expect(text.split(took), `${mode} ${role}`).toHaveLength(role === 'dev' ? 2 : 1)
+ expect(text, `${mode} ${role}`).not.toContain('that you took it and')
+ }
+ })
// By role too: the Builder's and the Reviewer's tool-check line is the same, and only the Builder's replaced an approved one.
const approved = (text: string, mode: 'orchestration' | 'default', role: 'lead' | 'dev' | 'review') =>
- [...autoReview, ...failFast, ...stallWake].filter(([m, r]) => m === mode && r === role).reduce((t, [, , line, before]) => t.replace(line, before), text)
+ [...autoReview, ...failFast, ...stallWake, ...reactionTake].filter(([m, r]) => m === mode && r === role).reduce((t, [, , line, before]) => t.replace(line, before), text)
it('tells each Lead to act within minutes on the Swarm\'s stall wake-up, in place of the 6-hour rule, and no other role', () => {
for (const [mode, , line, before] of stallWake) {
expect(readFileSync(prepareSwarmSkill(fixture(), { role: 'lead', key: 'session', mode }).file, 'utf8').split(line), mode).toHaveLength(2)
@@ -198,7 +223,7 @@ describe('built-in Swarm skills', () => {
expect(text.split(moveMissing)).toHaveLength(role === 'lead' ? 2 : 1)
expect(text.split(thread)).toHaveLength(role === 'lead' ? 2 : 1)
expect([cardLead, cardDev, cardReview].map(line => text.split(line).length)).toEqual([role === 'lead' ? 2 : 1, role === 'dev' ? 2 : 1, role === 'review' ? 2 : 1])
- expect(sha(approved(text, 'orchestration', role).replace(twoHours, '').replace(terminal, '').replace(update, '').replace(overlap, '').replace(local, '').replace(failedStart, '').replace(mention, '').replace(lost, '').replace(checkpoint, '')
+ expect(sha(approved(text, 'orchestration', role).replace(reactions(role), '').replace(twoHours, '').replace(terminal, '').replace(update, '').replace(overlap, '').replace(local, '').replace(failedStart, '').replace(mention, '').replace(lost, '').replace(checkpoint, '')
.replace(limit, '').replace(digest, '').replace(decision, '').replace(ask, '').replace(requests, '').replace(shared, '').replace(report, '')
.replace(missingStop, '').replace(reviewCheck, '').replace(moveMissing, '').replace(thread, '')
.replace(cardLead, '').replace(cardDev, '').replace(cardReview, ''))).toBe(sha256)
@@ -261,7 +286,7 @@ describe('built-in Swarm skills', () => {
const orchestration = readFileSync(prepareSwarmSkill(fixture(), { role: 'lead', key: 'session' }).file, 'utf8')
expect(orchestration).toContain(`\n\n${requests}## Red flags`)
const plain = readFileSync(prepareSwarmSkill(fixture(), { role: 'lead', key: 'session', mode: 'default' }).file, 'utf8')
- expect(plain.endsWith(`Call the roles Product Manager, Engineer and Reviewer.\n${thread}${requestsLast}`)).toBe(true)
+ expect(plain.endsWith(`Call the roles Product Manager, Engineer and Reviewer.\n${thread}${reactionsBefore('lead')}${requestsLast}`)).toBe(true)
})
it('gives each Builder and Reviewer skill its shared-machine rules in a section of their own: before the red flags, or last', () => {
const lastBefore = { dev: '- Write to people in their language, without commands or internal ids. Call the roles Product Manager, Engineer and Reviewer.\n',
@@ -270,7 +295,7 @@ describe('built-in Swarm skills', () => {
const orchestration = readFileSync(prepareSwarmSkill(fixture(), { role, key: 'session' }).file, 'utf8')
expect(orchestration, role).toContain(`\n\n${shared}## Red flags`)
const plain = readFileSync(prepareSwarmSkill(fixture(), { role, key: 'session', mode: 'default' }).file, 'utf8')
- expect(plain.endsWith(`${lastBefore[role]}${sharedLast}`), role).toBe(true)
+ expect(plain.endsWith(`${lastBefore[role]}${reactionsBefore(role)}${sharedLast}`), role).toBe(true)
}
})
it('adds the update-request line right after each Lead skill\'s cadence rule', () => {
@@ -361,7 +386,7 @@ describe('built-in Swarm skills', () => {
expect(text.split(moveMissing)).toHaveLength(role === 'lead' ? 2 : 1)
expect(text.split(thread)).toHaveLength(role === 'lead' ? 2 : 1)
expect([cardLead, cardDev, cardReview].map(line => text.split(line).length)).toEqual([role === 'lead' ? 2 : 1, role === 'dev' ? 2 : 1, role === 'review' ? 2 : 1])
- expect(sha(approved(text, 'default', role).replace(terminal, '').replace(update, '').replace(overlap, '').replace(localDefault, '').replace(failedStart, '').replace(mention, '').replace(lost, '').replace(checkpoint, '')
+ expect(sha(approved(text, 'default', role).replace(reactions(role), '').replace(terminal, '').replace(update, '').replace(overlap, '').replace(localDefault, '').replace(failedStart, '').replace(mention, '').replace(lost, '').replace(checkpoint, '')
.replace(limit, '').replace(digest, '').replace(decision, '').replace(ask, '').replace(requestsLast, '').replace(sharedLast, '').replace(report, '')
.replace(missingStop, '').replace(reviewCheck, '').replace(moveMissing, '').replace(thread, '')
.replace(cardLead, '').replace(cardDev, '').replace(cardReview, ''))).toBe(sha256)
diff --git a/cli/src/lib/swarmSkills.ts b/cli/src/lib/swarmSkills.ts
index 1ef0b1670..8491a2e84 100644
--- a/cli/src/lib/swarmSkills.ts
+++ b/cli/src/lib/swarmSkills.ts
@@ -160,6 +160,11 @@ For large work, post the group plan and get the owner's ok before assigning; onc
- Answer a message inside its thread: post with --reply-to that message, and your reply joins its thread. Many people talk to you at once; answers in the main chat bury each other. Post at the top level only to start a new topic.
- When talking to people, call the roles Product Manager, Engineer and Reviewer.
+## Reactions
+- Acknowledge with a reaction instead of a post, as Slack bots do: react 👀 to a message addressed to you when you start on it; when you have done what it asked, take the 👀 back and react ✅. Use harness super-tab react GROUP MESSAGE_ID eyes|check OPERATION_ID, with --off to take one back. A reaction tells the people in the chat; your work status still tells the Swarm.
+- Post only substance: a plan, a question, a ruling, a finding, a verdict, a handoff, a blocker or a result with its evidence; never an acknowledgement alone ("on it", "took it", "thanks", "done").
+- When a group's pull request merges, react 🚀 to the message that assigned its work.
+
## Requests and Done
- When you open a group for a person's request, asked in the project chat or proposed by their Buddy on their behalf, name them as its requester: requesterId on conversation.create, or conversation.requester for a group already open. It records only that they asked, never what they wrote.
- Right after you merge a group's pull request, record it: conversation.merged with the group and the PR link, and mergedAt for a merge you record later. The leaderboard counts the request as shipped at the merge, even if its work is lost or cancelled afterwards. Mark a group Done only after its pull request has merged.
@@ -197,7 +202,7 @@ You finish one group's work completely, inside its brief, with proof. Work as if
5. Project instructions (AGENTS.md, CLAUDE.md, CONTRIBUTING) outrank this skill.
## 1. Take the assignment
-- Say in the group chat that you took it and what your first step is; mark it working.
+- React 👀 to the message that assigned it and mark it working; your first post is your plan or a first result, never that you took it.
- Read the brief: goal, spec, changes, constraints, owned code, consumes and produces, checks, most likely wrong, hand back, needs, carry-over. If the brief links the spec, read it.
- Before step one, check what your brief consumes against what the producing group or code actually provides, and rule on mismatches.
- In your first minutes, check that this machine and account have every tool, device and sign-in you need to do the work yourself (for example flutter, xcodebuild, a connected iPhone, a signed-in gh or App Store account, docker); a device step the brief leaves to a person stays a "Needs:" line. If one is missing, mark blocked at once and stop (see Blocked).
@@ -288,6 +293,10 @@ Record each acceptance check with the exact command, revision and observed resul
- If your task is cancelled, stop and say where you left it.
- Print little to save quota. Keep progress and blockers in the group chat.
+## Reactions
+- Acknowledge with a reaction instead of a post, as Slack bots do: react 👀 to a message addressed to you when you start on it; when you have done what it asked, take the 👀 back and react ✅. Use harness super-tab react GROUP MESSAGE_ID eyes|check OPERATION_ID, with --off to take one back. A reaction tells the people in the chat; your work status still tells the Swarm.
+- Post only substance: a plan, a question, a ruling, a finding, a verdict, a handoff, a blocker or a result with its evidence; never an acknowledgement alone ("on it", "took it", "thanks", "done").
+
## Shared machines and secrets
- Stop only processes and databases you started yourself, by the process id you recorded when you started them. Never stop anything by name or pattern (pkill -f, killall): on a shared machine that kills other agents' work.
- Never print or paste a secret into chat, logs, pull requests or commits. Secrets reach you only through a private file or an environment variable, loaded in the same command that uses them.
@@ -355,6 +364,10 @@ Review only the changes since the revision you reviewed. Mark each finding fixed
## 5. Finish
Mark your review assignment done with the verdict and revision. Print little.
+## Reactions
+- Acknowledge with a reaction instead of a post, as Slack bots do: react 👀 to a message addressed to you when you start on it; when you have done what it asked, take the 👀 back and react ✅. Use harness super-tab react GROUP MESSAGE_ID eyes|check OPERATION_ID, with --off to take one back. A reaction tells the people in the chat; your work status still tells the Swarm.
+- Post only substance: a plan, a question, a ruling, a finding, a verdict, a handoff, a blocker or a result with its evidence; never an acknowledgement alone ("on it", "took it", "thanks", "done").
+
## Shared machines and secrets
- Stop only processes and databases you started yourself, by the process id you recorded when you started them. Never stop anything by name or pattern (pkill -f, killall): on a shared machine that kills other agents' work.
- Never print or paste a secret into chat, logs, pull requests or commits. Secrets reach you only through a private file or an environment variable, loaded in the same command that uses them.
@@ -451,6 +464,11 @@ When the project owner asks in chat to switch this project's skills (Default or
- Write like a colleague: short, in their language, no commands or internal ids. Call the roles Product Manager, Engineer and Reviewer.
- Answer a message inside its thread: post with --reply-to that message, and your reply joins its thread. Many people talk to you at once; answers in the main chat bury each other. Post at the top level only to start a new topic.
+## Reactions
+- Acknowledge with a reaction instead of a post, as Slack bots do: react 👀 to a message addressed to you when you start on it; when you have done what it asked, take the 👀 back and react ✅. Use harness super-tab react GROUP MESSAGE_ID eyes|check OPERATION_ID, with --off to take one back. A reaction tells the people in the chat; your work status still tells the Swarm.
+- Post only substance: a plan, a question, a ruling, a finding, a verdict, a handoff, a blocker or a result with its evidence; never an acknowledgement alone ("on it", "took it", "thanks", "done").
+- When a group's pull request merges, react 🚀 to the message that assigned its work.
+
## Requests and Done
- When you open a group for a person's request, asked in the project chat or proposed by their Buddy on their behalf, name them as its requester: requesterId on conversation.create, or conversation.requester for a group already open. It records only that they asked, never what they wrote.
- Right after you merge a group's pull request, record it: conversation.merged with the group and the PR link, and mergedAt for a merge you record later. The leaderboard counts the request as shipped at the merge, even if its work is lost or cancelled afterwards. Mark a group Done only after its pull request has merged.
@@ -470,7 +488,7 @@ You finish one group's work completely, inside its brief, as if nobody will come
4. Project instructions (AGENTS.md, CLAUDE.md, CONTRIBUTING) outrank this skill.
## 1. Take the assignment
-- Say in the group that you took it and what you will do first; mark it working.
+- React 👀 to the message that assigned it and mark it working; your first post is your plan or a first result, never that you took it.
- Read the whole brief: why, wanted, owned code, hand back, checks, most likely wrong, needs.
- Read how the code behaves today before changing it.
- In your first minutes, check that this machine and account have every tool, device and sign-in you need to do the work yourself (for example flutter, xcodebuild, a connected iPhone, a signed-in gh or App Store account, docker); a device step the brief leaves to a person stays a "Needs:" line. If one is missing, mark blocked at once and stop (see Blocked).
@@ -509,6 +527,10 @@ You finish one group's work completely, inside its brief, as if nobody will come
- Every post carries a result, a question, or a fault; never an acknowledgement alone.
- Write to people in their language, without commands or internal ids. Call the roles Product Manager, Engineer and Reviewer.
+## Reactions
+- Acknowledge with a reaction instead of a post, as Slack bots do: react 👀 to a message addressed to you when you start on it; when you have done what it asked, take the 👀 back and react ✅. Use harness super-tab react GROUP MESSAGE_ID eyes|check OPERATION_ID, with --off to take one back. A reaction tells the people in the chat; your work status still tells the Swarm.
+- Post only substance: a plan, a question, a ruling, a finding, a verdict, a handoff, a blocker or a result with its evidence; never an acknowledgement alone ("on it", "took it", "thanks", "done").
+
## Shared machines and secrets
- Stop only processes and databases you started yourself, by the process id you recorded when you started them. Never stop anything by name or pattern (pkill -f, killall): on a shared machine that kills other agents' work.
- Never print or paste a secret into chat, logs, pull requests or commits. Secrets reach you only through a private file or an environment variable, loaded in the same command that uses them.
@@ -549,6 +571,10 @@ Start within 30 minutes of being asked; oldest ready work first. If you cannot,
## 4. Finish
Mark your review done with the verdict and revision.
+## Reactions
+- Acknowledge with a reaction instead of a post, as Slack bots do: react 👀 to a message addressed to you when you start on it; when you have done what it asked, take the 👀 back and react ✅. Use harness super-tab react GROUP MESSAGE_ID eyes|check OPERATION_ID, with --off to take one back. A reaction tells the people in the chat; your work status still tells the Swarm.
+- Post only substance: a plan, a question, a ruling, a finding, a verdict, a handoff, a blocker or a result with its evidence; never an acknowledgement alone ("on it", "took it", "thanks", "done").
+
## Shared machines and secrets
- Stop only processes and databases you started yourself, by the process id you recorded when you started them. Never stop anything by name or pattern (pkill -f, killall): on a shared machine that kills other agents' work.
- Never print or paste a secret into chat, logs, pull requests or commits. Secrets reach you only through a private file or an environment variable, loaded in the same command that uses them.
diff --git a/cli/src/superTabs/command.spec.ts b/cli/src/superTabs/command.spec.ts
index d0f4023e5..9a190b5dc 100644
--- a/cli/src/superTabs/command.spec.ts
+++ b/cli/src/superTabs/command.spec.ts
@@ -19,6 +19,15 @@ it('keeps an explicit stable receipt for agent messages and arbitrary work comma
expect(() => parseSuperTabArgs(argv, where)).toThrow('harness super-tab')
}
})
+it('reacts to a message as people do, and --off takes the reaction back', () => {
+ expect(parseSuperTabArgs([...prefix, 'react', 'lead', 'msg-1', 'eyes', 'op-1'], where).payload).toEqual({ action: 'command', tabId: 'tab', agentId: 'agent',
+ operationId: 'op-1', command: { type: 'message.react', conversationId: 'lead', messageId: 'msg-1', emoji: 'eyes', on: true } })
+ expect(parseSuperTabArgs([...prefix, 'react', 'lead', 'msg-1', 'eyes', 'op-2', '--off'], where).payload.command).toMatchObject({ emoji: 'eyes', on: false })
+ for (const argv of [[...prefix, 'react', 'lead', 'msg-1', 'eyes'], [...prefix, 'react', 'lead', 'msg-1', 'eyes', 'op', '--on'],
+ [...prefix, 'react', '../x', 'msg-1', 'eyes', 'op'], [...prefix, 'react', 'lead', 'msg-1', '../eyes', 'op'], [...prefix, 'react', 'lead', 'msg-1', 'eyes', 'op', '--off', 'x']]) {
+ expect(() => parseSuperTabArgs(argv, where), argv.join(' ')).toThrow('harness super-tab')
+ }
+})
it('finds the native caller without requiring an ID in the initial launch prompt', async () => {
const request = vi.fn(async (type: string) => type === 'agents_list'
? { agents: [{ id: 'native', engine: 'codex', tmuxPane: '%42', status: 'active' }] }
diff --git a/cli/src/superTabs/command.ts b/cli/src/superTabs/command.ts
index 595ff74bb..8e4fbe365 100644
--- a/cli/src/superTabs/command.ts
+++ b/cli/src/superTabs/command.ts
@@ -26,7 +26,7 @@ function harnessIn(frames: PaneFrame[], pane: string, machineId: string): boolea
const ELSEWHERE = 'From a harness, Swarm commands go to this computer\'s own Harness only: leave out --machine and --port, or give this computer\'s own.'
-const USAGE = 'harness super-tab --tab ID [--agent ID] [--port N --machine ID] status [--archived [PAGE]] | messages GROUP [--before SEQUENCE MESSAGE_ID] | message GROUP MESSAGE_ID | decisions [--answered] | costs [--days N] | post GROUP TEXT OPERATION_ID [--reply-to MESSAGE_ID] [--attach PATH]... [--mention PERSON]... | command OPERATION_ID JSON | propose OPERATION_ID JSON [--attach PATH]... | start OPERATION_ID JSON | resume START_ID | capacity MACHINE_ID JSON | route GROUP JSON | plan [JSON] | remove-machine MACHINE_ID [--yes] | set-agents MACHINE_ID COUNT | screen AGENT [--scrollback N] | type AGENT [TEXT] [--key K]... | help'
+const USAGE = 'harness super-tab --tab ID [--agent ID] [--port N --machine ID] status [--archived [PAGE]] | messages GROUP [--before SEQUENCE MESSAGE_ID] | message GROUP MESSAGE_ID | decisions [--answered] | costs [--days N] | post GROUP TEXT OPERATION_ID [--reply-to MESSAGE_ID] [--attach PATH]... [--mention PERSON]... | react GROUP MESSAGE_ID EMOJI OPERATION_ID [--off] | command OPERATION_ID JSON | propose OPERATION_ID JSON [--attach PATH]... | start OPERATION_ID JSON | resume START_ID | capacity MACHINE_ID JSON | route GROUP JSON | plan [JSON] | remove-machine MACHINE_ID [--yes] | set-agents MACHINE_ID COUNT | screen AGENT [--scrollback N] | type AGENT [TEXT] [--key K]... | help'
/** The files one proposal may carry (backend buddies.ts MAX_PROPOSAL_ATTACHMENTS). */
const MAX_PROPOSAL_FILES = 5
export function parseSuperTabArgs(argv: readonly string[], where: Where) {
@@ -78,6 +78,11 @@ export function parseSuperTabArgs(argv: readonly string[], where: Where) {
if (!second.trim() && !attach.length) throw new Error(USAGE)
Object.assign(payload, { action: 'command', operationId: third, ...(attach.length ? { attach } : {}),
command: { type: 'message.send', conversationId: first, text: second, replyTo, recipientIds: [], ...(mentions.length ? { mentions } : {}) } })
+ } else if (action === 'react' && identifier(first) && identifier(second) && identifier(third) && identifier(positional[4])
+ && (positional.length === 5 || positional.length === 6 && positional[5] === '--off')) {
+ // An acknowledgement without a post, as Slack bots do (swarm skills): the backend checks the emoji and who may react.
+ Object.assign(payload, { action: 'command', operationId: positional[4],
+ command: { type: 'message.react', conversationId: first, messageId: second, emoji: third, on: positional.length === 5 } })
} else if (action === 'command' && identifier(first) && second && positional.length === 3) {
Object.assign(payload, { operationId: first, command: JSON.parse(second) })
} else if (action === 'propose' && identifier(first) && second) {
diff --git a/cli/src/superTabs/service.ts b/cli/src/superTabs/service.ts
index 60d15c052..a900e8219 100644
--- a/cli/src/superTabs/service.ts
+++ b/cli/src/superTabs/service.ts
@@ -56,6 +56,8 @@ const HELP = {
decisions: 'decisions [--answered]: the decisions you asked of people, still open, or with --answered those answered (each with its choice and note). A Lead also sees those asked in its project. When your work needs a person to decide, ask through work.status needs_human with ask: the question as its result, 2 to 5 options, the one you recommend and what the answer unblocks. Keep working on your recommendation, marked provisional, until a notice in that conversation says it was answered; then read the answer here with --answered. The notice carries none of the answer. A decision is not a private channel: to tell one person something directly, a Lead sends person.tell; it lands in their Buddy chat, which the Lead cannot read. Project members watching the Lead\'s terminal see what it sends: put nothing there you would not say in the project chat.',
costs: 'costs [--days N]: what the attempts routed in the last N days (7 unless set, at most 90) cost and how they went, per engine, model, effort and kind of job: attempts, first-review pass rate, shipped, median minutes to ship, tokens, API-equivalent cost and actual per-token spend in US dollars, and cost per shipped change, with the prices and their sources; models has the same per engine and model alone (a grid model by its own name), and stepUps counts the attempts that stepped up from a cheaper model. Only attempts routed since cost records began, in the groups you may read.',
post: `post GROUP TEXT OPERATION_ID [--reply-to MESSAGE_ID] [--attach PATH]...: ${POST_HELP}`,
+ // Acknowledgements as reactions, as Slack bots do (swarm skills); backend reactions.ts holds the emoji and the rules.
+ react: 'react GROUP MESSAGE_ID EMOJI OPERATION_ID [--off]: react to a message you can read in a conversation you take part in, as people do, instead of posting an acknowledgement: eyes (👀) when you start on a message addressed to you, check (✅) when you have done what it asked, rocket (🚀) when its work merged; also thumbs_up, tada, heart and laugh. --off takes yours back. A reaction wakes nobody.',
start: 'start OPERATION_ID JSON: create one agent in a conversation on a machine in this Swarm\'s Machines list; to use another machine, a person adds it to the Swarm first. Repeat exactly after an interruption; it follows the same native creation receipt. It does not assign work. With worktree true, the agent starts from the repository\'s default branch, fetched first, unless you set branchRef (refs/heads/BRANCH, or refs/remotes/origin/BRANCH to fetch it first) to start from another branch, such as the one this work builds on. Set role "reviewer" to start a Reviewer; leave role out for a Builder. The role is kept for the session. On Custom skills, add "roleId" to the start request to start the agent in that role of its kind (a builder or reviewer role from status); without it the agent takes the first role of its kind. A Reviewer runs on claude or codex and is assigned only review groups (conversation.create with reviewOf naming the group it reviews); a review group is assigned only to a Reviewer. Add the Reviewer to the reviewed group with conversation.agent so it is told when that work is ready for review and can pass its independent check. Start one with a routeDecisionId like any agent.',
release: 'When a Builder finishes, decide reuse, keep or stop; prefer stop unless more work is coming soon. Reuse assigns new work; agent.release records keep or requests stop. Wait for the execution host to confirm a stop. A person can withdraw a stuck stop; the session cannot receive new work in that Swarm. Its native capacity stays reserved until its host confirms stopping. Other Swarms wait up to two minutes for an in-flight close, then may reuse it.',
resume: 'resume START_ID: finish a pending start without creating another agent.',
diff --git a/cli/src/superTabs/serviceReads.spec.ts b/cli/src/superTabs/serviceReads.spec.ts
index 9478c49ee..8ebc17396 100644
--- a/cli/src/superTabs/serviceReads.spec.ts
+++ b/cli/src/superTabs/serviceReads.spec.ts
@@ -83,6 +83,7 @@ describe('what each action reads of the Swarm', () => {
const builder = await s.ask({ action: 'help', tabId: T, agentId: FIXTURE.builderId }, owner)
expect(String(object(lead.help).post)).toContain('--mention')
expect(String(object(builder.help).post)).not.toContain('--mention')
+ for (const help of [lead.help, builder.help]) expect(String(object(help).react)).toMatch(/^react GROUP MESSAGE_ID EMOJI OPERATION_ID \[--off\]: .*eyes.*check.*rocket/)
expect(s.reads()).toEqual([])
})
it('reads the roster as it is now for every call, so an agent started a moment ago is known at once', async () => {
diff --git a/desktop/integration_test/super_tab_agent_reactions_native_test.dart b/desktop/integration_test/super_tab_agent_reactions_native_test.dart
new file mode 100644
index 000000000..21c1d8164
--- /dev/null
+++ b/desktop/integration_test/super_tab_agent_reactions_native_test.dart
@@ -0,0 +1,129 @@
+import 'dart:io';
+import 'dart:ui' as ui;
+
+import 'package:flutter/foundation.dart';
+import 'package:flutter/material.dart';
+import 'package:flutter/rendering.dart';
+import 'package:flutter_test/flutter_test.dart';
+import 'package:harness/core/test_run.dart';
+import 'package:harness/shared/theme/app_theme.dart' as grid;
+import 'package:window_manager/window_manager.dart';
+
+import '../test/super_tab_delight_shots_test.dart' show ago, delightApp, office;
+import '../test/support/super_tab_fixture.dart';
+import 'flutter_test_config.dart';
+
+/// The agent-reactions PR's screenshots on a real macOS surface, where color
+/// emoji draw: agents acknowledge with 👀 ✅ 🚀 as Slack bots do and post only
+/// substance. The in-memory Swarm of the delight capture, never a backend,
+/// account or the live app. Writes to SUPER_TAB_AGENT_REACTIONS_SHOTS.
+void main() {
+ if (!kUnderTest) throw StateError('Requires FLUTTER_TEST=1');
+ ensureNativeTestBinding();
+ final folder = Platform.environment['SUPER_TAB_AGENT_REACTIONS_SHOTS'];
+ final boundary = GlobalKey();
+
+ Future<void> shot(String name) async {
+ if (folder == null) return;
+ final render =
+ boundary.currentContext!.findRenderObject()! as RenderRepaintBoundary;
+ final image = await render.toImage(pixelRatio: 2);
+ final bytes = await image.toByteData(format: ui.ImageByteFormat.png);
+ await Directory(folder).create(recursive: true);
+ await File('$folder/$name.png').writeAsBytes(bytes!.buffer.asUint8List());
+ image.dispose();
+ }
+
+ testWidgets('agents acknowledge with reactions', (tester) async {
+ expect(defaultTargetPlatform, TargetPlatform.macOS);
+ await windowManager.ensureInitialized();
+ await windowManager.setSize(const Size(1280, 860));
+ await windowManager.setTitle('Agent reactions — test data');
+ await windowManager.setAlwaysOnTop(true);
+ addTearDown(() => windowManager.setAlwaysOnTop(false));
+ await windowManager.show();
+ for (final brightness in Brightness.values) {
+ grid.AppTheme.brightness.value = brightness;
+ final c = agentReactions().controller();
+ await c.refresh();
+ await tester.pumpWidget(
+ delightApp(c, brightness: brightness, boundary: boundary),
+ );
+ await tester.pumpAndSettle();
+ expect(find.text('✅'), findsOneWidget);
+ await tester.runAsync(() => shot('agent-reactions-${brightness.name}'));
+ await tester.pumpWidget(const SizedBox());
+ c.dispose();
+ }
+ grid.AppTheme.brightness.value = Brightness.dark;
+ }, variant: TargetPlatformVariant.only(TargetPlatform.macOS));
+}
+
+/// The delight office's people and agents, in a chat where the agents react
+/// instead of posting "on it" or "done".
+ConversationServer agentReactions() {
+ final server = office()..messages.clear();
+ Map<String, dynamic> agent(String id, String name) => {
+ 'kind': 'agent',
+ 'id': id,
+ 'name': name,
+ 'displayName': name,
+ };
+ Map<String, dynamic> by(String emoji, List<(String, String)> who) => {
+ 'emoji': emoji,
+ 'count': who.length,
+ 'by': [
+ for (final (kind, id) in who) {'kind': kind, 'id': id},
+ ],
+ };
+ void say(
+ String text,
+ Map<String, dynamic> author,
+ Duration at,
+ List<Map<String, dynamic>> reactions,
+ ) {
+ server.append(text);
+ server.messages.last
+ ..['author'] = author
+ ..['createdAt'] = ago(at)
+ ..['reactions'] = reactions;
+ }
+
+ final kai = agent('kai', 'Kai');
+ say(
+ 'Kai: agents react 👀 when they start on a message, ✅ when done, 🚀 '
+ 'when merged, instead of posting "on it" or "done".',
+ agent('river', 'River'),
+ const Duration(minutes: 50),
+ [
+ by('check', [('agent', 'kai')]),
+ by('rocket', [('agent', 'river')]),
+ ],
+ );
+ say(
+ 'Plan: 1. the server takes ✅ and agents react as people do. 2. a react '
+ 'command. 3. the skills say to react, and to post only substance.',
+ kai,
+ const Duration(minutes: 48),
+ [
+ by('thumbs_up', [('person', 'owner')]),
+ ],
+ );
+ say(
+ 'Can the phone show ✅ too?',
+ {'kind': 'person', 'id': 'ivy', 'name': '[email protected]'},
+ const Duration(minutes: 9),
+ [
+ by('eyes', [('agent', 'kai')]),
+ ],
+ );
+ say(
+ 'Ready for review: the Desktop pull request at f8cdae2. Phone is next.',
+ kai,
+ const Duration(minutes: 3),
+ [
+ by('eyes', [('agent', 'ellis')]),
+ ],
+ );
+ return server;
+}
diff --git a/desktop/lib/super_tabs/profile_model.dart b/desktop/lib/super_tabs/profile_model.dart
index 0443451e2..9c4493c72 100644
--- a/desktop/lib/super_tabs/profile_model.dart
+++ b/desktop/lib/super_tabs/profile_model.dart
@@ -112,13 +112,16 @@ const superTabStatusPresets = [
('🤒', 'Out sick'),
];
-/// The reactions a message can carry, in the order counts show.
+/// The reactions a message can carry, in the order counts show (backend
+/// REACTIONS). Agents acknowledge with the last three, as Slack bots do:
+/// 👀 started, ✅ done, 🚀 merged.
enum SuperTabReactionEmoji {
thumbsUp('thumbs_up', '👍'),
tada('tada', '🎉'),
heart('heart', '❤️'),
laugh('laugh', '😄'),
eyes('eyes', '👀'),
+ check('check', '✅'),
rocket('rocket', '🚀');
const SuperTabReactionEmoji(this.key, this.glyph);
diff --git a/desktop/lib/super_tabs/roles_editor.dart b/desktop/lib/super_tabs/roles_editor.dart
index f26eba417..981ea1933 100644
--- a/desktop/lib/super_tabs/roles_editor.dart
+++ b/desktop/lib/super_tabs/roles_editor.dart
@@ -88,6 +88,11 @@ When the project owner asks in chat to switch this project's skills (Default or
- Write like a colleague: short, in their language, no commands or internal ids. Call the roles Product Manager, Engineer and Reviewer.
- Answer a message inside its thread: post with --reply-to that message, and your reply joins its thread. Many people talk to you at once; answers in the main chat bury each other. Post at the top level only to start a new topic.
+## Reactions
+- Acknowledge with a reaction instead of a post, as Slack bots do: react 👀 to a message addressed to you when you start on it; when you have done what it asked, take the 👀 back and react ✅. Use harness super-tab react GROUP MESSAGE_ID eyes|check OPERATION_ID, with --off to take one back. A reaction tells the people in the chat; your work status still tells the Swarm.
+- Post only substance: a plan, a question, a ruling, a finding, a verdict, a handoff, a blocker or a result with its evidence; never an acknowledgement alone ("on it", "took it", "thanks", "done").
+- When a group's pull request merges, react 🚀 to the message that assigned its work.
+
## Requests and Done
- When you open a group for a person's request, asked in the project chat or proposed by their Buddy on their behalf, name them as its requester: requesterId on conversation.create, or conversation.requester for a group already open. It records only that they asked, never what they wrote.
- Right after you merge a group's pull request, record it: conversation.merged with the group and the PR link, and mergedAt for a merge you record later. The leaderboard counts the request as shipped at the merge, even if its work is lost or cancelled afterwards. Mark a group Done only after its pull request has merged.
@@ -108,7 +113,7 @@ You finish one group's work completely, inside its brief, as if nobody will come
4. Project instructions (AGENTS.md, CLAUDE.md, CONTRIBUTING) outrank this skill.
## 1. Take the assignment
-- Say in the group that you took it and what you will do first; mark it working.
+- React 👀 to the message that assigned it and mark it working; your first post is your plan or a first result, never that you took it.
- Read the whole brief: why, wanted, owned code, hand back, checks, most likely wrong, needs.
- Read how the code behaves today before changing it.
- In your first minutes, check that this machine and account have every tool, device and sign-in you need to do the work yourself (for example flutter, xcodebuild, a connected iPhone, a signed-in gh or App Store account, docker); a device step the brief leaves to a person stays a "Needs:" line. If one is missing, mark blocked at once and stop (see Blocked).
@@ -147,6 +152,10 @@ You finish one group's work completely, inside its brief, as if nobody will come
- Every post carries a result, a question, or a fault; never an acknowledgement alone.
- Write to people in their language, without commands or internal ids. Call the roles Product Manager, Engineer and Reviewer.
+## Reactions
+- Acknowledge with a reaction instead of a post, as Slack bots do: react 👀 to a message addressed to you when you start on it; when you have done what it asked, take the 👀 back and react ✅. Use harness super-tab react GROUP MESSAGE_ID eyes|check OPERATION_ID, with --off to take one back. A reaction tells the people in the chat; your work status still tells the Swarm.
+- Post only substance: a plan, a question, a ruling, a finding, a verdict, a handoff, a blocker or a result with its evidence; never an acknowledgement alone ("on it", "took it", "thanks", "done").
+
## Shared machines and secrets
- Stop only processes and databases you started yourself, by the process id you recorded when you started them. Never stop anything by name or pattern (pkill -f, killall): on a shared machine that kills other agents' work.
- Never print or paste a secret into chat, logs, pull requests or commits. Secrets reach you only through a private file or an environment variable, loaded in the same command that uses them.
@@ -188,6 +197,10 @@ Start within 30 minutes of being asked; oldest ready work first. If you cannot,
## 4. Finish
Mark your review done with the verdict and revision.
+## Reactions
+- Acknowledge with a reaction instead of a post, as Slack bots do: react 👀 to a message addressed to you when you start on it; when you have done what it asked, take the 👀 back and react ✅. Use harness super-tab react GROUP MESSAGE_ID eyes|check OPERATION_ID, with --off to take one back. A reaction tells the people in the chat; your work status still tells the Swarm.
+- Post only substance: a plan, a question, a ruling, a finding, a verdict, a handoff, a blocker or a result with its evidence; never an acknowledgement alone ("on it", "took it", "thanks", "done").
+
## Shared machines and secrets
- Stop only processes and databases you started yourself, by the process id you recorded when you started them. Never stop anything by name or pattern (pkill -f, killall): on a shared machine that kills other agents' work.
- Never print or paste a secret into chat, logs, pull requests or commits. Secrets reach you only through a private file or an environment variable, loaded in the same command that uses them.
diff --git a/desktop/test/super_tab_reactions_test.dart b/desktop/test/super_tab_reactions_test.dart
index 182056536..7306a0ee6 100644
--- a/desktop/test/super_tab_reactions_test.dart
+++ b/desktop/test/super_tab_reactions_test.dart
@@ -164,7 +164,8 @@ Future<List<SuperTabReactionEmoji>> showRow(
receipts: const [],
onReturnToComposer: () {},
readerId: 'owner',
- reactorName: (kind, id) => {'owner': 'dee', 'peer': 'ivy'}[id] ?? id,
+ reactorName: (kind, id) =>
+ {'owner': 'dee', 'peer': 'ivy', 'agent-kai': 'Kai'}[id] ?? id,
onReact: canReact ? picked.add : null,
),
),
@@ -234,6 +235,53 @@ void reactionWidgetTests() {
expect(picked, [SuperTabReactionEmoji.eyes]);
});
+ testWidgets('an agent’s 👀 ✅ 🚀 show in that order, named by the agent', (
+ tester,
+ ) async {
+ Map<String, dynamic> byKai(String emoji) => {
+ 'emoji': emoji,
+ 'count': 1,
+ 'by': [
+ {'kind': 'agent', 'id': 'agent-kai'},
+ ],
+ };
+ // A newer server's emoji this build does not know is skipped, not shown.
+ await showRow(
+ tester,
+ reacted(
+ reactions: [
+ byKai('eyes'),
+ byKai('check'),
+ byKai('rocket'),
+ byKai('skull'),
+ ],
+ ),
+ );
+ final chips = find.byWidgetPredicate(
+ (w) =>
+ w.key is ValueKey<String> &&
+ (w.key! as ValueKey<String>).value.startsWith('super-reaction-m1-'),
+ );
+ expect(
+ tester.widgetList(chips).map((w) => (w.key! as ValueKey<String>).value),
+ [
+ 'super-reaction-m1-eyes',
+ 'super-reaction-m1-check',
+ 'super-reaction-m1-rocket',
+ ],
+ );
+ expect(find.bySemanticsLabel('✅ 1, Kai'), findsOneWidget);
+ });
+
+ testWidgets('✅ is offered beside 👀 and 🚀', (tester) async {
+ final picked = await showRow(tester, reacted());
+ await tester.tap(find.byTooltip('Add reaction'));
+ await tester.pumpAndSettle();
+ await tester.tap(find.text('✅'));
+ await tester.pumpAndSettle();
+ expect(picked, [SuperTabReactionEmoji.check]);
+ });
+
testWidgets('a reader who cannot write sees counts and cannot react', (
tester,
) async {