Skip to content

feat(roadmap): labels and milestones hold each item's status, priority, value and effort, and no roadmap job reads or writes the project board - #2435

Merged
dan-petty merged 2 commits into
mainfrom
feat/2399-roadmap-labels
Oct 28, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/2399-roadmap-labels

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The roadmap Service acts as a GitHub App that the personal account dan-petty owns (ADR 0015, #1647), and an App gets the "Projects" permission only at organization level, so it cannot reach a board that a user owns. Labels and milestones now hold each roadmap Item's Status, Priority, Value and Effort, and no roadmap job reads or writes a project board (ADR 0016, which amends ADR 0001, 0002 and 0003).

  • Each field is one label family: status/new, status/ready, status/in-progress, status/in-review, status/blocked; priority/p0-critical to priority/p3-low; value/*; effort/*. The values keep the names of the board options. A closed issue is done, so no label holds Done. .github/labels.yml declares the families.
  • An Item is an issue that holds a priority/* label. A Candidate is an open issue that holds none. Intake places a candidate with labels and sets Priority last.
  • A job sets a field with one PATCH of the issue that replaces the family's labels and writes the job record. The job record is a hidden block at the end of the issue body (<!-- devops-roadmap-record {...} -->); the body that the jobs read has no block, and a body write keeps it. A job still refuses to write a field that a person changed since it read the issue (RoadmapItemChangedError, ADR 0002).
  • The board store, .github/roadmap.toml and its reader, add_item, the card reads, restores and edits, the board filters, the GraphQL budget probe and spend line, and the Service's pause after a board budget refusal are deleted. The Projects reads that devops gh project uses move to src/devops_cli/github/project_read.py.
  • devops roadmap refine, run and return lose --ref. devops pr check-readiness blocks a pull request whose one issue holds no priority/* label. devops gh project reconcile drops its "awaiting intake" line, and devops gh issues triage drops its "Missing Priority" row. The project template drops the Job record field.

Closes #2399

Change: openspec/changes/archive/2026-10-28-2399-roadmap-labels/

…roadmap job reads the project board

Labels hold each Item's Status, Priority, Value and Effort, a hidden block of
the issue body holds the job record, and the roadmap store, its jobs and their
metrics send no Projects request (ADR 0015).

Refs #2399
@dan-petty

Copy link
Copy Markdown
Owner Author

Verification on the branch, rebased onto origin/main at 19412fa:

  • uv run devops ci: every step passes. The tests took 8m 50s on a loaded devcontainer; the CI runner gives the time that counts.
  • uv run devops ci fail-to-pass --base origin/main: 128 tests fail on the base and pass on the branch.
  • git grep -n "projectV2\|ProjectV2\|Job record" -- src/devops_cli/roadmap returns nothing.

Steps for a person when this merges (the roadmap Service stays at 0 replicas until then):

  1. Run devops gh labels sync on each managed repository, so that the four label families exist with their colors.
  2. Run the one-time migration, a scratch script that is not in this pull request. Its dry run, on 2026-10-28, for dan-petty/devops-cli: 208 open issues on board 12 change, 779 labels to add, 17 labels to remove where the board value and the label differ (6 status/blocked, 1 status/in-progress, 8 priority/p2-medium, 2 priority/p3-low; the board value wins), and 192 card job records to move into the issue body. dan-petty/homelab: 1 issue, 3 labels, 1 record. The other 6 managed repositories have no open issue on their boards.
  3. Delete the old labels: priority/high, priority/medium, status/done, status/triage and status/ready-to-merge in dan-petty/devops-cli, and status/triage and status/ready-to-merge in the other 7 repositories.
  4. Delete .github/roadmap.toml from the other managed repositories, and the Job record field from board 12.

Until step 2 runs, devops pr check-readiness blocks each pull request whose issue holds no priority/* label, this one too (#2399 holds none yet).

@dan-petty
dan-petty marked this pull request as ready for review October 28, 2026 15:58
@dan-petty
dan-petty merged commit 84f02a1 into main Oct 28, 2026
16 checks passed
@dan-petty
dan-petty deleted the feat/2399-roadmap-labels branch October 28, 2026 15:59
dan-petty pushed a commit that referenced this pull request Oct 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.9.0](v0.8.3...v0.9.0)
(2026-10-28)


### Features

* **ai:** observe the Ollama slot wait by priority and chart its p95
([#2404](#2404))
([ffeeda4](ffeeda4))
* **github:** send GitHub request, throttle and GraphQL point metrics,
and show them on the devops-cli dashboard
([#2406](#2406))
([bded64b](bded64b))
* **k8s:** gpu row panels for clock-event reasons, power against the
enforced limit and pcie throughput
([#2409](#2409))
([21f023c](21f023c)),
closes [#821](#821)
* **review:** a review session records its head commit and clean tree,
and says whether it is on merged code
([#2434](#2434))
([8b4ed46](8b4ed46))
* **review:** an issue filed from a review finding carries its
fingerprint, and the review leaves out a finding that an issue already
carries ([#2428](#2428))
([acace03](acace03))
* **review:** the feedback export counts each review subject once and
keeps every human verdict
([#2417](#2417))
([73d1807](73d1807))
* **roadmap:** act as GitHub App devops-roadmap instead of a machine
account ([#2411](#2411))
([d739a47](d739a47)),
closes [#1647](#1647)
* **roadmap:** labels and milestones hold each item's status, priority,
value and effort, and no roadmap job reads or writes the project board
([#2435](#2435))
([84f02a1](84f02a1)),
closes [#2399](#2399)
* **roadmap:** refine investigates open questions with code and web
tools and decides design questions by the best practice
([#2410](#2410))
([890e228](890e228)),
closes [#2398](#2398)
* **telemetry:** count embedding cache lookups and send every metric
through a declared instrument
([#2416](#2416))
([19412fa](19412fa))


### Bug Fixes

* **git:** ignore missing files when measuring directory size during
reclaim ([#2438](#2438))
([4226904](4226904))
* **security:** scan all namespaces with Popeye when no namespace is
given ([#2436](#2436))
([4d5f789](4d5f789))
* **security:** scan_uv_audit runs a uv audit adapter that audits the
lockfile as it is
([#2446](#2446))
([0b2d005](0b2d005)),
closes [#2106](#2106)

---
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>
dan-petty added a commit that referenced this pull request Oct 28, 2026
…-cli-service and say what the Service still waits on (#2458)

The owner made the roadmap Service's GitHub App as `devops-cli-service`,
with read and write on every repository permission, for planned
repository-management work. The documents still named it
`devops-roadmap`, listed only the permissions the roadmap jobs need, and
said that the Service waits on the item that moves the roadmap state to
labels, which #2435 merged.

- ADR 0015, `k8s/README.md`, `k8s/devops/configmap.example.yaml` and two
knowledge-base entries name the App `devops-cli-service`, and its bot
login `devops-cli-service[bot]`.
- ADR 0015 gets an amendment line. It lists the permissions the roadmap
jobs need and the owner's broader grant, and its consequences record the
risk: the key can change repository settings, Actions secrets and
variables, environments and workflows, which AGENTS.md leaves to a
person.
- The "Roadmap service" note says that the Service waits on the one-time
move of the board's values to labels and on the App's setup.

No code changes: the code reads the App's name from
`service.github_app.slug`.

Closes #2454
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.

feat(roadmap): labels and milestones hold each item's status, priority, value and effort, and no roadmap job reads or writes the project board

1 participant