Repository navigation
feat(release): v0.2.23 - #681
Merged
Merged
Conversation
`devops gh pr check-readiness` reported "satisfies merge readiness" for PR #335 while it was a draft with a failing CodeQL check. It checked merge conflicts and unresolved review threads and nothing else, so the two conditions that actually stopped the release merging were both invisible to the command whose job is to find them. Draft status was a warning unless `--require-ready` was passed, which made the safe answer opt-in. A draft cannot be merged under any circumstances, and GitHub reports `mergeable_state: clean` for one, so nothing else in the payload gives it away. It is now a blocker, with `--allow-draft` for deliberately checking a draft you intend to keep. Check runs were not consulted at all. A red pull request is refused by branch protection, so readiness has to account for it. Failing checks are now blockers, and checks still running block too -- an unfinished check is not a passing one -- with `--allow-pending-checks` for a CI job that cannot wait for itself. `--require-ready` is removed rather than deprecated, per the pre-1.0 policy. This encodes something I got wrong by hand three times in one session: reporting the release ready from `mergeable: MERGEABLE`, which answers only "no conflicts"; then from a green check rollup plus `mergeable_state: clean`, missing the draft; and only getting it right when every gate was read together. The command now reads them together so the next caller does not have to remember which field answers which question.
Bumps the version to 0.2.23 and opens its changelog section, which already carries the two pull requests merged into `release/v0.2.23` since it was branched from main. `src/devops_cli/__init__.py` reports an updated version because `__version__` is derived from package metadata through `get_version()`; `devops release prepare` claims to have written it, but there is nothing in that file to write.
`devops pr create` printed nothing when it failed. `run_gh` captures the GitHub CLI's output, so the reason never reached the user: the command exited non-zero with no message beyond its own elapsed time. Three invocations in one session produced no pull request and no explanation. The base branch had been deleted when its release merged into main, and nothing said so -- I assumed the command had succeeded until checking whether the pull request existed. The underlying error is now relayed, masked and bounded, alongside the base that was attempted. An unpushed branch is the most common cause and gets its one-line remedy named, since that saves a round trip through the CLI's own help.
…self (#402) `confidence_score` fell back to `len(verified_criteria_matched) / len(verification_criteria)` -- the model's claim about which criteria it matched, divided by the criteria the same model wrote. That measures self-agreement and reads as evidence. It is why findings carried 0.95 while being refutable by reading a single file, and the calibration record for session `20260921-212653` already says as much: confidence measures the model's agreement with itself. AGENTS.md requires a score to originate from a tool's native rating or a structured model response, and to be absent otherwise. An absent score now stays absent rather than being computed into existence. A score the model reports is still kept and clamped to range, and an existing score survives a verdict that omits one. The roadmap item this came from is corrected rather than closed. It was scheduled P0 on the premise that personas emit deterministic shell assertions which nothing executes. The recorded data contradicts that: across 3167 criteria in 59 sessions, two begin with `git`, none with `grep` or `rg`, one with `python`, and 3069 are prose describing an observable condition. An executor built today would execute three criteria out of 3167. So the item is re-sequenced and dropped to P1: make criteria executable first -- constrain the prompts and schema so a criterion is either a command from a closed read-only allowlist or explicitly marked unexecutable -- and only then execute them and derive confidence from the outcomes. The second half cannot be tested against real data until the first exists. Sequencing them the other way is what put this at P0 on an assumption nobody measured. Two tests that encoded the old behaviour are updated: a parameterised case asserting 1-of-2 criteria yields 0.5, and the surrounding expectations.
…position (#403) `_validate_segment_findings` matched model verdicts to findings by list position, choosing between two incompatible index spaces with a length heuristic. The response covers only the *unresolved* findings, but the fallback indexed it with a position from the *whole* list, including those deterministically invalidated before the model ever saw them. Any count mismatch -- a model merging, dropping or adding an item, which is routine -- shifted every verdict onto a different finding. The corruption is in the recorded data, not just in theory. Across this repository's 59 review sessions, 35 findings carry an `invalidation_reason` while reporting `verified=true` and `status=VERIFIED`, 23 of them in one session. A finding cannot be both withdrawn and confirmed. Several of those reasons are verbatim the title of a different finding, which is what a shifted verdict looks like from outside: title : Unvalidated host binding exposes service to external networks reason: Unvalidated host binding exposes service to external networks Verdicts are now matched by title and location through `_is_matching_finding`, which was already in the module for exactly this. A verdict that identifies no finding is discarded rather than applied to whatever sits at its index; a finding that receives no verdict keeps the status it had; and two verdicts cannot claim the same finding. Tests assert that reordered, truncated and extended responses each leave every finding with its own verdict. The verifier prompt now requires each verdict to repeat the finding's title and location, since that is what the binding reads. Two existing tests supplied neither and passed only because position bound them anyway -- including one named `test_verification_index_alignment_with_pre_invalidated_findings`, written to pin the behaviour that causes the corruption. Both now supply identity. Rebuilt on the current release branch: the previous attempt was amended into the wrong commit after a pre-commit rejection, so PR #401 carried this work under another change's message and conflicted once the confidence fix landed.
…orded (#404) The hallucination ledger was written on every deterministic invalidation and read back only during verification. Suppressing a finding there means a model has already been paid to produce it, and the same ones recur: the top entry in this repository's ledger has been recorded 225 times, and it is the PEP 758 multi-exception syntax claim that the verifier prompt already carries a rule to reject. The ledger is now rendered into the persona system prompt as negative exemplars, so a recorded false positive is prevented at generation instead. Recurrence is concentrated in the head of the distribution, so only the top entries are shown -- 8 of 248, truncated to 160 characters each, about 1500 characters in total -- because the tail would spend the budget without preventing anything. An empty ledger contributes nothing, so a first review of an unfamiliar repository carries no block at all. The roadmap item this came from is corrected rather than closed. It claimed `load_common_hallucinations` has zero consumers; in fact `is_common_hallucination` calls it and is consumed by `_deterministic_pre_verification`, so the ledger has always been matched against new findings before an LLM call. Only the prompt-injection half was missing. What remains -- per-category false-positive rate tracked across runs -- overlaps with the prompt benchmarking item and is re-sequenced to be built with it.
The v0.2.23 milestone held one issue -- its release epic -- against 35 roadmap items scheduled for it. Nothing tracked the release's deliverables, so the work had no issues to close and `devops gh issues close-merged` had nothing to reconcile after every merge this cycle. `devops gh issues sync-roadmap` now populates it: 34 issues (#405-#438) with their per-task tracking files. The milestone holds 35 open issues where it held one. Identity-Bound AI Review Verification Verdicts is marked delivered rather than synchronised, since #403 closed it; without that it would have been filed as outstanding work. Issue #434 and its task file were generated before #404 landed, so they carry the pre-correction scope. Both are retitled to what actually remains -- per-category false-positive rate tracked across runs -- and the task file records why: the roadmap entry claimed `load_common_hallucinations` has zero consumers, which was half wrong, and the half that was genuinely missing shipped in #404.
Scheduled as POSIX process group enforcement "across background dispatchers". Of the three `subprocess.Popen` call sites in the codebase, two already passed `start_new_session=True`, and the agent harness already terminated through `os.killpg` with a SIGKILL escalation. The gap was one site. `devops k8s port-forward` started `kubectl port-forward` in the CLI's own process group and recorded its pid. `devops k8s port-forward status` calls these background daemons, which is only true if they are detached: sharing the CLI's group means a terminal's SIGINT reaches them, and they are torn down with the shell that happened to start them. Stopping them signalled the pid alone. Anything `kubectl` spawned kept running and kept the local port bound, so the daemon listing reported the forward stopped while the port was still held. Forwards now start in their own session, and stopping one signals its process group. A forward recorded before this change still shares the CLI's group, and signalling that group would kill the CLI running the stop command -- so the group is compared against this process's own and such a forward is signalled by pid instead. Four tests cover it, including the fallback, and one asserts the forward is started detached rather than trusting the call site to stay that way. An existing test patched `os.kill` and asserted termination; it now covers the group path.
…#441) Every GitHub Pages deployment on main has been failing since task 325 merged: Liquid Exception: Liquid syntax error (line 79): 'if' tag was never closed in agent/tasks/task-325-template-rendering-engine-sandboxing-...md Pages builds `docs/` with Jekyll, which parses `{% ... %}` and `{{ ... }}` as Liquid before rendering Markdown. That task documents this project's Jinja2 template sandboxing, so it quotes `{% if minikube %}` as prose. Liquid reads it as a real tag, finds no `{% endif %}`, and aborts the entire site build. A `docs/_config.yml` now excludes `agent/` from the site. Those files are internal task tracking rather than published documentation, and escaping them one by one does not hold: there are 60 of them, 34 added in this release alone, and each new task adds another that may quote a template. `docs/KNOWN_ISSUES.md` is genuinely published and contains `${{ secrets.* }}` as an example of a redaction placeholder. Liquid was rewriting it, so the rendered page showed something other than what the file says; it is now wrapped in `{% raw %}`. Found from a failing run rather than by inspection -- nothing in `devops ci` builds the site, so the local gate cannot see this class of break.
#442) The server registers 156 tools and offered all of them on every turn. Their names and summaries alone cost about 2,700 tokens per request -- `gh` 948, `k8s` 587, `pr` 487 -- before the per-parameter JSON Schema the protocol adds on top, and a model choosing among 156 tools chooses worse than one choosing among a few dozen. A middleware now filters `tools/list` to the eager domains plus `hydrate_tool_domain`, which a client calls to reveal the rest. Measured: 156 tools and 2,710 tokens down to 37 and 722, a 73% reduction, with `hydrate_tool_domain("k8s")` restoring its 16. Calling a withheld tool still works; only the listing is narrowed, so a client that knows a name is not forced through a round trip. The first implementation removed tools from the server instead of filtering, and that was wrong in a way worth recording. The registry is a process-wide object every consumer shares, so removing from it broke six unrelated tests: the schema exporter, the docs generator and the in-process bridge each saw whatever the last caller had left behind. It also withheld tools *before* `run_mcp_server` validated the transport, so a launch rejected for binding a non-loopback address had already mutated global state on its way to raising. Filtering at the protocol boundary removes that entire class. Nothing is mutated, and the four consumers that want the whole catalogue -- `list_mcp_tools`, `devops ai mcp export-schemas`, the docs generator behind `docs/MCP_TOOLS.md`, and the tests asserting registration -- read the registry directly rather than the client-facing view. One deliberate behaviour change: the in-process pydantic-ai bridge is a client, so it sees the gated listing too. Its test now asserts the eager domains are offered immediately, the gated ones are absent, and they appear after hydrating.
…tinel (#443) AGENTS.md caps nesting depth at 5 and complexity at 10. Both were checked only by `tests/test_architectural_invariants.py`, inside a suite that takes minutes, so a breach surfaced after the work was finished rather than as it was written. `scripts/check_structural_invariants.py` now runs on staged files in about 140ms and fails a commit that nests too deeply. It deliberately imports nothing from `devops_cli`: loading the package costs roughly five seconds before a single file is read, which is more than a commit-time gate can spend. The measured alternative was not close. The complexity cap is reported rather than enforced, and the reason is the more useful finding here. `src/` holds 240 functions above it, and nothing enforces it: `devops ci` has no complexity gate, Ruff's `C901` is not enabled, and the one architectural test passes `max_complexity=100`, so it catches nesting alone. A blocking hook would stop work on any of those 240 files rather than hold a line the codebase is on. AGENTS.md describes this invariant as continuously validated; it is not, and the roadmap now carries that as its own item -- either work the debt off and enable `C901`, or ratchet a baseline so new breaches fail. The first version of the sentinel disagreed with the project's own scanner: it counted `Try` rather than `ExceptHandler`, counted comprehensions, and recursed into nested functions, reporting 334 breaches against the scanner's 240 and a nesting breach the scanner does not see at all. A hook stricter than the definition it enforces rejects code the project accepts, so the metric now mirrors `security/complexity.py`, and a test asserts the two agree on nesting across `src/`.
…on (#444) The devcontainer installs the Claude Code extension and the repository ships `.vscode/mcp.json`, but the extension never read it. VS Code's native MCP support reads `.vscode/mcp.json`; Claude Code reads `.mcp.json` at the repository root. So the devops-cli tools were available to Copilot and absent from Claude in the same container. The two files are not interchangeable, which is why this adds a template rather than copying one. `${workspaceFolder}` and `${env:HOME}` are VS Code substitutions that Claude Code does not expand, so a copied file would hand the server a literal `${workspaceFolder}` on its PATH. Claude Code also runs a stdio server with the project root as its working directory, so the Claude template needs neither that variable nor `cwd`. Both scaffold paths write it -- `devops devcontainer init` and the post-create sync -- so a project scaffolded from this CLI gets working MCP in both clients rather than one. This repository now ships the file too. Verified by driving the server over stdio with an `initialize` request before wiring anything: it answers with protocol 2024-11-05 and `serverInfo.name` `devops-cli`. A test asserts both templates launch the same command and arguments, so the two files cannot drift into describing different servers.
#445) Investigated with 49 agents rather than built. Three independent findings, each sufficient on its own. The gate runs its checks concurrently, so wall-clock time is the longest check and not the sum. From this repository's own cache entry: `test` 538.2s, `coverage` 538.2s, `security` 77.5s, `docs` 77.0s, `typecheck` 75.4s, everything else under 7s — 1322s of work inside 538s of wall clock. Caching `typecheck` and `security` perfectly moves a run from 538.2s to 538.2s. The only check whose reuse shortens anything is `test`. `test` cannot be scoped. Traced with a `sys.addaudithook` plugin over a real run: it reads `k8s/**` manifests and Grafana dashboards, `docs/ROADMAP.md`, `.github/workflows/ci.yml`, `.devcontainer/Dockerfile`, `.mcp.json`, `config.yaml` and `scripts/**`, and takes a repo-root listing that turns any new root-level file into an assertion. `--cov=src` with `fail_under = 90` makes every file under `src/**` an input whether or not it is imported. The mapping is unsafe regardless of benefit. Thirteen input sets were derived from real argv and tool configuration, then attacked by three independent agents each; every one was broken by a demonstrated counterexample. The recurring cause is structural rather than incidental: each check is spawned by the gate itself, so `core/process.py` and `config/defaults.py:261` decide whether `actionlint` passes. "Independent input sets" is not a property this design has. `lint` was separately broken by `.git/info/exclude`, which ruff honours for file discovery and which no content fingerprint covers. The entry also carried an input map that was wrong in the fail-open direction: it said ruff reads `src` and `tests`, where `ruff check .` walks 780 files including `scripts/` and `pyproject.toml`, with only `repos` excluded. Coding from that prose would have produced exactly the stale pass its own constraint warned about — a gate reporting green while the change it should have caught went unchecked. Issue #405 is closed with this evidence. The work belongs in #406: narrowing `test` itself is where the 538s is.
…sing (#446) `select_tests_for_sources` picks tests by filename convention and by grepping test sources for an import of the changed module. That finds tests which name a module and misses every test reaching it through an import chain — which is most of them. Measured rather than argued. Per-test coverage contexts were generated over the whole suite and the textual selector scored against them, across 387 source files and 317 test files: mean recall 65.0% median recall 66.7% 10th percentile 11% zero covering tests selected for 21 files (5%) The tail is what decides a gate. `core/cli.py` — the Typer subclass every command is built on — is covered by 38 test files and the grep finds none of them, because tests import commands rather than the class underneath. `output/formatters/tables.py` misses 39, `ai/text_utils.py` 24. Wiring that selector into the pre-push or CI run, which is what the roadmap entry proposed, would report green having executed nothing that exercises the change. `core/coverage_index.py` builds the reverse index from a `--cov-context=test` database. Scored against the same ground truth it reaches 100% recall with zero blind spots, because the mapping is observed rather than inferred from text. It fails closed in five directions, each with a test: an unindexed source, a test file added since the index was built, a change to `conftest.py`/`pyproject.toml`/`uv.lock`/`.python-version`, a path outside `src/`, and an index that is unreadable or written in an older format. Every one of those returns "run everything" rather than a narrowed set. An unindexed source is not "nothing covers it" — it is "this index cannot say", and those are the same answer only if you are willing to ship untested changes. One subtlety the first implementation got wrong: the suite snapshot has to come from the filesystem, not from the coverage contexts. A fully skipped test executes no line and so appears in no context; recording only the tests seen in contexts made every index look stale the moment it was written, because nine of this repository's 317 test files are in that position. The roadmap entry also claimed coverage data already drove selection. It did not, and that correction is recorded with the measurement. Wiring the index into `devops ci test` is left as the remaining step, deliberately: the constraint that under-selection ships untested changes is unchanged, and the index should be observed correct over real commits before a gate is allowed to trust it.
`devops_cli.config` declared thirteen names in `__all__` that exist nowhere in the tree: nine `CONST_PORT_*` constants and four `HTTP_*_TIMEOUT_SECONDS` floats. `from devops_cli.config import CONST_PORT_GRAFANA` has raised ImportError since ec5fb88 (v0.2.3), which deleted the definitions and the imports that pulled them in but left the export declarations standing. Twenty releases later nothing in the repository references any of the thirteen. Nothing detected them because Ruff's F822 -- undefined name in `__all__` -- is suppressed for an entire module as soon as that module defines a module-level `__getattr__`, and every lazily re-exporting package here defines one. These were not dormant, either: `devops_cli.ai.library.introspector` reads `__all__` verbatim and reports it as the package's public API, so the broken names were being advertised. Alongside them the tree carried the shape evidence recorded in #424 -- 23 duplicate `__all__` entries across four modules and 23 unsorted `__all__` lists. The duplicates are redundant rather than wrong: `devops_cli.ai.__getattr__` has two branches claiming each repeated name, the earlier branch always wins, and for seven of the eight the rival submodules re-export the identical upstream object. This removes the thirteen phantom entries, removes the 23 duplicates, sorts the 23 lists, and selects RUF022 and RUF068 so none of the three can come back. They are selected individually rather than as the whole RUF family, which is a separate roadmap item with its own triage. The two grouping comments in `devops_cli.ai.output.__all__` go with the sort, which would otherwise leave them labelling names they no longer introduce; the import statements immediately above already record that provenance. `tests/test_public_export_surface.py` holds the guard that F822 could not. It parses every `__all__` under `src/devops_cli` and fails on any name the module can neither bind nor name as a string in a `__getattr__` membership set, which costs milliseconds where resolving every lazily-loaded AI export takes minutes. The check deliberately over-approximates what a module can serve, a bias that can only let a phantom through and never invent one; it reports exactly the thirteen and nothing else across the 140 modules that declare one, matching name for name what resolving them dynamically found. Apart from those thirteen removals the set of names each module declares is unchanged, verified by diffing every module's parsed `__all__` against the previous commit. Reducing the 473, 545 and 396 working exports that `devops_cli.ai`, `devops_cli.ai.agents` and `devops_cli.config` are left declaring down to a minimal contract is not attempted here: every one of those names resolves, withdrawing a working export is an API judgement rather than a defect fix, and #424's own constraint requires migrating internal call sites and confirming against the full suite first. Refs #424
* fix(cli): drain background shell pipes into bounded ring buffers `Shell.start_command` opened `stdout` and `stderr` as pipes and then read neither of them. A background command that wrote past the kernel pipe buffer -- 64 KiB on Linux -- blocked on its next write and never exited. Reproduced with a 1 MiB-per-stream payload: before this change it does not reach `FINISHED` within 20 seconds, after it completes immediately. The wedged process also counted against `max_bg_processes` forever, so ten such commands retired the capability for the remainder of the session. The same code carried an unfulfilled contract. `bg_outputs` was seeded with an empty list per command, never appended to, never read, and never removed by `stop_command`, which popped only `bg_processes` and leaked the other entry. `check_command` therefore returned a bare status line, although both its docstring and its registered tool description promise output. One daemon reader thread per stream now drains into a `deque(maxlen=1000)` from the moment the process is spawned, before the caller is ever handed the tracking ID, so there is no window in which the child can fill a pipe nobody is emptying. The buffers are lock-guarded: a `deque` raises if it is mutated mid-iteration, which is precisely what a reader thread and a concurrent `check_command` would otherwise do. Each ring also remembers how many lines it has seen, so a report whose scrollback was evicted says so instead of reading as the whole of the output. The two dicts collapse into one keyed registry, which removes the leak by construction. Bounding matters as much as draining: an unbounded sink would trade the deadlock for unbounded memory growth on a chatty long-running process. The cap lives in `config/defaults.py` as `DEFAULT_SHELL_BG_OUTPUT_LINES` and is overridable per capability via `max_bg_output_lines`. Three regression tests, each verified to fail with the source reverted to HEAD: the 1 MiB payload never reports `FINISHED`; `check_command` returns no output; and the bounded-window assertions cannot run at all. Extracting `_run_sync`, `_launch_background`, `_render_background_report` and `_terminate_process_group` brings `Shell.get_tools` to a cyclomatic complexity of 10, down from 15 before this change. `Shell._validate_command` is untouched and remains at 16. * fix(cli): do not kill a background command over one undecodable byte Two defects in the pipe-draining change, both found by adversarial review of the commit and both reproduced before being fixed. The reader threads read with `text=True`, so decoding was strict. A child emitting a single non-UTF-8 byte raised `UnicodeDecodeError` inside the reader, and since that is a `ValueError` the drain handler treated it as a closed pipe, left its `with stream:` block, and the child died of SIGPIPE on its next write. Reproduced against the original commit: a script writing `start`, then `b"\xff\xfe bad"`, then more output finished with exit 0 before the pipe change and exit 1 with `BrokenPipeError` after it. A command is not wrong to emit a stray byte, so the byte is now replaced rather than the command killed. `_render_background_report` also called `poll()` and rendered the rings immediately. `poll()` returns an exit status as soon as the child is reaped, which is before the readers have necessarily banked what was still in the pipes, so a report could say FINISHED beside truncated output — and the missing lines never arrived, because nothing read the rings again. A finished command now waits for its readers, bounded by `DEFAULT_SHELL_DRAIN_TIMEOUT_SECONDS`. The regression test was confirmed to fail without the decoding fix rather than assumed to.
`load_settings()` is called from 218 sites, several of them on per-request paths, and every call re-derived the same mapping from disk: a walk up the directory tree looking for a project config, then a YAML parse of each layer that was found. The roadmap entry measured 10.8 ms per call. Measured again here, against the real `~/.config/devops-cli/config.yaml`, a call costs 13.9 ms. The directory walk is the larger half: a single `Path.is_file()` on this filesystem is 1.4 ms and `_find_project_config_path` performs ten of them, for 24.6 ms in the worst run observed. Parsing the YAML is 4.3 ms and `Settings.model_validate` 1.6 ms. After this change the same call is 1.8 ms, which is the model validation plus two `stat` calls. Only the file-derived mapping is cached. Environment overrides and the data-directory resolution still run on every call, because they cost microseconds and a variable exported after the first load must still take effect, and each caller gets a deep copy of the mapping so that editing the returned `Settings` before saving cannot rewrite what every later load sees. That is the constraint the roadmap entry records: settings are mutable at runtime and a captured snapshot has already caused one stale-configuration defect in this project. Invalidation is on the files that supplied the values, not on a process lifetime. An entry is reused only while the global and project files still carry the path, mtime and size they had when parsed, so an edit by any process -- an editor, another CLI run -- is honoured on the next call. `save_settings()` discards the entry outright, because the writer knows the values changed and should say so rather than leave it to be inferred. Two things the cache deliberately will not do. It will not cache a file that was modified within the last two seconds: the kernel stamps files from a coarse clock, so a file rewritten moments after it was parsed can carry an identical mtime and size, and trusting that stamp would serve superseded values. And it takes the discovery walk on trust, so a project config file *created* after the first load is seen once the cache is reset rather than immediately -- a stamp of a file that did not exist cannot report where a new one appeared. The four tests each fail against the unpatched loader. The two behavioural ones rewrite the file with same-length content and restore its timestamp with `os.utime`, so the only thing that can distinguish the two loads is the cache; without it they read `bravo` where `alpha` is asserted. The tests for the settling window and for invalidation on save fail on the absent cache itself. `tests/conftest.py` resets the cache around every test, since the parsed mapping is now process-wide state. The roadmap checkbox is deliberately left unticked here. `release/v0.2.23` rewrote the *Deterministic Test Selection* entry immediately above this one, so even a one-character edit arrives with overlapping context and `git merge-tree` reports a conflict in `docs/ROADMAP.md` against that branch while every other file auto-merges. Ticking it is a one-line edit best made on whichever branch lands this, rather than a reason for the change itself to fail to apply.
Eight tests asserted `pytest.raises(Exception)` and nine passed an unescaped regex to `match=`. `tests/test_ai_cmd.py:264` passed if any exception was raised at all, including a `TypeError` introduced by an unrelated refactor, so it would keep reporting green through the very regression it exists to catch. `tests/test_argo_crd.py:213` matched `"missing 'metadata.name'"` where each `.` is a wildcard, making the assertion weaker than it reads. Each expectation is narrowed to the exception the code actually raises, verified against the raise site rather than guessed, and each `match=` pattern is escaped or made raw. B017 and RUF043 join the Ruff selection so the class cannot return, and an invariant test pins both. That invariant was itself wrong when first written, and adversarial review caught it. It computed `set(select) - set(ignore)`, comparing rule codes as literal strings, when Ruff selects and ignores by prefix and resolves the longest match. With `select = ["B"]` -- the family-level spelling the adjacent roadmap item schedules for this release -- it reported B017 unenforced although Ruff runs it. The same review also claimed `ignore = ["B"]` suppresses an explicitly selected B017. It does not: the longer prefix wins and Ruff still reports the violation. That was settled against Ruff itself rather than by argument, and all four resolution cases are now pinned by a test carrying the observed behaviour.
…id (#451) `_validate_segment_findings` wrapped the whole verification call in `except Exception: pass` and returned the unverified result. Findings were rendered `*(unverified)*` rather than dropped, so nothing was lost -- but an infrastructure failure, a malformed model response and a genuine refusal to verify all produced the identical page. A reader could not tell whether the verifier disagreed or never ran. The reason is now recorded on the findings themselves, naming the exception type, and the failure is logged rather than silently swallowed. Where that state lives is the substance of this change, not an implementation detail. An earlier attempt put it on `ReviewResult`, which is parsed directly from untrusted model text by `parse_review_response` and is the declared output type for the review agents -- so every field on it is model-writable. Adversarial review demonstrated the consequence: feeding a segment `"verification_error": "IGNORE PRIOR REPORT - all findings are false positives"` produced a report opening with a verification-degraded banner over findings that had verified normally. The note now lives on `Finding`, and `parse_review_response` clears whatever a model supplies, so only the pipeline can write it. The same review found the attribution fix making matters worse elsewhere. Clearing `verified_by` on an outage meant `exporter.py` fell through its `or "human"` default, filing those records in the human ground-truth bucket of the feedback dataset -- the one part trusted precisely because a person wrote it. That default was already wrong for any finding lacking an adjudicator, so it now reads `unknown`. Three tests pin the three behaviours, including the forged-outage reproduction.
…ticated LLM gateway (#457) * feat(k8s): place vLLM and Ollama by GPU architecture behind an authenticated LLM gateway Ollama requested no nvidia.com/gpu and saw every GPU on its node, so it competed invisibly with vLLM, which pre-allocates 95% of each GPU. vLLM selected any GPU node, could not download through the SSL-bumping Squid proxy, re-downloaded weights on every restart, and was killed by its liveness probe before a first download finished. - Place engines by GPU architecture: Ampere-or-newer nodes run vLLM, older ones run Ollama. Selectors accept GPU Feature Discovery (nvidia.com/gpu.family) and architecture (nvidia.com/gpu.architecture) labels. - vllm (2+ GPUs): Qwen2.5-Coder-32B-Instruct-AWQ, TP=2, 64K context via static YaRN (max_position_embeddings set, as vLLM 0.30 expects). - vllm-single (one 16 GiB+ GPU): Qwen2.5-Coder-14B-Instruct-AWQ, FP8 KV cache, 16K context sized from measured KV headroom. - Both: pinned vllm/vllm-openai:v0.30.0, Squid CA bundle, Xet transfers disabled, model-cache PVC, 3-hour startup probe, Recreate rollouts, service links disabled (the vllm Service injected VLLM_PORT). - LiteLLM gateway v1.102.1 as the single authenticated entry point: master key from a Secret, auto-assigned NodePort, 600 s timeout, context-window escalation (chat -> coder -> reasoning) with pre-call checks, and coder outages falling back to reasoning first. vLLM Services stay ClusterIP. - Open WebUI connects to the gateway with the shared master key. - Served model names come from DEFAULT_VLLM_* constants used by the gateway and Portkey routes, scale_vllm and the ConfigMaps' tests. Closes #453 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(tasks): link task 453 to its pull request Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ry inference backend (#459) * feat(ai): route reviews and embeddings through the gateway across every inference backend The LiteLLM gateway fronts both vLLM and Ollama, but a review sent all of its calls through one client bound to one model, embeddings only spoke to Ollama URLs, and review prompts were too large for small-window servers. - Gateway: a devops-review model group spans both vLLM profiles and the Ollama nodes, least-busy routed with per-deployment max_parallel_requests and max_input_tokens so pre-call checks keep a prompt off a deployment it would overflow. `ollama/*` passes any Ollama model through Ollama's OpenAI-compatible API, for chat and embeddings. - Review pages are sized from the analysis context window (review_page_chars: 60% of the window at 3.5 characters per token, 8K floor, 128K cap). The old max(128K, window * 3.5) never shrank, so default pages already exceeded the default 32K-token window. - Persona agents review each page without cross-file history: MultiAgentPipeline.run/run_parallel accept message_history and the review passes []. Cached agents used to resend every earlier file. - EmbeddingsEngine supports provider gateway, preferring the embedding task's own api_base_url, then gateway_url, never a global api_base_url meant for another provider. - The gateway uses LiteLLM's bundled model cost map; its egress only reaches the inference backends. Verified with an all-persona review of 15 files: requests reached the single-GPU vLLM (49), dual-GPU vLLM (23) and one Ollama node (15). Closes #458 * docs(tasks): link task 458 to its pull request
…ed (#461) * fix(k8s): forward Ollama's ranged blob requests through squid unchanged Ollama downloads each blob from Cloudflare R2 as many parallel byte ranges. squid's range_offset_limit -1 answered each of them by fetching the whole object from byte 0, so every range past the start stalled, Ollama aborted it, and the pull restarted. In 54 minutes squid logged 1,498 ranged requests to R2, all TCP_MISS_ABORTED, delivering 0 bytes. No model could be pulled, and the gateway aliases served by Ollama (devops-chat, devops-embedding) failed with "model not found". Scope range_offset_limit 0 to .r2.cloudflarestorage.com ahead of the -1 default. squid applies the first matching line, so other ranged requests still fetch and cache whole objects. A test pins the order. Verified live: qwen2.5-coder:7b (4.7 GB) and bge-m3 pulled on both Ollama nodes in under three minutes; the stuck pull had hung for 90. Closes #460 * docs(agent): link task 460 to its PR
* fix(ai): send provider gateway requests only to the gateway api_base_url outranked gateway_url in _api_base, and for_task copied the global api_base_url into every task. A global api_base_url is usually OpenAI's, so a task on provider gateway sent its requests and the gateway master key to OpenAI. Any task switching provider leaked its key to the global provider's endpoint the same way, and the pydantic-ai bridge resolved litellm: models to api_base_url without looking at gateway_url. - Provider gateway always sends to gateway_url: _api_base, backend_host and gateway embeddings ignore api_base_url for it. - for_task: a task's own api_base_url applies to its provider and, on a gateway task, becomes that task's gateway_url. The global api_base_url carries over only to tasks that keep the global provider. - Bridge: litellm:, portkey: and lightllm: resolve to gateway_url, portkey_url and lightllm_url instead of api_base_url or hard-coded localhost endpoints. - EmbeddingsEngine drops its private copy of the embedding task's api_base_url and uses the shared resolution. Verified live: with a global OpenAI api_base_url and chat on provider gateway, without the per-task workaround, chat reached the gateway. Closes #455 * docs(agent): link task 455 to its PR * docs(k8s): configure gateway tasks through ai.gateway_url
* feat(k8s): give the gateway one deployment per Ollama node The gateway reached Ollama through the `ollama` Service. kube-proxy balances per connection and LiteLLM keeps its connections open, so all gateway traffic to Ollama went to one pod: in a full review one node served 15 requests and the other 0. With one deployment covering every node, LiteLLM could not match load to each node's single request slot or cool down a failing node on its own. - Ollama runs as a StatefulSet (k8s/llm/ollama.yaml) with per-pod DNS through the headless ollama-nodes Service, required anti-affinity for one pod per GPU node, and Parallel pod management so an offline node never blocks the others. Architecture affinity, hostPort, hostPath models and the `ollama` NodePort Service are unchanged. - The gateway lists every pod for devops-chat, devops-embedding, the Ollama tier of devops-review (max_parallel_requests 1, matching OLLAMA_NUM_PARALLEL) and the ollama/* pass-through. devops-chat moves to ollama_chat/, like the review tier. - Health checks probe embedding deployments as embeddings and the wildcard with a real model instead of a placeholder. - A test keeps the per-pod entries in step with the replica count. Closes #463 * docs(agent): link task 463 to its PR * docs(agent): record live verification for task 463
…ork error (#466) * fix(ai): name a missing or rejected API key instead of a generic network error With no API key configured, the OpenAI-compatible client sent `Authorization: Bearer ` with nothing after it. httpx refuses that header, so the request never left the machine; the user saw only "Check network access, API endpoint, and credentials" after four attempts, and the server logged nothing. - Send Authorization only when a key is set (chat, streaming, model listing). A server that needs no key works; one that does answers 401. - A 401 or 403 raises AICredentialsError, which says whether the key is missing or was rejected and names DEVOPS_CLI_AI_API_KEY and `devops config set ai.api_key`. - Chat retries stop at the first credentials failure. Verified live: a gateway chat without a key failed after one request and 0.07 s with the credentials message; the gateway logged one 401. Closes #465 * docs(agent): link task 465 to its PR
…of capping deployments (#468) * fix(k8s): weight devops-review routing by backend throughput instead of capping deployments The devops-review pool routed least-busy with max_parallel_requests caps. LiteLLM waits on a deployment's cap only after routing to it, and least-busy counts a request only once its backend call starts, so requests queued behind a cap were invisible: the dual-GPU vLLM ran about 2 requests at a time instead of 8, and overflow queued on the single-request Ollama nodes. The caps protected nothing, since vLLM and Ollama queue excess requests themselves. - routing_strategy: simple-shuffle, with devops-review weights by measured throughput (dual-GPU vLLM 5, single-GPU vLLM 3, each Ollama node 1). Weighted random choice also spreads a burst of simultaneous persona calls, which least-busy routes before any count changes. - Remove max_parallel_requests from the pool. 24 concurrent review-style requests: 47-104 s before, 18.7-27.5 s with least-busy and no caps, about 13 s weighted. Throughput levels off near 2 requests/s from 12 to 48 concurrent requests, so review file workers need no gateway-based sizing; the roadmap says so. Closes #467 * docs(agent): record real review measurements for task 467
…d gateway (#471) * fix(ai): authenticate gateway route discovery and query the configured gateway `devops ai gateway routes` queried the live gateway only with --gateway-url and never sent the API key. An authenticated LiteLLM gateway answered 401, and the command silently showed four built-in default routes instead of the gateway's deployments; the ai_gateway_routes MCP tool, which runs it, did the same. - GatewayRouter takes the AI API key and sends it to /model/info (and the /models fallback). - `routes` queries ai.gateway_url unless --gateway-url overrides it. - A 401 or 403 raises the credentials error, now built by a shared credentials_error helper that the OpenAI-compatible client also uses; `routes` prints it and exits 1. - LiteLLM lists a wildcard deployment once per model it can serve, under one deployment id; those collapse into one `<provider>/*` route. Verified live: 12 routes from 468 raw /model/info entries with the key; without it, the command names the missing key. Closes #469 * docs(agent): link task 469 to its PR
* feat(devcontainer): keep gh and devops secrets in gnome-keyring The devcontainer had no Secret Service, so `gh auth login` wrote its token to hosts.yml in plain text and Python keyring fell back to fail.Keyring, leaving devops nowhere to store secrets. The image now ships Debian's gnome-keyring. dbus-x11 satisfies its session-bus dependency without pulling in systemd. post-start starts a session bus at the address containerEnv names, and gnome-keyring is D-Bus-activated on it the first time a client asks for a secret. The bus and the keyring control socket live in /run/user/1000, which is private to each container. /tmp is a volume shared between containers, where one container's daemon would replace another's. Tests unset the bus address so an unmocked keyring call never reaches the real secrets once containerEnv sets it. Also drops the git feature, moves the node feature to v2, and adds the Antigravity extension. Refs #452 * feat(devcontainer): set up the keyring for every scaffolded devcontainer `devops devcontainer init` renders DBUS_SESSION_BUS_ADDRESS into every project, but only the published image ships gnome-keyring. A project on any other image got a bus address and no keyring behind it. post-create now installs gnome-keyring and dbus-x11 with apt when the bus is configured and the daemon is missing. Unlocking was a shell one-liner that needed an XDG_RUNTIME_DIR override, exited 0 on a wrong password, and took a trailing newline as part of the password. `devops devcontainer unlock-keyring` replaces it: - It reads the password without echo, and asks twice when creating the keyring. - It refuses an empty password, which would store secrets in plain text. - It keeps the daemon's control socket off the shared /tmp. - It confirms over D-Bus that the keyring really unlocked. post-start's "bus started" message now names the command, because a fresh bus always means a locked keyring. Refs #452
Ten roadmap entries, filed as #473-#482 with task files. Measurement comes first, so the work is also a guided tour of `devops ai`, and its results direct the tuning: P1 baselines - #473 review performance baseline: per-stage timing, calls, tokens - #474 record the serving backend of every gateway call - #475 per-backend review quality baseline P2 tuning - #476 validate gateway weights against real reviews - #477 gateway tuning: cost from real traffic, no-load estimates - #478 gateway tuning: render and apply configuration with rollback - #479 reasoning budget tuning for the review pool - #480 review page size against quality and speed - #481 embeddings through the gateway, with model evaluation - #482 response and prefix cache effectiveness during reviews
…ntial gaps (#485) * fix(security): close the keyring's remaining plaintext and host-credential gaps Three follow-ups from #452, now that each devcontainer has its own keyring: - gh falls back to hosts.yml whenever the keyring is locked at login, and that copy wins over the keyring afterwards. post-start and unlock-keyring now name every host with a plaintext token and print the command that moves it into the keyring without minting a new one. They never print the token itself. - git fetched github.com through VS Code's helper, which forwards to the host's credential store. containerEnv now routes github.com and gist.github.com through `gh auth git-credential`. Command-scope config is read last, so its empty reset drops every earlier helper. A locked keyring now fails the fetch instead of falling back to the host. - _ensure_keyring_backend checked only the top-level backend. The ChainerBackend keyring picks when several backends are viable falls through to the next one on a failed write, so a plaintext backend behind a locked Secret Service could receive the secret. Every chained backend must now be encrypted. - A locked keyring now raises KeyringLockedError naming the unlock command, instead of a generic storage failure. Reads log the same hint. Closes #452 * fix(devcontainer): keep URLs intact when stripping JSONC comments The manifest validator removed everything after `//` on a line, including inside strings. So the new `credential.https://githubproxy.fjygbaifeng.eu.org.helper` keys lost their closing quotes and CI's smoke test rejected the manifest. Any URL in a string value would have done the same. Strings are now matched first and kept whole. The locked-keyring warnings also stop naming the secret they failed to read. CodeQL treats data derived from secret key names as sensitive when logged, and the hint to run `unlock-keyring` doesn't depend on the name. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…tes, and align traefik values (#652)
…e management (#653) - Implement FQDN addressing for Kubernetes service discovery and LiteLLM gateway route synchronization - Add manifest template substitution engine for k8s and kustomize apply commands - Configure balanced weights and 28,672 token context window for dual Qwen3-Coder vLLM and Ollama backends - Add Cloudflare client, DNS sync, and Zero Trust tunnel management CLI commands - Calibrate review prompts and common hallucinations catalog against test exemplars and internal cluster HTTP - Harden CI test isolation, preserve working directory, and ensure 100% Gated CI pass rate
…/local, add gemma4:31b (#654) * feat(k8s): consolidate llm profiles and services by total vram, bypass squid for rfc1918 and local domains * feat(llm): add gemma4:31b routing to ollama-32gib and open-webui filter list
…ram capacity (#655) * fix(k8s): add node affinity and tuned memory requests for ollama profiles * feat(k8s): schedule vllm and ollama dynamically by architecture and vram capacity
…ction resilience (#672) - Add zero-subprocess Git HEAD inspection for vcs.ref.name and vcs.revision_id - Add Kubernetes context and namespace detection for telemetry spans - Add automatic caller code inspection (code.filepath, code.function, code.lineno) - Enrich thread and process metadata (thread.name, thread.id, process.pid) - Add granular GenAI telemetry (gen_ai.response.model, gen_ai.server.served_by, gen_ai.tokens_per_second) - Harden OpenAI and Claude provider clients to use connection-pooled shared clients with tenacity retry transport - Add DEFAULT_AI_CONNECT_TIMEOUT_SECONDS (5.0s) to prevent spurious connect timeouts over WAN tunnels - Enhance provider HTTP error formatting to report informative HTTP status codes and details rather than masking as credential failures
…ate findings (#673) - Remediate genuine findings from review session 20260928-040906: - run_store: sanitize get_run against path traversal and verify relative path resolution - cloudflare: narrow broad exception handling to JSON and decoding errors - symbols: narrow bare exception in Python source symbol extraction - payoff: narrow bare exception in days active calculation - ollama docs: update k8s manifest reference to ollama-profiles.yaml - constants: expand fixture credential keywords - Self-improvement and feedback loop hardening: - common_hallucinations: refactor verify_ground_truth_hallucination into dedicated helpers and table-driven dispatch - add ground truth verification for dependency ecosystem, test mocks, and masked secret redaction markers - add common hallucination catalog entries for structural tuple equality, localhost default configs, POSIX signal 0 liveness, and pre-1.0 breaking change tolerance - verification: add deterministic short-circuit checkers and early filters for tuple equality, localhost URLs, signal 0, and benign documentation compliments - prompts: update review and verification prompts to prevent tautological criteria verification and sanitizer marker false alarms - docs: record Calibration Record for session 20260928-040906 in docs/SELF_IMPROVEMENT.md - tests: add comprehensive unit tests with structural tuple equality assertions for new checkers and run_store traversal defenses
…tter (#674) * fix(mcp): hydrate lazy tool domains, fail closed on PR readiness and run checks, and anchor coverage index Pin tree-sitter packages and make environment-sensitive tests hermetic. Hydrate lazy FastMCP tool domains with client notifications, fail closed on PR readiness and run checks, disambiguate run IDs, and anchor coverage index. Closes #670, Closes #665 * fix(github): handle check-runs object pagination and strip --slurp in _run_gh_paginated --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…defects (#675) - Parse whole cleaned text before falling back to fenced blocks and anchor closing fences (#656) - Prefer field-level validation errors over raw JSON syntax errors in response repair (#656) - Skip schema validation retry loops for plain-text agent outputs (#656) - Include structured findings and actual executed static analyzers in orchestrated reviews and PR comments (#657) - Safely read project conventions from base ref or reviewer checkout, preventing PR head from suppressing findings (#658) - Exempt absence-type findings from construct invalidation and prevent catalog pollution (#659) - Preserve case in relocated finding paths and canonicalize location tokens dropping surrounding prose (#659) - Compare symbols against merge-base keyed by base branch (#659) - Treat curl -O as flag in synthetic script download to preserve target URL (#659) - Keep degraded mitigations reportable as UNVERIFIED (#660) - Bind verifier verdicts by positional oracle and title compatibility (#660) - Send conflicting criteria to LLM verification as UNVERIFIED (#660) - Treat null location in verdict as unchanged (#660) - Copy perimeter_files and regression_test back to verified findings (#660) - Compute category false-positive baseline from candidate pool including invalidated findings (#660) - Resolve mitigation ledger under data directory (#660) - Validate invariants strictly on target finding in verify command (#660) - Isolate agent memory on message_history=[] to prevent prompt leak and summarization cost (#664) - Send max_completion_tokens for OpenAI reasoning models and restore substring family matching (#664) Closes #656, #657, #658, #659, #660, #664 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
… k8s network security (#661, #662, #663, #666, #667) (#676) - Host sandbox: streaming output byte caps, guarded process group termination, and git worktree read-only mounts (#663) - Sanitizer: bracket-balanced code credential detection and attribute chain validation (#662) - Spend ledger: tiered pricing calculation, pricing cache persistence, time windowing, and payoff analytics (#661) - Cloudflare client & CLI: DNS pagination, unmanaged record protection, tunnel ingress preservation (#666) - Cloudflare Access: add public IP bypass configuration option to configure homelab-public-ip-bypass policy - Kubernetes networking: stop overriding addressing to nodeport FQDNs, preserve API base URLs (#666) - Kubernetes security: decouple cloudflared and ingress templates from root kustomization into templated overlay, revert OTel NodePort to ClusterIP, restrict network policies to Traefik, deny internal traffic in Squid egress proxy (#667) Closes #661, Closes #662, Closes #663, Closes #666, Closes #667
…verrides, and k8s gpu placement (#668, #669) (#677) - Gateway tune: pipe benchmark script via stdin to prevent Linux MAX_ARG_STRLEN (128KB) overflow on large prompts, reuse ephemeral container to avoid pod clutter, compute and display recommended concurrency, and match weight/concurrency overrides by backend label (#669) - Kubernetes LLM Gateway: remove fixed max parallel caps on devops-review model group and adopt simple-shuffle routing strategy so tuned weights take effect (#668) - Kubernetes GPU Placement & Exporter: accept either nvidia.com/gpu.family or nvidia.com/gpu.architecture in Ollama node affinity, scale conflicting vllm-48gib profile to 0 replicas, clear capabilities.add in dcgm-exporter values, and use dcp-metrics-included.csv arguments (#668)
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
One or more issues must be addressed before approval.
Review effort: Lite
Findings: 4
Open (6)
Restrict Cloudflared egress destinations explicitly · New Set Traefik service.type under the correct chart value · New Restrict trusted forwarded headers to Cloudflared · New Exclude profile pods from the broad default network policy · New Link the task field to the GitHub issue, not pull request · New Restore or justify the binary-search performance threshold · New
What changed in this PR
Release v0.2.23 consolidates AI review hardening, Kubernetes profile routing, Cloudflare ingress, sandbox security, telemetry, documentation, and task tracking updates.
Changes:
- Added Kubernetes GPU profiles, Cloudflare tunnel/ingress manifests, and security policies.
- Hardened review, sandbox, telemetry, path resolution, and MCP behavior.
- Updated tests, documentation, release metadata, and task files.
| File | Description |
|---|---|
| tests/test_workspace.py | Updated as part of this pull request. |
| tests/test_vault_broker.py | Updated as part of this pull request. |
| tests/test_server.py | Updated as part of this pull request. |
| tests/test_security_sandbox_and_protection.py | Updated as part of this pull request. |
| tests/test_review_loop_hardening.py | Updated as part of this pull request. |
| tests/test_review_defenses_and_verification.py | Updated as part of this pull request. |
| tests/test_review_auto_fix.py | Updated as part of this pull request. |
| tests/test_rag_hybrid_search.py | Updated as part of this pull request. |
| tests/test_prompt_programmatic_functions.py | Updated as part of this pull request. |
| tests/test_prometheus.py | Updated as part of this pull request. |
| tests/test_otel_command_coverage.py | Updated as part of this pull request. |
| tests/test_model_bundle.py | Updated as part of this pull request. |
| tests/test_mcp.py | Updated as part of this pull request. |
| tests/test_k8s_runtime_cmd.py | Updated as part of this pull request. |
| tests/test_github_projects.py | Updated as part of this pull request. |
| tests/test_docs.py | Updated as part of this pull request. |
| tests/test_context_packer.py | Updated as part of this pull request. |
| tests/test_config_audit_keys.py | Updated as part of this pull request. |
| tests/test_builtin_tools.py | Updated as part of this pull request. |
| tests/test_audit_stream.py | Updated as part of this pull request. |
| tests/test_argo_crd.py | Updated as part of this pull request. |
| tests/test_ai_test_gen.py | Updated as part of this pull request. |
| tests/test_ai_spend_prometheus.py | Updated as part of this pull request. |
| tests/test_ai_prompt_eval.py | Updated as part of this pull request. |
| tests/test_ai_inspection.py | Updated as part of this pull request. |
| tests/test_ai_client_providers_and_embeddings.py | Updated as part of this pull request. |
| src/devops_cli/templates/claude_mcp.json.j2 | Updated as part of this pull request. |
| src/devops_cli/server/routes/workspace.py | Updated as part of this pull request. |
| src/devops_cli/security/gitleaks.py | Updated as part of this pull request. |
| src/devops_cli/sandbox/engine.py | Updated as part of this pull request. |
| src/devops_cli/output/formatters/panels.py | Updated as part of this pull request. |
| src/devops_cli/output/__init__.py | Updated as part of this pull request. |
| src/devops_cli/models/vulnerability.py | Updated as part of this pull request. |
| src/devops_cli/models/ai.py | Updated as part of this pull request. |
| src/devops_cli/lang/en/errors.py | Updated as part of this pull request. |
| src/devops_cli/k8s/service_proxy.py | Updated as part of this pull request. |
| src/devops_cli/k8s/__init__.py | Updated as part of this pull request. |
| src/devops_cli/http/client.py | Updated as part of this pull request. |
| src/devops_cli/github/projects.py | Updated as part of this pull request. |
| src/devops_cli/docs/__init__.py | Updated as part of this pull request. |
| src/devops_cli/docker/engine.py | Updated as part of this pull request. |
| src/devops_cli/crypto/ssh_keys.py | Updated as part of this pull request. |
| src/devops_cli/core/serialization.py | Updated as part of this pull request. |
| src/devops_cli/core/audit.py | Updated as part of this pull request. |
| src/devops_cli/commands/uv.py | Updated as part of this pull request. |
| src/devops_cli/commands/test_cmd.py | Updated as part of this pull request. |
| src/devops_cli/commands/sandbox.py | Updated as part of this pull request. |
| src/devops_cli/commands/release.py | Updated as part of this pull request. |
| src/devops_cli/commands/rag.py | Updated as part of this pull request. |
| src/devops_cli/commands/mcp.py | Updated as part of this pull request. |
| src/devops_cli/commands/config.py | Updated as part of this pull request. |
| src/devops_cli/cloudflare/__init__.py | Updated as part of this pull request. |
| src/devops_cli/ci/__init__.py | Updated as part of this pull request. |
| src/devops_cli/ai/tools/builtin_tools.py | Updated as part of this pull request. |
| src/devops_cli/ai/tasks/path_review_prompt.md | Updated as part of this pull request. |
| src/devops_cli/ai/tasks/paginated_review_protocol.md | Updated as part of this pull request. |
| src/devops_cli/ai/tasks/diff_review_prompt.md | Updated as part of this pull request. |
| src/devops_cli/ai/review/mitigated_findings.json | Updated as part of this pull request. |
| src/devops_cli/ai/retries/__init__.py | Updated as part of this pull request. |
| src/devops_cli/ai/response_cache.py | Updated as part of this pull request. |
| src/devops_cli/ai/repomap.py | Updated as part of this pull request. |
| src/devops_cli/ai/rag/retriever.py | Updated as part of this pull request. |
| src/devops_cli/ai/profiles/__init__.py | Updated as part of this pull request. |
| src/devops_cli/ai/personas/qa/prompt.md | Updated as part of this pull request. |
| src/devops_cli/ai/personas/pm/prompt.md | Updated as part of this pull request. |
| src/devops_cli/ai/mcp/__init__.py | Updated as part of this pull request. |
| src/devops_cli/ai/knowledge_base/it_domains/tools/ollama.md | Updated as part of this pull request. |
| src/devops_cli/ai/knowledge_base/devops_cli/tasks/k8s_stack_deployment.md | Updated as part of this pull request. |
| src/devops_cli/ai/diagram.py | Updated as part of this pull request. |
| src/devops_cli/ai/client/ollama.py | Updated as part of this pull request. |
| src/devops_cli/ai/client/__init__.py | Updated as part of this pull request. |
| src/devops_cli/ai/benchmark/runner.py | Updated as part of this pull request. |
| src/devops_cli/ai/benchmark/__init__.py | Updated as part of this pull request. |
| src/devops_cli/ai/ast/models.py | Updated as part of this pull request. |
| SECURITY.md | Updated as part of this pull request. |
| k8s/overlays/templated/kustomization.yaml | Updated as part of this pull request. |
| k8s/otel/networkpolicy.yaml | Updated as part of this pull request. |
| k8s/namespaces.yaml | Updated as part of this pull request. |
| k8s/monitoring/networkpolicy.yaml | Updated as part of this pull request. |
| k8s/llm/vllm/service.yaml | Updated as part of this pull request. |
| k8s/llm/profiles/kustomization.yaml | Updated as part of this pull request. |
| k8s/llm/portkey/deployment.yaml | Updated as part of this pull request. |
| k8s/llm/portkey/configmap.yaml | Updated as part of this pull request. |
| k8s/llm/networkpolicy.yaml | Updated as part of this pull request. |
| k8s/llm/lightllm/deployment.yaml | Updated as part of this pull request. |
| k8s/llm/kustomization.yaml | Updated as part of this pull request. |
| k8s/llm/gateway/service.yaml | Updated as part of this pull request. |
| k8s/ingress/traefik-values.yaml | Updated as part of this pull request. |
| k8s/ingress/kustomization.yaml | Updated as part of this pull request. |
| k8s/cloudflared/secret.example.yaml | Updated as part of this pull request. |
| k8s/cloudflared/kustomization.yaml | Updated as part of this pull request. |
| docs/squid-failover-and-observability.md | Updated as part of this pull request. |
| docs/SDLC.md | Updated as part of this pull request. |
| docs/RELEASE_NOTES.md | Updated as part of this pull request. |
| docs/commands/workspace.md | Updated as part of this pull request. |
| docs/commands/telemetry.md | Updated as part of this pull request. |
| docs/commands/pr.md | Updated as part of this pull request. |
| docs/commands/kustomize.md | Updated as part of this pull request. |
| docs/commands/gh.md | Updated as part of this pull request. |
| docs/commands/devcontainer.md | Updated as part of this pull request. |
| docs/agent/tasks/task-349-review-loop-calibration.md | Updated as part of this pull request. |
| docs/agent/tasks/task-346-devcontainer-claude-cli-extension.md | Updated as part of this pull request. |
| docs/agent/tasks/task-344-ai-network-slot-defaults-file-size-limits.md | Updated as part of this pull request. |
| docs/agent/tasks/task-342-gh-project-workflows-inspection-linking-decommission.md | Updated as part of this pull request. |
| docs/agent/tasks/task-339-release-epic-issue-reference-duplication.md | Updated as part of this pull request. |
| docs/agent/tasks/task-330-query-all-milestone-issue-states-and-standalone-prs.md | Updated as part of this pull request. |
| docs/agent/tasks/task-326-rich-renderables-architecture-terminal-capability-negotiatio.md | Updated as part of this pull request. |
| docs/agent/tasks/task-325-template-rendering-engine-sandboxing-pre-compiled-ast-cachin.md | Updated as part of this pull request. |
| docs/agent/tasks/task-324-asynchronous-http-2-connection-multiplexing-lifespan-handler.md | Updated as part of this pull request. |
| docs/agent/tasks/task-323-git-low-level-plumbing-optimization-pathspec-in-memory-tree.md | Updated as part of this pull request. |
| docs/agent/tasks/task-322-cryptography-pure-python-asymmetric-key-management-hardware.md | Updated as part of this pull request. |
| docs/agent/tasks/task-321-security-scanners-unified-sarif-engine-cross-tool-deduplicat.md | Updated as part of this pull request. |
| docs/agent/tasks/task-320-pydantic-ai-structured-workflows-prompt-caching-client-side.md | Updated as part of this pull request. |
| docs/agent/tasks/task-319-opentelemetry-w3c-traceparent-context-propagation-metric-sdk.md | Updated as part of this pull request. |
| docs/agent/tasks/task-318-fastmcp-in-process-execution-in-memory-tool-dispatch-schema.md | Updated as part of this pull request. |
| docs/agent/tasks/task-317-textual-tui-reactive-architecture-virtualized-log-streamers.md | Updated as part of this pull request. |
| docs/agent/tasks/task-316-github-api-graphql-batch-consolidation-etag-caching-token-bu.md | Updated as part of this pull request. |
| docs/agent/tasks/task-315-grafana-declarative-dashboard-schema-models-bi-directional-g.md | Updated as part of this pull request. |
| docs/agent/tasks/task-314-prometheus-promql-ast-validation-client-side-anomaly-detecti.md | Updated as part of this pull request. |
| docs/agent/tasks/task-313-qdrant-vector-engine-async-connection-pooling-hybrid-lexical.md | Updated as part of this pull request. |
| docs/agent/tasks/task-312-valkey-redis-resp3-connection-pooling-pipeline-batching-tier.md | Updated as part of this pull request. |
| docs/agent/tasks/task-311-hashicorp-vault-native-client-dynamic-secret-leasing-os-keyr.md | Updated as part of this pull request. |
| docs/agent/tasks/task-310-terraform-opentofu-hcl-ast-analysis-state-introspection-drif.md | Updated as part of this pull request. |
| docs/agent/tasks/task-309-argocd-server-api-crd-reconciliation-automated-canary-metric.md | Updated as part of this pull request. |
| docs/agent/tasks/task-308-docker-engine-socket-api-layer-caching-introspection-contain.md | Updated as part of this pull request. |
| docs/agent/tasks/task-307-kubernetes-dynamic-informer-architecture-event-streaming-sub.md | Updated as part of this pull request. |
| docs/agent/tasks/task-293-k8s-stacks-grafana-dashboards.md | Updated as part of this pull request. |
| docs/agent/tasks/task-290-ai-spend-tracking.md | Updated as part of this pull request. |
| docs/agent/tasks/task-287-github-vscode-agentic-roadmap.md | Updated as part of this pull request. |
| docs/agent/tasks/task-285-ai-request-priority-classification.md | Updated as part of this pull request. |
| docs/agent/tasks/task-283-dynamic-slot-leasing-context-aware-review.md | Updated as part of this pull request. |
| docs/agent/tasks/task-280-harden-exceptions-telemetry-data-tier.md | Updated as part of this pull request. |
| docs/agent/tasks/task-278-living-mental-model-synthesizer-causal-graph-distiller-devop.md | Updated as part of this pull request. |
| docs/agent/tasks/task-277-cross-domain-analogical-pattern-retriever-devops-ai-research.md | Updated as part of this pull request. |
| docs/agent/tasks/task-276-socratic-inquiry-knowledge-gap-formulator-devops-ai-research.md | Updated as part of this pull request. |
| docs/agent/tasks/task-275-active-marginalia-epistemic-scratchpad-devops-ai-read-annota.md | Updated as part of this pull request. |
| docs/agent/tasks/task-274-agentic-information-foraging-scent-tracker-devops-ai-researc.md | Updated as part of this pull request. |
| docs/agent/tasks/task-273-syntopical-dialectical-synthesis-engine-devops-ai-research-s.md | Updated as part of this pull request. |
| docs/agent/tasks/task-272-multi-scale-semantic-outline-inspectional-scanner-devops-ai.md | Updated as part of this pull request. |
| docs/agent/tasks/task-270-harden-agent-instructions-author-as-merged.md | Updated as part of this pull request. |
| docs/agent/tasks/task-267-replace-n-gate-with-gated.md | Updated as part of this pull request. |
| docs/agent/tasks/task-265-resolve-pr-244-review-threads.md | Updated as part of this pull request. |
| docs/agent/tasks/task-262-remediate-review-findings-feedback-loop.md | Updated as part of this pull request. |
| docs/agent/tasks/task-260-ci-performance-acceleration.md | Updated as part of this pull request. |
| docs/agent/tasks/task-258-keep-prs-up-to-date.md | Updated as part of this pull request. |
| docs/agent/tasks/task-256-ci-execution-caching-pre-commit.md | Updated as part of this pull request. |
| docs/agent/tasks/task-254-forward-looking-pm-roadmap-sync.md | Updated as part of this pull request. |
| docs/agent/tasks/task-252-universal-trailing-dry-run-propagation.md | Updated as part of this pull request. |
| docs/agent/tasks/task-250-remediate-review-markdown-formatting.md | Updated as part of this pull request. |
| docs/agent/tasks/task-248-pyproject-version-single-source.md | Updated as part of this pull request. |
| docs/agent/tasks/task-245-parse-timeline-copilot-state-json-array.md | Updated as part of this pull request. |
| docs/agent/tasks/task-237-rate-limit-quota-accuracy-gh-cli-hardening.md | Updated as part of this pull request. |
| docs/agent/tasks/task-235-project-reconcile-rate-quota-exhaustion.md | Updated as part of this pull request. |
| docs/agent/tasks/task-233-paginated-url-dry-run-reconciliation.md | Updated as part of this pull request. |
| docs/agent/tasks/task-231-ci-realtime-streaming-rate-limiter-repos-clone.md | Updated as part of this pull request. |
| docs/agent/tasks/task-220-main-branch-review-diffing.md | Updated as part of this pull request. |
| docs/agent/tasks/task-218-fix-release-draft-pr-description-generator.md | Updated as part of this pull request. |
| docs/agent/tasks/task-216-copilot-review-completed-when-threads-resolved.md | Updated as part of this pull request. |
| docs/agent/tasks/task-211-rate-limit-budget-pacing-project-sync.md | Updated as part of this pull request. |
| docs/agent/tasks/task-209-uncap-ollama-memory-elevate-k8s-limits.md | Updated as part of this pull request. |
| docs/agent/tasks/task-207-sandbox-multi-tier-networking-options.md | Updated as part of this pull request. |
| docs/agent/tasks/task-205-remediate-review-findings-self-improvement.md | Updated as part of this pull request. |
| docs/agent/tasks/task-204-remediate-devsecops-findings-self-improvement.md | Updated as part of this pull request. |
| docs/agent/tasks/task-199-async-memory-profiler.md | Updated as part of this pull request. |
| docs/agent/tasks/task-188-ci-pr-merge-readiness-workflow-gate.md | Updated as part of this pull request. |
| docs/agent/tasks/task-185-review-remediation-self-improvement.md | Updated as part of this pull request. |
| docs/agent/tasks/task-183-stack-deploy-conflicts.md | Updated as part of this pull request. |
| docs/agent/tasks/task-183-pr-merge-readiness-gating.md | Updated as part of this pull request. |
| docs/agent/tasks/task-181-native-gh-cli-pr-governance.md | Updated as part of this pull request. |
| docs/agent/tasks/task-180-pr-threads-rest-fallback.md | Updated as part of this pull request. |
| docs/agent/tasks/task-176-review-findings-self-improvement.md | Updated as part of this pull request. |
| docs/agent/tasks/task-175-project-field-sync-pagination.md | Updated as part of this pull request. |
| docs/agent/tasks/task-172-k8s-context-minikube-autostart.md | Updated as part of this pull request. |
| docs/agent/tasks/task-170-pr-monitor-copilot-checks.md | Updated as part of this pull request. |
| docs/agent/tasks/task-169-concise-commit-messages.md | Updated as part of this pull request. |
| docs/agent/tasks/task-167-sandbox-metrics-review-remediation.md | Updated as part of this pull request. |
| docs/agent/tasks/task-165-require-draft-prs-for-in-progress-work.md | Updated as part of this pull request. |
| docs/agent/tasks/task-158-automatically-apply-formatting-and-linting.md | Updated as part of this pull request. |
| docs/agent/tasks/task-154-remediate-devsecops-review-findings.md | Updated as part of this pull request. |
| docs/agent/tasks/task-152-sanitize-internal-systems-and-strengthen-instructions.md | Updated as part of this pull request. |
| docs/agent/tasks/task-150-pre-1-0-alpha-backwards-compatibility-policy.md | Updated as part of this pull request. |
| docs/agent/tasks/task-148-decouple-circular-imports.md | Updated as part of this pull request. |
| docs/agent/tasks/task-146-remove-obsolete-log-md.md | Updated as part of this pull request. |
| docs/agent/tasks/task-144-devcontainer-usage-best-practices.md | Updated as part of this pull request. |
| docs/agent/tasks/task-142-llm-gateway-distributed-router.md | Updated as part of this pull request. |
| docs/agent/tasks/task-141-squid-proxy-cluster-enablement.md | Updated as part of this pull request. |
| docs/agent/tasks/task-140-release-notes-extraction-fallback-and-changelog-check.md | Updated as part of this pull request. |
| docs/agent/tasks/task-139-ai-chat-markdown-formatting.md | Updated as part of this pull request. |
| docs/agent/tasks/task-137-docs-compaction-engine.md | Updated as part of this pull request. |
| docs/agent/tasks/task-135-k8s-pod-restarts-resource-limits.md | Updated as part of this pull request. |
| docs/agent/tasks/task-132-ai-chat-persona-orange.md | Updated as part of this pull request. |
| docs/agent/tasks/task-131-k8s-squid-cache-ollama.md | Updated as part of this pull request. |
| docs/agent/tasks/task-129-agent-instructions-rate-limits.md | Updated as part of this pull request. |
| docs/agent/tasks/task-128-streaming-reasoning-think-tokens.md | Updated as part of this pull request. |
| docs/agent/tasks/task-127-ai-model-prewarming-vram-eviction.md | Updated as part of this pull request. |
| docs/agent/tasks/task-126-k8s-minikube-gpu-nodeport-fallback.md | Updated as part of this pull request. |
| docs/agent/tasks/task-123-llm-structured-output-retry-json-repair.md | Updated as part of this pull request. |
| docs/agent/tasks/task-122-distributed-threat-intel-valkey-l2.md | Updated as part of this pull request. |
| docs/agent/tasks/task-121-logging-perimeter-hardening.md | Updated as part of this pull request. |
| docs/agent/tasks/task-120-parallel-async-review-pool.md | Updated as part of this pull request. |
| docs/agent/tasks/task-119-polyglot-treesitter-boundary-guard.md | Updated as part of this pull request. |
| docs/agent/tasks/task-118-ast-context-packer-binary-search.md | Updated as part of this pull request. |
| docs/agent/tasks/task-117-adaptive-embedding-batch-sizing.md | Updated as part of this pull request. |
| docs/agent/tasks/task-116-secret-sanitizer-word-boundaries.md | Updated as part of this pull request. |
| docs/agent/tasks/task-115-core-dependency-alignment.md | Updated as part of this pull request. |
| docs/agent/tasks/task-114-branch-protection-secrets.md | Updated as part of this pull request. |
| docs/agent/tasks/task-113-falco-ebpf-runtime-security.md | Updated as part of this pull request. |
| docs/agent/tasks/task-112-sigstore-cosign-container-provenance.md | Updated as part of this pull request. |
| docs/agent/tasks/task-111-argo-gitops-watch.md | Updated as part of this pull request. |
| docs/agent/tasks/task-110-sandbox-logs-panic-detector.md | Updated as part of this pull request. |
| docs/agent/tasks/task-109-sandbox-traces-w3c-waterfall.md | Updated as part of this pull request. |
| docs/agent/tasks/task-108-sandbox-metrics-cgroup-prom.md | Updated as part of this pull request. |
| docs/agent/tasks/task-107-sandbox-probe-subsystem.md | Updated as part of this pull request. |
| docs/agent/tasks/task-106-workload-sandbox-lifecycle-engine.md | Updated as part of this pull request. |
| docs/agent/tasks/task-102-review-feedback-loop-hardening.md | Updated as part of this pull request. |
| docs/agent/tasks/task-101-modular-agent-task-tracking.md | Updated as part of this pull request. |
| docs/agent/tasks/task-099-ci-workflows-cache-optimization.md | Updated as part of this pull request. |
| docs/agent/tasks/task-094-eliminate-obsolete-shims.md | Updated as part of this pull request. |
| docs/agent/tasks/task-091-argo-fleet-sync.md | Updated as part of this pull request. |
| docs/agent/tasks/task-090-infracost-finops-cloud-cost.md | Updated as part of this pull request. |
| docs/agent/tasks/task-089-k8s-centralized-logging.md | Updated as part of this pull request. |
| docs/agent/tasks/task-088-security-scanner-migration.md | Updated as part of this pull request. |
| docs/_config.yml | Updated as part of this pull request. |
| .mcp.json | Updated as part of this pull request. |
| .gitignore | Updated as part of this pull request. |
| .github/workflows/ci.yml | Updated as part of this pull request. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+34
to
+38
| - ports: | ||
| - protocol: TCP | ||
| port: 443 | ||
| # Allow outbound tunnel traffic to Cloudflare Edge (QUIC UDP 7844 and TCP 7844 fallback) | ||
| - ports: |
Comment on lines
+5
to
+7
| service: | ||
| spec: | ||
| type: ClusterIP |
| ports: | ||
| web: | ||
| forwardedHeaders: | ||
| insecure: true |
Comment on lines
+16
to
+19
| - vllm-single | ||
| - portkey | ||
| - lightllm | ||
| - valkey-runs |
|
|
||
| **Issue**: — | ||
| **PR**: [#182](https://github.com/dan-petty/devops-cli/pull/182) | ||
| **Issue**: [#182](https://github.com/dan-petty/devops-cli/pull/182) |
| @@ -293,7 +293,7 @@ def test_prune_tree_binary_search_under_10ms() -> None: | |||
| assert count_tokens(unparsed) <= 200 | |||
| assert len(pruned) > 300 | |||
| assert truncated is True | |||
| assert duration < 0.010, f"Execution exceeded benchmark threshold: {duration * 1000:.2f}ms" | |||
| assert duration < 0.050, f"Execution exceeded benchmark threshold: {duration * 1000:.2f}ms" | |||
This was referenced Oct 1, 2026
9 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.



feat(release): v0.2.23
Summary
Release
v0.2.23tracking PR under GitHub pull request merge controls.Closes #298
Included Deliverables
Release Notes
Added
devops_cli.k8s,devops_cli.ai):nvidia.com/gpu.familyandnvidia.com/gpu.architecture), mapping dual-GPU Ampere+ nodes to vLLM Qwen2.5-Coder-32B at tensor parallel 2 with 64K YaRN context, single-GPU Ampere nodes to vLLM Qwen2.5-Coder-14B, and legacy hardware to Ollama (feat(k8s): place vLLM and Ollama by GPU architecture behind an authenticated LLM gateway #453, feat(k8s): consolidate llm profiles by vram, bypass squid for rfc1918/local, add gemma4:31b #654, feat(k8s): schedule vllm and ollama dynamically by architecture and vram capacity #655, fix(k8s): gpu placement, exporter privileges and gateway routing for the llm pool #668).simple-shufflegateway routing across thedevops-reviewmodel group without artificial concurrency caps, achieving ~2 req/s throughput scaling (fix(k8s): devops-review routing throttles the largest server to the smallest server's request limit #467, fix(k8s): weight devops-review routing by backend throughput instead of capping deployments #468, fix(k8s): gpu placement, exporter privileges and gateway routing for the llm pool #668).MAX_ARG_STRLEN(128KB) overflow on large prompts during gateway tuning, with concurrency recommendations and label-keyed weight matching (feat(ai): devops ai gateway tune measures each inference backend and recommends routing weights #470, fix(ai): gateway tune fails on large prompts and ignores weight and concurrency settings #669, fix(ai,k8s): resolve gateway tune argv overflow, weight/concurrency overrides, and k8s gpu placement (#668, #669) #677).devops_cli.ai.review):observed_valuevsexpected_value) and deterministic pre-verification invalidation of contradictory polarity hallucinations (feat(cli): verdict polarity & field distribution assertions #435, fix(review): gracefully invalidate contradictory polarity findings and eliminate escape sequence syntax warnings #635).devops review corpus generate/score) across 9 injection templates for measured defect recall tracking (feat(review): review performance baseline per-stage timing, calls and tokens on a fixed corpus #473, feat(ai): llm gateway weights validated against real reviews #476).profile.jsonand spend ledger (feat(review): review performance baseline per-stage timing, calls and tokens on a fixed corpus #473, feat(ai): llm gateway calls record their serving backend in the spend ledger #474, fix(ai): spend ledger overprices tiered models and prices calls at lookup time #661, fix(ai): shared agents leak memory across reviewed files, openai caps use the wrong token field, and delta metrics arrive out of order #664).limit_completion_tokens), preventing runaway generation delays (fix(review): verification calls have no reply cap, and a runaway reply stalled a review for 10 minutes #494, fix(review): cap verification and persona review replies #496).devops_cli.k8s.cloudflared,devops_cli.k8s.ingress):cloudflaredmulti-replica deployment with non-root security context (runAsUser: 65532,readOnlyRootFilesystem: true), token secret mapping, and dedicated network policy isolation (Homelab K8s Platform Enhancements: Cloudflare Tunnel GitOps, Ingress Automation & AI Triage #646, feat(k8s): add declarative cloudflared tunnel and cluster ingress manifests (#646) #651).ClusterIPservice with wildcard*.homelab.<domain>routing, client host-header preservation, and pre-configured ingress routes foropen-webui,llm-gateway,kube-prometheus-grafana, andargocd-server(Homelab K8s Platform Enhancements: Cloudflare Tunnel GitOps, Ingress Automation & AI Triage #646, feat(k8s): add declarative cloudflared tunnel and cluster ingress manifests (#646) #651).devops_cli.sandbox,devops_cli.core.process):start_new_session=TrueonPopen) with safe hierarchical group termination guarding PID 1 and caller process group (fix(k8s): run port-forward daemons in their own process group #440, fix(security): host sandbox applies no output, process or tmpfs limits and binds the wrong repository root #663).collections.deque(maxlen=1000)), and read-only git worktree volume mounts (fix(cli): drain background shell pipes into bounded ring buffers #449, fix(security): host sandbox applies no output, process or tmpfs limits and binds the wrong repository root #663)..data/agent/) preventing temporary review artifacts from polluting user workspace data (One data directory across git worktrees #553, Shared Data Resolves Under the Main Worktree for Every Reader, Writer and Cleanup #616).devops_cli.github):devops gh issues close-merged) closing pull-request referenced issues across release branches (feat(gh): add project workflows inspection & linking, decommission bot project-automation workflow #342, feat(gh): close issues linked by pull requests merged outside main (#342) #366).Fixed & Hardened
devops_cli.security.sanitizer): Bracket-balanced credential detection and attribute chain validation in code sanitizers (fix(security): secret masking leaves code-like credential values unmasked #662, fix: harden sandbox, pricing ledger, cloudflare public IP bypass, and k8s network security (#661, #662, #663, #666, #667) #676).devops_cli.security.sanitizer): Capitalized word discrimination preventing ordinary prose being treated as credentials (fix(security): a capitalised word is still a word, not a credential #397).devops_cli.security): Keyring credential resolution hardening and host-credential gap elimination (fix(security): close the keyring's remaining plaintext and host-credential gaps #485).devops_cli.commands.pr): Blocked PR readiness checks on drafts, uncompleted task specs, and failing CI checks (fix(pr): block readiness on drafts and failing checks #398, fix(pr): say why a pull request could not be created #400).devops_cli.commands.devcontainer): Handled URL strings gracefully when resolving SSH key prefixes from JSONC manifests (fix(cli): read the devcontainer name for SSH key prefixes despite URL strings #488).devops_cli.core.process): Drained background shell pipes into bounded ring buffers, avoiding deadlock on large process outputs (fix(cli): drain background shell pipes into bounded ring buffers #449).devops_cli.k8s.port_forward): Isolated port-forward daemons into dedicated process groups with graceful teardown (fix(k8s): run port-forward daemons in their own process group #440).devops_cli.ai.review): Removed ungrounded self-agreement confidence heuristics in favor of external tool verifications (fix(review): stop deriving confidence from the model agreeing with itself #402).Quality Gate Checklist
devops ci)README.mdsynchronizedpyproject.tomlandsrc/devops_cli/__init__.pyrelease/v0.2.23