Skip to content

feat(ai): roadmap discovery from advisories, alerts, repo signals and web research (devops roadmap discover) #745

Closed as not planned

Description

@dan-petty

Context & Rationale

When the backlog runs low someone has to invent work, and security advisories and runtime alerts become items only if someone notices them. Nothing creates issues from outside signals today.

Scope & Deliverables

  • Deliverable: devops roadmap discover finds candidates and hands them to intake; every candidate cites its source.
    • Daily, whatever the backlog size: GitHub security advisories and Dependabot alerts for Python and GitHub Actions, version and advisory checks for the images deployed from k8s/, and homelab Prometheus alerts.
    • Only when the backlog and planned releases hold fewer than 24 open items: in-repo signals (KNOWN_ISSUES, TODO/FIXME, flaky or failing CI) and Tavily web research.
    • Turn off Dependabot version-update PRs; discovery files upgrades as items instead.
  • Constraint: discovery never creates items directly.

Strategic Alignment

Update 2026-10-08: refinement

Renovate replaced Dependabot (#1219): Actions and Docker PRs against the default branch, Python off (.github/renovate.json:9-12). (proposed) Renovate's PRs stay; discovery files advisories and alerts. discovery_threshold (roadmap/config.py:44) has no reader.

Proposed design

Problem statement

The devops-cli project currently lacks a mechanism to automatically discover new work items from external signals such as security advisories, alerts, and repository health indicators. This results in a reliance on manual identification of issues, which can lead to missed opportunities for proactive maintenance and security improvements.

Acceptance criteria

  • Criterion 1: The devops roadmap discover command finds candidates from GitHub security advisories and Dependabot alerts for Python and GitHub Actions.
    Verification: Running devops roadmap discover should produce a list of candidates derived from GitHub security advisories and Dependabot alerts, each citing its source.
  • Criterion 2: The discovery command checks version and advisory statuses for images deployed from k8s/.
    Verification: The command should include checks for outdated versions or known advisories related to container images in the k8s/ directory.
  • Criterion 3: Prometheus alerts from the homelab are used to generate discovery candidates.
    Verification: Running devops roadmap discover should incorporate Prometheus alert data as a source of potential issues.
  • Criterion 4: In-repo signals such as KNOWN_ISSUES, TODO/FIXME, and failing CI are considered when backlog is low.
    Verification: When the backlog size is below 24 items, devops roadmap discover should include candidates from in-repo signals like KNOWN_ISSUES or failing CI.
  • Criterion 5: Tavily web research is performed for new candidates when the backlog is low.
    Verification: The discovery process should initiate Tavily web research queries to find relevant issues when the backlog is under 24 items.
  • Criterion 6: All candidates generated by discovery are handed to intake with proper source citation.
    Verification: Each candidate produced by devops roadmap discover must be passed through intake_candidate function with its source specified in the call.

Key questions

  • What is the discovery threshold for triggering additional discovery sources?: The discovery threshold is 24 items, as defined in roadmap/config.py:44 and referenced in .github/roadmap.toml:37. [sources: .github/roadmap.toml:37]
  • Should Dependabot version-update PRs be turned off to enable discovery files upgrades instead?: Yes, Dependabot version-update PRs should be turned off to ensure that discovery files advisories and alerts are used instead of PRs. (proposed)

Open questions

  • What sources does the discovery process check for candidates? (missing verified source)
  • Should the discovery process create items directly? (missing verified source)

Fit

Needs splitting into 7 items:

  1. Implement GitHub security advisory check
  2. Implement Dependabot alert check
  3. Implement k8s image version and advisory checks
  4. Implement Prometheus alert processing
  5. Implement in-repo signal checks (KNOWN_ISSUES, TODO/FIXME, CI)
  6. Implement Tavily web research integration
  7. Update intake_candidate function to handle discovery sources

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/feature
    scope/ai
    priority/p2-medium
    on Sep 30, 2026
  2. added a commit that references this issue on Oct 1, 2026
  3. added this to the milestone on Oct 17, 2026
  4. dan-petty commented on Oct 18, 2026

    @dan-petty
    OwnerAuthor

    Proposal needs splitting into 7 items at 25e2cda (see proposed design in issue body).

  5. removed this from the milestone on Oct 23, 2026
  6. dan-petty commented on Oct 24, 2026

    @dan-petty
    OwnerAuthor

    The proposal cannot be implemented in one pull request as specified. The roadmap configuration in src/devops_cli/roadmap/config.py has no discovery_threshold field and forbids extra keys. Renovate replaced Dependabot in issue #1219, so Dependabot pull request controls do not apply. The deliverable contains seven different discovery sources and exceeds the single pull request limit. Maintainer review on issue #745 confirms that the proposal requires splitting into seven sub-issues. Please split this item into sub-issues before implementation.

  7. dan-petty commented on Oct 24, 2026

    @dan-petty
    OwnerAuthor

    Closed as not planned (rejected), 2026-10-24, on the owner's request "fix 745 or close as rejected".

    Why this item is not built:

    If one source is still not covered, file it as a new item with its own acceptance criteria. Its candidates go through devops roadmap intake.

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

    priority/p2-mediumscope/aitype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions