Repository navigation
Description
Friction
ADR 0012 gives the word Release one meaning. A release is what release-please publishes from main. A milestone is a planning bucket and never a version.
The planner still calls its bucket a Release. The class, the settings, the store methods, the model fields and the test builder keep that name. Two meanings of one word invite the old mistake: that a bucket predicts a version. Step 12 of the ADR sequence ends with this rename.
Evidence
All counts come from git grep at commit f3b17488, the tip of release/v0.2.39, on 2026-10-22.
- Old names. The command in the acceptance criteria finds 299 lines in 34 files.
- 288 lines in 29 files are in
src,testsand.github. - 11 lines in 5 files are in
docs/TESTING.mdand the generated references. - The largest source files are
reprioritize.py(67 lines),config.py(15),memory_store.py(14),store.py(11) andgithub_store.py(11). All are insrc/devops_cli/roadmap. - The largest test files are
test_roadmap_store_contract.py(26),test_roadmap_config.py(19) andtest_roadmap_reprioritize.py(19).
- 288 lines in 29 files are in
- Settings.
RoadmapConfig(src/devops_cli/roadmap/config.py:45-68) definesrelease_cap,release_slots,release_credit_base,release_credit_per_delivered_itemandrelease_item_target. It also defines the propertyrelease_limit..github/roadmap.tomlsets four of them and listsrelease_slotsas a commented default.src/devops_cli/config/defaults.pyholds theDEFAULT_ROADMAP_RELEASE_*constants.- The model refuses unknown keys (
extra="forbid"). Everydevops roadmapcommand reads the file through the contents API at--ref(src/devops_cli/commands/roadmap.py:4).
- Stored state.
ItemField.RELEASE(src/devops_cli/roadmap/store.py:66) has the valueRelease. It is not a board field.BOARD_FIELDSleaves it out. Its docstring says that the board only mirrors the milestone.- It is a key in the
Job recordtext field of each card that a job placed. ThePendingmark names it too. - It appears on 93 lines in
srcandtests. The attributereleaseofItemfollows from it, becauseItem.field_valuereads the attribute that the lower-cased member name gives.
- The board.
.github/project-template.jsondefines no field namedRelease. The viewRoadmap Timelinealready groups byMilestone(line 65).- The word Release stays in four text lines.
- Line 3 is the board name.
- Line 25 is the P2 option description.
- Line 50 is the
Job recorddescription. - Line 68 is the view description.
devops gh projectfinds the live board by the templatename, then byshort_name(src/devops_cli/github/projects.py:357). So line 3 must stay.
- The word Release stays in four text lines.
- Other places. The quota formula in
src/devops_cli/ai/instruction_generator.py:260names three old settings.src/devops_cli/lang/en/help.py:1129and:1244namerelease_capandrelease_slots. The buildermake_release(tests/support/builders.py:66) is named indocs/TESTING.md:110. - Names that stay. Some names count GitHub Releases, which release-please publishes. Examples are
get_release_cadence_metricsand the parameterrelease_limitinsrc/devops_cli/github/metrics.py. They keep the word.
Existing tool considered
This item builds no new capability. It renames names that exist.
- The open tool is
ast-grep. It is in thedevgroup ofpyproject.tomlasast-grep-cli==0.51.0(line 99). - It matches Python identifiers by syntax. A read-only run matched
release_capin fields, attributes, parameters and keyword arguments. - It reads no strings, comments or generated text. The
git grepof the acceptance criteria finds those. mypyandrufffind each identifier that the rewrite misses.ropeandlibcstrename with scope. Neither is a direct dependency of the project, so using one adds a dependency. This item does not need one.- Cost: ADR 0012 (What Stays Custom) gives no tokens or elapsed time for the planner steps. It counts about 150 net lines for the planner as a whole. This item adds no net lines except tests.
- The item carries its estimate before work starts: tokens to implement, maintain and fix, and elapsed time.
Proposed change
Rename the names below in src, tests, .github and the generated references. Keep no alias. The project is pre-1.0 and keeps no compatibility shim.
Other items delete or change some names before this item merges. This item renames what remains.
The table is a sample. The AST test of the acceptance criteria gives the full list. At f3b17488, 121 distinct names in src/devops_cli/roadmap contain release, in any letter case. This item renames each remaining name by the same rule: release becomes milestone. A name that means a GitHub Release leaves with the planner item that deletes the GitHub Release poll.
| Old name | New name |
|---|---|
Release (src/devops_cli/roadmap/store.py:232) |
Milestone |
ReleaseState, ReleaseWrite, ReleaseGrowth |
MilestoneState, MilestoneWrite, MilestoneGrowth |
in_release, find_release, items_by_release, open_releases, current_release, joined_release |
The same names, with milestone in place of release |
ItemField.RELEASE (value Release) |
ItemField.MILESTONE (value Milestone) |
The attribute release of Item, Candidate, Change and the GitHub payload models |
milestone |
ChangeKind.JOINED_RELEASE, ChangeKind.LEFT_RELEASE |
JOINED_MILESTONE, LEFT_MILESTONE |
The store methods releases, release, create_release, edit_release, close_release, delete_release, release_changes |
milestones, milestone, create_milestone, edit_milestone, close_milestone, delete_milestone, milestone_changes |
release_cap, release_slots, release_credit_base, release_credit_per_delivered_item, release_item_target, release_limit |
milestone_cap, milestone_slots, milestone_credit_base, milestone_credit_per_delivered_item, milestone_item_target, milestone_limit |
quota.release_credit |
quota.milestone_credit |
DEFAULT_ROADMAP_RELEASE_* |
DEFAULT_ROADMAP_MILESTONE_* |
make_release |
make_milestone |
The migration item (see Order and dependencies) removes delete_release from the store protocol and from the GitHub adapter. Only the in-memory store keeps it, so this item renames that one.
The workflow documentation item defines the glossary terms Milestone, Current milestone, Planned milestone, Milestone growth and Delivered. The planner item that creates date-titled milestones deletes the old terms. The names above follow the new terms. docs/TESTING.md says that a builder takes the name of its glossary term.
Change these files as well.
.github/roadmap.toml: rename the four set keys and the commented defaultrelease_slots. Keep every value, includingmilestone_cap = 16and its bridge comment.- Reword the comments of
.github/roadmap.tomlto say milestone. The comment ofplanning_horizonnames four versions today. After this item it names none. .github/project-template.json: change the text of lines 25, 50 and 68 to say milestone. Keep the boardname, the view names andgroup_by.src/devops_cli/lang/en/help.pyandsrc/devops_cli/ai/instruction_generator.py: change each string that names a renamed setting or identifier. The wording of the ship and branch sentences belongs to the planner items in the Order section.docs/TESTING.md:110: changemake_releasetomake_milestone.- Run
devops docs generate --sync-readme. It rewritesREADME.md,docs/CLI_REFERENCE.md,docs/MCP_TOOLS.mdanddocs/commands/roadmap.md.
Stored state: decide before work starts
ADR 0012 does not say what happens to the stored key Release. The key is the value of ItemField.RELEASE. The Pending mark also holds the required field release, and it lists Release in recorded, begun and written.
decode_job_record leaves out a key that it does not know. encode_job_record keeps that key (src/devops_cli/roadmap/github_store.py:908 and :926). After the rename, placed_by_person (src/devops_cli/roadmap/reprioritize.py:534) finds no key Milestone in an old record.
It then counts each item in a milestone as placed by a person. The jobs skip such an item when they place items (reprioritize.py:2007 and :2230). A Pending mark that holds the old names fails validation. _resumed (reprioritize.py:1422) catches the error, so the job does not resume that change.
The proposal is to rename the key and to ship no read shim, as the pre-1.0 rule asks. A person confirms this choice before work starts. The item records the choice in its change. The tests below pin it.
What it deletes
It deletes the old names and nothing else. It deletes no file and adds no alias.
It changes 299 lines in 34 files at f3b17488. This is a rename, so the net change in lines is zero.
Other items delete at least 16 of these lines first.
roadmap/close.py: 8 lines.roadmap/migrate.py: 5 lines.tests/test_roadmap_migrate.py: 1 line.commands/pr.py: 2 lines.
The item counts again when work starts.
Tests
Write the tests first. The first two fail on the old names.
tests/test_roadmap_config.py: the limit test usesmilestone_cap,milestone_slotsandmilestone_limit. The unknown-key test gains the caserelease_cap = 12, which fails and namesrelease_cap. The test of the committed file readsmilestone_*keys.tests/test_roadmap_github_store.py: a test shows thatdecode_job_recordleaves out the keyReleaseand thatencode_job_recordkeeps it. This pins the choice of no read shim.tests/test_roadmap_store_contract.py: a test shows that eachItemFieldmember names an attribute ofItem.tests/test_architectural_invariants.py: an AST test shows that no identifier insrc/devops_cli/roadmapcontainsrelease, in any letter case. If it finds a name that means a GitHub Release, stop and comment on this issue. Do not add an exemption.tests/test_roadmap_quota.py,tests/test_support_builders.pyand the other roadmap tests use the new names.
Order and dependencies
This item is the last of step 12 in the sequence of ADR 0012. The pull request targets main. It says Closes #<issue> for this issue and does not use Part of. Its title is the changelog entry.
Start this item after the old pipeline publishes v0.2.39, its last release. The ADR allows only inert work before then. These items merge first.
- feat(release): release-please opens the release pull request, topic pull requests target main, and its merge publishes #1861 (step 6): topic pull requests target
mainfrom then on. - "docs(workflow): the instructions describe trunk, derived versions and the release pull request" (step 9). It writes the glossary terms that the new names follow.
- "refactor(roadmap): a milestone is identified by its number and ordered by its due date, and its title is never parsed as a version".
- "refactor(roadmap): the planner creates date-titled milestones and closes a milestone when every issue in it is closed".
- "refactor(github): closing pull requests come from GitHub's closingIssuesReferences and the keyword parser goes".
- "refactor(roadmap): delete the one-time ADR 0001 roadmap migration".
- "refactor(pr): delete the Copilot pass budget and the review-thread filing command".
The ADR sets no order for two more items. This is a choice, not a coupling.
- "refactor(github): devops gh milestones commands take a title or a number and list by due date" merges first.
src/devops_cli/commands/gh.py:336calls the store methodrelease, which this item renames. - refactor(release)!: delete the bespoke release machinery, the roadmap close command and the changelog fragment code #1863 (step 10) merges first. Then the rename touches no file that refactor(release)!: delete the bespoke release machinery, the roadmap close command and the changelog fragment code #1863 deletes.
Group D3 of #1864 sets the time of the person-only rename of the open milestones.
Not in this item
- The setting
release_copilot_passes. The Copilot item above deletes it. - The setting
bucket_days. This item of the Order list adds it:- "refactor(roadmap): a milestone is identified by its number and ordered by its due date, and its title is never parsed as a version"
- The live board title. The template
namestays, and a person decides about the live board. - The wording of the ship and branch sentences in the help text. The planner items above rewrite it.
- Names that mean a GitHub Release.
Acceptance criteria
-
git grep -nE 'class (Release|ReleaseState|ReleaseWrite|ReleaseGrowth)\b|ItemField\.RELEASE|\b(in_release|find_release|items_by_release|open_releases|current_release|release_cap|release_slots|release_credit|release_credit_base|release_credit_per_delivered_item|release_item_target|make_release)\b|\.release_limit\b|def release_limit\b|DEFAULT_ROADMAP_RELEASE_' -- . ':!CHANGELOG.md' ':!docs/adr' ':!docs/agent'prints nothing. Atf3b17488it prints 299 lines. -
git grep -niE 'release' -- .github/roadmap.tomlprints nothing.parse_roadmap_configreads the file withmilestone_*keys only. - A test shows that
parse_roadmap_configrefuses a file withrelease_cap = 12and names the key. - A test shows that
decode_job_recordleaves out the keyReleaseand thatencode_job_recordkeeps it. - A test shows that each
ItemFieldmember names an attribute ofItem. - An AST test shows that no identifier in
src/devops_cli/roadmapcontainsrelease. -
.github/project-template.jsonkeeps itsname, its view names and itsgroup_byvalues. Lines 25, 50 and 68 say milestone. -
devops docs generate --sync-readmechanges nothing, anddevops docs checkpasses. -
uv run devops cipasses with at least 90 percent coverage. - Until feat(sdlc): an OpenSpec change folder is the record of every item, and readiness checks its archive #1847 merges, the pull request changes the task file of this issue. After it, the pull request archives its change folder as its last commit.
-
devops pr check-readinesspasses for the pull request.
The settings file keys and the stored key change names. Under Conventional Commits that is a breaking change. The author decides if the title takes ! and a BREAKING CHANGE: paragraph. With !, the next version raises the minor (ADR 0012, Versioning and Milestones).
Person-only steps
- Pending a person: confirm the choice for the stored key
Release(rename, no read shim) before work starts. - Pending a person: before the pull request merges, read the
Job recordfield of the cards on the board. Confirm that no card holds aPendingmark. - Pending a person: confirm on the live board that no custom field named
Releaseexists. The template and the code show none, but nobody read the live board. - Pending a person: before the roadmap Service runs again (chore(service): the roadmap service stays at 0 replicas, and its development is blocked, while its machine account is suspended #1562), check its image. The image must hold the merge commit of this item or a later one. The Service reads
.github/roadmap.tomlfrom the repository, andRoadmapConfigrefuses unknown keys. - Pending a person: rename the open milestones and give each a due date, as group D3 of chore(settings): the release App, the release environment, the squash settings and the required checks are in place #1864 says.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 22, 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 renames internal names and structures without adding new features.This change improves clarity and aligns with ADR 0012 but does not fix a bug or add a feature.The change improves the project's clarity and maintainability for users who interact with the roadmap.The change affects many files and requires renaming across source, tests, documentation, and configuration.dan-petty commentedon Oct 23, 2026
Delivered by #1952:
roadmap/store.pyhasclass Milestone, and noreleasename is left in the roadmap config or stores.