Skip to content

fix(roadmap): Read only blockers under Dependencies - #6514

Merged
dan-petty merged 11 commits into
mainfrom
fix/6451-read-only-blockers-in-a-dependencies
Nov 20, 2026
Merged

dan-petty merged 11 commits into
mainfrom
fix/6451-read-only-blockers-in-a-dependencies

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

The stage and implement jobs read each #N under Dependencies as an open dependency, so parent, related, reverse and source mentions held 18 Ready items back (#6451).

body_dependencies keeps each #N as a blocker, also in prose, unless the text names a link: a block that starts with None or No, a #N after a link word of its sentence (Part of, Child, Tracker, Related, Source, an owner decision), a sentence with a reverse phrase (#N needs this item, This item blocks #N), a block whose issue merges in either order, or a #N in parentheses with other words. The hold line - dan-petty/devops-cli#6521 (hold: ... of dan-petty/devops-cli#6519) names #6521 only. On the 806 open bodies, no real blocker is lost.

Intake writes Source: <source> under a ## Source heading, and a retry finds an issue of the old form. CONST_ROADMAP_REFINE_RULES_SINCE moves to 2026-11-20T14:03:08Z.

Closes #6451

Change: openspec/changes/archive/2026-11-20-6451-read-only-blockers-in-a-dependencies/

@devops-cli-service devops-cli-service Bot added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 20, 2026
@devops-cli-service
devops-cli-service Bot force-pushed the fix/6451-read-only-blockers-in-a-dependencies branch from 665111e to b7f6592 Compare November 20, 2026 13:29
@devops-cli-service
devops-cli-service Bot force-pushed the fix/6451-read-only-blockers-in-a-dependencies branch from 7df82fd to 55a1cce Compare November 20, 2026 13:34
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Step Status Attempts Tokens in/out Last failing command
group 1 done 1 2512514/14370 pytest on base: tests/roadmap/refine/test_roadmap_refine_dependencies.py
group 2 done 1 1197610/5428 pytest on base: tests/roadmap/intake/test_roadmap_intake_evidence.py
group 3 done 1 388582/1900 -
group 4 done 1 1427913/7312 -
  • tools: run_command 60, read_file 22, grep 22, edit_file 18, write_file 1
  • scoped check pre-push: passed, 9 s
  • scoped check static: passed, 29 s
  • scoped check tests: passed, 24 s
  • scoped check strength: passed, 0 s
  • scoped check tests: the changed files select more than 30 test modules, so only the changed test modules ran. The required checks of CI run the others
  • group 3: skipped, group 3: kind other
  • group 4: skipped, group 4: kind other
  • mutation run and coverage delta: not run, because the change has no Python file under src/
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.roadmap.refine.test_roadmap_refine_dependencies::test_body_dependencies_names_only_a_blocker_line, tests.roadmap.refine.test_roadmap_refine_dependencies::test_an_open_related_issue_holds_no_item_back.
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.roadmap.intake.test_roadmap_intake_evidence::test_a_filed_candidate_names_its_source_under_its_own_heading, tests.roadmap.intake.test_roadmap_intake_evidence::test_evidence_the_entry_points_caller_attaches_is_trusted_and_the_source_is_kept.
  • verify of group 3: uv run devops ci test tests/roadmap/intake/test_roadmap_intake_sub_issues.py exits 0.
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.10, pytest-9.2.0, pluggy-1.7.0
rootdir: /home/devops/.data/agent/worktrees/w-6451
configfile: pyproject.toml
plugins: xdist-3.8.0, hypothesis-6.170.16, cov-7.1.0, asyncio-1.4.1.post1, platformdirs-4.14.7, time-machine-3.6.0, mock-3.17.0, anyio-4.16.0, syrupy-7.0.2, timeout-2.4.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 16 items

tests/roadmap/intake/test_roadmap_intake_sub_issues.py ................                                                                                                                                                                            [100%]

=================================================================================================================== 16 passed in 1.27s ===================================================================================================================
Bytecode compiled 23345 files in 565ms
Bytecode compiled 23345 files in 557ms
/home/devops/.data/agent/worktrees/w-6451/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
  • verify of group 4: uv run devops ci docs exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-6451
\u2713 All documentation files are up to date.
Bytecode compiled 23345 files in 621ms
Bytecode compiled 23345 files in 582ms

@devops-cli-service

