Skip to content

fix(pi): narrow revdiff review trigger#196

Merged
umputun merged 1 commit into
masterfrom
fix/pi-revdiff-review-trigger
May 14, 2026
Merged

fix(pi): narrow revdiff review trigger#196
umputun merged 1 commit into
masterfrom
fix/pi-revdiff-review-trigger

Conversation

@umputun
Copy link
Copy Markdown
Owner

@umputun umputun commented May 14, 2026

Summary

  • narrow Pi revdiff skill triggers so ordinary code review requests do not launch the TUI
  • clarify that captured revdiff annotations still route through the revdiff workflow
  • bump plugin package version to 0.2.1

Fixes #188

Limit Pi skill and tool guidance so revdiff_review is used only for explicit interactive revdiff annotation requests. Ordinary code-review prompts should stay agent-side.
Copilot AI review requested due to automatic review settings May 14, 2026 08:44
@umputun umputun merged commit 9764eee into master May 14, 2026
7 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR narrows the Pi integration’s “revdiff” skill/tool trigger guidance so normal autonomous code review requests won’t launch the interactive revdiff TUI, addressing issue #188. It updates both the skill documentation and the tool’s prompt guidelines to require an explicit user request for revdiff/interactive annotations, and bumps the Pi package version.

Changes:

  • Tighten revdiff_review usage guidance to require explicit user intent (revdiff / interactive annotation pass / captured annotations).
  • Clarify that ordinary “review the code/diff/changes” requests should be handled directly by the agent (without invoking revdiff).
  • Bump revdiff-pi package version to 0.2.1.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
plugins/pi/skills/revdiff/SKILL.md Narrows the skill’s trigger description and agent-usage guidance to require explicit revdiff intent.
plugins/pi/extensions/revdiff.ts Updates tool promptGuidelines to avoid revdiff invocation for ordinary autonomous review prompts.
package.json Bumps Pi package version from 0.2.0 to 0.2.1.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Pi integration: agent calls revdiff when I ask it to review the code

2 participants