---
title: "uv pull-request labels: review, role & definition · Undominated.ai"
canonical: https://undominated.ai/agents/astral-uv-pull-request-labels/
description: "Chooses at most the semantic labels for one uv pull request, and leaves the list empty when the diff does not support one."
---

# uv pull-request labels: review, role & definition · Undominated.ai

> Chooses at most the semantic labels for one uv pull request, and leaves the list empty when the diff does not support one.

[← Explore all agents](/agents/)

PULL-REQUEST LABELS / Astral Software Inc.

# uv pull-request labels

Chooses at most the semantic labels for one uv pull request, and leaves the list empty when the diff does not support one.

 [Use this definition ↓](#setup)[Original source ↗](https://github.com/astral-sh/uv/blob/c0110fc79aea1e6e8a09feb4a72b0732fc101170/agents/prompts/pull-request-labels.md)

SOURCE REVIEW

 Reviewed 2026-10-14
 Evidence 3 linked sources
 Publisher Astral Software Inc.
 Licence [MIT ↗](https://github.com/astral-sh/uv/blob/c0110fc79aea1e6e8a09feb4a72b0732fc101170/LICENSE-MIT)
 Revision c0110fc79aea
 [Read what was—and wasn’t—checked ↓](#review)

“Determine which labels should be added to the pull request described in `.pull-request-labels-event.json` for the repository in this checkout.”

 [Astral Software Inc. · upstream description ↗](https://github.com/astral-sh/uv/blob/c0110fc79aea1e6e8a09feb4a72b0732fc101170/agents/prompts/pull-request-labels.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - Labels have to come from .pull-request-labels.json. An unclear case is an empty array. The prompt says not to recommend labels already on the pull request and not to suggest removals.
- Test-only changes stay internal:testing even when the tests reproduce a bug. CI-control, merge-control, deployment, codex, and bot labels are excluded. The classification follows the diff, not the issue text it mentions.

### A good fit for

 - Supply the checked-out PR, event file, allowed-label file, output schema and permitted authenticated GitHub read access.
- Receive JSON containing only supported missing semantic labels and an evidence-based explanation.

### Weigh up before choosing

 - The prompt forbids file/GitHub changes and PR-code execution; the reviewed read-only profile permits only api.github.com and github.com.
- This is a workflow prompt requiring event, labels and JSON-schema files; it is not native standalone agent registration.
- The uv-specific classification policy is not portable unchanged; the allowlist and applying workflow remain outside this definition review.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - agents/prompts/pull-request-labels.md
- agents/codex/config.toml
- LICENSE-MIT
- Definition reread at the preserved revision; scoped workflow and output-contract review on 2026-10-14

### Our findings

 - LICENSE-MIT is the MIT License. The copyright line is Copyright (c) 2025 Astral Software Inc. The prompts have no per-file copyright header.
- The schema is named in the prompt and was not opened. The prompt itself says the labels array can be empty.
- It classifies the actual change, so test-only reproducers are internal testing rather than product bug labels.
- It uses recent label history for ambiguous meanings, excludes existing labels and control/automation-trigger labels, and allows an empty recommendation.

### Not established by this review

 - The prompt was not run.
- No GitHub issue, label, or pull request was created.
- .pull-request-labels.json was not opened.
- The pull-request-labels workflow was not opened.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Use the role in your project.

[Upstream setup instructions ↗](https://github.com/astral-sh/uv/blob/c0110fc79aea1e6e8a09feb4a72b0732fc101170/agents/prompts/pull-request-labels.md)
 - Read the prompt at the reviewed commit. No install command is published.
- Do not treat the prompt as permission to post, commit, or push. The prompt text and the permission profile are separate from later workflow jobs.

### Before you start

 - A checkout of astral-sh/uv at a revision the prompt can read

### Compatibility

A Codex prompt file a workflow can pass to a reviewer

### Implementation

Markdown

### Prompt text. The named profile is read-only plus GitHub network. Applying labels is outside this file.

 - Read the pull-request checkout
- Use gh for context that is not in the checkout
- No checkout write in this prompt

### Cost model

MIT prompt text at no charge. Copyright (c) 2025 Astral Software Inc. The Apache licence file at this commit was not the grant used.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [uv pull-request labels ↗](https://github.com/astral-sh/uv/blob/c0110fc79aea1e6e8a09feb4a72b0732fc101170/agents/prompts/pull-request-labels.md) Checked 2026-10-14 https://github.com/astral-sh/uv/blob/c0110fc79aea1e6e8a09feb4a72b0732fc101170/agents/prompts/pull-request-labels.md Supports: summary, whySelected, limitations
- [Codex permission profiles ↗](https://github.com/astral-sh/uv/blob/c0110fc79aea1e6e8a09feb4a72b0732fc101170/agents/codex/config.toml) Checked 2026-10-07 https://github.com/astral-sh/uv/blob/c0110fc79aea1e6e8a09feb4a72b0732fc101170/agents/codex/config.toml Supports: permission profile
- [MIT licence ↗](https://github.com/astral-sh/uv/blob/c0110fc79aea1e6e8a09feb4a72b0732fc101170/LICENSE-MIT) Checked 2026-10-14 https://github.com/astral-sh/uv/blob/c0110fc79aea1e6e8a09feb4a72b0732fc101170/LICENSE-MIT Supports: Redistribution terms, Copyright (c) 2025 Astral Software Inc.

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Cartography design reviewer ↗ Plans thematic map styling, label hierarchy and layouts for a defined audience and delivery medium.](/agents/agency-gis-cartography-designer/)[### Codex Rust review ↗ A Codex label prompt for one codex-rs pull request: a short change summary, then a friendly review that pushes mixed changes apart and flags unsafe and crate placement.](/agents/openai-codex-rust-review/)[### Contribution checker ↗ Reads one pull request against that repository's contributing guide and returns one JSON verdict from checklist answers.](/agents/github-contribution-checker/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Find reusable instructions](/skills/)
- [Inspect connections](/mcp-servers/)
- [Build a toolkit](/tools/)
- [Choose the model](/compare/)
