Repository navigation
feat(release): v0.2.16 - #161
Conversation
* docs(changelog): document v0.2.15 release highlights and features * docs(changelog): clarify k8s logs invocation and list all 11 security scanners
…quotas (#130) * docs(agents): update agent instructions to honor API rate limits and quotas - Add API rate limiting, complexity budgeting, and quota guidelines to AGENTS.md across core engineering, GitHub integration, and AI inference. - Synchronize DEVOPS_CLI_AGENTS_METADATA_TEMPLATE in instruction_generator.py with rate-limiting rules. - Add regression test assertions to test_instruction_generator.py. - Track deliverable in task-129-agent-instructions-rate-limits.md. Closes #129 * docs(agents): include AI inference rate limits and expand generator test assertions * docs(agents): make semaphore example executable and link PR in task tracking
* feat(ai): render chat persona title in orange styling - Render persona title in bold dark_orange in chat section header rule - Output persona reply prompt in bold dark_orange using Rich console - Preserve bold cyan styling for 'You:' user prompt - Update unit tests in test_ai_cmd.py asserting persona and user prompt colors Closes #132 * test(ai): assert dark_orange section header styling and update task status to In Review
…ze workload resource limits (#136) * fix(k8s): review pod restarts, eliminate cgroup oom kills, and optimize workload resource limits - Remove hard memory limits on Ollama DaemonSet (leaving requests at 3000m CPU and 8Gi RAM), allowing dynamic memory bursting into available node RAM without cgroup OOM kills - Add startupProbe to Ollama DaemonSet with 5-minute failure threshold for cold starts and large model weight loading - Relax Ollama livenessProbe (10s timeout, 15s period, 6 failure threshold) to prevent premature kubelet SIGKILL terminations during heavy inference - Raise memory and CPU limits across core workloads (ArgoCD controller, repoServer, server, and Redis; Valkey; Jaeger; Registry; Fluent Bit; and Loki) - Add comprehensive regression tests in tests/test_k8s.py verifying resource limit invariants and probe resilience - Create task tracking document docs/agent/tasks/task-135-k8s-pod-restarts-resource-limits.md Closes #135 * fix(k8s): bound Ollama memory limit, enforce probe contracts, and assert all resource changes
…nd failover handling (#134) * feat(k8s): deploy squid caching proxy with ssl bump, observability, and failover handling - Deploy high-capacity Squid caching proxy configured for 100GB single objects - Enable SSL-Bump TLS interception with dynamic cert generation for Ollama 70B layers - Add Prometheus observability via squid-exporter sidecar on port 9301 - Enable structured JSON access logging to stdout and Cache Manager API - Implement LFUDA dynamic aging eviction with proactive high/low watermarks (92%/85%) - Integrate Squid proxy env vars and CA certificate mount in ollama-daemonset - Document failover architecture across node crash, WAN outage, and storage domains - Add comprehensive unit test suite in test_k8s_squid.py Closes #131 * fix(docker): format and sort imports in _client helper * refactor(k8s): relocate squid docker assets to k8s/squid/docker to prevent SDK namespace shadowing * feat(k8s): add condor node affinity for high-capacity 1.8TB NVMe storage allocation * fix(docker): format import order in client builder * fix(k8s): resolve review feedback on squid probes, egress policy, ca sync, and chown
…elf-improvement loop (#138) * feat(docs): implement document compaction engine and enhance review self-improvement loop - Author DocCompactor engine supporting roadmap, release notes, and log compaction - Integrate devops docs compact subcommand with check, dry-run, and series filtering - Expose docs_compact tool on FastMCP server and synchronize MCP JSON schemas - Harden reference extractor to exclude glob patterns, examples, and stdlib prefixes - Resolve executive summary reporting error handling for skipped and errored files - Enhance review prompts and system instructions for closed-loop self-improvement - Constrain Loki logging NetworkPolicy ingress to ingress-nginx controller - Add comprehensive test suites for compaction engine and MCP tools Closes #137 * fix(docs): resolve review feedback on error sanitization, path containment, and syntax boundaries - Sanitize and bound error strings in pipeline errored_files registry to <= 256 chars - Enforce strict regex validation and archive directory containment for release series - Use negative lookbehind boundaries for secret tokens to support underscore identifiers - Restore process dry-run state via try/finally in docs compact CLI command - Refine log header version extraction and eliminate hardcoded series strings - Populate roadmap and release notes section counters in DocCompactionResult - Truncate caller-provided details in DocCompactionError to 256 characters - Replace hardcoded package prefixes with dynamic importlib package introspection * feat(ai): format chat responses as rich markdown and failover ollama models * docs(roadmap): add agentic sandbox iteration architecture tasks
…e root ca (#143) * feat(k8s): enable squid caching forward proxy cluster-wide and resolve root ca * feat(ai): support chat model cli overrides and map llm gateway to roadmap * fix(k8s): address copilot review on squid proxy security and ca rotation * feat(k8s): enable in-cluster squid proxying, store-id caching, and loopback rewriting * fix(k8s): resolve pod restarts on gpu-feature-discovery and prometheus stack with burstable qos
…ractices (#145) * docs(devcontainer): align devcontainer usage guide with modern best practices * docs(devcontainer): address peer review feedback and improve configuration examples
…luted import patterns (#148) (#149) * refactor(core): decouple circular module imports and streamline convoluted import patterns (#148) * fix(test): resolve child module import edges in invariant check and decouple config settings (#148) * fix(k8s): route stack lifecycle run_subprocess and forward patches to _stack_lifecycle (#148)
…ts, and post-1.0 semver policy (#150) (#151) * docs(architecture): document pre-1.0 alpha status, zero legacy remnants, and post-1.0 semver policy (#150) * docs(security): sanitize homelab configurations and align release manuals with pre-1.0 alpha policy - Fix Copilot review feedback on RELEASE_CYCLE.md: use generic SemVer placeholders X.Y.0 and X.Y.Z - Fix Copilot review feedback on knowledge base: qualify release_management.md and release_engineering_and_semver_governance.md with pre-1.0 alpha zero backwards compatibility policy vs post-1.0 SemVer 2.0.0 governance - Sanitize internal hostnames, RFC 1918 IPs, and hardware mount paths across k8s/squid/deployment.yaml, tests/test_k8s_squid.py, docs/ROADMAP.md, docs/squid-failover-and-observability.md, and docs/agent/tasks/ - Update AGENTS.md and instruction_generator.py with comprehensive prohibitions against recording internal infrastructure details - Ground changes in Issue #152 and docs/agent/tasks/task-152-sanitize-internal-systems-and-strengthen-instructions.md
…cluster network docs (#152) (#153) * docs(security): gate pre-1.0 alpha notice on devops-cli and sanitize cluster network docs (#152) - Gate pre-1.0 alpha notice on meta.is_devops_cli across generate_pointer_stub, generate_instruction_content, and generate_agents_md so external scaffolded projects do not receive DevOps CLI-specific alpha notices - Update test_instruction_generator.py to verify is_devops_cli gating behavior on pointer stubs and AGENTS.md - Sanitize LAN speed reference in docs/squid-failover-and-observability.md to local cluster network speed - Update task tracking in docs/agent/tasks/task-152-sanitize-internal-systems-and-strengthen-instructions.md * docs(agent): update task-152 PR reference to #153 * test(ai): assert absence of pre-1.0 alpha lifecycle block for generic external projects
… configuration (#154) (#155) * fix(security): remediate devsecops findings and consolidate embedding configuration (#154) - Remediate review session findings for credential leakage, injection, and resource exhaustion - Consolidate embedding configuration under ai.tasks.embedding and remove duplicate keys from rag - Add offline fallback to tldextract and test-wide network egress guard - Protect local user runtime config.yaml from automated sanitization rewrites - Enhance review falsification rules, feedback export, and common hallucinations catalog * fix(security): remediate pr 155 review comments and exclude documented example network references (#154)
… task 154 complete
…ne (#157) * feat(sandbox): implement long-running workload sandbox lifecycle engine * docs(agent): update task 106 tracking to In Review with PR 157 * feat(sandbox): remediate pr review findings, update agent instructions, and resolve threads * fix(sandbox): address bandit b108 tmpfs mount false positive and format * docs(roadmap): reprioritize roadmap and redistribute features across v0.2.17-v0.2.19
…I commands (#159) * feat(ci): automatically apply formatting and linting across CLI and CI commands (#158) - Default --fix to True on devops ci, devops ci format, and devops ci lint - Support --check flag for non-mutating validation - Introduce top-level devops format and devops lint CLI commands with clean usage - Move _layouts/ and assets/ to docs/ for Jekyll GitHub Pages compliance - Prevent event loop deadlock in introspect_mcp_tools and offload check_docs - Update test suites, architectural invariants, and documentation * fix(docs): address PR 159 review comments on executor cleanup, alias docs, and jekyll layout - Introspect leaf command aliases directly so devops format and devops lint generate clean leaf command usage rather than inheriting all ci subcommands - Implement non-blocking thread pool executor cleanup with wait=False, cancel_futures=True and asyncio.wait_for in introspect_mcp_tools - Remove /docs/ prefix in docs/_layouts/default.html navigation and footer links to prevent 404s on GitHub Pages - Configure default layout in docs/github-pages.config.yaml for Jekyll markdown pages - Synchronize task tracking and regenerate documentation
…elog version check (#140, #160) Resolves release orchestration failures where release notes extraction fails due to missing version headers or changelog discrepancies: - Strictly enforce matching version in CHANGELOG.md during devops release check (fatal Exit 1) - Implement layered fallback extraction across CHANGELOG.md -> docs/RELEASE_NOTES.md -> git commit log - Defensive fallback to git commit log in .github/workflows/release.yml - Decompose release_check to maintain cyclomatic complexity <= 10 - Comprehensive unit tests in tests/test_release.py
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical and moderate findings remain across security, Kubernetes, sandbox, error-handling, and documentation behavior.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Release v0.2.16 adds sandbox orchestration, formatting/linting and documentation tooling, Kubernetes proxy/GPU changes, AI updates, release governance, and security hardening.
Changes:
- Adds sandbox lifecycle, documentation compaction, and release validation workflows.
- Updates AI, embedding, output-rendering, and security behavior.
- Adds Squid, GPU, and broader Kubernetes configuration and regression tests.
Unresolved findings include Kubernetes configuration, credential redaction, sandbox lifecycle, error handling, output safety, documentation, and token-sanitization issues.
File summaries
| File | Review summary |
|---|---|
uv.lock |
Reviewed. |
tests/test_vulnerability_lookup.py |
Reviewed. |
tests/test_validation.py |
Reviewed. |
tests/test_subsystem_containment_and_redaction.py |
Reviewed. |
tests/test_security_tflint.py |
Reviewed. |
tests/test_review_report_summary.py |
Reviewed. |
tests/test_resource_schemas.py |
Reviewed. |
tests/test_release.py |
Reviewed. |
tests/test_rag_embeddings.py |
Reviewed. |
tests/test_pipeline_protocol.py |
Reviewed. |
tests/test_otel_command_coverage.py |
Reviewed. |
tests/test_mcp.py |
Reviewed. |
tests/test_k8s_logs_diff_chaos.py |
Reviewed. |
tests/test_k8s_logql.py |
Reviewed. |
tests/test_github_issues.py |
Reviewed. |
tests/test_fastmcp_contracts.py |
Reviewed. |
tests/test_embedding_config_retention.py |
Reviewed. |
tests/test_context_packer.py |
Reviewed. |
tests/test_consolidation_table_builder.py |
Reviewed. |
tests/test_consolidation_security_sanitizer.py |
Reviewed. |
tests/test_consolidation_dry_run_decorator.py |
Reviewed. |
tests/test_config_env_overrides.py |
Reviewed. |
tests/test_common_hallucinations.py |
Reviewed. |
tests/test_builtin_tools.py |
Reviewed. |
tests/test_all_commands_help_dryrun.py |
Reviewed. |
tests/test_ai_client_providers_and_embeddings.py |
Reviewed. |
tests/test_ai_agent_capabilities.py |
Reviewed. |
tests/conftest.py |
Reviewed. |
src/devops_cli/telemetry/metrics.py |
Reviewed. |
src/devops_cli/server/routes/stream.py |
Reviewed. |
src/devops_cli/server/routes/status.py |
Reviewed. |
src/devops_cli/server/app.py |
Reviewed. |
src/devops_cli/security/tflint.py |
Reviewed. |
src/devops_cli/security/sanitizer.py |
Critical (1 vote): hyphen-delimited secrets can bypass masking. |
src/devops_cli/security/gitleaks.py |
Reviewed. |
src/devops_cli/security/__init__.py |
Reviewed. |
src/devops_cli/sandbox/ports.py |
Reviewed. |
src/devops_cli/sandbox/__init__.py |
Reviewed. |
src/devops_cli/pipeline/pipeline.py |
Reviewed. |
src/devops_cli/output/table_builder.py |
Moderate (1 vote): empty-table rendering leaves caller-controlled fields unsafe. |
src/devops_cli/output/models.py |
Moderate (1 vote): direct table rendering bypasses safe escaping. |
src/devops_cli/output/markup.py |
Reviewed. |
src/devops_cli/output/formatters/dispatcher.py |
Moderate (1 vote): generic model rows render with safe=False. |
src/devops_cli/output/formatters/__init__.py |
Reviewed. |
src/devops_cli/output/__init__.py |
Reviewed. |
src/devops_cli/models/vulnerability.py |
Reviewed. |
src/devops_cli/main.py |
Reviewed. |
src/devops_cli/lang/en/messages.py |
Reviewed. |
src/devops_cli/k8s/logql.py |
Reviewed. |
src/devops_cli/k8s/chaos.py |
Reviewed. |
src/devops_cli/github/issues.py |
Reviewed. |
src/devops_cli/exceptions/docs.py |
Moderate (2 votes): nested error details are not recursively bounded and sanitized. |
src/devops_cli/exceptions/__init__.py |
Reviewed. |
src/devops_cli/dry_run/models.py |
Reviewed. |
src/devops_cli/docs/generator.py |
Reviewed. |
src/devops_cli/docs/__init__.py |
Reviewed. |
src/devops_cli/core/validation.py |
Reviewed. |
src/devops_cli/config/settings.py |
Reviewed. |
src/devops_cli/config/options.py |
Reviewed. |
src/devops_cli/config/env.py |
Reviewed. |
src/devops_cli/config/defaults.py |
Reviewed. |
src/devops_cli/config/constants.py |
Reviewed. |
src/devops_cli/commands/review.py |
Reviewed. |
src/devops_cli/commands/k8s/security_audit.py |
Reviewed. |
src/devops_cli/commands/k8s/cluster_runtime.py |
Reviewed. |
src/devops_cli/commands/k8s/bootstrap.py |
Reviewed. |
src/devops_cli/commands/k8s/__init__.py |
Reviewed. |
src/devops_cli/commands/ai.py |
Reviewed. |
src/devops_cli/ai/tools/builtin_tools.py |
Reviewed. |
src/devops_cli/ai/thinking_stream.py |
Reviewed. |
src/devops_cli/ai/text_utils.py |
Reviewed. |
src/devops_cli/ai/tasks/verify_finding_system.md |
Reviewed. |
src/devops_cli/ai/tasks/review_output_instruction.md |
Reviewed. |
src/devops_cli/ai/review/stages/reporting.py |
Reviewed. |
src/devops_cli/ai/review/runner.py |
Reviewed. |
src/devops_cli/ai/review/review_environment.py |
Reviewed. |
src/devops_cli/ai/review/patching.py |
Reviewed. |
src/devops_cli/ai/review/exporter.py |
Reviewed. |
src/devops_cli/ai/review/common_hallucinations.py |
Reviewed. |
src/devops_cli/ai/review/common_hallucinations.json |
Reviewed. |
src/devops_cli/ai/review_schema.py |
Reviewed. |
src/devops_cli/ai/response_repair.py |
Reviewed. |
src/devops_cli/ai/personas/devsecops/prompt.md |
Reviewed. |
src/devops_cli/ai/mcp/__init__.py |
Reviewed. |
src/devops_cli/ai/knowledge_base/it_domains/topics/release_engineering_and_semver_governance.md |
Nit (1 vote): malformed nested-backtick SemVer examples. |
src/devops_cli/ai/knowledge_base/it_domains/topics/agentic_ai_and_code_reviews.md |
Reviewed. |
src/devops_cli/ai/knowledge_base/it_domains/tools/ollama.md |
Reviewed. |
src/devops_cli/ai/knowledge_base/devops_cli/tasks/release_management.md |
Nit (1 vote): malformed nested-backtick SemVer examples. |
src/devops_cli/ai/knowledge_base/devops_cli/configuration_and_settings.md |
Reviewed. |
src/devops_cli/ai/knowledge_base/devops_cli/architecture.md |
Reviewed. |
src/devops_cli/ai/context_packer.py |
Moderate (1 vote): repeated full-module unparsing and token counting can make pruning quadratic. |
src/devops_cli/ai/client/unified.py |
Reviewed. |
src/devops_cli/ai/client/ollama.py |
Four moderate findings (1 vote each): 404 handling retries incorrectly and propagates unbounded, unmasked response bodies. |
src/devops_cli/ai/cache/valkey_cache.py |
Reviewed. |
src/devops_cli/ai/benchmark/embedding_runner.py |
Reviewed. |
src/devops_cli/ai/benchmark/document_chunker.py |
Reviewed. |
src/devops_cli/ai/agents/embeddings.py |
Reviewed. |
src/devops_cli/ai/agents/capabilities.py |
Critical (3 votes): generic tool serialization retains authorization_token. |
src/devops_cli/__init__.py |
Reviewed. |
RELEASE_CYCLE.md |
Reviewed. |
pyproject.toml |
Reviewed. |
k8s/squid/service.yaml |
Reviewed. |
k8s/squid/pvc.yaml |
Reviewed. |
k8s/squid/networkpolicy.yaml |
Critical (3 votes): broad 192.168.0.0/16 egress permits arbitrary private-service access. |
k8s/squid/kustomization.yaml |
Reviewed. |
k8s/squid/docker/entrypoint.sh |
Reviewed. |
k8s/squid/docker/Dockerfile |
Reviewed. |
k8s/registry/deployment.yaml |
Reviewed. |
k8s/otel/values.yaml |
Reviewed. |
k8s/otel/jaeger.yaml |
Reviewed. |
k8s/namespaces.yaml |
Reviewed. |
k8s/monitoring/prometheus-values.yaml |
Reviewed. |
k8s/logging/networkpolicy.yaml |
Reviewed. |
k8s/logging/loki-values.yaml |
Reviewed. |
k8s/logging/fluent-bit-values.yaml |
Reviewed. |
k8s/llm/values-open-webui.yaml |
Reviewed. |
k8s/llm/values-ollama.yaml |
Reviewed. |
k8s/llm/valkey.yaml |
Reviewed. |
k8s/llm/ollama-daemonset.yaml |
Reviewed. |
k8s/llm/kustomization.yaml |
Reviewed. |
k8s/kustomization.yaml |
Reviewed. |
k8s/gpu-feature-discovery/kustomization.yaml |
Reviewed. |
k8s/gpu-feature-discovery/daemonset.yaml |
Critical (2 votes): selected image does not provide the configured executable. |
k8s/argocd/values.yaml |
Reviewed. |
docs/SDLC.md |
Reviewed. |
docs/ROUTINE_TASKS.md |
Reviewed. |
docs/RELEASE_NOTES.md |
Moderate (2 votes): advertised sandbox commands are not registered by the CLI. |
docs/KNOWN_ISSUES.md |
Reviewed. |
docs/github-pages.config.yaml |
Reviewed. |
docs/ERRORS.md |
Reviewed. |
docs/ENV_VARS.md |
Reviewed. |
docs/CONFIGURATION.md |
Reviewed. |
docs/commands/lint.md |
Reviewed. |
docs/commands/format.md |
Reviewed. |
docs/commands/docs.md |
Reviewed. |
docs/commands/ci.md |
Reviewed. |
docs/commands/ai.md |
Reviewed. |
docs/agent/tasks/task-158-automatically-apply-formatting-and-linting.md |
Reviewed. |
docs/agent/tasks/task-152-sanitize-internal-systems-and-strengthen-instructions.md |
Reviewed. |
docs/agent/tasks/task-150-pre-1-0-alpha-backwards-compatibility-policy.md |
Reviewed. |
docs/agent/tasks/task-146-remove-obsolete-log-md.md |
Reviewed. |
docs/agent/tasks/task-144-devcontainer-usage-best-practices.md |
Reviewed. |
docs/agent/tasks/task-142-llm-gateway-distributed-router.md |
Reviewed. |
docs/agent/tasks/task-141-squid-proxy-cluster-enablement.md |
Reviewed. |
docs/agent/tasks/task-140-release-notes-extraction-fallback-and-changelog-check.md |
Reviewed. |
docs/agent/tasks/task-139-ai-chat-markdown-formatting.md |
Reviewed. |
docs/agent/tasks/task-132-ai-chat-persona-orange.md |
Reviewed. |
docs/agent/tasks/task-129-agent-instructions-rate-limits.md |
Reviewed. |
docs/agent/archive/historical-phases-1-to-50.md |
Reviewed. |
docs/_layouts/default.html |
Reviewed. |
CONTRIBUTING.md |
Reviewed. |
config.example.yaml |
Reviewed. |
CLAUDE.md |
Reviewed. |
.github/workflows/release.yml |
Reviewed. |
.github/copilot-instructions.md |
Reviewed. |
Review details
Suppressed comments (17)
docs/agent/task.md:25
- The release index marks this milestone item
Done, but its linked task file still declaresStatus: In Review(and other included tasks remainIn Progress). The repository lifecycle definesDoneonly after the PR is merged, CI is green, and the issue is closed, so this release claim and the task artifacts are inconsistent; reconcile the statuses before publishing the completed milestone.
| [#106](https://github.com/dan-petty/devops-cli/issues/106) | [#157](https://github.com/dan-petty/devops-cli/pull/157) | Long-Running Workload Sandbox Lifecycle Engine (`devops sandbox`) | `Done` | [`task-106-workload-sandbox-lifecycle-engine.md`](tasks/task-106-workload-sandbox-lifecycle-engine.md) |
k8s/squid/deployment.yaml:36
- This release manifest still hard-codes the node hostname
storage-node, exposing concrete cluster topology and making the deployment dependent on an environment-specific identity. Use a configurable node role/label selector or omit this affinity preference; do not commit a concrete infrastructure hostname while claiming topology sanitization.
src/devops_cli/ai/client/ollama.py:158 - Raising
httpx2.RequestErrorhere makes the 404 fall into the outerexcept RequestErrorretry/continue path, so after all endpoints are tried the caller receives only the generic "Cannot connect to Ollama" error. Raise a non-retryableAIClientError(with bounded, sanitized detail) or handle this status before the retry handler.
src/devops_cli/ai/client/ollama.py:320 - The streaming 404 branch has the same control-flow bug:
RequestErroris caught by the outer retry handler and converted into a generic connectivity failure, hiding the model-not-found result. Use the non-retryable provider error path here as well, with a bounded sanitized message.
src/devops_cli/ai/client/ollama.py:158 - The 404 branch copies the complete provider response into a
RequestErrorwithout masking or bounding it. A model endpoint can return arbitrary or secret-bearing text, and this exception is likely surfaced by callers; apply the same secret masking and <=256-byte bound used by the adjacent error path.
src/devops_cli/ai/client/ollama.py:320 - This streaming 404 branch has the same unbounded, unmasked response-body propagation as the non-streaming path. Provider-controlled text can leak through the exception or bloat logs; truncate and sanitize the body before constructing the error.
src/devops_cli/ai/context_packer.py:292 - The safety loop re-runs
ast.unparseandcount_tokensover the whole remaining module for every removed statement. If the token-cost estimate undercounts enough statements to enter this loop, pruning becomes quadratic again despite the preceding linear-cost claim, making large documents unnecessarily expensive; keep a running bound or otherwise avoid repeated full-tree serialization.
src/devops_cli/ai/knowledge_base/devops_cli/tasks/release_management.md:55 - The SemVer examples repeat the same malformed nested-backtick syntax, so these new release-management instructions render incorrectly. Separate the bold label from the inline-code version, e.g.
**MAJOR** (X.0.0):, for all three entries.
src/devops_cli/ai/knowledge_base/it_domains/topics/release_engineering_and_semver_governance.md:27 - These list items use nested backticks such as
`MAJOR (`X.0.0`)`, which closes the code span before the version and leaves malformed Markdown. Render the label and version as separate emphasis/code spans, for example**MAJOR** (X.0.0):, so the SemVer guidance is readable.
src/devops_cli/commands/docs.py:330 docs/LOG.mdhas been removed, but this new--log-onlyoption still advertises and dispatches compaction for that path.compact_allmerely skips the missing file, so the command silently succeeds without doing work and generated documentation points users to a nonexistent artifact; remove this legacy option or retarget it to the supported archive model.
src/devops_cli/commands/sandbox.py:212- The command reports that the sandbox was removed, but
engine.stop()only changes the registry status toSTOPPED; it does not remove the registry entry. This makes the user-facing lifecycle result false and conflicts with the advertised separate removal/cleanup lifecycle. Either remove the record here or report only that it was stopped.
src/devops_cli/output/formatters/dispatcher.py:48 - The auto-generated model rows can contain caller- or provider-controlled Rich markup, but this call leaves
safe=False(therender_tabledefault). Rendering a value such as[link=https://...]...will interpret it as terminal markup rather than display it literally, so this new central dispatcher still permits terminal escape injection; passsafe=Truefor this generic path.
src/devops_cli/output/models.py:84 - This direct Rich table construction bypasses the escaping path:
format_outputandrender_tablereturnTablePayload.render()directly, so titles, headers, and cells containing Rich markup are interpreted even when callers request safe output. Route payloads through the safe formatter or escape every untrusted field before adding it to the table.
src/devops_cli/output/table_builder.py:41 - When the table is empty this path passes
safe=False, so caller-controlled titles and column headers are still interpreted as Rich markup; only the placeholder cell is escaped. This leaves a terminal markup/escape-injection path despite the safe non-empty branch. Sanitize the title and columns and render the placeholder withsafe=Truewhile preserving any intentional styling separately.
src/devops_cli/sandbox/engine.py:255 - The CLI fallback has the same exposure problem as the SDK path:
-p host:containerbinds on all interfaces, even though allocation only probes loopback. Prefix the host port with127.0.0.1unless the command exposes an explicit remote-bind setting.
src/devops_cli/sandbox/engine.py:369 - If the SDK cleanup fails, both fallback commands are run with
check=Falseand their return codes are discarded.stop()then records the sandbox as stopped even when the container is still running, leaving a leaked workload and port. Check both results and raise aSandboxErrorbefore updating the registry on cleanup failure.
src/devops_cli/sandbox/models.py:35 - This validator raises a bare
ValueErroreven thoughSandboxValidationErroralready inherits fromValueErrorand carries the project's machine-readable sandbox error code. Use the domain exception consistently for the sandbox validators so validation outside Pydantic does not lose the required error taxonomy.
- Files reviewed: 212/215 changed files
- Comments generated: 8
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…et lookbehind, and gfd image
…y with allocate_ports
Release v0.2.16
🚀 Highlights & Architectural Milestones
devops sandbox):devops sandbox run,inspect,exec,stop,rm,clean, andshell.devops format,devops lint):devops formatanddevops lintCLI commands with clean leaf command usage.--fixenabled acrossdevops ci,devops ci format, anddevops ci lint, with--checkflag for non-mutating validation.docs/for seamless GitHub Pages rendering.k8s/squid/):devops tls generate-ca), and signed endpoint certificates (devops tls generate-cert).devops docs compact):devops ai chatCLI with live Rich Markdown streaming, syntax-highlighted code blocks, and formatted thinking display blocks.devops release notes,devops release check):CHANGELOG.mdduringdevops release check, failing with exit code 1 if missing or mismatched.CHANGELOG.md->docs/RELEASE_NOTES.md-> git commit history (git log <prev_tag>..HEADorgit log -n 20)..github/workflows/release.ymlwith a defensive fallback to commit logs in the release notes extraction step.release_checkinto helper functions preserving cyclomatic complexity <= 10.authorization_tokenfrom serialized model settings in diagnostics while preserving runtime provider authentication in MCP tools.core/validation.pyfor chaos testing and log querying.safe=Truemarkup escaping to prevent terminal escape injection.server/routes/stream.py.ai.tasks.embedding.📋 Release Verification Checklist
devops release check --skip-ci)devops ci)src/tests/test_architectural_invariants.py)devops docs generate --sync-readme)release/v0.2.16