Skip to content

feat(release): v0.2.21 - #329

Merged
dan-petty merged 11 commits into
mainfrom
release/v0.2.21
Sep 19, 2026
Merged

dan-petty merged 11 commits into
mainfrom
release/v0.2.21

Conversation

@dan-petty

@dan-petty dan-petty commented Sep 19, 2026

Copy link
Copy Markdown
Owner

feat(release): v0.2.21

Summary

Release v0.2.21 tracking PR under GitHub pull request merge controls.

Included Deliverables

Release Notes

Added

  • Multi-Scale Semantic Outline & Inspectional Reading Scanner (devops_cli.ai.inspect):
    • Replaced monolithic file dumping with human-like inspectional reading and hierarchical perceptual scaffolding across 3 zoom levels: Topology, Structural Outline, and Deep Focal Window (devops ai read --inspect).
    • Added AST symbol extraction, hotspot complexity mapping, and dynamic focal window targeting.
  • Approximate Lifetime Spend Tracking & Observability (devops_cli.ai.cost):
    • Introduced persistent ACID SQLite ledger (spend.db) tracking request tokens, backend server endpoints, model names, durations, and approximate USD spend without blocking execution (devops ai spend, devops ai cost report).
    • Integrated model pricing dataset (LiteLLM registry) with parameter-bracket heuristics and custom overrides (devops ai cost set-price).
    • Exported Prometheus metrics (/metrics) and dedicated Grafana observability dashboard (k8s/monitoring/dashboards/ai-spend.json).
  • Priority Classification for AI/LLM Inference (devops_cli.ai.gateway, devops_cli.ai.models):
    • Implemented dynamic request classification prioritizing interactive/chat calls (high), pipeline tasks (normal), and background jobs (as_available).
    • Integrated client-side token governance and capacity-aware dispatch.
  • LightLLM & Portkey AI Routing Services Integration (devops_cli.ai.gateway, devops_cli.ai.models):
    • Expanded DevOps CLI AI routing tier to support Portkey AI Gateway on port 8787 and LightLLM TokenAttention inference engine on port 8000.
    • Implemented zero-trust perimeter policies, dynamic model route discovery, and direct backend health probing.
  • Dynamic Slot Leasing & Context-Aware File Review (devops_cli.ai.client, devops_cli.ai.review):
    • Dynamic least-loaded slot leasing across candidate inference servers with condition variable notifications.
    • Multi-layered file classification (shebangs, MIME types, AST parsing, canonical names) routing documentation, config, and code files to specialized review task prompts.
  • Milestone, Release Epics & Subsystem Research Synchronization (devops_cli.github.release_epics, devops_cli.github.roadmap_sync):

Fixed & Hardened

  • Reliability Hardening, Exception Sanitization & Telemetry Optimization (devops_cli.telemetry, devops_cli.core.exceptions):
    • Hardened exception handling across AI, Git, Security, and Core modules with explicit domain exception hierarchies.
    • Enforced bounded string length caps (\le 256 chars) on external exception details to prevent log bloat and CWE-209/CWE-400 leakage.
    • Optimized OTel span processors and deduplicated telemetry attributes across command invocations.
    • Resolved Bandit B608 static finding in SpendLedger using parameterized SQLite queries.

Quality Gate Checklist

  • Gated CI Quality Gate passing (devops ci)
  • Documentation and Command Matrix in README.md synchronized
  • Version matching across pyproject.toml and src/devops_cli/__init__.py
  • CodeQL & Static Analysis passing
  • Pre-commit & CI validation passing
  • Milestone deliverables reviewed and merged into release/v0.2.21
  • Final release readiness verified before converting from draft

