Repository navigation
feat(pr-pipeline): refine thin issues at intake triage #9310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
934eaf0
feat(pr-pipeline): select, validate and post a thin issue's refinement
kyle-sexton 9b55f7e
feat(pr-pipeline): run the thin-issue refinement in intake-triage.yml
kyle-sexton bc921bf
chore(pr-pipeline): mark refine.mjs executable and fix the fragment's…
kyle-sexton ef998de
test(pr-pipeline): a second exact refinement re-runs no triage
kyle-sexton 45a67a1
fix(pr-pipeline): close the security review's refinement findings
kyle-sexton 3307ea3
Merge remote-tracking branch 'origin/main' into feat/9215-thin-ticket…
kyle-sexton b898f1a
fix(pr-pipeline): drop stale refinements and post the marker after th…
kyle-sexton b497486
fix(pr-pipeline): add needs-triage before lifting needs-decision
kyle-sexton 9f44fd8
test(pr-pipeline): a retry after a failed needs-triage add finishes t…
kyle-sexton e8b75ef
Merge remote-tracking branch 'origin/main' into feat/9215-thin-ticket…
kyle-sexton 86cf5ff
Merge origin/main into feat/9215-thin-ticket-enrichment
kyle-sexton d3923e8
fix(pr-pipeline): re-triage a ready issue an exact refinement completes
kyle-sexton b799061
fix(pr-pipeline): the unrunnable check reads a refinement's URLs as w…
kyle-sexton 140ceff
Merge branch 'main' into feat/9215-thin-ticket-enrichment
kyle-sexton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
.changes/pr-pipeline/feat-9215-refine-thin-issues-5b1e7c20.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| bump: minor | ||
| --- | ||
|
|
||
| ### Added | ||
|
|
||
| - Intake refines a thin issue: one whose triage flags `intent` or whose body has no task list line. A read-only model run in `intake-triage.yml` (`refine-issue`, contents read only, no project settings, `dontAsk`) explores the default branch, checks the open and closed issues and merged pull requests a title search found for duplicates and finished work, and reads the docs hosts resolve-issue reads. The `apply-refinement` activity posts its output as the lanes App in a separate comment opening with `<!-- intake-triage refinement -->`, once per issue. | ||
| - An exact refinement lists its acceptance criteria as a task list, lifts the lanes App's `status: needs-decision`, and triages the issue once more; one that is not exact asks numbered questions with `RECOMMENDED:` answers and leaves the issue at `status: needs-decision`. It never adds `agent-ready` or `needs-human`. | ||
| - Admission's criterion 7 also counts the task list in that comment when the lanes App's account posted it after the body's last edit, and the work lane's `issue.json` keeps that comment as `author_kind: refinement`. | ||
| - Only issues and pull requests a listed human or the lanes App opened reach the refinement model as duplicate candidates, and refinement text cannot add a link, an autolink or a `GH-N` reference. | ||
| - A refinement is dropped when the issue's title or body changed while the model ran. Labels change before the marker comment is posted, so a failed label update leaves no marker and the next triage refines the issue again. |
7 changes: 7 additions & 0 deletions
7
.changes/work-items/feat-9215-thin-ticket-enrichment-c8280027.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| bump: patch | ||
| --- | ||
|
|
||
| ### Changed | ||
|
|
||
| - `/work-items:work` names the third `author_kind` its issue file can carry, `refinement`: the lanes App's intake refinement, model-drafted acceptance criteria to check against the body. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.