Copy link
Copy Markdown
Contributor Author

Check results

Head commit: 9421b2834306c44c782fe3edba9a6d5e303f72c4

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Trivy success run
Plan Check skipped run
CodeQL success run
Dependency Freshness skipped run
Tests on Main skipped run
Test Job Duration skipped run
Tests & Coverage (shard 3 of 5) success run
Tests & Coverage (shard 1 of 5) success run
Runner Image success run
MCP Server Image success run
Tests & Coverage (shard 2 of 5) success run
Design Tokens success run
Changed-Test Independence success run
Tests & Coverage (shard 5 of 5) success run
Tests & Coverage (shard 4 of 5) success run
Service Image success run
Static Analysis success run
Analyze (python) success run
Fail-to-Pass Check success run
Docs Site Build success run
Semantic PR title success run
Analyze (actions) success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/44746997076/job/136324770003

Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Tests on Main
Skipped check: Test Job Duration

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 20, 2026 13:51
The tests use short copies of the Dependencies sections of open items.
A prose blocker, a Depends on line and a list item that opens with #N
keep their blockers. A reverse phrase and a parent after "of" keep none.
Intake writes "Source: <source>" under the Source heading, and a retry
finds an issue with the old Source line.
A line names blockers when it starts with a blocker opener in any case
(Merge first, Depends on, Blocked by, Waits for, Wait for), or when its
first word is #N and it is the first text of a list item or a paragraph
outside a list. A line with a reverse phrase (needs this item, waits for
this item, depends on this item, blocked by this item) names no blocker.
On a blocker line, a #N that directly follows "of" names a parent.

The narrower rule removes false dependencies, so the version of the
refine rules moves to the time of this fix. A wait on a person that the
older rule set gets one new round.
Intake writes "Source: <source>" under the "## Source" heading, so a
bare #N never sits in a paragraph that a level-1 Dependencies section
holds. A retry also finds an issue that a run filed before this change,
which ends with the Source line and no heading.
)

The waits spec states the blocker openers, the first-word rule for a
list item and a paragraph, the reverse phrases and the parent after
"of". The stage context and implement selection specs read each
blocker that the Dependencies section names. The intake spec and page
state the Source line and the retry of the old form. The archived
design drops the false reason about the line of references of refine,
corrects the claim about _new_subject and names the caller _edges_of.
@dan-petty

Copy link
Copy Markdown
Owner

An agent fixed the findings of the plan review on #6451 on this branch.

