Repository navigation
Closed
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Description
Problem or Motivation
Measured on the 330 alternatives blocks of the census:
- 58 of 97 "covers" or "partly" verdicts name a tool that the project already uses. The verdict
in-usecomes only from the item text (_verdict_of,src/devops_cli/roadmap/alternatives.py:953). - 1 of 5 "rejected" verdicts is false. feat(roadmap): Add failure classes and runner facts to stage context #3258 says that ADR 0010 rejects OpenSpec, but ADR 0010 adopts it. The job tests only that the ADR names the tool.
- 88 tool strings name 81 tools (6 families under 2 names).
- An ADR change starts no recheck. feat(roadmap): several implement Jobs can run at once, on disjoint files #3064 still names Hatchet after ADR 0008, and open items hold 3 E1 and 28 E2 verdicts.
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 -Fof 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; rejectedneeds 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.
- a "covers" or "partly" tool with an inventory hit becomes
- 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-usewith no model call. - The feat(roadmap): Add failure classes and runner facts to stage context #3258 fixture gives no
rejectedverdict. - The 88 tool strings of the 330 blocks map to at most 81 canonical ids.
- An item whose
adr_hashdiffers from the ADR index at HEAD is selected for a recheck. - Live, 7 days after the merge: the
in-useshare 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
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.It fixes 58 false verdicts and one false rejected verdict, but the check still functions; it is one child of a larger plan.Correct verdicts prevent a person from answering a question the repository already answers.The body states about 150,000 tokens and 4 hours to build, spanning SBOM, git grep, canonical IDs, and ADR hash tracking.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.devops-cli-service commentedon Nov 12, 2026
Released in v0.119.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.119.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 15:46 UTC