Skip to content

fix(roadmap): the alternatives check reads the tools in use #4661

Closed

Description

@dan-petty

Problem or Motivation

Measured on the 330 alternatives blocks of the census:

Proposed Solution & Architectural Design

  • Inventory at HEAD: the GitHub SBOM export (1 request, SPDX purls). Today it holds 319 purls, which cover 33 of the 58 tools in use of the census. When a clone exists, add git grep -i -w -F of the tool names over a configured path list (k8s/, tf/, .devcontainer/, tools.lock). That finds the other 25 tools, for example LiteLLM, Grafana, git, notifications-engine and Renovate, which are deployed services or CLIs. A pod with no clone uses the SBOM only.
  • Canonical tool id: a purl (pkg:pypi/<packaging canonicalize_name>, pkg:github/<owner>/<repo>) or the deps.dev project key.
  • Code rules in the reply validation:
    • a "covers" or "partly" tool with an inventory hit becomes in-use, with no model call;
    • rejected needs the ADR to list the tool under a rejected option;
    • record alternatives.adr_hash, and select an item for a recheck when its hash differs from the ADR index at HEAD.
  • Cache the inventory in the process now. The shared cache comes with the tiered cache child of the plan.
  • Spec delta in openspec/specs/roadmap-alternatives/spec.md. Three children of the plan change that spec (this one, the reference step and the digest), so they go in series.

Target Subsystem

SDLC, Git & PR Governance (the roadmap alternatives check).

Existing Tool Considered

The GitHub SBOM REST export (GET /repos/{owner}/{repo}/dependency-graph/sbom), git, and packaging (in uv.lock). Only the rules are new code. Cost: about 150,000 tokens and 4 hours to build.

Acceptance Criteria

  • A replay test over the 97 census items: at least 55 of the 58 tools in use give in-use with no model call.
  • The feat(roadmap): Add failure classes and runner facts to stage context #3258 fixture gives no rejected verdict.
  • The 88 tool strings of the 330 blocks map to at most 81 canonical ids.
  • An item whose adr_hash differs from the ADR index at HEAD is selected for a recheck.
  • Live, 7 days after the merge: the in-use share of tool verdicts (devops_cli_roadmap_alternatives_total{verdict="in-use"}) is above 25 % (28 of 130 before).

Dependencies

None. Part of the project brain plan #4624.

Source: #4624

Activity

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 11, 2026
  3. dan-petty commented on Nov 11, 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/bug. The fix prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. It fixes 58 false verdicts and one false rejected verdict, but the check still functions; it is one child of a larger plan.
    • Value: Medium. Correct verdicts prevent a person from answering a question the repository already answers.
    • Effort: Medium. The body states about 150,000 tokens and 4 hours to build, spanning SBOM, git grep, canonical IDs, and ADR hash tracking.
    • Related: fix(roadmap): the alternatives check reads the ADRs and the item tool #3505, which asks for a different change. Both fix the alternatives check to use code rules instead of model calls, but #3505 reads ADRs and the item tool while the candidate builds a project-wide tool inventory from SBOM and git grep.
  4. added
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 11, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 12, 2026
  6. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor
  7. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-12 15:46 UTC

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/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions