Skip to content

feat(roadmap): devops roadmap alternatives searches the web for the open tool that covers an item and records what it covers and lacks #2650

Description

@dan-petty

Problem or Motivation

Parent: #2648. An open item names its "Existing Tool Considered" once, when it is written. Nothing checks later whether an open, maintained tool now covers the item, and the evidence of such a check is never on the issue.

Proposed Solution & Architectural Design

devops roadmap alternatives [--repo] [--item N] [--limit N] [--dry-run | --plan | --confirm], in the shape of devops roadmap refine.

Selection:

  • An open Item (it holds a priority/* label) whose Status is New or Ready, that is not Blocked and not started, and whose author is trusted (CONST_ROADMAP_TRUSTED_AUTHORS, as refine applies it, because the model reads the body).
  • Order: items with no check first, lowest number first; then items whose last check is older than roadmap.alternatives.recheck_days (default 30) or whose body changed since the check. --limit (default 5) caps a run. --item checks the one item it names whenever it is open.
  • The check is off when the repository is private or no Firecrawl key is set. The plan says so, and the run writes nothing.

One agent run per item, built as refine's investigation is (refine_investigation.py: get_task_model("analysis"), UsageLimits, one spend record):

  • Inputs: the item's title, its body with the record block removed, the comments that follow the job's last comment (as refine's replies), and the search budget.
  • Tools: search_web (Firecrawl, at most CONST_ROADMAP_ALTERNATIVES_MAX_SEARCHES = 3 searches of 5 results), github_repository(owner/name) (license, archived, pushed_at, stars and the latest release, through the store, one request each) and pypi_package(name) (latest version, its upload date and license). The tools are the only sources. The reply cites URLs, and the validation refuses a URL that no tool returned, as refine's allowed_urls does.
  • Reply schema: verdict (covers, partly, none, not-applicable), tool (name, URL, license, last push or release date, maintained), covers and lacks (lists), queries (the searches run) and sources (URLs). A pure defect with no tool question answers not-applicable with zero searches.
  • maintained is deterministic. A repository is maintained when it is not archived and its last push is within 12 months. The job sets it from the tool facts, not from the model.

Writes, with --confirm:

  • One comment with the marker devops roadmap alternatives: the verdict, the tool with its facts and URLs, what it covers and lacks, and the queries run.
  • A marker block in the body, devops-roadmap-alternatives:start to :end, replaced on each check, that holds the latest verdict and tool. Refine's proposal reads it (sub-issue 2).
  • The job record keys alternatives.checked_at, alternatives.body_hash, alternatives.verdict and alternatives.tool.
  • No label change and no close. A person's comment after the job's comment reaches the next check as a reply, so a person's reason to keep the item is read.

Errors: a model call that fails skips its item, the run writes the others, then fails naming each skipped item, as refine does. Rejected credentials stop the run at the first item. Each Firecrawl search counts in devops_cli_firecrawl_searches_total.

Target Subsystem

src/devops_cli/roadmap/ (new alternatives.py, reusing refine_investigation.py), src/devops_cli/commands/roadmap.py, src/devops_cli/ai/tasks/roadmap_alternatives.md, CONTEXT.md (the term "Alternative"), README through devops docs generate --sync-readme.

Existing Tool Considered

Firecrawl search (firecrawl_search, #2398), pydantic-ai Agent with the same construction as refine's investigation, and the GitHub REST and PyPI JSON APIs for the facts. pydantic-ai's WebSearch capability is rejected: it needs a provider's native search or DuckDuckGo, and the owner chose Firecrawl. Nothing new is built but the job's selection, prompt, validation and writes, in the shape refine has. Estimated cost: about 900 lines of code and tests, around 250k tokens of agent work and one day of elapsed time, plus upkeep when Firecrawl's reply shape changes.

Key questions

  • Does the job edit the body? Yes, only its own marker block, as refine edits only its block. A person's text is never changed.
  • Does a covers verdict change the item? No. The job records it. Refine and a person act on it (sub-issue 2).
  • Which model? ai.for_task("analysis"), as refine. The run is one agent run with at most 3 searches and 6 fact reads.

Acceptance criteria

  • With GitHub and Firecrawl faked at the HTTP edge, a run on an item with a covering tool posts one comment with the marker, writes the marker block and records the keys. A second run within recheck_days on an unchanged body does nothing.
  • A reply that cites a URL that no tool returned is refused, and the item is skipped with the error named.
  • A private repository or a missing key makes the plan say the check is off, and the run makes no search.
  • --dry-run makes no request and prints the requests a run makes.
  • uv run devops ci passes, and devops docs generate --sync-readme is run.

Source: #2648

Activity

  1. added
    source/agent
    type/feature
    status/new
    value/medium
    effort/medium
    on Oct 29, 2026
  2. dan-petty commented on Oct 29, 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. Adds a new 'devops roadmap alternatives' command with agent-based web search and structured writes.
    • Priority: P2-Medium. Useful periodic check that prevents redundant work, but it is not blocking and has a default-off path.
    • Value: Medium. Saves time by surfacing existing tools before the team builds a feature, but it is a periodic aid rather than a core workflow.
    • Effort: Medium. New command, agent prompt, three tools, validation, and writes, but reuses 'refine_investigation.py' construction.
    • Related: feat(cli): outward-facing capability & upstream maturity survey #425, which asks for a different change. Both evaluate external tools against the project, but #425 surveys the project's own capabilities and dependency maturity while the candidate checks whether a specific open tool covers each roadmap item.
  3. added
    priority/p2-medium
    on Oct 29, 2026
  4. added 2 commits that reference this issue on Oct 29, 2026
    4f993dc
    ec2f7f7
  5. removed
    status/new
    on Oct 30, 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