Skip to content

docs(adr): file the issue-field spike for issue types and issue fields #6160

Open

Description

@devops-cli-service

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

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

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.py runs.
  • 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 --strict runs.
  • 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-petty is 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 date line 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.md allows 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.
  • Where should the roadmap-state record point for the spike?: docs/ROADMAP_WORKFLOW.md links 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]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    ContributorAuthor
  2. added
    type/docs
    source/agent
    status/new
    value/medium
    effort/medium
    scope/adr
    priority/p2-medium
    on Nov 17, 2026
  3. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: Who creates and installs the test GitHub App and the user repository? (a person decides)

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  4. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the alternatives check records a verdict. See the section Proposed design of the body.

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

    effort/mediumpriority/p2-mediumscope/adrsource/agentstatus/newtype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions