Skip to content

feat(release): v0.2.2 - #21

Merged
dan-petty merged 14 commits into
mainfrom
release/v0.2.2
Aug 26, 2026
Merged

dan-petty merged 14 commits into
mainfrom
release/v0.2.2

Conversation

@dan-petty

@dan-petty dan-petty commented Aug 25, 2026 •

Copy link
Copy Markdown
Owner

Release Notes: v0.2.2

Overview

Release v0.2.2 delivers core Infrastructure-as-Code policy auditing, cloud provider linting, container layer efficiency exploration, fast OpenAPI manifest validation, dynamic cost- and latency-aware LLM query routing, automated workspace retention cleanup, comprehensive domain exception taxonomy, and a centralized configuration and parameter defaults architecture.


Key Deliverables & Architectural Enhancements

1. Centralized Configuration & Parameter Defaults Architecture

  • Centralized all inline parameter defaults (strings and numerics) and invariant constants into src/devops_cli/config/defaults.py and src/devops_cli/config/constants.py.
  • Introduced declarative command argument builders in src/devops_cli/config/commands.py (build_kubectl_cmd, build_kustomize_build_cmd, build_bandit_cmd, build_trivy_scan_cmd, build_popeye_cmd, build_kubelinter_cmd, build_pluto_cmd, build_uv_audit_cmd, build_tf_cmd, build_tofu_cmd, build_gitleaks_cmd, build_semgrep_cmd).
  • Created declarative Pydantic v2 renderable schemas in src/devops_cli/output/models.py (TablePayload, PanelPayload, MarkdownPayload, SyntaxPayload, RulePayload, KeyValuePayload, MessageLevel).
  • Optimized CLI startup performance with Typer lazy loading and stateless PEP 562 __getattr__ / _get resolution across subcommands (repos, branches, ci, mcp, release, uv, workspace).

2. Comprehensive Domain Exception Taxonomy

  • Standardized strongly typed exceptions under src/devops_cli/exceptions/ (DevOpsCLIError, GitOperationError, InvalidBranchNameError, InvalidURLError, SecurityValidationError, ToolExecutionError, AIProviderError, ConfigurationError).
  • Configured explicit POSIX exit codes, canonical machine-readable error codes, and structured error contexts project-wide.

3. Checkov IaC Static Policy & Compliance Engine (devops scan iac, devops scan checkov)

  • Static compliance and security policy auditing across Terraform, CloudFormation, Kubernetes, and Dockerfile manifests.
  • Evaluates against CIS benchmarks, PCI-DSS, and SOC2 guidelines.
  • CLI subcommands devops scan iac <target> and devops scan checkov <target> with Rich table and JSON exports.
  • Registered scan_iac native persona tool for devsecops and auditor.
  • Bundled Knowledge Base manual: it_domains/tools/checkov.md.

4. TFLint Cloud Provider Linter (devops tf lint)

  • Framework-aware linter validating provider-specific attributes (AWS, GCP, Azure), deprecated syntax, and module variable constraints.
  • CLI subcommand devops tf lint <dir> [--config FILE] [--json].
  • Registered tf_lint native persona tool for architect, devsecops, and auditor.
  • Bundled Knowledge Base manual: it_domains/tools/tflint.md.

5. Dive Docker Layer Efficiency Analyzer (devops docker analyze-layers)

  • Container image layer exploration and wasted space analysis computing efficiency scores and layer breakdowns.
  • CLI subcommand devops docker analyze-layers <image> [--json].
  • Registered docker_analyze_layers native persona tool for architect and qa.
  • Bundled Knowledge Base manual: it_domains/tools/dive.md.

6. Kubeconform Fast OpenAPI Schema Validator (devops k8s validate)

  • High-speed offline Kubernetes YAML schema validation against OpenAPI JSON schemas supporting arbitrary target Kubernetes versions and strict validation.
  • CLI subcommand devops k8s validate <target> [--kubernetes-version STR] [--strict] [--json].
  • Registered k8s_validate_manifests native persona tool for devsecops, architect, and qa.
  • Bundled Knowledge Base manual: it_domains/tools/kubeconform.md.

7. Dynamic Cost- & Latency-Aware LLM Router (devops ai route)

  • Task complexity classification (LOW, MEDIUM, HIGH) and intelligent query dispatch between local Ollama models (qwen2.5-coder) and frontier cloud models (claude-3-7-sonnet / gpt-4o) with estimated cost tracking.
  • CLI subcommand devops ai route <task> [--tokens INT] [--frontier] [--json].

8. Automated Workspace & Data Tier Housekeeping Engine (devops workspace clean)

  • Housekeeping engine pruning stale review sessions, old analysis caches, and temporary traces under .data/ with configurable retention filters.
  • CLI subcommand devops workspace clean [--older-than INT] [--dry-run].

Verification & Quality Gates

  • Pytest Test Suite: Full suite passing with 945 tests across 114 test modules.
  • Strict Code Coverage: Meets strict $\ge 90.0%$ code coverage across src/.
  • Strict Static Typing: mypy --strict passing across all 191 source files with 0 issues.
  • Linting & Formatting: ruff check and ruff format passing cleanly.
  • Security & Dependency Auditing: bandit, trivy, and uv audit passing with zero warnings.
  • Documentation: Fully synchronized with README and CLI reference via devops docs generate --sync-readme.

Copilot AI lite review requested due to automatic review settings August 25, 2026 20:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dan-petty
dan-petty merged commit f36add8 into main Aug 26, 2026
4 checks passed
@dan-petty
dan-petty deleted the release/v0.2.2 branch August 26, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants