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 #2399

Description

@dan-petty

Problem or Motivation

The roadmap service moves to a GitHub App, devops-roadmap, that the personal account dan-petty owns and installs on its repositories (#1647). GitHub gives an App a "Projects" permission only at organization level (https://docs.github.com/en/rest/authentication/permissions-required-for-github-apps). So the App cannot read or write board 12, which dan-petty (type: User) owns.

Today every roadmap job needs that board:

  • An Item is an issue that has a card on the board, and Status, Priority, Value and Effort are the card's fields (join_items, src/devops_cli/roadmap/store.py:456-468; Item, :148-178).
  • The job record is the board's TEXT field Job record (CONST_GH_PROJECT_JOB_RECORD_FIELD), and a write refuses to run without it (require_job_record_field, store.py:445-453).
  • .github/roadmap.toml names the board (board = 12), and it has no default.
  • Intake's candidates are the open issues with no card, and the board items with no Priority.

ADR 0001 records that board fields hold status and priority.

Owner decisions (2026-10-28):

  • Private project boards need no support.
  • The roadmap does all its work when the board is not available to the repository.
  • Labels and milestones hold an Item's Status, Priority, Value and Effort. No roadmap job reads or writes the project board. The owner keeps the board as a personal view through label and milestone filters.

Proposed Solution & Architectural Design

  • An Item is an open or closed issue (not a pull request) of the repository. Its Status, Priority, Value and Effort come from one label in each family, and a job sets a field by replacing the family's label. The repository already has older priority/* and status/* labels. The design names the families and their values, and what happens to the old labels.
  • Intake's candidates are the open issues with no Priority label.
  • The job record moves to a place in the repository that a listing reads at no extra cost per Item, or at a stated cost. The design compares a hidden block in the issue body with a job-owned comment, and records the evidence.
  • The store, board_read.py, the board key, the Job record field check, and every board read and write in the roadmap jobs and metrics go. No board mirror and no board fallback stay.
  • A new ADR amends ADR 0001.
  • When the change is too large for one pull request, it becomes sub-issues, each with its own change.

Target Subsystem

Roadmap (src/devops_cli/roadmap/), roadmap metrics, .github/roadmap.toml, the documentation of the roadmap jobs.

Existing Tool Considered

GitHub issue labels and milestones are GitHub's repository-level classification and planning features. An App with the Issues permission reads and writes them on a user-owned repository, and the issue events already report labeled and unlabeled (ADR 0003). GitHub issue types and issue fields exist only for organizations. Nothing new is built. The change deletes the board code of the roadmap store and jobs.

Related

Acceptance criteria

  • With GitHub faked at the process edge and no board configured, intake, refine, run and the metrics read and write Items through labels and milestones only, and make no Projects request.
  • A label that a person sets is the Item's field value at the next read.
  • git grep -n "projectV2\|ProjectV2\|Job record" -- src/devops_cli/roadmap returns nothing.
  • uv run devops ci passes.

Proposed design

Problem statement

The roadmap service moves to a GitHub App that cannot access project boards owned by a personal account. Every roadmap job reads and writes the board for Item fields and the job record. The service must work without the board, using labels and milestones for Item fields and a repository-level location for the job record.

Acceptance criteria

  • Criterion 1: Intake, refine, run and the metrics read and write Items through labels and milestones only when no board is configured.
    Verification: Run the test suite with a faked GitHub API and no board configured. Assert no Projects API calls are made.
  • Criterion 2: A label that a person sets is the Item's field value at the next read.
    Verification: Set a label on an issue, then read the Item. Assert the field value matches the label.
  • Criterion 3: No board code remains in the roadmap source.
    Verification: git grep -n "projectV2|ProjectV2|Job record" -- src/devops_cli/roadmap returns nothing.
  • Criterion 4: The CI pipeline passes.
    Verification: uv run devops ci exits with code 0.

Key questions

  • What are the label families and their values, and what happens to the old labels?: The families are status/, priority/, value/, and effort/. The existing status/* and priority/* labels are kept and reused. The value/* and effort/* families are new. Status values: New, Ready, Started, Blocked, Not planned. Priority values: P0, P1, P2, P3. Value and Effort values: high, medium, low. (proposed) [sources: CONTEXT.md]
  • Where does the job record live?: The design compares a hidden block in the issue body with a job-owned comment and records the evidence. The record must be readable at no extra cost per Item, or at a stated cost. (proposed)
  • Does this fit in one pull request?: No. The change splits into sub-issues, each with its own change. (proposed)
  • Does the roadmap support private project boards?: No. The roadmap does not support private project boards. (proposed)
  • Does the roadmap work when the board is not available?: Yes. Every roadmap job works without the board. No board mirror or board fallback exists. (proposed)
  • What holds the Item's Status, Priority, Value, and Effort?: Labels and milestones. No roadmap job reads or writes the project board. (proposed)

Fit

Needs splitting into 3 items:

  1. Define label families, rewrite the store and model, relocate the job record, and delete all board code.
  2. Update intake, refine, run, and metrics to the new label-based model.
  3. Write the new ADR amending ADR 0001 and update the roadmap documentation.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/feature
    on Oct 28, 2026
  2. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Type: type/feature. The candidate introduces a new data model (labels and milestones) and removes the old one (project board), which is a feature-level architectural change.
    • Priority: P1-High. The roadmap service is at 0 replicas and cannot run until this and #1647 merge, so it blocks all roadmap work.
    • Value: High. It unblocks the entire roadmap service for all managed repositories and removes a hard dependency on an unavailable GitHub permission.
    • Effort: High. It touches the store, every roadmap job, metrics, config, ADRs, and requires new label families and a job-record migration.
    • Related: feat(service): the roadmap jobs act as a github app installation on an organization-owned board, so the service runs again without the suspended machine account #1647, which asks for a different change. Both items unblock the roadmap service; #1647 changes the App identity while this item changes the data model from board to labels and milestones.
  3. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    The proposal at bb46660 needs splitting into 3 items. A person splits the item into the items below, or replies in a comment or edits the body to keep one item, and the next refine round looks at the item again.

    1. Define label families, rewrite the store and model, relocate the job record, and delete all board code.
    2. Update intake, refine, run, and metrics to the new label-based model.
    3. Write the new ADR amending ADR 0001 and update the roadmap documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    source/agenttype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions