Skip to content

Explain what a PR does and why under Intent - #308

Merged
thrawn01 merged 4 commits into
mainfrom
thrawn01/eng-869-explain-what-a-pr-does-and-why-under-intent
Nov 20, 2026
Merged

thrawn01 merged 4 commits into
mainfrom
thrawn01/eng-869-explain-what-a-pr-does-and-why-under-intent

Conversation

@thrawn01

@thrawn01 thrawn01 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Intent

A PR's Intent section is where a reviewer learns why the change exists, but workers write it as one or two terse sentences that name the problem and skip the change. The user has been asking each worker by hand to "explain what this PR does and why" in plain language, and that gets a much clearer description. This PR builds that request into dispatch:pr-description, so Intent now points at the style of dispatch:bro, which already asks for plain language, examples and the flow of data. Intent still ends with the ticket link, so the build skill's Fixes <ticket> line keeps working.

Fixes ENG-869

Surfaces

Skill dispatch:pr-description (skills/pr-description/SKILL.md), the Intent section and the Intent line of the output format. They used to disagree ("One or two sentences" vs "a few sentences"). Both now say:

Explain what the PR does and why, in the style of `dispatch:bro`, for a reviewer who saw none of the work.```

The other three headings are unchanged.

## Behavior changes

The comparison uses PR #307, which shipped under the old skill. Its original Purpose opens:

> When a worker's ticket sits in Needs Human, dispatch never read its PR, so a person's review comments there reached nobody. On ENG-784 two comments sat unread for over two hours, until the user asked the worker in its window.

Rewritten under the new skill, the same PR's Intent would read:

> When a worker asks you a question, the ticket moves to Needs Human, and dispatch used to stop looking at its PR. If you left a review comment on that PR while the worker waited, nobody heard it. On ENG-784 two comments sat unread for over two hours.
>
> Now dispatch keeps reading the PR and sends the waiting worker the same nudge it sends in In Review, once per new review or comment:
>
> ```
> /dispatch:pr-respond PR https://github.com/kapetan-io/dispatch/pull/7 for ENG-1 has new activity, a review by alice. ...
> ```
>
> The worker handles the comment first, then repeats its question, so you answer it with the comment in mind. Watching sessions hear nothing about the comment, only about the repeated question.
>
> Fixes ENG-831

## Concerns and risks

- The rewrite above is hand-written to follow the new text, not produced by a worker run, and I ran no evals as the ticket says. Whether workers follow the new Intent paragraph is unmeasured.
- The skill text is two sentences and leans on `dispatch:bro` for the style. The shared-vocabulary and trace-the-code instructions a sub-agent review asked for were added, then cut on the user's word that the short request is enough, so no run checks that workers still do either.
- The rewrite above is hand-written, not produced by a worker run, and I ran no evals as the ticket says.

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Deep Code Review Agent🐛

Review completed with 0 suggestions.

Reviewed commit: 283f5d6

@thrawn01
thrawn01 merged commit bcde219 into main Nov 20, 2026
2 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