Repository navigation
Description
Split from #5235.
The roadmap-state record defers issue types and issue fields until a spike. ADR 0016 rejected them because they existed only for organizations, and that premise has been false since 2026-11-11. The spike must test a GitHub App on a user repository: it must write an issue field and read it back, observe the webhook event, and read the board view. The spike is deferred because it needs a GitHub App, a user repository and an outside API behavior; the docs pull request cannot test it. Acceptance criteria: the spike records the App permissions, the write and read-back result, the webhook event, and the board view. It states whether issue types and fields can replace or supplement the labels. It links the result from the roadmap-state record.
Proposed design
Problem statement
ADR 0016 rejected GitHub issue types and issue fields because they existed only for organizations, and dan-petty is a user. That premise is out of date since 2026-11-11. This change records the correction in ADR 0016 and points the roadmap-state record at the filed spike. The spike itself is deferred because it needs a GitHub App, a user repository and outside API behavior.
Acceptance criteria
Requirement: ADR 0016 records the stale premise
The Status History of ADR 0016 MUST gain one dated Fact out of date line that names #6160 and says the organization-only premise is out of date since 2026-11-11.
Scenario: The correction line is present
- WHEN A test reads the Status History of
docs/adr/0016-labels-hold-the-roadmap-items-fields.md. - THEN The test finds a line that starts
Fact out of date:, holds the date, names docs(adr): file the issue-field spike for issue types and issue fields #6160 and says the organization-only premise is out of date since 2026-11-11.
Requirement: The roadmap workflow links the spike
docs/ROADMAP_WORKFLOW.md SHALL link #6160 from the paragraph that says an Item's state is in labels.
Scenario: The roadmap workflow links the spike issue
- WHEN A test reads
docs/ROADMAP_WORKFLOW.md. - THEN The test finds a link to docs(adr): file the issue-field spike for issue types and issue fields #6160 in the paragraph that names ADR 0016.
Requirement: The ADR record checks pass
The change MUST leave the body hash of ADR 0016 and the index of docs/adr/README.md unchanged.
Scenario: The ADR record checks pass
- WHEN
uv run devops ci test tests/invariants/test_adr_records.pyruns. - THEN The command passes with no body-hash or index problem.
Requirement: The docs site builds with the correction
The docs site build MUST pass with the ADR correction and the roadmap link.
Scenario: The docs site build passes
- WHEN
uv run devops docs site build --strictruns. - THEN The command passes, so the ADR page and the roadmap workflow page build and each link resolves.
Existing Tool Considered
No alternatives check has run. GitHub CLI (gh), run as uv run devops gh api, is the open, maintained tool for the GitHub REST and GraphQL calls that the deferred spike needs. It lacks a high-level issue-field or issue-type command, and devops gh app-token mints an installation token only for renovate. The spike must call the raw endpoints and use the test App's key and IDs.
Key questions
- What does ADR 0016 record about issue types and issue fields?: ADR 0016 rejects them because they exist only for organizations, and
dan-pettyis a user. [sources: docs/adr/0016-labels-hold-the-roadmap-items-fields.md] - How should ADR 0016 record that the organization-only premise is out of date?: Add one dated
Fact out of dateline to the Status History of ADR 0016. The line names docs(adr): file the issue-field spike for issue types and issue fields #6160 and states that the premise is out of date since 2026-11-11. Do not change the ADR body. (best practice) [sources: docs/adr/0016-labels-hold-the-roadmap-items-fields.md, docs/adr/README.md]- Chosen: A dated Status History line.
docs/adr/README.mdallows a dated fact line, and the ADR body hash stays unchanged. - Rejected: An edit to the ADR body. The body hash is frozen for an accepted ADR, and an edit changes it.
- Rejected: A new ADR. The spike has not decided a new design, so no new decision exists yet.
- Chosen: A dated Status History line.
- Where should the roadmap-state record point for the spike?:
docs/ROADMAP_WORKFLOW.mdlinks docs(adr): file the issue-field spike for issue types and issue fields #6160 in the paragraph that says an Item's state is in labels. The deferred spike issue adds the result link when it finishes. (best practice) [sources: docs/ROADMAP_WORKFLOW.md, docs/adr/0016-labels-hold-the-roadmap-items-fields.md]- Chosen: Link docs(adr): file the issue-field spike for issue types and issue fields #6160 now. The issue URL is stable and exists before the deferred spike runs.
- Rejected: Link a new record page. The page would be empty or broken until the deferred spike records its result.
- Rejected: Wait to link until the spike finishes. The correction must point to the filed spike now.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 17, 2026
Both concern board and issue fields, but #999 refactors how board fields are written while the candidate files a spike to test whether issue fields can replace labels.devops-cli-service commentedon Nov 18, 2026
Owner question: Who creates and installs the test GitHub App and the user repository? (a person decides)
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 21, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.