Skip to content

feat(cli): public re-export surface consolidation #424

Closed

Description

@dan-petty

Context & Rationale

src/devops_cli/ai/__init__.py declares 481 names in __all__ with duplicates among them; ai/agents/__init__.py declares 556, config/__init__.py 410. Twenty-three duplicate entries and twenty-three unsorted lists are reported across the tree. A re-export list that large is not a public interface — it is the absence of one, and duplicate entries prove nobody can read it end to end.

Scope & Deliverables

  • Context & Rationale*: src/devops_cli/ai/__init__.py declares 481 names in __all__ with duplicates among them; ai/agents/__init__.py declares 556, config/__init__.py 410. Twenty-three duplicate entries and twenty-three unsorted lists are reported across the tree. A re-export list that large is not a public interface — it is the absence of one, and duplicate entries prove nobody can read it end to end.
  • Deliverable*: Establish what each package actually contracts to expose, reduce __all__ to that, and enforce shape with RUF022/RUF068.
  • Constraint*: Pre-1.0 permits removal without ceremony, but consumers inside this repository still import these names. Migrate internal call sites first and confirm with the full test suite rather than trusting the export list to describe its own users.

Strategic Alignment

  • Milestone: v0.2.23 (Foundational Architectural Guardrails & Project Hygiene)
  • Roadmap Reference: docs/ROADMAP.md

Activity

  1. added this to the v0.2.23 milestone on Sep 22, 2026
  2. added
    type/feature
    scope/cli
    priority/p2-medium
    on Sep 22, 2026
  3. dan-petty commented on Sep 23, 2026

    @dan-petty
    OwnerAuthor

    Closed by #447, merged into release/v0.2.23.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

  4. added a commit that references this issue on Sep 28, 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

    priority/p2-mediumscope/clitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions