Skip to content

feat: ask someone to review a pull request from its thread (Labs, off) - #30

Draft
mayberuk wants to merge 18 commits into
mainfrom
review-ask
Draft

mayberuk wants to merge 18 commits into
mainfrom
review-ask

Conversation

@mayberuk

@mayberuk mayberuk commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Not ready to merge yet: one step needs a person first.

Turn on Labs → Review ask in this branch's dev server and press Send once to yourself. It is a real Slack post, so no agent does it. Done when the message arrives and the bar shows Waiting.

Problem

Asking someone to review a pull or merge request means leaving the thread, working out who to ask, writing the Slack message, and then checking back for an answer.

Fix

A Labs setting, off by default. On a thread with an open request, "Ask for review" suggests a reviewer, drafts the message and sends it from your own Slack account only when you press Send (or saves it as a Slack draft). The thread then shows that it is waiting, notices a reply or an approval, and can be stopped at any time.

  • Reviewer suggestions come from an optional external reviewdesk command; Slack goes through the configured Slack command.
  • The Where field always shows the destination that Send uses, and the length limit is checked on the text that is sent.
  • A send whose outcome is unclear is reported as unknown rather than retried.

Not verified live

Nothing has been sent to a real Slack workspace. Before relying on it: send once to yourself, and check that usernames match as expected and that your own message appears in the DM history.

Known limits

  • The server adds a missing mention after the length check, so a near-limit message can go out slightly longer.
  • On GitHub pull requests the wording still says "MR".
  • Draft-saved and approved states are covered by browser tests only, with no screenshot.

Built by Claude Sonnet 5.5 and Codex under Claude Code, reviewed with Codex.

🤖 Generated with Claude Code

mayberuk and others added 18 commits December 3, 2026 14:01
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… logic

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* origin/main:
  docs: register the icons added by the CLI run card
  test(server): refuse the real-CLI probe on unknown managed files and under WSL
  test(server): the real-CLI probe guard allows only known managed settings
  test(server): refuse the real-CLI probe when machine settings could redirect it
  feat(web): consecutive CLI calls share one animated run card
  test(server): assert on the first request of a turn and cover the harness's refusals
  test(server): keep the probe harness type private
  test(server): lock in self-started Claude turns and add an opt-in real-process compaction probe
  docs(fork): register every fork path the feature register was missing

# Conflicts:
#	docs/operations/rucode-features.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Only the reviewer mention stays live Slack markup, an email local part shared by
several people resolves nobody, remembered reviewers are kept per Slack workspace
and GitLab host, the Labs setting is rechecked right before the write, and a write
with no readable answer asks the user to check Slack. On web, another client's
Stop watching replaces this client's send result, and an event for one merge
request no longer drops another's record.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…rkspace changes

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… another merge request

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… request ready

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ws approval without a duration

A saved draft now moves to the approved view like a sent ask.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ght person

- A searched-for person is no longer remembered as the unmapped suggestion.
- Only the first suggestion is preselected, matching the bar.
- The mention follows the chosen reviewer and reads as @name.
- Hiding the editor or switching threads keeps the message and any warning.
- Saving a draft has its own progress and failure wording.
- A Slack sign-in block clears once search works, and the footer says why.
- The field labels size to their text.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…else to show

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ason

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… the sent length

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* origin/main:
  fix(server): encode and bound thread facts values and keep the card record across a steer
  docs: register the thread facts test file
  feat: thread facts Labs switch and same-turn delivery after compaction
  feat: send the thread facts card with each turn
  style: format the thread facts builder
  feat: thread facts card builder and Labs setting
  fix(gitlab): a stream that never answers times out and reconnects
  fix(shared): a patched stream host map replaces the saved one, so it can be cleared
  fix(gitlab): keep the stream reconnect delay and back off until a frame arrives
  feat(gitlab): document and register the merge request change stream
  refactor(gitlab): keep the stream frame error private
  feat(gitlab): watch merge requests through a change stream when a stream host is configured

# Conflicts:
#	packages/contracts/src/settings.test.ts
#	packages/contracts/src/settings.ts
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