Finding Fix
Major: the rule drops prose blockers A line names blockers when it starts with Merge first, Depends on, Blocked by, Waits for or Wait for in any case, or when its first word is #N and it is the first text of a list item or a paragraph outside a list. The opener words and phrases are module constants next to the reader (_BLOCKER_OPENERS, _REVERSE_PHRASES, _PARENT_WORD). Tests use short copies of #4867, #5430, dan-petty/homelab#344, #4921, #5379, #5348, dan-petty/homelab#342, #4848, dan-petty/homelab#345 and #5026.
Minor 1: reverse list items and the parent of Merge first count A line with needs this item, waits for this item, depends on this item or blocked by this item names no blocker (#4765 gives [3741]). A #N after of is a parent (#4848 gives [4835]).
Minor 2: no test of open_dependency tests/roadmap/test_roadmap_dependencies.py: Related: #N gives no reason, Depends on #N gives the reason.
Minor 3: base specs say "each issue" roadmap-stage/context and roadmap-implement-job/selection read each blocker that the Dependencies section names and point to roadmap-refine/waits, which now states the full rule with scenarios for a prose paragraph, a Depends on line, a reverse phrase and a parent after of.
Minor 4: a bare #N under ## Source Intake writes Source: <source> under the heading. The intake test uses a level-1 # Dependencies section, so it fails on the base and on the old head.
Minor 5: _new_subject misses old bodies NewCandidate.filed_bodies gives both forms, and the retry finds an issue that ends with the old Source: line.
Minor 6: _edges_of not named The archived design names _edges_of (#6505) as a caller, drops the false reason about the line of references, and corrects the _new_subject claim.
Stale waits CONST_ROADMAP_REFINE_RULES_SINCE is 2026-11-20T14:03:08Z, so a person wait (such as a cycle) that the older rule set gets one new round. A blocked wait keeps its recorded blockers until they close, a reply or a body edit; #6515 covers the cycle wait.

Live proof from the branch (devops roadmap explain, read only):

$ devops roadmap explain 4867
Stage job: no. The item depends on the open issue dan-petty/devops-cli#4847.
Implement job: no. The item depends on the open issue dan-petty/devops-cli#4847.
$ devops roadmap explain 5001
Stage job: no. It passes every rule, but a run takes 3 item(s) and 3 item(s) of higher priority, or of the same priority and a lower number, come first.
$ devops roadmap explain 5026
Stage job: no. It passes every rule, but a run takes 3 item(s) and 3 item(s) of higher priority, or of the same priority and a lower number, come first.

#5026 still names - dan-petty/devops-cli#4957 (...) as a blocker list item, but #4957 is closed, so it gives no reason.

Checks on dfb8080: devops ci --check --only lint,format,docs,constructs,openspec,test-settings,test-tree,startup-imports,swallowed-failures passed; devops ci test of the three changed modules passed (1403 tests); mypy of the changed files passed; devops ci fail-to-pass --base origin/main passed with 15 changed tests that fail on the base.

A reverse phrase such as "needs this item" made the whole line name
no blocker. A paragraph can hold a blocker and a reverse link, for
example "#4550 puts the dependencies first. #4691 needs this item.",
so the real blocker #4550 was lost. A reverse phrase now holds back
only the references of its own clause, which ends at a full stop, a
semicolon, an exclamation or a question mark.
@dan-petty

Copy link
Copy Markdown
Owner

One more fix on top of the review fixes (12a2cd8): a reverse phrase now holds back only the references of its own clause, not the whole line. A clause ends at a full stop, a semicolon, an exclamation or a question mark.

Before this commit, #4814 ("#4550 puts the dependencies ... first. #4691 needs this item.") gave no blocker, so the real blocker #4550 was lost. Now it gives #4550.

Offline run of body_dependencies on the real bodies at 12a2cd8: #4814 [4550], #4867 [4847, 4798], #4921 [4884, 4889, 3917, 4566], #5379 [5380], dan-petty/homelab#342 [3741], #4848 [4835], dan-petty/homelab#345 [], #5026 [4957] (closed). #6441 still gives [4661, 6347]: its list item "#6347 (open): ... Rebase before the second of the two merges" is a merge-order note in blocker form, and a person can move it out of the Dependencies section.

Two test cases come first (4814-blocker-then-reverse-sentence, blocker-and-reverse-clause-in-one-item; both failed at dfb8080). The scoped checks, 1136 covering tests, mypy and openspec check pass. The waits spec, its archived delta, design.md and docs/roadmap/refine.md state the clause rule.

@dan-petty

Copy link
Copy Markdown
Owner

Check results

Head commit: 12a2cd81961c9a1c16444cea2b1e4d009bf701c5

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Trivy success run
Plan Check skipped run
CodeQL success run
Fail-to-Pass Check skipped run
Semantic PR title success run
Dependency Freshness skipped run
Test Job Duration skipped run
Tests on Main skipped run
Tests & Coverage (shard 4 of 5) success run
Tests & Coverage (shard 3 of 5) success run
Tests & Coverage (shard 1 of 5) success run
Tests & Coverage (shard 2 of 5) success run
Tests & Coverage (shard 5 of 5) success run
Design Tokens success run
Service Image success run
Static Analysis success run
MCP Server Image success run
Changed-Test Independence success run
Runner Image success run
Docs Site Build success run
Analyze (actions) success run
Analyze (python) success run

Skipped check: Plan Check
Skipped check: Fail-to-Pass Check
Skipped check: Dependency Freshness
Skipped check: Test Job Duration
Skipped check: Tests on Main

…6451)

The second draft read a line only when it opened with a blocker opener
or with #N. On the 806 open bodies of 2026-11-20 it still dropped real
blockers: the merge order of #5223 to #5236 ("Open the pull request after
the pull request of #N merges"), #4968 for #4972, the sibling #4756 for
#4761 ("Child 2 of #4742: ... (#4756)") and #5460 for #5468. It kept
"This item blocks #5134" (#5298), "#4517 is the parent tracker." (#5014)
and the merge-order note of #6441.

Each #N under Dependencies now names a blocker unless the text names a
link: a block that starts with None or No, a #N after a link word of its
sentence (Part of, Child, Tracker, Related, Source, an owner decision), a
sentence with a reverse phrase, a block whose issue merges in either
order, or a #N in parentheses with other words. A sentence also ends at
a line end. The hold line "- #6521 (hold: ... of #6519)" names #6521
only, also when a line follows it with no blank line.

On the open bodies the rule adds no issue to the base, each open issue
that it drops is a link, and the 14 bodies with the hold line name #6521.
@dan-petty

Copy link
Copy Markdown
Owner

An agent fixed the findings of the independent review of 9421b28 on this branch. Commit d3d6f00 comes after the fixes of 4cfb568 to 12a2cd8 and keeps them, but it replaces the blocker rule.

Why the rule changed again. I ran body_dependencies of the base, of 12a2cd8 and of d3d6f00 on the 806 open issue bodies of 2026-11-20. At 12a2cd8 the rule still dropped real blockers that a sentence opens with other words, and it still kept some links:

At d3d6f00 the rule adds no issue to what the base reads. Each open issue that it drops is a tracker or a parent, a related issue, the source line, a reverse link, a None. block, an issue that merges in either order, or the tracker in the note of the hold line.

Finding Fix Tests
Blocker: the rule drops prose blockers Each #N under Dependencies names a blocker, also in prose. A #N names no blocker only in a block that starts with None or No, after a link word of its sentence (Part of, Child, Tracker, Related, Source, an owner decision), in a sentence with a reverse phrase, in a block whose issue merges in either order, or in parentheses with other words. test_body_dependencies_keeps_a_blocker_written_in_prose, test_body_dependencies_reads_the_blockers_of_real_bodies
Hold line of the freeze (#6521, #6519) - dan-petty/devops-cli#6521 (hold: ... of dan-petty/devops-cli#6519) names #6521 only, so the close of #6521 lifts every hold. A sentence also ends at a line end, so a line that follows the hold line with no blank line does not drop #6521 and does not add a related issue. All 14 open bodies that hold the line today name #6521. test_the_hold_line_names_its_hold_issue_and_not_the_tracker, test_the_reason_of_a_held_item_names_the_hold_issue_and_no_link
Minor: links in list items and after Merge first - dan-petty/homelab#333 waits for this item., - dan-petty/devops-cli#4517 is the parent tracker., the merge-order note of #6441 and #5135 comes after this item. name no blocker. Merge first: dan-petty/devops-cli#4835, child 8 of dan-petty/devops-cli#4833. names #4835 only. test_body_dependencies_names_no_link_in_a_list_item_or_a_blocker_line
Minor: design.md says that a stopped intake run finds its issue Done in 1143d3c (NewCandidate.filed_bodies). I kept it. test_a_retried_candidate_finds_the_issue_a_run_filed_with_the_old_source_line (of 1143d3c)
Minor: base specs and the stage prompt say "each issue of the Dependencies section" Done in dfb8080. The roadmap-refine/waits spec, its archived delta, design.md, proposal.md, tasks.md (task 5.5) and docs/roadmap/refine.md and stage.md now state the rule of d3d6f00. devops openspec check

Checks on d3d6f00 in the devcontainer: devops ci test on tests/roadmap/refine, tests/roadmap/intake, the dependency, stage selection, implement selection, consolidate and stage plan tests (1089 passed), ruff, mypy of refine.py, and devops openspec check pass. The three new tests of test_roadmap_refine_dependencies.py fail at 12a2cd8.

@dan-petty
dan-petty merged commit 59fc325 into main Nov 20, 2026
29 checks passed
@dan-petty
dan-petty deleted the fix/6451-read-only-blockers-in-a-dependencies branch November 20, 2026 15:35
dan-petty pushed a commit that referenced this pull request Nov 20, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.183.0](v0.182.3...v0.183.0)
(2026-11-20)


### Features

* **research:** Map a pinned Action commit to its release
([#6490](#6490))
([d27abc8](d27abc8))


### Bug Fixes

* **roadmap:** Name a dependency cycle in the roadmap jobs
([#6505](#6505))
([494de4f](494de4f))
* **roadmap:** Read only blockers under Dependencies
([#6514](#6514))
([59fc325](59fc325))


### Code Refactoring

* **docker:** build the runner image FROM devtools with no tool install
([#6513](#6513))
([a165aaa](a165aaa)),
closes [#4361](#4361)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): read only blockers in a Dependencies section

1 participant