Repository navigation
Description
Problem
The hand-written docs tell readers and agents to run commands that fail, and describe components that were removed. Examples:
devops pr merge, which does not exist;devops scan kubelinter|plutoandscan trivy -p;devops telemetry logfire-status;devops k8s deploy-stack monitoring|gitops|tracing, where stacks are chosen with--stackfrominfra,llm,loggingandall;devops k8s logs -l, anddevops release tag <ver>as a positional argument;- an
ollamaService and routes (ollama/*,devops-embedding,vllm-*) that v0.2.24 removed.
ARCHITECTURE.md also describes a universal --format, a @cli_command_handler that no command uses, a ProcessExecutionPipeline that no production code calls (the real runner, run_subprocess, is the one that honours --dry-run), an audit log nothing writes, and a stage protocol no workflow uses. A fact-check on 2026-10-02 checked 1,129 claims against the release/v0.2.25 tip. A second agent re-checked every finding below, and each one was confirmed false.
Out of scope:
AGENTS.md, which is docs(agents): instruction surfaces state only what is true, anddevops ai agentsnever overwrites AGENTS.md #840;- the generated
docs/CONFIGURATION.mdanddocs/ERRORS.md, which are fix(docs): generated reference docs fail closed and describe the real surface #854; docs/ROADMAP.md, which feat(github): github-sourced roadmap, migration and generated roadmap view (devops roadmap migrate,render) #739 generates.
Acceptance criteria
- Every finding below is corrected. The corrections were verified against the release/v0.2.25 tip; re-check any line that moved. Where
ARCHITECTURE.mddescribes code that exists but is unused, the text says so, or the claim is removed. - The command-resolution test from fix(ai): the knowledge base names only commands, options and components that exist #920 also covers
README.md,ARCHITECTURE.md,RELEASE_CYCLE.md,docs/SDLC.md,docs/ROUTINE_TASKS.md,docs/DEVCONTAINER_USAGE.mdand everyREADME.mdunderk8s/. It fails on today's text. -
uv run devops cipasses.
Depends on: #920, which adds the command-resolution test.
Key questions
- Fix the docs, or delete the unused code they describe (
ProcessExecutionPipeline,@cli_command_handler,StagePipeline,record_audit_event)? (proposed) Fix the docs here. Deleting unused code is a separate refactor item, filed if wanted, so this one stays docs-only.
Findings (verified)
-
ARCHITECTURE.md:119(low): Replacing fragile bash scripts (postCreate.sh,postStart.sh),devops devcontainer run-lifecycleexecutes cross-platform Python lifecycle tasks: [diagram line 123: DC_HOOK["DevContainer Lifecycle Trigger"] --> PY_EN → Replacing fragile bash scripts,devops devcontainer post-createanddevops devcontainer post-start(wrapped together bydevops devcontainer run-lifecycle) execute cross-platform Python lifecycle tasks. In the diagram, point the trigger atpost-create/post-start. -
ARCHITECTURE.md:126(low): T1["Persist Shell History (.data/zsh_history)"] → T1["Persist Shell History (~/.bash_history)"] -
ARCHITECTURE.md:132(low): T4["Sync Managed SSH Keys & Agent"] → T4["Fix SSH Key Permissions & Configure Commit Signing"] -
ARCHITECTURE.md:168(medium): Every CLI subcommand across all 30+ Typer command modules follows a single declarative decorator pattern [@cli_command_handler]: Automatic--dry-runinspection andrender_dry_run_result()response generation. Autom → Every command is registered on anew_typer()app (OTelTyper,devops_cli/core/cli.py), which wraps it in acli.<command>OpenTelemetry span. Each command handles--dry-runitself viais_dry_run()/render_dry_run_result(). -
ARCHITECTURE.md:172(high): Every CLI subcommand ... follows a single declarative decorator pattern: ... Unified multi-format serialization (--format json|yaml|table|markdown) mapped directly to domain Pydantic*Resultmodels. → Commands that offer machine-readable output declare their own--format(table/json/yaml viadevops_cli.output.serialization.emit_serialized) or--jsonflag. There is no global--formatoption. -
ARCHITECTURE.md:175(medium): All data exchange across CLI commands, FastMCP tools, PydanticAI multi-agent turns, and FastAPI REST endpoints (/api/v1/...) binds to identical typed Pydantic models indevops_cli.models→ Domain results are modelled with Pydantic indevops_cli.models. The REST routes define their own response models inserver/routes/, and MCP tools return the CLI's text output. -
ARCHITECTURE.md:180(high): All external tool and binary invocations (tofu,kubectl,helm,dive,trivy,semgrep,gitleaks) utilize a single subprocess pipeline [ProcessExecutionPipeline]: Strict command argument list verification (r → All external binaries run throughrun_subprocess/run_subprocess_async(devops_cli.core.process): argument lists (no shell), bounded timeouts (default 1800 s), dry-run reporting, environment isolation and OpenTelemetry spans. -
ARCHITECTURE.md:183(medium): Structured SIEM audit trail recording (.data/logs/audit.jsonl). → Delete the bullet, or reword it as: "An audit-record writer (devops_cli.core.audit.record_audit_event,.data/logs/audit.jsonl) exists but is not yet called from command or subprocess execution." -
ARCHITECTURE.md:187(medium): All multi-step agentic workflows (review,analyze,spec,benchmark,diagram,test-gen) implement a standardized stage protocol: Partitioned into single-responsibility stage modules understages/(e.g.pre_ → **StagePipeline(devops_cli.pipeline) is available but not yet adopted. The review workflow runs asReviewPipelineOrchestratormethods (pre-analysis, payload init, persona review, verification, re-ranking, reporting), andai/review/stages/holdsadversarial_debate.pyandreporting.py`.** -
ARCHITECTURE.md:193(medium): All outbound HTTP operations (LLM APIs, OSV.dev, Shodan, Cloudflare Radar, GitHub API) share a single connection broker [HttpClientBroker]: Native HTTP/2 connection pooling with persistent keepalive and backoff retries →HttpClientBroker(devops_cli.http.broker) serves agent tools and Vault with HTTP/2, per-request SSRF validation and W3Ctraceparentinjection. LLM clients use the shared connection pool indevops_cli.http.pool, and the GitHub, vulnerability-lookup and Cloudflare clients create their own httpx2 clients. -
README.md:19(low): using specialized expert personas (devsecops,architect,pm,auditor,qa) → using specialized expert personas (devsecops,architect,pm,auditor,qa, plus the adversarialchallengerselectable with--persona challenger). Also add achallengerbullet to the personas section at lines 115-121. -
README.md:20(low): Cross-platform Python lifecycle orchestration (devops devcontainer run-lifecycle) replaces legacy shell scripts for post-create and post-start hooks. → Cross-platform Python lifecycle commands (devops devcontainer post-create/post-start, both runnable together viadevops devcontainer run-lifecycle) implement the post-create and post-start hooks. -
README.md:127(medium): High timeouts (DEFAULT_REVIEW_TIMEOUT_SECONDS = 3600.0,DEFAULT_SUBPROCESS_TIMEOUT_SECONDS = 1800.0) → High timeouts (DEFAULT_REVIEW_TIMEOUT_SECONDS = 1200.0,DEFAULT_SUBPROCESS_TIMEOUT_SECONDS = 1800.0,DEFAULT_HTTP_TIMEOUT_SECONDS = 3600.0) -
README.md:131(medium): Checksum Verification:devops install-toolsvalidates SHA-256 checksums before writing binaries to disk. →devops install-toolsverifies SHA-256 checksums for kubectl, kustomize, helm, argo, argocd and kubectl-argo-rollouts. For trivy, popeye, pluto and k9s it aborts on a mismatch but installs with a warning if the checksum file is unavailable. kube-linter is installed without verification. -
README.md:138(low): phased milestone deliverables (v0.2.4throughv0.3.0) → phased milestone deliverables (v0.0.1throughv0.3.5, plusv0.4.x/v0.5.xthemes) -
RELEASE_CYCLE.md:124(medium): 10. DevContainer Smoke Test (devops devcontainer validate): Smoke-tests DevContainer manifests prior to publication. (part of the 11-item "Core Validation Checks" list foruv run devops ci, :114-125) → Remove item 10 from thedevops cilist and adduv check,uv lock --checkanduv tree --outdated. Then add: "CI (ci.yml) additionally runsdevops devcontainer validate --workspace .." -
RELEASE_CYCLE.md:140(high): |devops release tag [-v <ver>]| Creates release commit and annotated git tag (used by CI release automation onmain). |devops release tag 0.1.10| → |devops release tag [-v <ver>]| Creates release commit and annotated git tag locally (release.yml tags with git directly). |devops release tag -v 0.1.10| -
RELEASE_CYCLE.md:203(medium): 1. Detects the release commit (chore(release): bump version to vX.Y.Z). → 1. Runs on every push tomainand reads the target version frompyproject.toml. -
RELEASE_CYCLE.md:204(medium): 2. Runs authoritative verification (devops release check --allow-dirty). → 2. Runs release verification without the CI suite (devops release check --allow-dirty --skip-ci). -
RELEASE_CYCLE.md:220(medium): - Current Active Development: Milestonev0.2.20. (and :221 "Completed Milestones: v0.2.19 ...", :222 "Scheduled Milestones: v0.2.21 and v0.2.22") → Drop the hard-coded milestone list and say: "Current and scheduled milestones: see docs/ROADMAP.md and the GitHub milestones page." (or update to Current:v0.2.25; latest completed:v0.2.24) -
docs/DEVCONTAINER_USAGE.md:9(medium): The official multi-architecture (linux/amd64,linux/arm64) images are hosted on GHCR → The officiallinux/amd64image is hosted on GHCR at: -
docs/DEVCONTAINER_USAGE.md:36(medium): Infrastructure as Code: OpenTofu (tofu) and Terraform (terraform) dual compatibility. → - Infrastructure as Code:devops tfwraps OpenTofu or Terraform; installtofuorterraformyourself, since the image ships neither. -
docs/DEVCONTAINER_USAGE.md:37(medium): Embedded Python SAST and audit tools (bandit,pip-audit,checkov), with native runner integrations for external scanners (trivy,semgrep,gitleaks,kube-linter,pluto,actionlint), installable on-demand → - Security & Compliance Integrations: runners forbandit,checkov,trivy,semgrep,gitleaks,kube-linter,plutoandactionlint(devops scan,devops ci). Post-create installssemgrep,trivy,kube-linterandpluto. Installbandit,checkov,gitleaksandactionlintyourself, or add them to your project's dev dependencies. -
docs/DEVCONTAINER_USAGE.md:54(medium): # Or specify a custom pinned tag
devops devcontainer init --name my-project --image ghcr.io/dan-petty/devops-cli/devcontainer:v0.2.16 → Change the comment to "# --image currently writes :latest for devops-cli images; pin by editing "image" in the generated .devcontainer/devcontainer.json". Alternatively, fix the template to emit the given image. -
docs/DEVCONTAINER_USAGE.md:57(low): This scaffolds: 1..devcontainer/devcontainer.json... 2..vscode/mcp.json... 3.AGENTS.md→ Add: "4..mcp.json: the same MCP server for Claude Code". Change item 3 to: "AGENTS.md,CLAUDE.mdand.github/copilot-instructions.md". -
docs/DEVCONTAINER_USAGE.md:260(medium): # Run multi-persona code review on active branch against main
devops review branch → # Run every reviewer persona on the active branch against main
devops review branch --all -
docs/DEVCONTAINER_USAGE.md:398(low): minikube start --driver=docker --gpus=all --cpus=4 --memory=8192 → minikube start --driver=docker --gpus=all # only when nvidia-smi is present; otherwise minikube start --driver=docker -
docs/DEVCONTAINER_USAGE.md:403(medium): Embedded Minikube automatically enables standard production-like add-ons:ingress...metrics-server...dashboard...default-storageclass→ #### Add-Ons
devops-cli enables no Minikube add-ons; minikube's defaults (default-storageclass,storage-provisioner) apply. Enable others withminikube addons enable ingress(ormetrics-server,dashboard). -
docs/DEVCONTAINER_USAGE.md:475(high): devops k8s deploy-stack monitoring → devops k8s deploy-stack --stack infra # ArgoCD, monitoring and tracing -
docs/DEVCONTAINER_USAGE.md:554(low): # 2. Switch context (autostarts Minikube if switching to stopped minikube; verifies external clusters) → # 2. Switch context (autostarts a stopped Minikube; also saves k8s.context) -
docs/DEVCONTAINER_USAGE.md:564(high): devops k8s deploy-stack monitoring # Prometheus & Grafana / devops k8s deploy-stack gitops # ArgoCD / devops k8s deploy-stack tracing # Jaeger & OpenTelemetry Collector / devops k8s deploy-stack all → devops k8s deploy-stack --stack infra # ArgoCD, k8s-monitoring (Alloy), Prometheus, Grafana, OTel Collector, Jaeger
devops k8s deploy-stack --stack llm # Ollama profiles, LLM gateway, Open WebUI, Qdrant, Valkey
devops k8s deploy-stack --stack logging # Loki, Fluent Bit
devops k8s deploy-stack --stack all # all three -
docs/DEVCONTAINER_USAGE.md:570(high): devops k8s logs -n argocd -l app.kubernetes.io/name=argocd-server --tail 100 -f → devops k8s stream-logs argocd-server -n argocd --tail 100 -f -
docs/ROUTINE_TASKS.md:12(medium): Changes must pass the automated CI validation suite (python_version,test,coverage,lint,format,typecheck,audit,security,actionlint,docs) before merging. → ...validation suite (python_version,test,coverage,lint,format,typecheck,audit,security,actionlint,docs,uv_check,lockfile,outdated)... -
docs/ROUTINE_TASKS.md:34(low): |uv run pytest| Complete parallel test run (--maxprocesses=8) | → |uv run pytest| Complete parallel test run (-n logical;devops cicaps workers at 8) | -
docs/ROUTINE_TASKS.md:38(low): | PR Submission | Step 2 |devops pr create --base release/vX.Y.Z| (same command at :180; SDLC.md:345 likewise) →devops pr create --base release/vX.Y.Z --title "<type>(<scope>): <summary>"(add--draftfor in-progress work) -
docs/ROUTINE_TASKS.md:39(low): |devops gh labels audit| Audits PR for mandatorytype/*andscope/*labels & milestone link | Zero taxonomy audit findings | → |devops gh labels audit| Audits open PRs for mandatorytype/*andscope/*labels (set the milestone withdevops pr edit <n> --milestone) | -
docs/ROUTINE_TASKS.md:43(high): | Feature / PR Lifecycle | Human Squash Merge | Step 7 |devops pr merge <id> --squash| ... (same command at :48 "Maintainer Release PR Merge", in the :184 diagram "Review & devops pr merge --squash", and at :205 → Lines 43 and 48:gh pr merge <id> --squash(maintainer only). Line 184:Review & gh pr merge --squash. Line 205: "...but never merge a PR (gh pr mergeor the web UI)." -
docs/ROUTINE_TASKS.md:54(high): | Security & Audits | Kubernetes Manifest Scans | Per Manifest Change |devops scan [kubelinter\|popeye\|pluto\|trivy]| →devops k8s lint/devops k8s check-deprecated/devops scan trivy <dir> --type iac(cluster health:devops k8s audit) -
docs/ROUTINE_TASKS.md:55(medium): | Codebase Deduplication & Invariant Audit | Weekly / Pre-PR |devops scan complexity&&pytest tests/test_architectural_invariants.py| Enforces complexity <= 10, nesting <= 5, and shared helper adoption | Zero inva → | ... | Enforces nesting <= 5 (complexity <= 10 is reported, not enforced) | Zero nesting violations; complexity count not rising | -
docs/ROUTINE_TASKS.md:56(high):devops telemetry status/devops telemetry logfire-status→devops telemetry status/devops telemetry logfire -
docs/ROUTINE_TASKS.md:58(high):devops repos sync/devops repos status(also in the command block at :354) →devops repos sync/devops repos list. Replacedevops repos statuswithdevops repos listat line 354 too. -
docs/ROUTINE_TASKS.md:90(medium): If a matching issue card exists: link task to it, verify milestone and taxonomy labels, and transition its card toIn Progress(devops gh project sync). (also :26 "devops gh project status&&devops gh project syn → **Line 90: "...and set its card toIn Progresson the board (sync only sets Status when unset, or In Progress once a draft PR is open)." Line 88: "Inspect the project template viadevops gh project statusand the live board viadevops gh project audit`."** -
docs/ROUTINE_TASKS.md:236(medium): Rundevops gh project sync... to reconcile the 6 custom project fields (Status,Milestone,Priority,Category,Value,Effort) and transition the card toIn Review. → ...to reconcileStatus,Priority(when unset) andMilestone; an open non-draft PR moves the card toIn Review.Category,ValueandEffortare set by hand. -
docs/ROUTINE_TASKS.md:264(low): - Bumps version inpyproject.tomlandsrc/devops_cli/__init__.py. (also RELEASE_CYCLE.md:136 "Bumps versions inpyproject.tomland__init__.py") → - Bumps version inpyproject.toml(__init__.pyderives__version__from it). -
docs/ROUTINE_TASKS.md:298(low): - Command:uv run devops ci securityoruv run bandit -c pyproject.toml -r src. → - Command:uv run devops ci securityoruv run bandit -r src -ll -s B608. -
docs/ROUTINE_TASKS.md:305(high): devops scan kubelinter -p k8s/
devops scan pluto -p k8s/
devops scan trivy -p k8s/ → devops k8s lint k8s/
devops k8s check-deprecated k8s/
devops scan trivy k8s/ --type iac -
docs/ROUTINE_TASKS.md:311(low): Outbound requests must pass throughvalidate_service_url()to reject private IPs (RFC 1918), loopbacks, and cloud metadata IPs unlessDEVOPS_CLI_AI_ALLOW_PRIVATE_NETWORK=trueis explicitly set. → ...to reject private IPs (RFC 1918) and loopbacks unlessDEVOPS_CLI_AI_ALLOW_PRIVATE_NETWORK=trueis set; link-local/cloud metadata endpoints are always rejected. -
docs/ROUTINE_TASKS.md:341(medium): - Methodology: Executes native Python lifecycle engine to install CLI in editable mode, syncuvdependencies, configure git safe directories, and verify tools. → - Methodology: Runs the Python lifecycle engine: bootstraps missing tools and the keyring, configures shell history/completion, git defaults and SSH commit signing, kubeconfig, and pre-commit hooks. -
docs/ROUTINE_TASKS.md:359(medium): - Methodology: Checks that managed SSH keys use modern ED25519 cryptography, have strict permissions (0600for private keys,0700for.ssh), and match registered GitHub public keys. (also :62 "Validates ED25519 → - Methodology: Lists managed SSH keys with age and rotation status (devops ssh audit/list) and shows the active key and days until rotation (devops ssh status). (Line 62 success gate: "No keys past rotation_days".) -
docs/SDLC.md:23(low): ... and$\ge 90%$ branch code coverage. (also RELEASE_CYCLE.md:117 "Enforces branch and line coverage thresholds") → ...and >= 90% line coverage. (RELEASE_CYCLE.md:117: "Enforces the 90% line coverage threshold.") -
docs/SDLC.md:129(medium): Validated continuously bydevops scan complexityandtests/test_architectural_invariants.py. (with :126-127 "Every function ... must maintain cyclomatic complexity <= 10", :23 "Continuous compliance verification enfo → Nesting depth <= 5 is enforced by the pre-commit structural-invariants hook andtests/test_architectural_invariants.py. Cyclomatic complexity <= 10 is a target reported bydevops scan complexitybut not enforced. -
docs/SDLC.md:183(low): -detect-private-key: Scans staged files for RSA, SSH, and EC private keys (excluding synthetic mock test keys in^tests/). → ...(excluding the synthetic keys intests/test_review_prompt_guardrails.pyandtests/test_security_gitleaks.py). -
docs/SDLC.md:187(low): -actionlint: Statically analyzes GitHub Actions workflow files. (listed under "Pre-Commit Hardening"; also H7[actionlint] in the PreCommit subgraph at :162) → Replace the actionlint bullet and H7 with the hooks that exist:structural-invariants(nesting depth),devops-ci-test-changed(covering tests for staged files), and the pre-pushdevops cigate (which includes actionlint). -
docs/SDLC.md:190(medium): This command runs the definitive 10-check quality suite: (the numbered list :191-200 and the mermaid G1-G10 at :165-176) → "This command runs every checkdevops cidefines:" then adduv_check(uv check),lockfile(uv lock --check) andoutdated(uv tree --outdated) to the list and the diagram. -
docs/SDLC.md:200(medium): 10.docs: Verifies documentation generation freshness (devops docs check). → 10.docs: regenerates docs (devops docs generate --sync-readme) by default;devops ci --checkverifies freshness withdevops docs checkwithout changing files. (Also note above the list that the default run auto-applies ruff format/lint fixes.) -
docs/SDLC.md:269(medium): Dependabot monitorsgithub-actionsandpipdependencies weekly, targeting active release branches with prefixchore(deps). → Dependabot monitorsgithub-actionsandpipdependencies weekly with prefixchore(deps), targeting the branch set in.github/dependabot.yml(target-branch, which must be updated each cycle; currently stale atrelease/v0.2.14). -
docs/SDLC.md:271(medium): Every PR must possess mandatorytype/*andscope/*classification labels, verified in CI and audited viadevops gh labels audit. → Every PR must carrytype/*andscope/*labels, audited manually viadevops gh labels audit(not enforced in CI). -
docs/SDLC.md:273(low): Four standardized views ... audited viadevops gh views list/specand synced viadevops gh project sync→ ...audited viadevops gh views list/spec/auditand synced viadevops gh views sync(board items viadevops gh project sync)... -
docs/SDLC.md:281(low): Marking a pull request ready triggers automated GitHub Copilot code reviews, CodeQL scans, and reviewer notifications. (same at ROUTINE_TASKS.md:207) — Copilot part is tracked in docs(agents): instruction surfaces state only what is true, anddevops ai agentsnever overwrites AGENTS.md #840; this finding covers CodeQL only → Drop "CodeQL scans" from the list of things marking a PR ready triggers. CodeQL runs on every push to the PR. -
docs/SDLC.md:343(low): | 4. Pre-Commit | Git Hook Interception |uv run pre-commit run --all-files| 12/12 hooks passing | → | ... |uv run pre-commit run --all-files| All pre-commit hooks passing | -
docs/SDLC.md:354(medium): - Release Management Runbook:docs/RELEASE_RUNBOOK.md→ - Release Management Runbook:RELEASE_CYCLE.md -
k8s/README.md:9(low): |infra(Default) | ArgoCD (backed by Valkey), Grafana K8s Monitoring Stack (Alloy + exporters), NVIDIA DCGM Exporter, OpenTelemetry Collector | → ArgoCD (backed by Valkey), Grafana k8s-monitoring (Alloy + kube-state-metrics + node-exporter), Prometheus server, Grafana, NVIDIA DCGM Exporter, OpenTelemetry Collector, Jaeger -
k8s/README.md:10(medium): |llm| Ollama, Open-WebUI, Qdrant Vector DB, Valkey Cache, Valkey Run Index |llm| … → |llm| Ollama (per-VRAM-tier DaemonSets), LLM Gateway (LiteLLM), Open-WebUI, Qdrant Vector DB, Valkey Cache |llm| … ; and at line 64: "Valkey Run Index (not deployed by deploy-stack; applyk8s/llm/valkey-runs.yamlyourself after creating its password): …" -
k8s/README.md:11(medium): |all| All components from both stacks |argocd,monitoring,otel,llm| All ports above | → Add a row| **logging** | Loki, Fluent Bit |logging| — |and changeallto| **all** | All components from the three stacks |argocd,monitoring,otel,llm,logging| All ports above |. -
k8s/README.md:15(low): minikube running (minikube statusor auto-started by postStart.sh) → minikube running (minikube statusor auto-started bydevops devcontainer post-start) -
k8s/README.md:53(high): # Ollama REST API
minikube service ollama -n llm --url → # Ollama REST API (one ClusterIP Service per VRAM tier, e.g. ollama-16gib)
kubectl -n llm port-forward svc/ollama-16gib 11434:11434 -
k8s/README.md:69(low): # LLM Gateway: authenticated OpenAI-compatible API for every model (vLLM and Ollama) → # LLM Gateway: authenticated OpenAI-compatible API for every Ollama model -
k8s/README.md:74(high): It serves the virtual modelsdevops-chat,devops-coder,devops-reasoninganddevops-embedding, escalates a prompt too long for a model to the next larger context window (devops-chat→devops-coder16K →devo → **It serves the virtual modelsdevops-chat,devops-coder,devops-reasoninganddevops-review, plus models by name (qwen3.8:27b,gemma4:31b,deepseek-r1:70b,bge-m3:latest,embeddinggemma:300m). It moves a prompt too long fordevops-chattodevops-coder, thendevops-reasoning, before calling any backend. It falls back from an unavailabledevops-codertodevops-reasoning` an** -
k8s/README.md:86(medium):devops-reviewspreads one model name over every inference server: vLLM and the Ollama node (qwen3-coder:30b). Each deployment takes a share of requests weighted by its throughput (dual-GPU vLLM 5, Ollama node 1) →devops-reviewspreads one model name over four Ollama tiers:qwen3-coder:30bonollama-48gib(weight 9) andollama-64gib(6), andgpt-oss:20bonollama-16gib(8) andollama-24gib(1). -
k8s/README.md:87(high):ollama/<model>reaches any model on the Ollama nodes by name, for chat and embeddings, through Ollama's OpenAI-compatible API (e.g.ollama/gpt-oss:20b,ollama/embeddinggemma:300m). → Bullet: "Ollama models are also served under their own names:qwen3.8:27b,gemma4:31b,deepseek-r1:70b, and the embedding modelsbge-m3:latestandembeddinggemma:300m." Line 111:model: embeddinggemma:300m. -
k8s/README.md:89(medium):devops ai gateway tunemeasures each deployment on its own, from an ephemeral Python container attached to the gateway pod (kubectl debug), since the backends admit only the gateway. → … from an ephemeral Python container attached to the gateway pod (kubectl debug), so each backend is measured over the gateway's own network path. -
k8s/README.md:103(low): context_window: 16384 # sizes review pages to fit the smallest server → context_window: 16384 # review page size; every devops-review backend holds at least 48K (and line 115: "verifying with the 32B model then behinddevops-reasoning(vLLM, since removed)") -
k8s/README.md:120(medium): Inference engines are placed by GPU architecture, using node labels from NVIDIA GPU Feature Discovery (nvidia.com/gpu.family) or an architecture labeler (nvidia.com/gpu.architecture): [table:vllmDeployment /vll → **### GPU Placement: Ollama tiers Ollama runs as one DaemonSet per total-VRAM tier (ollama-16gib…ollama-128gib,llm/profiles/ollama-profiles.yaml), scheduled by the node labelnvidia.com/gpu.total-vram-gib. The gateway reaches each tier through its ClusterIP Serviceollama-gib`.** -
k8s/README.md:212(low): k8s / Namespace: monitoring … [argocd.homelab.] ──▶ argocd → Label the right-hand column "Namespaces: monitoring, argocd", or draw argocd under its ownargocdnamespace. -
k8s/README.md:236(low): Create thecloudflarednamespace and tunnel token secret:
kubectl create namespace cloudflared → ...and move its project card toIn Progresson the board (devops gh project syncdoes not move an existing card: it sets Status only when unset, from astatus/*label, or when the item's state forcesDoneorIn Review). -
k8s/README.md:251(medium): Deploy the core service Ingress definitions with template substitution (substitutesk8s.domainfromconfig.yaml) [with the tunnel configured as*.homelab.<domain>and routeschat.homelab.<domain>,ai.homelab.<do → **Deploy the core service Ingress definitions with template substitution (substitutesk8s.domainfromconfig.yaml; set it tohomelab.so the rendered hosts such aschat.homelab.fall under the*.homelab.` tunnel hostname):** -
k8s/README.md:264(low): kustomization.yaml # Root kustomize: applies namespaces, cloudflared, registry, Grafana dashboard ConfigMaps
namespaces.yaml # Namespace definitions (argocd, monitoring, otel, llm, cloudflared) → Inspect the project template viadevops gh project status(offline; it makes no GitHub call), board view drift viadevops gh project audit, and pending field changes viadevops gh project reconcile --dry-run -
k8s/README.md:307(low): values-ollama.yaml # Helm values for ollama/ollama [llm/ tree, lines 302-310; tree also lists ingress-routes.yaml as 'Ingress rules for chat, ai, grafana, argocd, prometheus, qdrant'] → values-ollama.yaml # Unused: Ollama deploys from profiles/ (no Helm release)
│ ├── profiles/ # Ollama per-VRAM-tier DaemonSets and ollama-gib Services (applied by deploy-stack) -
k8s/llm/profiles/README.md:5(medium): Every deployed workload … is exposed via standardized Kubernetes Provider-VRAM Services (<llm_provider>-<vram_gib>, e.g.,ollama-16gib,vllm-48gib) [and line 3: inference backends (ollama,vllm)] → line 3: "…to optimal large language models; the deployed backend isollama(vLLM rows remain only in thedevops k8s gpu-matrixcatalogue)." line 5: "(e.g.,ollama-16gib,ollama-48gib)" -
k8s/llm/profiles/README.md:30(low): | 3 | 24 GiB | 72 GiB |vllm| … | PP=3 | … (also row 28 '2+1', row 32 'PP=3', row 38 'FP8 / BF16', row 16 'AWQ (FP8 KV)') → Rows 28/30/32 TP/PP:2; row 38 Quantization:FP8; row 16 Quantization:AWQ. -
k8s/llm/profiles/README.md:44(medium): Services defined inservices.yamldecouple … 1.ollama-16gib… Serves virtual model:devops-chat,devops-embedding. 2.vllm-16gib… 3.ollama-32g → **Services defined in [services.yaml](services.yaml): one ClusterIP Service per Ollama tier (ollama-16gib,ollama-24gib,ollama-32gib,ollama-48gib,ollama-64gib,ollama-72gib,ollama-96gib,ollama-128gib), each selecting pods labelledllm.devops.io/provider: ollamaandllm.devops.io/vram-gib: gibon port 11434; the gateway's model-to-tier mapping lives in../gateway/config** -
k8s/llm/profiles/README.md:71(high): The LiteLLM AI Gateway (llm-gateway) routes incoming API requests using virtual model names to the active<llm_provider>-<vram_gib>service endpoints: [YAML with devops-chat → ollama_chat/qwen2.5-coder:7b, devops-cod → **Replace the block with an excerpt of k8s/llm/gateway/configmap.yaml (the source of truth), e.g.:- model_name: devops-coder
litellm_params:
model: ollama_chat/qwen3-coder:30b
api_base: http://ollama-48gib.llm.svc.cluster.local:11434 - model_name: embeddinggemma:300m
litellm_params:
model: ollama/embeddinggemma:300m
api_base: http://ollama-16gib.llm.svc.cluster.l**
- model_name: devops-coder
Scope added 2026-10-02: the architecture review of 2026-10-02 found the same ARCHITECTURE.md section 7 drift, and three filed refactors now change what the corrections above describe. Checked at 38517a8:
-
cli_command_handler(core/command_decorator.py:54) has no caller insrc; only the lazy re-export incore/__init__.py:36and two test files (tests/test_command_decorator.py,tests/test_consolidation_cli_errors.py) name it. refactor(cli): exceptions carry their codes as class data, and one exit seam replaces 19 hand-rolled exits #1006 asks whether it becomes the exit seam or goes. -
StagePipeline(pipeline/pipeline.py:32,ai/pipeline_protocol.py:62) has no implementer, and refactor(ai): delete the pass-through package facades and the two stagepipeline protocols nothing implements #1002 deletes both copies. The correction above for:187says "StagePipeline(devops_cli.pipeline) is available but not yet adopted", which becomes false when refactor(ai): delete the pass-through package facades and the two stagepipeline protocols nothing implements #1002 lands. -
HttpClientBroker(http/broker.py) serves Vault (security/vault_broker.py,security/vault_lease.py), the agent web-fetch tool (ai/common_tools.py:377) andtelemetry/memory_profiler.py. The LLM client takes pooled connections fromhttp/pool.py(ai/client/base.py:92-103). 23 modules outsidehttp/open their ownhttpx2client, among themai/rag/embeddings.py,ai/gateway.py,github/client.py,cloudflare/client.pyandargo/rollouts.py. refactor(ai): one model seam: llmclient over three wire adapters behind one factory, no second provider stack #1001 builds embeddings and gateway probes from the model adapters, not from the broker, so no filed item makes the broker the one path. The correction above for:193already says this, names no module count, and stays true. -
The correction above for
:168says every command is registered on anew_typer()app that wraps it in acli.<command>span.commands/config.py:45builds a plaintyper.Typer, sodevops configsubcommands get only the group span thatmain._delegateopens (main.py:107-119), not the per-command wrapper (core/cli.py:159-172). -
Section 7 no longer claims that every command, workflow or request shares one mechanism. Its introduction (
ARCHITECTURE.md:163-165, "enforces five core architectural design patterns") and the headings at:167,:179,:186and:192are rewritten with the corrections, so no heading names a class. -
rg -n "cli_command_handler|ProcessExecutionPipeline|StagePipeline" ARCHITECTURE.mdfinds nothing. The:187correction describes the review's orchestrator methods andai/review/stages/without namingStagePipeline, so it stays true after refactor(ai): delete the pass-through package facades and the two stagepipeline protocols nothing implements #1002. -
The
:168correction is true whether or notdevops configmoves tonew_typer(): command apps built withnew_typer()wrap each command in acli.<command>span, andmain._delegatewraps each command group in one.
Scope added 2026-10-03 from #1015's recall measurement (.data/measurements/recall/analysis.md): docs/VISION.md:12 (item 6, "Model Curation Pipeline & AI Bill of Materials") says the project gates trust_remote_code=True through static AST and Semgrep inspection before GPU provisioning. No curation pipeline, provisioning gate or Semgrep check exists; devops scan aibom only flags trust_remote_code. Branch reviews S1 to S4 reported it. Under #951's prompts it is not reported, because a path review of a docs page shows no code and the file states themes, so the text is corrected here rather than by a review prompt.
-
docs/VISION.mditem 6 states what exists today (devops scan aibomflagstrust_remote_code) and marks the rest as a theme with no implementation yet, as fix(ai): the knowledge base names only commands, options and components that exist #920 did forknowledge_base/.../architecture.md:33and:150.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 2, 2026
More evidence for this issue from the devsecops review session
20261001-224227(2026-10-02). Each finding below was triaged againstrelease/v0.2.25(c279c18), judged real and covered by this issue, and then upheld by a second agent that tried to refute it.ARCHITECTURE.md:172, re-rated LOW): ARCHITECTURE.md:168-172 says every command goes through@cli_command_handlerwith 'Unified multi-format serialization (--format json|yaml|table|markdown) mapped directly to domain Pydantic*Resultmodels'. That is false: core/command_decorator.py:54-111 only wraps a trace span, metrics and error printing, and does no serialization. output/formatters/dispatcher.py:15-50 handles json, yaml and table and falls back to JSON for 'markdown'. commands/ai_cache.py:20-34 branches only on 'json' and prints a table for everything else. The shared help text (lang/en/help.py:24, 'table, json, yaml, …dan-petty commentedon Oct 2, 2026
Scope note from refining #900 (2026-10-02):
docs/cheatsheets/is hand-written documentation that no open item covers. #900 fixes onlygit_and_github.md:22-24, thedevops branchesrows, which nameddevops branches createandcleanup, neither of which exists. The rest of the folder may name commands or options that do not exist too. Proposed: adddocs/cheatsheets/to this item's scope and to its command-resolution test.docs: hand-written docs name only commands, options, and architecture…
feat(release): v0.2.28 (#1283)