Skip to content

Name bot work in outward replies - #51267

Merged
brennanb2025 merged 1 commit into
mainfrom
brennanb2025/named-task-replies
Nov 28, 2026
Merged

brennanb2025 merged 1 commit into
mainfrom
brennanb2025/named-task-replies

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Before, a bot could tell someone that a numbered item needed a decision. After, it names the actual work, so the person knows what to decide without opening another screen.

Files Added Deleted Net
Test 0 0 0 0
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1

What Changed

Added generated bot guidance for replies outside Items: use the item's title in plain words, reserve item numbers for commands and internal tracking, and do not make up a title when it is unavailable.

Why

Number-only Slack replies make recipients look up the item before they can act. The shared bot instruction is the narrowest place to make every bot's outward reply self-explanatory.

Linked Issue

Tracked in #710.

Visual Proof

N/A — this is instruction-only wording; the generated rule itself demonstrates the new outward-reply requirement.

Testing

  • Automated typecheck: tc-gate pnpm tc:node
  • No test added: this changes generated instruction text only; the source rule was inspected directly.
  • Manual UI testing is not applicable: no UI, connector, or delivery code changed.

Performance

None, because the change adds static launch guidance and no runtime work, polling, storage, or delivery path.

Risk

Level: Low

Bots may write more descriptive outward replies. A plain revert restores the prior generated guidance and does not affect stored Items, existing replies, or connector state.

AI Disclosure

Not applicable.

Review

Pending review.

Agent skill upstream boundary

  • Not applicable.

Notes

Cross-platform, SSH/remote, mobile, and backwards compatibility are unaffected because this changes only bot-generated instruction text. Security is unchanged.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I stated the risk and rollback
  • Visual proof is not applicable
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered
  • Targeted typecheck passed; CI will run the remaining checks

@brennanb2025
brennanb2025 marked this pull request as ready for review November 28, 2026 00:56
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The bot preamble now instructs replies outside Items to identify work by its title. It reserves item numbers for Orca CLI commands or internal tracking. If the title is unavailable, the reply must not invent one and must state only what the available context supports.

Merge Risk: Minimal · up to 01e7d

This adds guidance so bot replies outside Items name work by its title instead of its number. It changes instruction text only, so the risk of merging is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Name bot work in outward replies" matches the main change: a new bot-preamble rule that tells bots to name work by item title in replies outside Items. It is specific and concise, and it na…
Description check Passed The description follows the template. It has the ELI5, What Changed, Why, Linked Issue, Visual Proof (N/A with reason), Testing, Performance, Risk, and Checklist sections. The change is a one-line ins…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Name bot work in outward replies" matches the main change: a new bot-preamble rule that tells bots to name work by item title in replies outside Items. It is specific and concise, and it names the actual behavior change.

Full details: Description check

Explanation

The description follows the template. It has the ELI5, What Changed, Why, Linked Issue, Visual Proof (N/A with reason), Testing, Performance, Risk, and Checklist sections. The change is a one-line instruction edit, so the description is clear and complete enough. The Linked Issue section cites #710 as "Tracked in" rather than using the template's "Fixes #" format, and the AI Disclosure section says "Not applicable" without the model details the template asks for when AI was used. The Testing section does not list which platforms were tested. These are minor gaps and do not block merge.

  • 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.

Share

Recent 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: 83cc5b68-9d4b-453a-89f0-4febb43a1a71
Commits

Reviewing files that changed from the base of the PR and between ddb8508 and 01e7d2c.

Files selected for processing: 1

  • 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.

@brennanb2025

Copy link
Copy Markdown
Contributor Author

This update adds no recurring runtime work, I/O, timers, or retained state. The changed generated instruction has fixed size and is delivered through the existing receipt-gated rules update.

@brennanb2025

brennanb2025 commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

People receiving a bot reply can now act on named work without first looking up an item number. Replies outside Items use the available item title; command and internal tracking keep the item number, and a missing title is never invented.

QA evidence: in a seeded app profile, a bot created work titled “Fix Safari login redirect loop” and replied “The Safari login redirect loop fix is planned, with work still to start.” A request about unavailable item 47 instead asked for its link or title. The same run confirmed item numbers remained in bot commands and stopped cleanly.

Verified: generated bot instructions, focused typecheck, full repository checks, and the PR checks are green.

@brennanb2025
brennanb2025 merged commit e40b7af into main Nov 28, 2026
82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant