Skip to content

feat(ai): add feedback skill setting#11341

Merged
captainsafia merged 4 commits into
masterfrom
safia/app-4549-add-setting-to-disable-the-feedback-skill
May 19, 2026
Merged

feat(ai): add feedback skill setting#11341
captainsafia merged 4 commits into
masterfrom
safia/app-4549-add-setting-to-disable-the-feedback-skill

Conversation

@captainsafia
Copy link
Copy Markdown
Contributor

@captainsafia captainsafia commented May 19, 2026

Description

Adds a default-on Agent setting to disable Warp's built-in bundled feedback skill without affecting user-created skills or other bundled skills.

This PR also hardens the bundled feedback issue helper in a separate commit so callers must pass the target GitHub repo explicitly with --repo; the normal Warp feedback target remains warpdotdev/warp in the skill instructions.

Commits are intentionally split:

  • feat(ai): add feedback skill setting
  • fix(ai): require repo for feedback issues

Linked Issue

Testing

  • I have manually tested my changes locally with ./script/run
  • python3 resources/bundled/skills/feedback/scripts/test_file_feedback_issue.py
  • python3 resources/bundled/skills/feedback/scripts/file_feedback_issue.py --help
  • Missing --repo argparse check for file_feedback_issue.py
  • cargo fmt
  • cargo test -p warp bundled_feedback_skill
  • cargo test -p warp disabling_feedback_bundled_skill
  • cargo test -p warp read_skill_executor
  • cargo test -p warp get_skills_for_working_directory
  • cargo test -p warp best_supported_provider
  • cargo test -p warp cloud_environment_skills_always_included
  • cargo test -p warp test_read_bundled_skills
  • cargo test -p warp ai_page_tests
  • cargo clippy --workspace --all-targets --all-features --tests -- -D warnings
  • git --no-pager diff --check

Screenshots / Videos

Demo Loom: https://www.loom.com/share/f8d406d0237d46ac8b5ffbe674583fb4

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Agent artifacts

CHANGELOG-OZ: Added a setting to disable Warp's built-in feedback skill.

Co-Authored-By: Oz oz-agent@warp.dev

captainsafia and others added 2 commits May 19, 2026 12:40
Add a default-on setting that controls whether Warp's bundled feedback skill is exposed to Oz.

Gate bundled feedback skill discovery and direct bundled read_skill resolution while preserving path-based user skills and other bundled skills.

Co-Authored-By: Oz <oz-agent@warp.dev>
Remove the feedback issue helper's implicit repository default and require callers to pass the target repo explicitly.

Update the bundled feedback skill instructions and helper tests for explicit repo forwarding.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 19, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 19, 2026

@captainsafia

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR adds a default-on Agent setting to disable Warp's built-in bundled feedback skill, wires that setting through skill discovery and direct read-skill execution, updates the Settings UI, and requires the feedback issue helper's target repository to be explicit.

Concerns

  • Disabling the feedback bundled skill is currently enforced only in the read_skill executor path. Other stale or explicit bundled-skill references that still resolve through SkillManager::skill_by_reference can continue to expose or invoke the disabled feedback skill.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread app/src/ai/blocklist/action_model/execute/read_skill.rs Outdated
Co-Authored-By: Oz <oz-agent@warp.dev>
@captainsafia
Copy link
Copy Markdown
Contributor Author

/oz-review

@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 19, 2026

@captainsafia

I'm re-reviewing this pull request in response to a review request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR adds a default-on Agent setting for Warp's built-in bundled feedback skill, wires the setting into bundled-skill discovery and direct skill reads, updates the Agent settings UI, and changes the feedback helper so callers must pass --repo explicitly. The description includes visual evidence for the user-facing settings change.

Concerns

  • The new repo argument validation in the feedback helper should be tightened before relying on it for browser-mode issue URLs; see inline suggestion.
  • No approved repository spec context was available for this review.

Verdict

Found: 0 critical, 0 important, 1 suggestions

Approve with nits

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

if not normalized_repo or "/" not in normalized_repo:
raise SystemExit("Issue repo must be provided in owner/name format.")
owner, name = normalized_repo.split("/", 1)
if not owner or not name or "/" in name:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 [SUGGESTION] [SECURITY] repo is later interpolated into a GitHub URL, but this validation still accepts URL/path control characters such as ?, #, spaces, or control characters inside owner/name; validate both components against GitHub's allowed repository-name character set before returning it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Don't think this is a huge deal and probably OK to skip, but wouldn't hurt. Will leave up to you.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I agree -- worst case scenario the agent has to call the script again with the correct format.

Co-Authored-By: Oz <oz-agent@warp.dev>
@vkodithala vkodithala self-requested a review May 19, 2026 22:01
Comment on lines +49 to +53
parser.add_argument(
"--repo",
required=True,
help="GitHub repository to file the issue in, formatted as owner/name.",
)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice catch!

Copy link
Copy Markdown
Contributor

@vkodithala vkodithala left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the fix 🚀

@captainsafia captainsafia merged commit e659efb into master May 19, 2026
34 checks passed
@captainsafia captainsafia deleted the safia/app-4549-add-setting-to-disable-the-feedback-skill branch May 19, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants