Skip to content

feat(roadmap): record the progress extensions an attempt used #7079

Backlog

Description

@devops-cli-service

Split from #5500.

ProblemThe issue asks for the progress extensions that an attempt used. The writer already uses extensions as an integer count for IMPLEMENT. A list or a second extensions key collides with the count.### Why deferredThe result line holds one name for each field. The existing extensions key is a count. The change needs a format for the names. It also needs a rule that keeps the count.### Acceptance criteria- The line states the progress extensions that an attempt used, or states a count and a separate list.- The existing extensions count for IMPLEMENT keeps its value and its key.- A test proves the format offline.- The change updates the roadmap-service-logs spec.

Proposed design

Problem statement

The result line of a roadmap attempt holds only the integer count extensions. It does not say which progress extensions the attempt used. A reader cannot tell which extensions ran. The change records the names next to the count. The count keeps its key and its value.

Acceptance criteria

Requirement: Names of the used extensions

The roadmap result line SHALL hold the names of the progress extensions that an attempt used, in the key extension_names.

Scenario: An attempt uses two extensions

  • WHEN A test builds the result line of an IMPLEMENT attempt that used the extensions lint and types
  • THEN The line holds extension_names as ["lint", "types"] and extensions as the integer 2.

Requirement: The count keeps its key and its value

The extensions key of the result line of IMPLEMENT MUST stay an integer count of the extensions used.

Scenario: An attempt uses no extension

  • WHEN A test builds the result line of an IMPLEMENT attempt that used no extension
  • THEN extensions is the integer 0 and extension_names is the empty list.

Requirement: Old result lines stay readable

The reader of the result line SHALL treat a missing extension_names key as an empty list.

Scenario: A line from an older run

  • WHEN A test parses a result line that holds extensions and no extension_names key
  • THEN The parsed names are the empty list and the parse raises no error.

Requirement: The roadmap-service-logs spec states the names field

The change MUST add the extension_names field and the unchanged extensions count to the roadmap-service-logs spec.

Scenario: The change validates

  • WHEN openspec validate --strict runs on the change
  • THEN The command exits 0 and the spec delta of roadmap-service-logs holds the requirement for extension_names.

Existing Tool Considered

No alternatives check has run. No open, maintained tool or library covers a field of the project's own roadmap result line, so the project builds the change itself: one new key in its result-line model, one reader rule and one spec delta. Written cost: about 15k tokens to build, keep and fix the change, and about 2 hours of elapsed time.

Key questions

  • Which key holds the names of the progress extensions that an attempt used, and how does the existing extensions count stay?: Add the key extension_names with a list of strings, and keep extensions as the integer count. The implement report takes both values from the same collection. (best practice) [sources: src/devops_cli/roadmap/implement/implement_report.py:367, src/devops_cli/roadmap/implement/implement_report.py:469, src/devops_cli/roadmap/job_result.py]
    • Chosen: New key extension_names with a list of strings. The result line keeps one name for each field, and the count keeps its key and its value.
    • Rejected: Turn extensions into an object with a count and a list. It breaks the extensions count key that the body requires to stay, and each reader of the count.
    • Rejected: Reuse extensions for the list and drop the count. The body requires the count to keep its key and its value.
    • Rejected: Add a second extensions key. JSON holds one value for one name, so the second key collides with the count.
  • Where does the result line get the extensions count today?: The implement report sets extensions at implement_report.py:367 and implement_report.py:469. The roadmap modules read the result line, such as job_result.py and job_grade_report.py. [sources: src/devops_cli/roadmap/implement/implement_report.py:367, src/devops_cli/roadmap/implement/implement_report.py:469, src/devops_cli/roadmap/job_result.py, src/devops_cli/roadmap/job_grade_report.py]
  • How does a reader treat a result line that an older run wrote with no names key?: The reader treats a missing extension_names key as an empty list. Old lines in Loki stay readable, and the format needs no migration. (best practice) [sources: src/devops_cli/roadmap/job_result.py]
    • Chosen: A missing key gives an empty list. Old result lines stay valid, and the change needs no migration of stored lines.
    • Rejected: Require the key on each line. Old lines have no key, so the reader would fail on each one of them.
  • Does the job grade change with the new names field?: No. The job grade report keeps computing each grade from the extensions count, so no grade changes. (best practice) [sources: src/devops_cli/roadmap/job_grade_report.py, src/devops_cli/roadmap/job_result.py]
    • Chosen: Keep the grade on the count. The count keeps its value, so each grade stays the same.
    • Rejected: Grade on the names list. It changes no grade and adds no fact that the count lacks.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/feature
    source/agent
    scope/roadmap
    status/new
    value/medium
    on Nov 25, 2026
  2. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    ContributorAuthor
  3. added
    effort/medium
    priority/p2-medium
    on Nov 25, 2026
  4. devops-cli-service commented on Nov 25, 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/roadmapsource/agentstatus/newtype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions