Skip to content

feat(research): map pins to OSV names and list rendered chart images #3932

Closed

Description

@dan-petty

Problem

devops research inventory (#3896) lists the pins of the repository from its files. Each component has a kind, an ecosystem, a name, a version, a file and a line. It has no purl, no upstream repository and no OSV name. It does not list pins that live outside the repository. It does not list the images that Helm renders from a chart, because that render fetches the chart over the network. The next steps of the research agent (#3898 advisories, #3907 releases) need these fields to query a source.

Expected

  • The file .devops/research-watch.toml maps a component to its OSV ecosystem and name, and lists extra pins that live outside the repository (for example the node OS and the NVIDIA driver). The inventory reads it. A component with no mapping keeps the ecosystem unknown and stays counted.
  • Each component has a purl or registry reference and the upstream repository when the pin or the mapping shows it.
  • A separate, opt-in step lists the images in the rendered Argo CD Applications, with the renderer of devops k8s image-pins. The default inventory still makes no network request.

Acceptance criteria

  • A test that fails on the base: a component named in the mapping file gets its OSV ecosystem and name, and an extra pin of the file appears in the list.
  • A test: a pin with no mapping appears with ecosystem unknown and is counted.
  • A test: the default inventory makes no network request and starts no program.
  • A test: the opt-in render lists an image that only the rendered chart names, with a fake for the renderer.
  • No private host name, private address or device path is in the fixtures or the mapping file.
  • The command is in the CLI reference (devops docs generate --sync-readme) and the settings table if it adds a setting.

Existing tool considered

tomllib, packageurl-python for the purl (check that it is maintained before use), and the renderer of devops k8s image-pins. Renovate extracts the same pins but gives no list that code can read.

Related

Follows #3896. Used by #3898 and #3907.

Proposed design

Problem statement

The research inventory lists repository pins but lacks OSV names, purls and upstream repositories. It does not list external pins or images from rendered Helm charts. The advisory and release research steps need these fields, and the default inventory must stay offline.

Acceptance criteria

Requirement: Mapped OSV identity

The inventory SHALL read .devops/research-watch.toml and SHALL set the OSV ecosystem and name of a component from the [[watch]] entry that names it when the entry gives them.

Scenario: Mapped component

  • WHEN The mapping file names a component by its inventory ecosystem and name and gives its OSV ecosystem and name, and the inventory reads a matching pin.
  • THEN The component has the mapped OSV ecosystem and name and the component count includes it.

Requirement: Unmapped component

The inventory SHALL keep the ecosystem unknown for a component that no mapping entry names and SHALL count it.

Scenario: Unmapped pin

  • WHEN The inventory reads a pin that no mapping entry names and whose reader gives no ecosystem.
  • THEN The component appears with ecosystem unknown, an empty OSV name, and the component count includes it.

Requirement: Extra pin

The inventory SHALL list each pin that the mapping file declares in a [[pin]] entry.

Scenario: External pin

  • WHEN The mapping file declares an extra pin with a kind, a name and a version.
  • THEN The inventory lists that pin with the declared values and the file external and line 0.

Requirement: Package purl

The inventory SHALL build a purl with packageurl-python for a package or release component when its purl type, name and version allow one.

Scenario: Package purl

  • WHEN A package pin has a known purl type, name and version.
  • THEN The component has a purl that PackageURL.from_string parses and that carries the same type, name and version.

Requirement: Registry reference

The inventory SHALL keep the registry reference of each image or chart component.

Scenario: Image registry reference

  • WHEN An image pin has a registry reference.
  • THEN The component has that registry reference.

Requirement: Upstream repository

The inventory SHALL set the upstream repository of a component from its pin or its mapping entry when either provides one.

Scenario: Mapped repository

  • WHEN A pin or its mapping entry gives an upstream repository.
  • THEN The component has that repository value.

Requirement: Offline default

The default inventory run SHALL make no network request and SHALL start no program.

Scenario: Default run

  • WHEN A test runs the inventory without the opt-in render option.
  • THEN No socket connection and no subprocess starts.

Requirement: Opt-in render

The inventory SHALL list an image from the rendered Argo CD Applications when the opt-in render option is set.

Scenario: Rendered image

  • WHEN The opt-in render option is set and a fake renderer returns an image that only a rendered chart names.
  • THEN The inventory lists that image and calls the renderer once.

Requirement: Public fixtures

The fixtures and the mapping file MUST contain no private host name, private address or device path.

Scenario: Fixture scan

  • WHEN A test scans the fixtures and the mapping file.
  • THEN It finds no private host name, RFC 1918 address, loopback address or device path.

Requirement: CLI reference

The CLI reference SHALL document devops research inventory and its opt-in render option, and the settings table SHALL gain a row only if the change adds a setting.

Scenario: Generated reference

  • WHEN devops docs generate --sync-readme runs.
  • THEN The CLI reference lists devops research inventory and --render, and no settings row appears because the change adds no setting.

Existing Tool Considered

No alternatives check has run for the item. packageurl-python 0.17.6 (MIT, latest commit 2026-03-11) covers purl construction, tomllib covers TOML reading, and collect_image_pins of devops k8s image-pins covers the rendered images. They lack the mapping schema, the extra-pin reader and the opt-in render adapter. This change builds that glue: about 15k tokens to build, 3k to keep and fix, and 2 days elapsed.

Key questions

  • Where do the mapping and extra pins live?: Extend .devops/research-watch.toml. A [[watch]] entry names a component by its inventory ecosystem and name, gives its upstream repo, and may give osv_ecosystem, osv_name and purl. A [[pin]] entry declares an extra pin with kind, name, version and the optional same fields. (best practice) [sources: .devops/research-watch.toml:25, src/devops_cli/research/watch.py:27, src/devops_cli/research/watch.py:33, src/devops_cli/research/models.py:41]
    • Rejected: A new TOML file. It splits one inventory source and can drift from the watch list.
    • Chosen: Extend .devops/research-watch.toml. The file already maps a component to its ecosystem, name and repository for advisories, and one file keeps the two steps in sync.
    • Rejected: Environment variables. They are hard to review and test.
  • How does inventory match a pin to a mapping entry?: Match by the component's ecosystem and name, as WatchList.entry_of does. If no entry matches, the component keeps its own ecosystem, unknown when the reader cannot name one, and its own name. (best practice) [sources: src/devops_cli/research/watch.py:51, .devops/research-watch.toml:9, tests/research/test_watch_list.py:33]
    • Chosen: Match by ecosystem and name. The watch list keys on the inventory's ecosystem and name, and entry_of already looks up that pair.
    • Rejected: Match by name and kind. The watch list has no kind, and an image and a chart with the same name already differ in ecosystem.
    • Rejected: Match by file and line. A pin moves and an external pin has no file.
  • What fields does an extra pin use?: A [[pin]] entry has kind, name, version, and optional ecosystem, osv_ecosystem, osv_name, repo and purl. It appears with file = "external" and line = 0. (best practice) [sources: .devops/research-watch.toml:25, src/devops_cli/research/watch.py:33, src/devops_cli/research/models.py:41]
    • Rejected: Infer external pins from the host. It needs a network or host probe and breaks the offline default.
    • Chosen: Declare explicit [[pin]] entries. It is reviewable, testable and offline.
    • Rejected: Read a separate file. It adds a second source to keep in sync.
  • Which library builds purls?: Use packageurl-python 0.17.6. It is MIT-licensed and maintained: the repository's latest commit is 2026-03-11, and PyPI lists 0.17.6 (fetched 2026-11-08). Its PackageURL class builds and parses purls. (best practice) [sources: https://github.com/package-url/packageurl-python, https://pypi.org/project/packageurl-python/]
    • Chosen: packageurl-python. It is an open, maintained implementation of the purl spec with a builder and a parser, so the change adds it to pyproject.toml and uv.lock.
    • Rejected: A hand-written purl formatter. It must reimplement type rules and percent-encoding.
    • Rejected: No purl; registry reference only. It does not meet the purl requirement for package pins.
  • How does the opt-in render get images?: Add --render to devops research inventory. It calls collect_image_pins from src/devops_cli/k8s/image_pins.py and turns each rendered image into a component. The default path does not call it. (best practice) [sources: src/devops_cli/k8s/image_pins.py:270, tests/k8s/test_image_pins.py:18]
    • Rejected: A separate command. It adds a second command and a second entry point for one inventory.
    • Chosen: A --render flag. It is opt-in and keeps one command.
    • Rejected: Always render. It makes the default inventory use the network and start helm.
  • What source gives the upstream repository?: Use repo from the watch entry or the extra pin. Do not query a registry or an API. (best practice) [sources: .devops/research-watch.toml:25, src/devops_cli/research/watch.py:40]
    • Rejected: Query the registry or API. It needs a network request and breaks the offline default.
    • Chosen: Use the mapping repo field. It is local and already maintained for advisories.
    • Rejected: Infer the repository from the image name. It is unreliable and can name a private host.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Alternatives check of 2026-11-09: partly.
Tool: package-url/packageurl-python (https://github.com/package-url/packageurl-python), not stated, last activity 2026-03-11, maintained.

Activity

  1. added
    source/agent
    type/feature
    status/new
    value/medium
    effort/medium
    on Nov 7, 2026
  2. dan-petty commented on Nov 7, 2026

    @dan-petty
    OwnerAuthor

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

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: none. The title has the scope research, and .github/labels.yml declares no scope/research label. Add the label to the file to give the scope to this item.
    • Priority: P2-Medium. It unblocks #3898 and #3907 but does not fix a defect or security gap, so it is not P1.
    • Value: Medium. It adds OSV names and rendered images that the advisory and release agents need, but the base listing in #3896 already covers most pins.
    • Effort: Medium. It requires a new TOML mapping file, purl resolution logic, an opt-in render step, and four distinct tests with a fake renderer.
    • Related: feat(research): list every pin of the project #3896, which asks for a different change. Both work on the 'devops research inventory' command; #3896 lists pins, the candidate adds OSV name mapping, extra external pins, and an opt-in rendered-chart image step.
  3. added
    priority/p2-medium
    on Nov 7, 2026
  4. added
    status/ready
    and removed
    status/new
    on Nov 8, 2026
  5. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at 4f3c45c (see proposed design in issue body).

  6. devops-cli-service commented on Nov 9, 2026

    @devops-cli-service
    Contributor

    Alternatives check: partly

    Reason: The searches found packageurl-python, an open and maintained library that builds and parses purls, which covers the issue's purl requirement for package pins. No tool covers the rest of the need: reading the .devops/research-watch.toml mapping and extra [[pin]] entries, assigning OSV ecosystem/name, carrying an upstream repository, or the opt-in render of Argo CD Applications to list chart images.

    Tool: package-url/packageurl-python (https://github.com/package-url/packageurl-python)

    • License: not stated
    • Last activity: 2026-03-11
    • Maintained: yes

    Covers:

    • Builds a purl from a type, name and version
    • Parses a purl back into its fields (PackageURL.from_string)
    • Applies the purl type rules and percent-encoding a hand-written formatter would have to reimplement

    Lacks:

    • No reader for the .devops/research-watch.toml [[watch]] mapping schema
    • No support for declared external pins ([[pin]] entries with file external and line 0)
    • No mapping of a repository pin to an OSV ecosystem and name
    • No upstream repository field or registry reference handling
    • No opt-in render of Argo CD Applications or Helm charts to list images; it makes no inventory

    Tools considered:

    Searches run:

    • OSV-Scanner lockfile dependencies query OSV ecosystem package name, results: 5
    • packageurl-python purl builder parser library, results: 5
    • "osv-scanner" lockfile scanning tool GitHub, results: 5
    • "packageurl-python" PyPI, results: 5
    • osv.dev API query package ecosystem name version, results: 5
    • packageurl python github package-url, results: 5
    • osv-scanner, results: 5
    • syft SBOM generate purl images helm chart, results: 5

    Sources:

    Checked on 2026-11-09. A person decides what this means for the item. The check changes no label and closes no issue.

  7. added
    owner/service
    on Nov 18, 2026
  8. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    Contributor

    Plan state: branch feat/3932-map-pins-to-osv-names-and, draft pull request #6257. The pull request plans the item and closes no issue. The stage job and the step fix-plan edit this comment, and a comment of each run tells what the run did.

    The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:

    1. Read the OSV identity and the extra pins of the watch list: 26254 tokens
    2. Map each component to its OSV identity, purl and registry reference: 34202 tokens
    3. List the rendered images of the Applications when the option is set: 27088 tokens
    4. Add the render option to the inventory command and its tool description: 26110 tokens
    5. Declare the OSV names and the pins outside the repository: 20263 tokens
    6. Regenerate the CLI reference, the command page and the MCP tool list: 28907 tokens

    A model review of the plan found these points. They stop no draft, and a person judges them:

    • major missing_path at tasks (4): Group 4 rewrites HELP.research.inventory, which is also the MCP tool description of research_inventory, but the plan changes no MCP listing snapshot; test_the_tool_listing_matches_the_snapshot keeps the old description and fails. Evidence: ""description": "List every pin of the project as a typed component: Python packages, tools, container images, GitHub Actions, Helm charts and Terraform providers. It reads files only.","
    • major missing_path at tasks (6): Group 6 commits only docs/CLI_REFERENCE.md and docs/commands/research.md, but devops docs generate also rewrites docs/MCP_TOOLS.md, which holds the changed help text; the committed page stays stale and uv run devops ci docs fails. Evidence: "List every pin of the project as a typed component: Python packages, tools, container images, GitHub Actions, Helm charts and Terraform providers. It reads files only."
    • major spec_delta_wrong at spec research-inventory (Unmapped component): The delta adds the requirement Unmapped component, which repeats the base requirement A pin with no ecosystem is listed and counted: both keep the ecosystem unknown and count it. The delta should modify the base requirement instead of adding a duplicate. Evidence: "A component that the reader cannot map to a registry SHALL have the ecosystem unknown. The summary SHALL count it in unknown, and the total SHALL include it."
    • minor spec_delta_wrong at spec research-inventory (The reader reaches nothing outside the files): The modified requirement keeps the name The reader reaches nothing outside the files while its new text lets the opt-in render open a connection and start helm, and the delta has no renamed entry for it. Evidence: "The inventory SHALL start no program and open no network connection unless the opt-in render option of devops research inventory is set and the run is not a dry run."
    • minor spec_delta_wrong at spec research-inventory (Opt-in render): The scenario's WHEN uses a fake renderer, but its THEN says renderer_for gives the image; no test with a fake can assert that part, though it can assert the listing and the fake call count. Evidence: "renderer_for gives that image, mapped_inventory lists it as a container image at the file rendered and line 0, and the fake ran once"
    • minor contrived_test at tasks (3): The test asserts that renderer_for was never called, but mapped_inventory never calls it; the command builds the renderer, so the assertion patches a function outside the tested path and passes whatever the code does. Evidence: "asserts that mapped_inventory lists the same components and that renderer_for was never called"
    • minor false_premise at proposal (feasibility): The plan says collect_image_pins resolves each image in its registry, but that function only renders and sorts the images; resolve_image_pins does the resolution, and no task needs the false fact. Evidence: "it renders each chart with helm, reads a git source of another repository and resolves each image in its registry"
    • minor other at design (decisions): The plan keeps the dry-run class no-external-request and says it stays true, but that class names a command that makes no network or external process call, and --render makes both; the class should be request-plan with a --dry-run option. Evidence: "no-external-request: The command makes no network, cluster, model, or external process calls and executes normally in dry-run mode."
  9. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    Contributor

    The stage job staged the plan of draft pull request #6257. The plan state comment of #6257 holds the branch, the task groups and the findings.

    The runs of the planner and the review made 120 model request(s), and used 9104805 input tokens and 279045 output tokens. The tool calls, in order:

    1. read_file({"path":"src/devops_cli/research/models.py"})
    2. file_symbols({"path":"src/devops_cli/research/inventory.py"})
    3. read_spec({"capability":"research-inventory"})
    4. read_file({"path":"src/devops_cli/research/inventory.py"})
    5. read_file({"path":"src/devops_cli/commands/research.py"})
    6. read_file({"path":"src/devops_cli/k8s/image_pins.py","start_line":240,"end_line":330})
    7. file_symbols({"path":"tests/research/test_inventory.py"})
    8. file_symbols({"path":"src/devops_cli/research/k8s_pins.py"})
    9. read_file({"path":"tests/research/test_inventory.py","start_line":1,"end_line":80})
    10. file_symbols({"path":"src/devops_cli/k8s/image_pins.py"})
    11. read_file({"end_line":100,"path":"src/devops_cli/k8s/image_pins.py","start_line":55})
    12. read_file({"path":"src/devops_cli/research/k8s_pins.py"})
    13. read_file({"path":"src/devops_cli/research/container_pins.py"})
    14. read_file({"path":"src/devops_cli/commands/k8s/image_pins.py"})
    15. search_code({"text":"nvidia"})
    16. search_code({"text":"packageurl"})
    17. read_file({"path":"tests/commands/test_research_inventory.py"})
    18. list_files({"directory":"tests/fixtures/research/repo"})
    19. search_code({"text":"research-watch.toml"})
    20. read_spec({"capability":"docs-cli-reference"})
    21. read_file({"path":"tests/research/test_watch_list.py"})
    22. search_code({"text":"def split_image"})
    23. search_code({"text":"talos"})
    24. search_code({"text":"ubuntu"})
    25. read_file({"path":"src/devops_cli/research/files.py","start_line":40,"end_line":80})
    26. read_spec({"capability":"research-inventory","requirement":"The reader reaches nothing outside the files"})
    27. read_spec({"capability":"research-inventory","requirement":"The inventory lists each pin as a typed component"})
    28. read_file({"path":"src/devops_cli/k8s/image_pins.py","start_line":326,"end_line":380})
    29. search_code({"text":"def image_reference"})
    30. list_files({"directory":"tests/fixtures/research"})
    31. read_file({"path":"tests/research/test_inventory.py","start_line":170,"end_line":215})
    32. search_code({"text":"inventory_root"})
    33. search_code({"text":"ci docs"})
    34. read_file({"path":"src/devops_cli/lang/en/help.py","start_line":2835,"end_line":2880})
    35. read_issue({"number":3896})
    36. find_issues({"terms":"research inventory"})
    37. read_spec({"capability":"research-inventory","requirement":"A pin with no ecosystem is listed and counted"})
    38. search_code({"text":"WATCH_FILE"})
    39. read_spec({"capability":"research-inventory"})
    40. search_code({"text":"sync-readme"})
    41. search_code({"text":"read_inventory"})
    42. read_file({"path":"src/devops_cli/research/models.py"})
    43. read_file({"path":"src/devops_cli/research/inventory.py"})
    44. read_file({"path":"src/devops_cli/commands/research.py","start_line":1,"end_line":120})
    45. list_files({"directory":"docs/commands"})
    46. read_file({"path":"src/devops_cli/research/container_pins.py","start_line":20,"end_line":70})
    47. read_file({"path":"tests/research/test_inventory.py","start_line":115,"end_line":200})
    48. read_spec({"capability":"research-inventory","requirement":"The reader reaches nothing outside the files"})
    49. read_spec({"capability":"research-inventory","requirement":"A pin with no ecosystem is listed and counted"})
    50. read_file({"path":"src/devops_cli/k8s/image_pins.py","start_line":255,"end_line":330})
    51. search_code({"text":"inventory: str = ("})
    52. read_file({"path":"tests/research/test_watch_list.py"})
    53. read_file({"path":"src/devops_cli/lang/en/help.py","start_line":2835,"end_line":2880})
    54. read_file({"path":"tests/commands/test_research_inventory.py"})
    55. list_files({"directory":"tests/fixtures/research"})
    56. file_symbols({"path":"src/devops_cli/commands/docs.py"})
    57. read_file({"path":"docs/commands/research.md"})
    58. list_files({"directory":"tests/fixtures/research/repo"})
    59. search_code({"text":"class ImagePins"})
    60. read_file({"path":"src/devops_cli/k8s/image_pins.py","start_line":70,"end_line":110})
    61. search_code({"text":"def resolve_environment"})
    62. read_file({"path":"src/devops_cli/docker/registry.py","start_line":40,"end_line":70})
    63. read_file({"path":"src/devops_cli/k8s/environment.py","start_line":95,"end_line":130})
    64. list_files({"directory":"src/devops_cli/research"})
    65. list_files({"directory":"tests/research"})
    66. read_file({"path":"src/devops_cli/research/watch.py","start_line":24,"end_line":55})
    67. read_file({"path":"tests/research/test_inventory_repository.py"})
    68. search_code({"text":"packageurl"})
    69. file_symbols({"path":"src/devops_cli/research/inventory.py"})
    70. list_files({"directory":"src/devops_cli/commands"})
    71. read_spec({"capability":"research-inventory"})
    72. search_code({"text":"sync-readme"})
    73. read_file({"path":"src/devops_cli/research/inventory.py","start_line":1,"end_line":70})
    74. file_symbols({"path":"src/devops_cli/commands/docs.py"})
    75. references({"name":"read_inventory"})
    76. file_symbols({"path":"src/devops_cli/research/models.py"})
    77. references({"name":"read_watch_list"})
    78. references({"name":"entry_of"})
    79. read_file({"path":"src/devops_cli/k8s/image_pins.py","start_line":230,"end_line":330})
    80. read_file({"path":"src/devops_cli/commands/research.py","start_line":1,"end_line":90})
    81. read_file({"path":"src/devops_cli/research/models.py","start_line":1,"end_line":80})
    82. file_symbols({"path":"src/devops_cli/research/container_pins.py"})
    83. search_code({"text":"ci docs"})
    84. read_file({"path":"tests/research/test_inventory.py","start_line":1,"end_line":60})
    85. search_code({"text":"class ImagePins"})
    86. file_symbols({"path":"src/devops_cli/k8s/environment.py"})
    87. read_file({"end_line":200,"path":"tests/research/test_inventory.py","start_line":115})
    88. read_file({"end_line":60,"path":"tests/commands/test_research_inventory.py","start_line":1})
    89. read_file({"end_line":110,"path":"src/devops_cli/k8s/image_pins.py","start_line":60})
    90. read_file({"end_line":75,"path":"src/devops_cli/commands/docs.py","start_line":40})
    91. read_file({"path":"tests/research/test_inventory_repository.py"})
    92. read_file({"end_line":120,"path":"src/devops_cli/k8s/environment.py","start_line":95})
    93. read_spec({"capability":"research-inventory","requirement":"The reader reaches nothing outside the files"})
    94. read_file({"end_line":2870,"path":"src/devops_cli/lang/en/help.py","start_line":2825})
    95. read_file({"end_line":30,"path":"docs/commands/research.md","start_line":1})
    96. read_file({"end_line":60,"path":"src/devops_cli/docker/registry.py","start_line":40})
    97. search_code({"text":"open-gpu-kernel-modules"})
    98. search_code({"text":"nvidia-driver"})
    99. search_code({"text":"ubuntu"})
    100. read_file({"path":"tests/fixtures/infra/homelab_shape/ansible/playbooks/02_nvidia.yaml"})
    101. search_code({"text":"nvidia"})
    102. search_code({"text":"24.04"})
    103. search_code({"text":"node OS"})
    104. read_file({"path":"tests/research/test_watch_list.py","start_line":1,"end_line":45})
    105. search_code({"text":"tests/lang/test_language_catalogs.py"})
    106. read_file({"end_line":60,"path":"src/devops_cli/research/watch.py","start_line":25})
    107. read_file({"end_line":90,"path":"pyproject.toml","start_line":84})
    108. search_code({"text":"packageurl-python"})
    109. read_file({"path":"src/devops_cli/research/models.py","start_line":1,"end_line":70})
    110. read_spec({"capability":"research-inventory"})
    111. list_files({"directory":"tests/research"})
    112. read_spec({"capability":"research-inventory","requirement":"The reader reaches nothing outside the files"})
    113. read_file({"path":"src/devops_cli/research/models.py","start_line":30,"end_line":60})
    114. list_files({"directory":"docs/commands"})
    115. search_code({"text":"research inventory"})
    116. search_code({"text":"apply_mapping"})
    117. search_code({"text":"mapped_inventory"})
    118. search_code({"text":"renderer_for"})
    119. search_code({"text":"inventory_render"})
    120. search_code({"text":"class ResearchCommandHelp"})
    121. read_file({"path":"src/devops_cli/commands/research.py","start_line":30,"end_line":75})
    122. search_code({"text":"no-external-request"})
    123. search_code({"text":"def is_dry_run"})
    124. read_file({"path":"tests/commands/test_research_inventory.py","start_line":1,"end_line":60})
    125. list_files({"directory":"tests/fixtures/research/repo"})
    126. list_files({"directory":".devops"})
    127. file_symbols({"path":"src/devops_cli/k8s/image_pins.py"})
    128. file_symbols({"path":"src/devops_cli/research/inventory.py"})
    129. read_file({"path":"src/devops_cli/k8s/image_pins.py","start_line":77,"end_line":100})
    130. read_file({"path":"src/devops_cli/research/container_pins.py","start_line":25,"end_line":55})
    131. read_file({"path":"src/devops_cli/k8s/image_pins.py","start_line":288,"end_line":310})
    132. read_file({"path":"src/devops_cli/k8s/environment.py","start_line":95,"end_line":125})
    133. read_file({"path":"src/devops_cli/docker/registry.py","start_line":40,"end_line":70})
    134. search_code({"text":"sync-readme"})
    135. read_file({"path":"docs/adr/0010-openspec-is-the-spec-and-change-proposal-layer.md","start_line":200,"end_line":206})
    136. read_spec({})
    137. search_code({"text":"packageurl-python"})
    138. list_files({"directory":"src/devops_cli/research"})
    139. list_files({"directory":"tests/research"})
    140. read_spec({"capability":"research-inventory"})
    141. file_symbols({"path":"src/devops_cli/research/watch.py"})
    142. file_symbols({"path":"src/devops_cli/research/models.py"})
    143. read_spec({"capability":"research-inventory","requirement":"A pin with no ecosystem is listed and counted"})
    144. read_spec({"capability":"research-inventory","requirement":"The reader reaches nothing outside the files"})
    145. search_code({"text":"--sync-readme"})
    146. read_file({"path":"docs/adr/0010-openspec-is-the-spec-and-change-proposal-layer.md","start_line":190,"end_line":215})
    147. read_file({"path":"src/devops_cli/research/models.py","start_line":41,"end_line":58})
    148. read_file({"end_line":100,"path":"src/devops_cli/k8s/image_pins.py","start_line":76})
    149. read_file({"end_line":320,"path":"src/devops_cli/k8s/image_pins.py","start_line":265})
    150. search_code({"text":"no-external-request"})
    151. read_file({"path":"src/devops_cli/dry_run/decorator.py"})
    152. read_spec({"capability":"command-dry-run-class"})
    153. read_file({"path":"tests/invariants/test_dry_run_class_ratchet.py","start_line":1,"end_line":80})
    154. read_spec({"capability":"command-dry-run-class","requirement":"command-declares-dry-run-class"})
    155. read_spec({"capability":"command-dry-run-class","requirement":"mcp-read-only-hint-agrees-with-no-external-request"})
    156. search_code({"text":"research inventory"})
    157. search_code({"text":"research_inventory"})
    158. search_code({"text":"\"research\""})
    159. read_file({"path":"docs/MCP_TOOLS.md","start_line":1740,"end_line":1770})
    160. read_file({"end_line":60,"path":"src/devops_cli/ai/mcp/generator.py","start_line":1})
    161. read_file({"end_line":4300,"path":"tests/ai/mcp/__snapshots__/test_mcp_tool_listing/test_the_tool_listing_matches_the_snapshot.json","start_line":4280})
    162. search_code({"text":"MCP_TOOLS.md"})
    163. search_code({"text":"mcp_tools"})
    164. read_file({"end_line":2900,"path":"src/devops_cli/lang/en/help.py","start_line":2838})
    165. read_file({"end_line":70,"path":"src/devops_cli/commands/research.py","start_line":36})
    166. search_code({"text":"def docs"})
    167. search_code({"text":"docs check"})
    168. search_code({"text":"test_the_tool_listing_matches_the_snapshot"})
    169. read_file({"end_line":90,"path":"tests/ai/mcp/test_mcp_tool_listing.py","start_line":1})
    170. callers({"symbol":"collect_image_pins"})
    171. callers({"symbol":"tag_digest"})
    172. search_code({"text":"tag_digest("})
    173. search_code({"text":"collect_image_pins("})
    174. search_code({"text":"description="})
    175. read_file({"end_line":200,"path":"src/devops_cli/ai/mcp/generator.py","start_line":140})
    176. read_file({"end_line":560,"path":"src/devops_cli/ai/mcp/generator.py","start_line":480})
    177. list_files({"directory":"tests/fixtures/research"})
    178. list_files({"directory":"tests/fixtures/research/repo"})
    179. read_file({"end_line":380,"path":"src/devops_cli/k8s/image_pins.py","start_line":340})
    180. read_file({"end_line":80,"path":"src/devops_cli/commands/k8s/image_pins.py","start_line":40})
    181. search_code({"text":"PackageURL"})
    182. search_code({"text":"osv_ecosystem"})
    183. read_file({"end_line":140,"path":"src/devops_cli/research/advisories.py","start_line":45})
    184. search_code({"text":"def image_component"})
    185. search_code({"text":"def image_reference"})
    186. search_code({"text":"WATCH_FILE ="})
    187. search_code({"text":"localhost"})
    188. search_code({"text":"127.0.0.1"})
    189. list_files({"directory":"tests/fixtures/research/advisories"})
    190. search_code({"text":".svc"})
    191. list_files({"directory":"tests/fixtures/research/repo/k8s"})
    192. list_files({"directory":"tests/fixtures/research/advisories/github_repo"})
    193. search_code({"text":"NOT_IN_RUNNER"})
    194. search_code({"text":"\"helm\""})
    195. search_code({"text":"\"kubectl\""})
    196. search_code({"text":"test_the_tool_listing_matches_the_snapshot"})
    197. search_code({"text":"It reads files only."})
    198. read_file({"path":"openspec/changes/archive/2026-11-14-5451-each-check-row-is-a-devops/tasks.md","start_line":1,"end_line":30})
    199. search_code({"text":"MCP_TOOLS.md"})
    200. read_file({"path":"src/devops_cli/lang/en/help.py","start_line":2840,"end_line":2860})
    201. list_files({"directory":"tests/ai/mcp/__snapshots__/test_mcp_tool_listing"})
    202. search_code({"text":"research_inventory"})
    203. list_files({"directory":"tests/ai/mcp"})
    204. search_code({"text":"sync-readme"})
    205. search_code({"text":"def generate("})
    206. search_code({"text":"packageurl-python"})
    207. search_code({"text":"It reads files only."})
    208. read_file({"path":"src/devops_cli/lang/en/help.py","start_line":2820,"end_line":2880})
    209. read_file({"path":"src/devops_cli/commands/docs.py","start_line":1,"end_line":120})
    210. search_code({"text":"MCP_TOOLS.md"})
    211. search_code({"text":"ci docs"})
    212. search_code({"text":"MCP_TOOLS"})
    213. repo_map({"directory":"src/devops_cli/docs"})
    214. search_code({"text":"MCP_TOOLS_FILENAME"})
    215. file_symbols({"path":"src/devops_cli/docs/generator.py"})
    216. read_file({"path":"src/devops_cli/docs/generator.py","start_line":1313,"end_line":1430})
    217. search_code({"text":"research_inventory"})
    218. read_file({"path":"src/devops_cli/commands/research.py","start_line":28,"end_line":60})
    219. read_file({"path":"docs/adr/0010-openspec-is-the-spec-and-change-proposal-layer.md","start_line":195,"end_line":212})
    220. read_file({"path":"src/devops_cli/k8s/image_pins.py","start_line":80,"end_line":95})
    221. read_file({"path":"docs/MCP_TOOLS.md","start_line":1740,"end_line":1800})
    222. search_code({"text":"mcp_command_exclusions"})
    223. search_code({"text":"def build_mcp_tools"})
    224. repo_map({"directory":"src/devops_cli/ai/mcp"})
    225. search_code({"text":"research"})
    226. search_code({"text":"(\"research\", \"inventory\")"})
    227. read_file({"path":"src/devops_cli/ai/mcp/generator.py","start_line":1,"end_line":120})
    228. search_code({"text":"typed component"})
    229. list_files({"directory":"tests/fixtures/research/repo"})
    230. search_code({"text":"devops research inventory [OPTIONS]"})
    231. list_files({"directory":"tests/ai/mcp"})
    232. search_code({"text":"List every pin of the project"})
    233. read_file({"path":"src/devops_cli/commands/docs.py","start_line":118,"end_line":160})
    234. search_code({"text":"no-external-request"})
    235. list_files({"directory":"tests/research"})
    236. list_files({"directory":"src/devops_cli/research"})
    237. read_spec({"capability":"research-inventory"})

    Tool calls: callers=2 (empty=0), file_symbols=15 (empty=0), find_issues=1 (empty=0), list_files=25 (empty=0), read_file=86 (empty=0), read_issue=1 (empty=0), read_spec=20 (empty=0), references=3 (empty=0), repo_map=2 (empty=0), search_code=82 (empty=9)

    The stage job read the open pull requests and their files in 1 GraphQL request(s).

    The plan request held these comments of the item whole: #3932 (comment), #3932 (comment), #3932 (comment).

    Warnings:

    • Scoped test tests/research/test_mapping.py does not exist.
    • Scoped test tests/research/test_research_watch_file.py does not exist.
  10. removed
    owner/service
    on Nov 18, 2026
  11. 40 remaining items

  12. added
    status/in-review
    and removed
    status/in-progress
    on Nov 18, 2026
  13. removed
    status/in-review
    owner/service
    on Nov 18, 2026
  14. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    Contributor

    Stopped at checks.

    Failure class: ci_infra.
    Action taken: repair, 1 fix round(s).
    Action left: retry: run the item again.

    Step Status Attempts Tokens in/out Last failing command
    group 1 done 1 1550416/10067 pytest on base: tests/research/test_watch_list.py
    group 2 done 2 6359222/30934 pytest on base: tests/research/test_mapping.py
    group 3 done 1 3008129/18749 pytest on base: tests/research/test_mapping.py
    group 4 done 1 5172961/18268 pytest on base: tests/commands/test_research_inventory.py
    group 5 done 1 3927970/29872 -
    group 6 done 1 1298180/3051 -
    fix done 1 1615312/8743 -
    checks stopped 2 0/0 -

    Reason:

    GitHub did not show the commit e32f89332c49 as the head of the pull request.
    

    Last message of the agent (a claim that no check verified): none.

    The item is Blocked, and the job will not run it. Fix the cause. Then comment implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item allow it.

  15. added
    status/blocked
    on Nov 18, 2026
  16. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-18 16:28 UTC

  17. removed
    status/blocked
    on Nov 22, 2026
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-mediumsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions