Skip to content

refactor(ai): delete devops ai pipeline and the persona review leftovers #4827

Description

@dan-petty

Problem or Motivation

devops ai pipeline asks models to find defects. ADR 0005 rejected that approach: 26 of 219 persona rows (11.9 %) were valid. The command does not store or score its output.

Old text and code still describe persona review:

  • ARCHITECTURE.md (the persona review section) and docs/SELF_IMPROVEMENT.md (two persona review sections);
  • help.py, messages.py, runner.py (the DEVSECOPS title) and models/ai.py.

Proposed Solution & Architectural Design

  • Delete the pipeline command in src/devops_cli/commands/ai.py and its defaults in src/devops_cli/config/defaults.py.
  • Delete the persona review leftovers and the fields that nothing reads.
  • Fix the documents in the same pull request.
  • Alpha keeps no compatibility, so add no shim. The owner accepted the delete on 2026-11-11 (feat(roadmap): track the issue stewards and persona selection #4780).

Target Subsystem

AI & Agentic Review Pipeline (src/devops_cli/commands/ai.py, src/devops_cli/ai/).

Existing Tool Considered

A delete. No tool applies. Cost to build: about 60,000 tokens and 1.5 hours.

Acceptance Criteria

  • devops ai pipeline is not in the help or the documents.
  • git grep finds no persona review text in the files above.
  • uv run devops ci passes.

Dependencies

None.

Source: #4780

Activity

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/refactor
    scope/ai
    status/new
    value/low
    effort/low
    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.

  4. added
    priority/p3-low
    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. added a commit that references this issue on Nov 12, 2026
  7. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-12 12:40 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/lowpriority/p3-lowscope/aisource/agenttype/refactorvalue/low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions