Repository navigation
feat(release): v0.2.1 - #19
Merged
Merged
Conversation
* feat(ai): implement tiktoken context budgeting, gitleaks, semgrep, and pydantic-ai * fix(security): resolve CodeQL stack trace exposure and clear-text storage alerts
…erables and security fixes
… v0.2.2 to v0.3.0
…ons and telemetry
…, and provider layer
This was referenced Nov 12, 2026
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release Notes: v0.2.1
Overview
Release
v0.2.1introduces essential security pre-filtering, token-aware context budgeting, multi-agent frameworks, modular review pipeline stages, LLM provider abstractions, standardized exception taxonomies, and Prometheus metrics telemetry.Key Deliverables & Architectural Enhancements
1. Local Context Budgeting & Token Counting Engine (
devops ai token-count)tiktokenwith model-family encoding resolution (o-series,gpt-4o,cl100k_base).truncate_to_token_limit) and hunk-aware git diff budgeting (budget_diff_chunks) preventing context window overflow.devops ai token-count <target> [--budget INT] [--model STR] [--json]with Rich breakdown tables.it_domains/tools/tiktoken.md.2. Gitleaks Sub-Millisecond Secret Pre-Filter (
devops scan secrets,devops scan gitleaks)scan_gitleaksnative persona tool and bundled Knowledge Base manual:it_domains/tools/gitleaks.md.3. Semgrep Static AST Pattern Matcher (
devops scan semgrep,devops scan sast)p/default) with structured finding normalization (Findingmodels).scan_semgrepnative persona tool and bundled Knowledge Base manual:it_domains/tools/semgrep.md.4. PydanticAI Standardized Agent Framework (
devops_cli.ai.pydantic_ai_bridge)create_pydantic_ai_agent,get_persona_pydantic_agent) supporting strongly typed output models, dynamic parameter inspection, and persona workflows (devsecops,architect,qa,pm).it_domains/tools/pydantic_ai.md.5. Modular AI Review Pipeline Stages (
devops_cli.ai.review.stages)pre_analysis.py(run_pre_analysis)static_scan.py(run_static_scan)persona_review.py(run_persona_review)verification.py(run_verification)reranking.py(run_reranking)reporting.py(run_reporting)@trace_span) instrumenting each stage.6. LLM Provider Abstraction Layer (
devops_cli.ai.providers)BaseLLMProvider) decoupling model backends.ollama,openai,claude,copilot, andmockfor deterministic test isolation.7. Standardized Domain Exception Taxonomy (
devops_cli.exceptions)DevOpsCLIError:SecurityError,SSRFBlockedError,KeyringUnavailableError,SecretExposureErrorLLMInferenceError,ContextBudgetExceededError,ModelUnavailableError,PersonaExecutionError8. In-Memory Prometheus Metrics Collector & Context Propagation (
devops_cli.telemetry)GLOBAL_METRICS,InMemoryMetricsRegistry) tracking counters, gauges, and histograms with Prometheus text exposition format.inject_traceparent_headers,extract_traceparent).9. CodeQL Security Hardening & Safe File Descriptors
py/stack-trace-exposure).0o644/0o600) with upfrontos.chmodon atomic temporary files (py/clear-text-storage-sensitive-data).10. Strategic Roadmap & Architectural Conventions
docs/ROADMAP.mdthroughv0.3.0with advanced AI research (Multi-Agent Adversarial Debate, Spec-Driven Development, Dynamic Cost/Latency Router, Test Synthesizer, Cross-Encoder Re-Ranking) and open-source DevOps integrations (TFLint, Dive, Kubeconform, Stern, Helm-diff, Difftastic, tfcmt, Falco).AGENTS.mdengineering guidelines with modular stage patterns, provider contracts, and telemetry standards.Verification & Quality Gates
uv run pytest).mypy --strictpassing across all source files with 0 errors.ruff checkandruff format --checkpassing with 0 errors.devops docs generate --sync-readme.