Skip to content

feat(release): v0.1.12 - #15

Merged
dan-petty merged 44 commits into
mainfrom
release/v0.1.12
Aug 21, 2026
Merged

dan-petty merged 44 commits into
mainfrom
release/v0.1.12

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

feat(release): v0.1.12

Summary

Release v0.1.12 preparation, changelog synchronization, and quality validation under GitHub pull request merge controls.

Release Notes

Added

  • Universal Retrieval-Augmented Generation (RAG) Architecture (devops ai rag, devops_cli.ai.rag):
    • Polyglot syntax-aware AST chunker for Python, Go, Rust, TypeScript, JavaScript, Java, C/C++, Terraform/HCL, SQL, and Kubernetes YAML manifests.
    • Hierarchical technical documentation chunker preserving Markdown, AsciiDoc, and RST heading depth with breadcrumb hierarchy tracking.
    • Multi-project workspace autodetection (Cargo.toml, go.mod, package.json, pyproject.toml) and faceted semantic filtering (--project, --language, --category).
    • Native Qdrant vector database integration and Ollama dense embeddings generation (all-minilm).
  • Official qdrant-client SDK Adoption & Modernization:
    • Replaced manual HTTP REST JSON calls with the official qdrant-client Python SDK with connection pooling, typed models, batch upserts, and payload filtering.
  • Hierarchical Configuration Modernization (pydantic-settings):
    • Upgraded Settings to inherit from pydantic_settings.BaseSettings with SettingsConfigDict supporting automatic environment variable binding (DEVOPS_CLI_*), schema validation, and secret masking while preserving OS Keyring security.
  • Multi-Context & Remote Cluster Kubernetes Support (devops k8s):
    • Added dynamic cluster reachability verification (_cluster_reachable) supporting remote k3s, EKS, and GKE cluster contexts via kubectl cluster-info.
    • Added --context (-c) option support across deploy-stack, teardown-stack, port-forward, and configure-urls.
    • Added automated iterative pre-existing Helm resource adoption (_adopt_helm_resource_if_conflict).
  • Multi-GPU Native Ollama DaemonSet Deployment:
    • Integrated k8s/llm/ollama-daemonset.yaml with multi-GPU access (NVIDIA_VISIBLE_DEVICES: "all"), runtimeClassName: nvidia, hostPort 11434, and shared NFS model cache.
  • Structural Metadata Extraction Engine (src/devops_cli/ai/rag/metadata.py):
    • Polyglot dependency and import parsing across 8+ programming languages.
    • Automated security sensitivity classification tagging code chunks into crypto, network, auth, secrets, db, fs, and iam.
    • Document frontmatter metadata parser extracting YAML/TOML metadata and heading hierarchy metrics.
  • Multi-Signal Search Re-Ranking Engine (src/devops_cli/ai/rag/reranker.py):
    • Hybrid scoring fusion engine combining dense vector cosine similarity (0.60), lexical token overlap (0.25), exact symbol match bonuses (+0.15), query intent classification (+0.10 for docs/code), and security alignment (+0.10).
    • Attached transparent rerank_score and individual rank_factors to every retrieved chunk.
  • Universal AI Subcommand RAG Integration:
    • devops ai chat: Per-turn conversational semantic retrieval (--rag/--no-rag).
    • devops ai pipeline: Seeds multi-agent review and reasoning pipelines with relevant codebase context.
    • devops ai agents: Retrieves architectural context and CLI conventions when generating canonical agent instructions.
    • devops ai analyze: Injects related architectural context during metadata analysis and pseudocode extraction.
    • devops ai review: Injects re-ranked cross-file context with symbol and security tags into multi-persona code reviews.
  • End-to-End OpenTelemetry Tracing & Observability Stack:
    • Integrated OpenTelemetry trace lifecycle spans across LLM dispatches, pipeline stages, and CLI operations (devops_cli.telemetry).
    • Jaeger Query UI and OTLP collector deployment manifests (k8s/otel/jaeger.yaml).
    • Customized Grafana dashboards for AI inference latency, token metrics, and Kubernetes cluster health (k8s/monitoring/dashboards/).
  • DevContainer Background Git Daemon:
    • Native automated background Git daemon with --export-all across /workspaces/devops-cli/k8s and /workspaces/devops-cli/repos during container post-start lifecycle.
  • GitHub PR Governance & Remote CI Inspection (devops pr):
    • Pull request lifecycle management (create, status, checks, view, diff) with automated release branch base targeting and CI check monitoring.