…an data tier (#280) (#281)

* feat(reliability): harden exception handling, optimize telemetry & clean data tier (#280)

- Harden exception handling across AI, Git, Security, and Core modules with explicit error types and context
- Prevent silent error suppression and arbitrary default fallbacks across public APIs
- Optimize Jaeger/OTel traces, Prometheus metrics, and FluentBit logging configurations
- Enhance GitHub rate limiting client with header tracking and proactive quota safety
- Clean up .data directory handling, configure dedicated data.dir path, and deduplicate config writes
- Add forward-looking roadmap initiatives for process group management and merge readiness
- Expand test suites and architectural invariants for data dir config and stray script prevention
- Track deliverable completion in docs/agent/tasks/task-280-harden-exceptions-telemetry-data-tier.md

* fix(security): sanitize CodeQL clear-text secret logging in settings and credentials (#280)
…nd context-aware file review (#283) (#284)

- Implement dynamic least-loaded slot leasing across candidate Ollama servers using condition variables to prevent Head-of-Line blocking.
- Add multi-layered file classification (shebangs, MIME types, AST/JSON/YAML/TOML parsing, canonical filenames/extensions) to route documentation, configuration, and code files to specialized review task prompts and persona subsets.
- Optimize review pre-analysis batching to run static AST extraction without redundant LLM chat calls.
- Fix OTelTyper lazy proxy registration to attribute code.namespace and code.function to target commands and eliminate duplicate telemetry attributes.
- Add comprehensive test suites for slot leasing, file classification, and telemetry deduplication.
* docs(roadmap): expand v0.2.24 with 8 vibes-grounded improvements from Obs 18-20, Systems 09-10

New roadmap items derived from empirical vibes observations:

P0 - Critical:
- Lazy Domain-Gated MCP Tool Schema Hydration (Obs 18): 100+ tools consume 25% of context window; lazy hydration reclaims 85%
- Pipeline Stage Context Budgeting & Invariant Pinning (Obs 19): sequential pipeline context bloat; invariant eviction under multi-turn drift
- Capability-Gated Model Failover & AIMD Batch Recovery (Obs 20): 70B→14B failover cliff; one-way embedding batch ratchet

P1 - High:
- Lossless Structured Error Reflection for Schema Retries (Obs 19): 256-char truncation forces multi-turn retry loops
- Background Shell Pipe Deadlock Fix & Output Contract (Systems Obs 09): 64KB pipe buffer deadlock on verbose commands
- Structured Constraint Propagation Across Subagent Delegation (Systems Obs 09): 3-layer delegation retains only 61% fidelity
- MCP Resource-First Data Access & Tool Output Sandboxing (Systems Obs 10): Resources 3x cheaper for read-heavy patterns
- Lossless Structured Error Reflection (Obs 19): single-turn correction via structured field-path errors

* feat(ai): priority classification for AI/LLM requests (#285)
…shboards (#287, #289) (#288)

* feat(roadmap): add GitHub and VS Code agentic integrations (#287)

* feat(roadmap): add devops-cli Grafana dashboards suite (#289)
…rometheus and grafana observability (#290) (#291)

* feat(ai): track approximate lifetime spend per backend service with prometheus and grafana observability (#290)

* fix(security): resolve Bandit B608 by using static parameterized queries in SpendLedger
…e LightLLM and Portkey AI routing (#292)

* feat(ai, k8s): prioritize roadmap into 0.3.x-0.5.x lines and integrate LightLLM and Portkey AI routing

* feat(roadmap, k8s): add turnkey Grafana dashboards for all Kubernetes stacks (#293) (#294)

* feat(roadmap, k8s): add turnkey Grafana dashboards for all Kubernetes stacks (#293)

* docs(sdlc): fix Phase 6 Mermaid release choreography diagram
Copilot AI lite review requested due to automatic review settings September 19, 2026 19:52
@dan-petty dan-petty added the release Release pull requests label Sep 19, 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.

@dan-petty dan-petty added this to the v0.2.21 milestone Sep 19, 2026
…ion in pre-commit (#331)

* fix(release): query milestone deliverables and enforce branch protection in pre-commit (#330)

* build(ci): move devops ci quality gate to pre-push hook
Copilot AI review requested due to automatic review settings September 19, 2026 20:35

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 838c0d7 into main Sep 19, 2026
5 checks passed
@dan-petty
dan-petty deleted the release/v0.2.21 branch September 19, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Release pull requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants