You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(bots): reserve wake reactions for Orca - #47299
Bots were encouraged to leave a green check on messages. They now learn that Orca manages those reactions, so they only react when a reaction is their whole answer, and then they stay quiet instead of also replying.
Files
Added
Deleted
Net
Test
0
0
0
0
Prod
5
$\color{#1a7f37}{\Huge{\mathbf{+}}}$116
$\color{#cf222e}{\Huge{\mathbf{−}}}$116
0
What Changed
Updated the bot instructions, the orca bot reply and orca slack react help, and the bundled bots guide. They now say Orca manages the reactions on the message that woke a bot, so the bot never adds 👀 or ✅ itself. --react is only for a reaction that is the bot's whole response, such as 👍, and then the bot's final message is only NO_REPLY, so nothing else is posted. The rule that a thread message needs a real answer now allows that one case. The Slack react help no longer lists 👀 as a common emoji.
Why
This prevents agents from adding a green check after replying and makes the expected reaction behavior explicit wherever bots learn how to respond.
N/A — command help and agent instructions only; there is no visual interface change.
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Every added test fails without this change and avoids the test anti-patterns
No test added: this is static help and prompt copy with no branching or runtime behavior to exercise. The final repository quality gate validates formatting, linting, typechecking, and impacted checks.
Performance
None, because this changes only static help and prompt copy.
Risk
Level: Low
The only risk is wording that makes bot response guidance less clear. A plain revert restores the previous guidance and does not affect saved data or settings.
AI Disclosure
Review
Agent skill upstream boundary
Not applicable: this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
Cross-platform, SSH, mobile, and backwards compatibility: N/A; the updated text is shared static guidance.
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
I stated the risk: what could break, for whom, and how to back it out
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
The CLI references add command guidance for Slack, Google, Composio, automation, workspaces, MCP tools, and orchestration. The references and bot instructions clarify that Orca manages reactions on the waking message. They reserve --react for reaction-only responses followed by NO_REPLY. The bot instructions also clarify thread wake-up behavior.
Merge Risk: Moderate · previous review 7f517
This PR changes bot guidance and CLI help text only. The bundled skills guide is out of sync with its source, so the bundled-guide verification step fails until it is regenerated. Two minor wording gaps around file limits and reaction-only replies remain, but the CLI already refuses the problem cases. Regenerate the bundle before merging.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: bot wake reactions are reserved for Orca, so bots should not add their own. It is short, specific, and follows the conventional fix(scope) form, which matches the bot …
Description check
The description covers ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Performance, Risk, AI Disclosure, Review, upstream boundary, Notes, and Checklist. The Linked Issue reads 'tracked …
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: bot wake reactions are reserved for Orca, so bots should not add their own. It is short, specific, and follows the conventional fix(scope) form, which matches the bot instruction, help text, and guide edits in the changeset.
Full details: Description check
Explanation
The description covers ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Performance, Risk, AI Disclosure, Review, upstream boundary, Notes, and Checklist. The Linked Issue reads 'tracked in #428' rather than the required 'Fixes #' form, and the AI Disclosure and Review sections are left empty. The lint/typecheck/test/build checklist item is unchecked. Performance and risk are filled in. Overall the description is mostly complete.
Finishing Touches
Fix failing CI checks
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: eaf29cea-06aa-4325-b7bc-9c11402ef427
Commits
Reviewing files that changed from the base of the PR and between 28676a4 and e83e65e.
Files selected for processing: 5
skill-guides/orca-cli/references/bots.md
src/cli/skills/bundled-skill-guides.ts
src/cli/specs/bot.ts
src/cli/specs/slack.ts
src/main/bots/bot-preamble.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
Problem: bots woken by a Slack message were adding their own 👀/✅ to it, on top of the pickup and finished reactions Orca already manages.
User-facing change: agent instructions, orca bot reply help, orca slack react help and the bundled bots guide now say Orca handles pickup and finished reactions, and that --react is only for a deliberate standalone reaction such as 👍. No runtime behavior changes.
Fixed in this pass: the generated bundled skill guide was out of date with its Markdown source after a table re-pad, and that failed "localization and generated files". It is now regenerated.
Verified
CI green on 058ed2b9b92ece93a8e8a950a68f7d73fa919609.
Linux remote-check: REMOTE-CHECK PASS 058ed2b9b92ece93a8e8a950a68f7d73fa919609.
Fresh Claude review: ready, with no P0 or P1 findings.
Blinded Codex regression audit on the PR merged onto e5db0d312fb: SAFE, with no findings. The generated file matches its source byte for byte.
Perf screen: none (fixed-size prompt and help text only); perf-surface-detect reports no surface.
QA: none needed for copy-only changes.
Deferred (P2, wording)
The guidance says a reaction can "replace a reply", but the final message is still posted unless it ends with NO_REPLY. A follow-up should say that, or soften it to "only when a reaction is itself the response".
The five places describe Orca's reactions slightly differently: bot.ts says "pickup reaction", the others say "pickup and finished reaction(s)". One shared sentence would be clearer.
orca slack react help still lists 👀 as a common emoji, right next to the note about the message that woke you.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: c6f929e0-b492-47d5-a122-8153cbd22c7f
Commits
Reviewing files that changed from the base of the PR and between 0115ddb and 89fc60a.
Files selected for processing: 5
skill-guides/orca-cli/references/bots.md
src/cli/skills/bundled-skill-guides.ts
src/cli/specs/bot.ts
src/cli/specs/slack.ts
src/main/bots/bot-preamble.ts
Files skipped from review as they are similar to previous changes: 2
src/cli/specs/bot.ts
src/cli/specs/slack.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
Problem: bots woken by a message were adding their own 👀/✅ to it, on top of the reactions Orca already manages.
User-facing change: the bot instructions, orca bot reply help, orca slack react help and the bundled bots guide now say Orca manages the reactions on the message that woke the bot, so it never adds 👀 or ✅ itself. --react is only for a reaction that is the bot's whole response, such as 👍, and then its final message is only NO_REPLY, so nothing else gets posted (in a thread or the owner's DM). No runtime behavior changes.
Fixed during review
The generated bundled guide was stale against its source, which failed "localization and generated files". It is now regenerated.
"A reaction that replaces a reply" still let the final message post. It now says to end with only NO_REPLY, found by Claude review and CodeRabbit.
Another bot rule forbade answering a thread with only NO_REPLY, which contradicted the new rule. It now allows it when a --react reaction is the whole answer, found by Claude review.
The wording no longer says Orca adds and clears a "finished" reaction. It now says Orca manages the reactions, so it stays accurate whichever reactions Orca sets.
orca slack react help no longer lists 👀 as a common emoji, and it carries the same guidance.
Verified on 89fc60a2a09212e869054c37d53e0e976835d2e9
CI green.
Linux remote-check: REMOTE-CHECK PASS 89fc60a2a09212e869054c37d53e0e976835d2e9 (pnpm check:changed, 25 checks).
Fresh Claude review (pass 3, whole PR): ready, with no P0 or P1 findings.
Blinded Codex regression audit on the PR merged onto main b48ada7: SAFE, with no findings. It confirms a final message of only NO_REPLY is suppressed in live delivery, restart recovery, owner DMs and the older-cloud fallback, and that the generated guide matches its source byte for byte.
Perf screen: none; it adds fixed-size text only (about 500 preamble characters), and perf-surface-detect reports no surface.
QA evidence: the PR merged onto main was bundled with esbuild, and the real botRulesBlock('claude'), BOT_COMMAND_SPECS (bot reply) and SLACK_COMMAND_SPECS (slack react) were printed. Every reaction line reads as intended, and the item-answer rule now has the --react exception. No screen changed, so there are no screenshots.
Deferred (P2)
The reaction exception could say "a reaction on the message that woke you". In a turn with no waking message, --react is already refused with a pointer to --text.
The reaction sentence appears in both the Tools and Rules sections of the bot instructions. The old --react mention was duplicated the same way.
The comment at src/shared/rpc-contract/connectors/connector-params.ts:43 still describes --react generically.
The --file 10-file limit isn't stated in the bot instructions. That predates this PR.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: b5da4a86-d1cd-4665-b9be-84c26cde8803
Commits
Reviewing files that changed from the base of the PR and between 89fc60a and 7f5176d.
Files selected for processing: 4
skill-guides/orca-cli/references/bots.md
src/cli/skills/bundled-skill-guides.ts
src/cli/specs/bot.ts
src/main/bots/bot-preamble.ts
Files skipped from review as they are similar to previous changes: 1
src/cli/specs/bot.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
Bots now leave Slack wake-reaction handling to Orca, and a reaction-only Slack response ends quietly. GitHub, Linear, and Home Chat behavior is unchanged.
Full review and final audit: safe.
QA: none — this changes prompt, help, and generated-guide text only; it has no rendered UI or lifecycle flow.
Performance: clean. The detector hit is static prompt text, adding about 40 tokens per bot turn and no repeated runtime work.
The CLI help and rendered bot prompt were exercised from this head. The Slack-thread wording owns reactions there; GitHub, Linear, and Home Chat retain their normal reply guidance, including the one quiet Home Chat line.
Bots leave wake-reaction handling to Orca only in Slack threads. A reaction-only reply ends with NO_REPLY; other reply surfaces retain their normal behavior.
CI: 59 checks passed; 17 skipped.
Review and audit: safe on this head.
Performance: clean. The prompt text adds about 40 tokens per bot turn and no repeated runtime work.
QA evidence: current-head CLI help and rendered prompt output verify Slack-only reaction guidance, including the unchanged GitHub and Home Chat behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Bots were encouraged to leave a green check on messages. They now learn that Orca manages those reactions, so they only react when a reaction is their whole answer, and then they stay quiet instead of also replying.
What Changed
Updated the bot instructions, the
orca bot replyandorca slack reacthelp, and the bundled bots guide. They now say Orca manages the reactions on the message that woke a bot, so the bot never adds 👀 or ✅ itself.--reactis only for a reaction that is the bot's whole response, such as 👍, and then the bot's final message is onlyNO_REPLY, so nothing else is posted. The rule that a thread message needs a real answer now allows that one case. The Slack react help no longer lists 👀 as a common emoji.Why
This prevents agents from adding a green check after replying and makes the expected reaction behavior explicit wherever bots learn how to respond.
Linked Issue
tracked in #428
Visual Proof
N/A — command help and agent instructions only; there is no visual interface change.
Testing
No test added: this is static help and prompt copy with no branching or runtime behavior to exercise. The final repository quality gate validates formatting, linting, typechecking, and impacted checks.
Performance
None, because this changes only static help and prompt copy.
Risk
Level: Low
The only risk is wording that makes bot response guidance less clear. A plain revert restores the previous guidance and does not affect saved data or settings.
AI Disclosure
Review
Agent skill upstream boundary
Notes
Cross-platform, SSH, mobile, and backwards compatibility: N/A; the updated text is shared static guidance.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)