Changed

  • Review Prompt & Verification Rule Hardening:
    • Refined src/devops_cli/ai/tasks/review.md and src/devops_cli/ai/tasks/verify_finding.md to prevent speculative vulnerability reports on hypothetical helper behavior and eliminate false-positive syntax error hallucinations on standard Python 3 tuple exception handlers (except (Err1, Err2):).
    • Streamlined feedback dataset exporter (devops ai review export-feedback) to export complete review findings into .data/feedback.jsonl for continuous improvement benchmarks.

Security

  • Path Traversal & Injection Defenses:
    • Added strict path traversal defenses in load_custom_repo_persona (src/devops_cli/ai/personas/__init__.py).
    • Added tool description sanitization in PydanticAgent prompt construction (src/devops_cli/ai/agents/pydantic_agent.py) to prevent indirect prompt injection.
    • Added semantic version regex validation in devops install-tools binary downloads.
    • Added label format validation in devops release prepare before GitHub CLI invocation.
    • Switched Valkey deployment in k8s/llm/valkey.yaml from NodePort to ClusterIP and removed --protected-mode no.

Fixed

  • API Boundary & Pipeline Invariants:
    • Removed internal helper functions _run_mcp_cmd and _validate_mcp_arg from public __all__ in src/devops_cli/ai/mcp/__init__.py.
    • Added positive integer validation for max_turns_per_agent and hoisted imports in MultiAgentPipeline (src/devops_cli/ai/agents/pipeline.py).
    • Added bounds enforcement on top_k and score_threshold and query masking in telemetry traces (src/devops_cli/ai/rag/retriever.py).

Quality Gate Checklist

  • 7-Gate CI Quality Gate passing (devops ci run)
  • Documentation and Command Matrix in README.md synchronized
  • Version matching across pyproject.toml and src/devops_cli/__init__.py

…te verification loop (#13)

* fix(security): resolve review findings, harden manifests, and calibrate verification loop

* fix(review): enhance multi-tier finding sorting, exploitability normalization, and devcontainer mcp path resolution
#14)

* feat(sdlc): add pr governance, remote ci inspection, and fastmcp tools

* docs(release): bump version to 0.1.12, update changelog and clean up review defaults

* test(metadata): update expected version assertion to 0.1.12
…king

- Add universal RAG architecture with polyglot AST chunking and hierarchical doc chunking
- Add structural metadata extraction for imports, security tags, and frontmatter
- Implement multi-signal search re-ranking with symbol bonuses and intent classification
- Integrate RAG context retrieval across all devops ai subcommands (chat, pipeline, agents, analyze, review)
- Add OpenTelemetry tracing instrumentation, Jaeger UI, and Grafana monitoring dashboards
- Add autonomous devcontainer git daemon background service
- Update CLI references, documentation, and CHANGELOG for v0.1.12
… agent personas

- Add PyCQA Bandit static scanner integration (devops_cli.security.bandit)
- Expose scan_trivy, scan_kubelinter, scan_pluto, scan_bandit, and scan_popeye as native agent tools
- Inject aggregated static findings across Trivy, Kube-Linter, Pluto, and Bandit during Stage 2 review payload initialization
- Update devsecops persona prompt with instructions to verify pre-injected findings and call security tools
- Add unit tests for Bandit integration and multi-scanner payload aggregation
…loop

- Make DevContainer host SSH bind mount read-only
- Add non-root pod and container securityContext to Valkey deployment
- Configure CPU and memory resource limits in values-ollama.yaml
- Implement deterministic AST syntax validation and template mitigation in verification.py
- Sanitize Rich console markup rendering in review report output and streaming tokens
- Clean up public tools export in ai.tools.__init__.py
- Update verify_finding.md and ROUTINE_TASKS.md with automated self-improvement and calibration loop
… teardown-stack, port-forward, and configure-urls
Copilot AI lite review requested due to automatic review settings August 20, 2026 05:30
@dan-petty dan-petty added the release Pull request or issue associated with a release cut label Aug 20, 2026

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.

…response when model output is enclosed in reasoning tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Pull request or issue associated with a release cut

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants