Skip to content

feat(release): v0.2.18 - #202

Merged
dan-petty merged 10 commits into
mainfrom
release/v0.2.18
Sep 16, 2026
Merged

dan-petty merged 10 commits into
mainfrom
release/v0.2.18

Conversation

@dan-petty

@dan-petty dan-petty commented Sep 14, 2026 •

Copy link
Copy Markdown
Owner

feat(release): v0.2.18

Summary

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

Included Deliverables

Quality Gate Checklist

@dan-petty dan-petty added this to the v0.2.18 milestone Sep 14, 2026
@dan-petty dan-petty added type/chore Type chore: maintenance, such as a dependency update scope/github GitHub Projects v2, Views, Milestones, Labels, and PR automation priority/p1-high Priority P1: high-impact work for the next planned milestone status/in-progress Status In Progress: an owner works on the item labels Sep 14, 2026
…sions (#116) (#203)

* fix(security): harden secret sanitizer boundaries and safe path exclusions (#116)

* fix(release): default release PRs to draft mode

* fix(security): harden secret boundaries, remove extension lookahead, and update task status (#116)
…ement (#204)

* test

* fix(security): remediate devsecops findings and add native rate management

* docs(task): update task-204 status to in review and link PR #204

* fix(security): permit token masking in filesystem path arguments
…d relocate MockProvider (#205) (#206)

* fix(security): remediate review findings, exclude home in sandbox, and relocate MockProvider (#205)

* docs(task): update task-205 status to in review and link PR #206

* test(sandbox): provide explicit tmp_path workspace_dir in test_docker_sandbox_wait_timeout

* fix(rag): support both gitignore and gitwildmatch pathspec factories
…#207) (#208)

* feat(sandbox): multi-tier networking options and decommission task.md index (#207)

* docs(agent): transition task 207 to in-review with PR #208

* test(projects): update test fixtures to eliminate task.md references

* fix(security): replace concrete RFC 1918 and internal homelab endpoints with standard documentation values

* fix(sandbox): harden network containment, secret output masking, and rate limiter caching

* fix(sandbox): remediate egress containment, dns resolution, and output masking findings (#207)

* fix(security): stream sandbox container output directly to sys streams avoiding logger sink cleartext alerts (#207)

* docs(agents): mandate working pull requests from oldest to newest (FIFO)

* docs(roadmap): add v0.2.23 reactive workstation command center and interactive TUI

* docs(agents): mandate root-cause remediation, roadmap synthesis, and interaction improvement

* fix(docs): escape placeholder angle brackets and prune completed roadmap matrix items

* fix(security): stream sandbox output via centralized output writers to resolve codeql cleartext alerts
… thresholds (#209) (#210)

* fix(k8s): uncap ollama memory limits and elevate daemonset/deployment thresholds (#209)

* fix(k8s): add CoreDNS resource configs and tighten test assertions (#209)
…nd diff-only project sync (#211) (#212)

* fix(github): enforce window-budgeted rate pacing, disk quota persistence, and diff-only project sync (#211)

* docs(agent): record PR #212 in task 211 tracking

* fix(github): enforce low-quota circuit breakers, preamble-tolerant JSON parsing, and casing-safe project diffing (#211)

* fix(github): replace quota thresholds with logical exponential backoff (#211)

* test(github): patch run_gh instead of run_subprocess in reconcile tests (#211)

* fix(github): derive rate limit pacing from actual response values without hardcoded windows (#211)

* fix(ci): stop running all of the ci tasks every time a pr is marked ready for review.

* fix(ci): decouple project automation into dedicated workflow and add quota safety guards (#211)

* fix(github): align rate limiter baseline velocity and add quota test coverage (#211)

* refactor(ai): eliminate inline function parameter defaults in favor of defaults submodule

* fix(github): enforce strict non-negative rate quotas, 25% threshold, and remediate review findings (#211)

* fix(typecheck): resolve Path None guard and optional quota remaining in mypy (#211)

* docs: refresh CLI and MCP references for updated commands and errors (#211)

* fix(ci): enforce mandatory pre-push devops ci gate, handle unauthenticated acquire, and expand test coverage (#211)

* fix(pr): align checks fallback to run_subprocess and isolate rate limiter sleep test (#211)

* fix(ci): complete pre-push gate, argo drift tests, and coverage expansion (#211)

* docs(agent): update task-211 documentation with linear window pacing and pre-push quality gate (#211)

* fix(pr): guard pr ready against failing checks and fix project automation uv sync (#211)

* docs(pr): update cli and mcp reference for pr ready --force

* fix(github): address pr 212 review comments on workflows, sandbox, defaults, and rate limiter (#211)

* fix(security): derive artifact version from package metadata and validate whitelist tokens (#211)
#112) (#213)

* fix(ci): prune all merged PR devcontainer images from ghcr and guard in-flight builds

* feat(security): sigstore cosign container provenance and image signing (#112)

* docs(agent): link PR 213 in task 112 tracking doc

* fix(security): resolve review comments for cosign container provenance (#112)

* ci: re-trigger validation after resolving all review threads
… (#214)

* feat(security): falco ebpf runtime security and anomaly streamer (#113)

* fix(security): resolve review comments for falco ebpf runtime security (#113)

* chore: retrigger validation after resolving all review threads
…adar batching (#122) (#215)

* feat(security): distributed threat intelligence valkey l2 cache and radar batching (#122)

* fix(security): resolve review comments for threat intel valkey l2 cache and batching (#122)

* chore: retrigger validation after resolving all review threads

* perf(github): adjust rate limit no-delay used threshold to 30%
@dan-petty
dan-petty marked this pull request as ready for review September 16, 2026 12:26
Copilot AI lite review requested due to automatic review settings September 16, 2026 12:26
Copilot stopped reviewing on behalf of dan-petty due to an error September 16, 2026 12:46
@dan-petty
dan-petty merged commit 46472f3 into main Sep 16, 2026
4 of 5 checks passed
@dan-petty
dan-petty deleted the release/v0.2.18 branch September 16, 2026 12:48

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.

Note

Copilot was unable to run its full agentic suite in this review.

Pull request overview

This PR strengthens security defaults and sanitization across the CLI (subprocess execution, sandboxing, filesystem traversal), expands GitHub automation and MCP tool contracts, and centralizes many previously hard-coded defaults into configuration constants.

Changes:

  • Hardened security controls: stricter sandbox defaults, cwd/KUBECONFIG validation, symlink/ignores handling, and broader secret masking.
  • Added new capabilities and docs: Cosign sign/verify, K8s security-stream, GH api, updated sandbox networking docs, and workflow automation.
  • Refactored to central defaults/constants and expanded test coverage across these behaviors.

Reviewed changes

Copilot reviewed 186 out of 188 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/test_workload_sandbox.py Updates sandbox defaults expectation + adds whitelist/home-dir exclusion tests
tests/test_vulnerability_lookup.py Tightens cache assertion by checking batch URL call count
tests/test_valkey.py Adds Valkey CLI error/edge-case tests
tests/test_ui_dashboard.py Reduces flakiness by using short explicit pauses
tests/test_test_runner.py Adds whitelist parsing, sandbox execution, and profiler error handling tests
tests/test_subsystem_containment_and_redaction.py Ensures sandbox config uses tmp workspace path in timeout test
tests/test_sandbox_traces.py Expands unsafe IP coverage + adds tests for blocking and failure modes
tests/test_sandbox_probe.py Normalizes spoof hostnames to example.com in tests
tests/test_sandbox_lifecycle.py Adds secret masking + home-dir workspace validation behavior tests
tests/test_repos.py Adds tests for workspace reload, resolve, and dry-run behaviors
tests/test_release.py Adds draft default/override coverage in release PR flows
tests/test_pydantic_ai_profiles_and_providers.py Migrates MockProvider to test module + adds provider registration usage
tests/test_providers.py Uses register_provider and test MockProvider
tests/test_process.py Adds cwd traversal/forbidden path security tests
tests/test_pr_cmd.py Adds failing-check gating tests, secret masking test, and diff exit code behavior test
tests/test_k8s_context.py Adds secret masking + minikube autostart + KUBECONFIG security tests
tests/test_k8s.py Updates resource limit expectations + adds CoreDNS assertions
tests/test_instruction_generator.py Adds required instruction sections assertions
tests/test_harness.py Expands SqlitePlanStore path security test
tests/test_github_projects_reconcile.py Aligns to run_gh usage + adds draft status inference + quota tests
tests/test_github_milestones.py Aligns GH command patching to run_gh
tests/test_fastmcp_contracts.py Adds docker_sign/verify + pr_ready MCP contract tests
tests/test_docs.py Adds angle-bracket escaping tests for docs generator
tests/test_devcontainer.py Adds mount target traversal/system path rejection + secret masking in minikube start
tests/test_consolidation_security_sanitizer.py Adds word-boundary/path false-positive safeguards tests
tests/test_config_commands.py Adds DEVOPS_CLI_CONFIG path security + sandbox exclude_home_dir config tests
tests/test_common_hallucinations.py Adds hallucination catalog coverage tests
tests/test_argo_gitops.py Adds drift inspector success/error tests
tests/test_architectural_invariants.py Adds invariant that monolithic docs/agent/task.md must not exist
tests/conftest.py Adds session autouse fixture to register MockProvider for tests
src/devops_cli/watchers/live_resource.py Centralizes watcher defaults into config defaults
src/devops_cli/watchers/file_watcher.py Replaces ad-hoc ignore list with gitignore-based ignore logic
src/devops_cli/valkey/rate_limiter.py Centralizes defaults for Valkey rate limiter parameters
src/devops_cli/valkey/client.py Centralizes defaults + adds ex TTL alias + default scan/keys params
src/devops_cli/telemetry/waterfall.py Extends unsafe Jaeger target blocking to private ranges
src/devops_cli/security/sbom.py Uses DEFAULT_PROJECT_NAME and package version defaulting to version
src/devops_cli/security/sanitizer.py Hardens secret regex boundaries and reduces false positives
src/devops_cli/security/kubeconform.py Uses gitignore-based ignores during native fallback validation
src/devops_cli/security/gitleaks.py Adds symlink/containment checks + gitignore-based ignore
src/devops_cli/security/dependency_remediator.py Centralizes default min severity in defaults
src/devops_cli/security/complexity.py Centralizes complexity defaults + uses gitignore-based ignore
src/devops_cli/security/checkov.py Uses repo root + gitignore-based ignores in native fallback
src/devops_cli/security/aibom.py Centralizes defaults + uses version when project_version omitted
src/devops_cli/security/init.py Exports new network reference helpers
src/devops_cli/output/formatters/tables.py Dedupes/sorts/filters network refs and expands status coloring
src/devops_cli/models/vulnerability.py Adds multi-location support and summarized location rendering
src/devops_cli/models/k8s.py Adds Falco security stream request/result models and validators
src/devops_cli/models/docker.py Adds Cosign sign/verify request/result models
src/devops_cli/models/init.py Re-exports new Docker cosign models
src/devops_cli/lang/en/help.py Adds help strings for k8s security-stream and GH api; improves formatting
src/devops_cli/k8s/policy.py Centralizes default policy engine
src/devops_cli/k8s/logs.py Centralizes default tail lines
src/devops_cli/k8s/logql.py Centralizes Loki/log query defaults
src/devops_cli/k8s/credentials.py Centralizes namespace/stack defaults
src/devops_cli/k8s/chaos.py Centralizes namespace/duration defaults
src/devops_cli/github/ssh.py Routes gh calls through run_gh rate-limited runner
src/devops_cli/github/pr_monitor.py Removes REST fallback for unresolved threads; relies on GraphQL path
src/devops_cli/exceptions/git.py Adds GitHubRateLimitError typed exception
src/devops_cli/exceptions/docker.py Adds CosignError and CosignVerificationError classes
src/devops_cli/exceptions/init.py Re-exports new exception classes
src/devops_cli/docs/generator.py Escapes placeholder angle brackets outside inline code spans
src/devops_cli/core/repo.py Improves gitignore matching for directories and git check-ignore arg
src/devops_cli/core/process_pipeline.py Uses sanitized telemetry command + isolated env builder
src/devops_cli/core/process.py Validates cwd + restricts dangerous env overrides
src/devops_cli/config/settings.py Adds sandbox config + config-path security validation + uses run_gh
src/devops_cli/config/options.py Adds sandbox.exclude_home_dir option key
src/devops_cli/config/commands.py Adds cosign binary + builder helpers
src/devops_cli/commands/vault.py Masks secrets in errors and catches VaultConfigurationError
src/devops_cli/commands/repos.py Masks user-provided URLs and exception strings
src/devops_cli/commands/k8s/diagnostics.py Adds security-stream command and severity validation/export handling
src/devops_cli/commands/k8s/cluster_runtime.py Validates KUBECONFIG entries for traversal/forbidden paths
src/devops_cli/commands/k8s/cluster_context.py Masks persist errors + honors minikube autostart setting
src/devops_cli/commands/k8s/init.py Registers new k8s security-stream command
src/devops_cli/commands/devcontainer.py Validates mount targets against traversal/forbidden paths + masks startup msg
src/devops_cli/commands/config.py Routes gh auth check via run_gh
src/devops_cli/argo/rollouts.py Centralizes default namespace usage
src/devops_cli/argo/gitops.py Switches to gitignore-based ignores + adds safe manifest entry recording
src/devops_cli/argo/fleet.py Centralizes fleet defaults
src/devops_cli/ai/tools/builtin_tools.py Uses gitignore-based ignore in code search
src/devops_cli/ai/test_gen.py Centralizes synthesized test status default
src/devops_cli/ai/tasks/review.md Expands review invariants and anti-hallucination guidance
src/devops_cli/ai/router.py Centralizes default latency tier
src/devops_cli/ai/review_schema.py Centralizes default finding status
src/devops_cli/ai/review/runner.py Uses gitignore-based ignore rather than static ignored dir set
src/devops_cli/ai/review/common_hallucinations.py Expands match strategy to include full path patterns
src/devops_cli/ai/review/common_hallucinations.json Adds new hallucination entries
src/devops_cli/ai/review/chunker.py Reworks reviewable file filtering to use gitignore-based ignores
src/devops_cli/ai/response_repair.py Centralizes JSON repair limits and tool extraction constants
src/devops_cli/ai/repomap.py Centralizes repomap limits and uses gitignore-based ignore
src/devops_cli/ai/rag/indexer.py Adds symlink/containment checks + improves gitignore parsing + uses is_ignored_by_git
src/devops_cli/ai/pydantic_ai_bridge.py Centralizes defaults for agent context and end strategy
src/devops_cli/ai/providers/init.py Adds register_provider and removes built-in MockProvider
src/devops_cli/ai/library/drift_auditor.py Uses gitignore-based ignore for workspace audit
src/devops_cli/ai/knowledge_base/devops_cli/tasks/github_project_management.md Adds FIFO PR processing governance note
src/devops_cli/ai/instruction_generator.py Centralizes metadata defaults + expands AGENTS guidance sections
src/devops_cli/ai/harness/slots.py Uses gitignore-based ignore during exploration/scouting
src/devops_cli/ai/harness/planning.py Tightens SqlitePlanStore db_path allowed-base constraints
src/devops_cli/ai/harness/filesystem.py Adds symlink/containment checks and gitignore-based ignore
src/devops_cli/ai/function_signature.py Centralizes signature rendering defaults
src/devops_cli/ai/format_prompt.py Centralizes XML formatting tags/indent defaults
src/devops_cli/ai/durable.py Centralizes durable agent/store defaults
src/devops_cli/ai/context_packer.py Centralizes context packing token defaults
src/devops_cli/ai/concurrency.py Centralizes concurrency defaults
src/devops_cli/ai/common_tools.py Centralizes web/tool timeout and sizing defaults
src/devops_cli/ai/ast/graph.py Uses gitignore-based ignore for polyglot AST graph scanning
src/devops_cli/ai/agents/media.py Centralizes media defaults and sqlite memory db path
src/devops_cli/ai/agents/embeddings.py Centralizes embedding defaults
src/devops_cli/ai/agents/agent.py Centralizes agent defaults (name/system prompt)
src/devops_cli/init.py Bumps version to 0.2.18
pyproject.toml Bumps project version to 0.2.18
k8s/logging/fluent-bit-values.yaml Raises Fluent Bit memory limit
k8s/llm/values-ollama.yaml Removes Ollama memory limit
k8s/llm/ollama-daemonset.yaml Removes Ollama DaemonSet memory limit
k8s/coredns/values.yaml Adds CoreDNS resource values file
k8s/coredns/helmchartconfig.yaml Adds HelmChartConfig for CoreDNS resource overrides
k8s/coredns/deployment-patch.yaml Adds CoreDNS deployment resource patch
k8s/argocd/values.yaml Raises ArgoCD repoServer resources
docs/commands/test.md Documents new sandbox network flags and default
docs/commands/sandbox.md Documents new sandbox network flags + network-policy command
docs/commands/repos.md Escapes placeholders for docs generator rendering
docs/commands/release.md Documents --draft/--no-draft defaults
docs/commands/pr.md Documents --force flag
docs/commands/k8s.md Documents k8s security-stream command
docs/commands/gh.md Adds docs for gh api + updates project sync wording + documents --force
docs/commands/docker.md Documents docker sign/verify + new sandbox network flags
docs/commands/devcontainer.md Escapes placeholder formatting in help docs
docs/agent/tasks/task-211-rate-limit-budget-pacing-project-sync.md Adds new task tracking doc
docs/agent/tasks/task-209-uncap-ollama-memory-elevate-k8s-limits.md Adds new task tracking doc
docs/agent/tasks/task-207-sandbox-multi-tier-networking-options.md Adds new task tracking doc
docs/agent/tasks/task-205-remediate-review-findings-self-improvement.md Adds new task tracking doc
docs/agent/tasks/task-204-remediate-devsecops-findings-self-improvement.md Adds new task tracking doc
docs/agent/tasks/task-122-distributed-threat-intel-valkey-l2.md Adds new task tracking doc
docs/agent/tasks/task-116-secret-sanitizer-word-boundaries.md Adds new task tracking doc
docs/agent/tasks/task-113-falco-ebpf-runtime-security.md Adds new task tracking doc
docs/agent/tasks/task-112-sigstore-cosign-container-provenance.md Adds new task tracking doc
docs/agent/tasks/README.md Updates task-tracking model and decommissioned index guidance
docs/agent/README.md Removes reference to decommissioned task.md index
docs/SELF_IMPROVEMENT.md Adds remediation case studies and security hardening summary
docs/SDLC.md Updates SDLC task tracking + adds FIFO PR processing policy
docs/ROUTINE_TASKS.md Adds FIFO PR processing + updates task-tracking references
docs/ERRORS.md Documents new Cosign and GitHub rate limit error codes
config.example.yaml Adds sandbox.exclude_home_dir config example
README.md Updates command matrix for new tools and doc escaping
CHANGELOG.md Promotes 0.2.18 section (replaces Unreleased)
.pre-commit-config.yaml Enables pre-push hook running devops ci
.github/workflows/project-automation.yml Adds workflow to sync project boards on PR/issue events
.github/workflows/cleanup-devcontainer.yml Adds scheduled cleanup + tag validation/protection
.github/workflows/ci.yml Avoids rerunning CI on ready_for_review; adds PR-state check before devcontainer publish
Suppressed comments (6)

src/devops_cli/watchers/file_watcher.py:1

  • find_repo_root(path) may return None (as indicated by other call sites guarding for None). Passing None into is_ignored_by_git(root, path) will raise at runtime. Fix by handling the None case (e.g., if root is None: return False) before calling is_ignored_by_git.
    src/devops_cli/security/kubeconform.py:1
  • find_repo_root(rel_root) can be None (other modules guard for this), but is_ignored_by_git(repo_root, f) assumes a Path. Add a repo_root is not None guard (or default to treating as not ignored) to avoid runtime errors when validating manifests outside a git repository.
    src/devops_cli/ai/tools/builtin_tools.py:1
  • Same issue as other find_repo_root call sites: if find_repo_root(path) returns None, calling is_ignored_by_git(root, path) will fail. Handle root is None explicitly (e.g., treat as not ignored) to keep search_code() safe on non-repo directories.
    docs/commands/sandbox.md:1
  • The --network option description still lists only (bridge | host | none) even though the default and supported modes shown below are the multi-tier set (isolated, sandbox_namespace, public_whitelist, local_whitelist, bridge). Update the --network description to match the actual accepted values and semantics.
    src/devops_cli/github/pr_monitor.py:1
  • This removes the previous recovery behavior for GraphQL rate-limit errors (REST fallback that treated comments as unresolved). If GraphQL requests still fail hard under quota exhaustion, pr monitor may become unusable exactly when the system is rate-limited. Consider reintroducing a bounded fallback (or a clear 'fail closed' mode that still returns a conservative unresolved set) when list_pr_review_threads raises rate limit errors.
    src/devops_cli/commands/k8s/cluster_runtime.py:1
  • The check is against is_forbidden_system_path(resolved), but the error says 'directory'. Since KUBECONFIG entries are file paths and is_forbidden_system_path likely blocks both files and directories, update the message to 'forbidden system path' to avoid confusion during debugging.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority/p1-high Priority P1: high-impact work for the next planned milestone scope/github GitHub Projects v2, Views, Milestones, Labels, and PR automation status/in-progress Status In Progress: an owner works on the item type/chore Type chore: maintenance, such as a dependency update

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants