Repository navigation
Closed
Labels
Milestone
Description
Friction
Readiness lets a pull request into a release branch through only if its body closes exactly one issue. An item planned as several pull requests can therefore deliver only its last one. The earlier pull requests close no issue, and devops pr check-readiness blocks them.
Evidence
_closes_one_issue(src/devops_cli/commands/pr.py:1559) is the first of_GROUNDING_CHECKS(:1687-1694). It blocks a body that closes no issue withgrounding_closes_no_issue.- The issue a body closes is read by
extract_linked_issues(src/devops_cli/github/issue_closure.py:55), whichdevops roadmap closealso uses. Only GitHub's closing keywords (CONST_ISSUE_CLOSING_KEYWORDS,src/devops_cli/config/constants.py:2894) count. - On 2026-10-17, refinement planned nine items as several pull requests each: refactor(github): the github session owns transport, ledger, error classes and link pagination #983 (7), feat(ci): hand-rolled URL and address parsing fails
devops ci, AGENTS.md makes the library the rule, and reviews stop discarding the findings #1107 (5), refactor(review): the persona review stage, the legacy segment engine and review-time RAG are deleted, and devops review builds a model client only for the explanation stages #1151 (4), refactor(review): review session store that owns layout, fingerprints and verdicts #771 (3), fix(review): Semgrep runs pinned and offline with metrics off, from a cached registry ruleset plus devops-cli's tested rule pack #1144 (3), and refactor(docs): no documentation-only pull requests: release artifacts are made as the release merges, and every kept doc changes with its code or is deleted #1103, feat(release): a release is cut only after every argo cd application builds at the release head and its live changes are shown #1343, feat(github): a release pull request gets a set number of copilot passes, and later review threads become follow-up issues #1345 and feat(agent):devops agent envgives an agent session its own expiring gateway key, run-index access and a read-only kube identity, written to its settings file or a child process and never printed, with--revokeand an audit of every grant #1154 (2 each). Every pull request before the last would fail readiness. - The owner chose, on 2026-10-17, to let such a pull request say
Part of #Nrather than file a child issue for each one.
Remedy
A body may declare one part reference instead of a closing keyword: Part of #N, or Part of owner/repo#N for this repository. owner/repo here is a placeholder for the actual repository path.
Parsing:
issue_closurereads the reference with the same rules as closing keywords:- code blocks, inline code and quoted lines are ignored;
- a reference to another repository is skipped;
- the phrase is matched case-insensitively and lives in
config/constants.py.
devops roadmap closenever acts on a part reference. The pull request that closes #N, the item's last, closes it.
Readiness:
- A pull request is grounded on #N when its body has exactly one part reference and no closing keyword. The other grounding checks then apply to #N as they do to a closed issue:
- #N is open, and an item of the base's release;
- the pull request changes #N's task file;
- it leaves the cut's files alone.
- A part pull request's task file may read
**Status**: In Progress. The pull request that closes #N setsDone. - These bodies still fail, each with its own message:
- a part reference together with a closing keyword;
- two or more part references;
- a part reference to a closed issue.
Docs and tests:
- AGENTS.md and the pull request template describe the multi-PR delivery.
- Tests first, with no network:
- parser cases: fences, quotes, another repository, mixed case;
- readiness cases: part only passes, part plus close fails, two parts fail, a part reference to a closed issue fails, a part reference to an item of another release fails;
roadmap closedoesn't close an issue that only a part reference names.
Priority under the owner's blocker rule (2026-10-17): P0. It blocks two or more P1 items (#983, #1107, #1151, #771, #1144, #1103, #1343, #1345, #1154), so it is a critical fix for the current release.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 17, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The candidate fixes a problem with pull request readiness checks.It blocks multiple P1 items and is marked as P0 by the owner.It enables multi-PR delivery of items, improving workflow efficiency.The fix involves parsing logic changes and updating readiness checks.devops ci, AGENTS.md makes the library the rule, and reviews stop discarding the findings #1107devops agent envgives an agent session its own expiring gateway key, run-index access and a read-only kube identity, written to its settings file or a child process and never printed, with--revokeand an audit of every grant #1154fix(github): a pull request that delivers part of an item says Part o…
dan-petty commentedon Oct 18, 2026
What changed
#1620, merged into
release/v0.2.37as a46deed.22 file(s) changed.
How it was verified
Check runs at 4274ba5:
Acceptance Criteria of
docs/agent/tasks/task-1617-part-of-readiness.md:tests/test_gh_issue_closure.pyreadsPart of #317in mixed case, with extra spacing and a colon, skipsPart of other/project#317, honours this repository's qualified form, returns several references once and in order, ignoresPart 1 of #317, and keeps part references and closing keywords apart.test_code_raw_html_and_quotes_are_not_scanned_for_closing_keywordsandtest_code_raw_html_and_quotes_are_not_scanned_for_part_referencesskip a backtick, tilde and unclosed fence, indented code, inline code, a block and an inline HTML comment and a quote;test_non_prose_right_below_a_closing_line_is_not_scannedandtest_non_prose_right_below_a_closing_line_names_no_partdo so for a fence, comment or quote on the line belowCloses #N;test_prose_in_a_list_or_a_heading_is_still_readkeeps declarations under a heading and in a list.tests/test_pr_cmd.py:test_a_part_pr_is_grounded_on_the_item_it_delivers_part_ofpasses a part pull request into release/v0.2.26 for an open item of v0.2.26 with its task file.test_grounding_blocks_once_and_names_the_causegives one blocker for a part reference with a closing keyword, two part references, a part reference and a closing keyword to the same issue, a part reference to another repository and a part pull request without its task file.test_a_part_pr_is_blocked_by_an_item_that_is_closed_or_of_another_releaseblocks a closed item, an item of v0.2.27 and a backlog item.test_the_blockers_for_a_body_naming_no_one_issue_read_in_fullpins the three body messages.test_a_part_pr_into_the_default_branch_reads_its_item_only_for_its_statereads the item once and blocks only a closed one;test_prs_into_the_default_branch_are_not_judged_by_releasestill reads no issue for a closing pull request intomain.tests/test_roadmap_close.py:test_these_bodies_close_nothingcloses nothing forPart of #NandPart of example/roadmap#N, andtest_an_item_delivered_in_parts_is_closed_by_its_last_pull_requestcloses the item once, from the pull request that closes it.test_pr_template_asks_for_the_issue_and_task_file_and_nothing_a_check_decidesrequiresPart of #in the template and finds no part reference in it.tests/test_roadmap_reprioritize.py:test_a_commit_on_a_linked_pull_request_keeps_an_item_from_stalling[part-of]keeps an In Progress item idle past the stall window from stalling while itsPart of #Npull request has a recent commit, andtest_an_item_with_a_pull_request_is_not_descoped_when_a_critical_fix_takes_release_over_its_limit[part-of]keeps an item with a part pull request from the trim.test_a_part_prs_release_file_blocker_leaves_the_fragment_to_the_closing_prpins the part pull request's release-file blocker, which names the pull request that closes the item as the one that adds its fragment.feat(release): v0.2.37 (#1720)