Skip to content

Use shared .cts boundaries for pure CLI and plugin parity code #8291

Closed

Description

@jyaunches

Objective

Give pure mirrored CLI and plugin behavior one source of truth.

Sequential PRs

  1. Share private-network schema and matching logic while retaining package-local loaders and caches.
  2. Share credential-stripping logic while retaining package-local file and YAML I/O.
  3. Share the banner renderer while retaining package entry wrappers.

Expected combined net reduction: 275–405 LOC.

Acceptance criteria

  • One pure implementation exists for each migrated behavior.
  • Package-specific filesystem resolution and caches stay package-local.
  • Existing parity tests become direct shared-core contract tests.
  • Adversarial credential, hostname, CIDR, and malformed-input cases remain.

Validation

Run CLI and plugin tests and type-checks, package-contract SSRF parity tests, and credential-filter parity tests.

Review

Private-network and credential changes require focused security review.

Activity

  1. added
    area: architecture
    area: cli
    area: security
    on Aug 10, 2026
  2. added theissue type on Aug 10, 2026
  3. added 2 commits that reference this issue on Aug 18, 2026
    14f42e0
    dfcfce9
  4. added a commit that references this issue on Aug 18, 2026
    d583fa1
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

    area: architecturearea: cliarea: security

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions