Skip to content

docs: hand-written docs name only commands, options and components that exist #921

Closed

Description

@dan-petty

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|pluto and scan trivy -p;
  • devops telemetry logfire-status;
  • devops k8s deploy-stack monitoring|gitops|tracing, where stacks are chosen with --stack from infra, llm, logging and all;
  • devops k8s logs -l, and devops release tag <ver> as a positional argument;
  • an ollama Service 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:

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.md describes 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.md and every README.md under k8s/. It fails on today's text.
  • uv run devops ci passes.

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-lifecycle executes cross-platform Python lifecycle tasks: [diagram line 123: DC_HOOK["DevContainer Lifecycle Trigger"] --> PY_EN → Replacing fragile bash scripts, devops devcontainer post-create and devops devcontainer post-start (wrapped together by devops devcontainer run-lifecycle) execute cross-platform Python lifecycle tasks. In the diagram, point the trigger at post-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-run inspection and render_dry_run_result() response generation. Autom → Every command is registered on a new_typer() app (OTelTyper, devops_cli/core/cli.py), which wraps it in a cli.<command> OpenTelemetry span. Each command handles --dry-run itself via is_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 *Result models. → Commands that offer machine-readable output declare their own --format (table/json/yaml via devops_cli.output.serialization.emit_serialized) or --json flag. There is no global --format option.
  • 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 in devops_cli.models → Domain results are modelled with Pydantic in devops_cli.models. The REST routes define their own response models in server/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 through run_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 under stages/ (e.g. pre_ → **StagePipeline (devops_cli.pipeline) is available but not yet adopted. The review workflow runs as ReviewPipelineOrchestratormethods (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 W3C traceparent injection. LLM clients use the shared connection pool in devops_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 adversarial challenger selectable with --persona challenger). Also add a challenger bullet 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 via devops 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-tools validates SHA-256 checksums before writing binaries to disk. → devops install-tools verifies 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.4 through v0.3.0) → phased milestone deliverables (v0.0.1 through v0.3.5, plus v0.4.x/v0.5.x themes)
  • 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 for uv run devops ci, :114-125) → Remove item 10 from the devops ci list and add uv check, uv lock --check and uv tree --outdated. Then add: "CI (ci.yml) additionally runs devops 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 on main). | 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 to main and reads the target version from pyproject.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: Milestone v0.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 official linux/amd64 image 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 tf wraps OpenTofu or Terraform; install tofu or terraform yourself, 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 for bandit, checkov, trivy, semgrep, gitleaks, kube-linter, pluto and actionlint (devops scan, devops ci). Post-create installs semgrep, trivy, kube-linter and pluto. Install bandit, checkov, gitleaks and actionlint yourself, 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.md and .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 with minikube addons enable ingress (or metrics-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 ci caps 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 --draft for in-progress work)
  • docs/ROUTINE_TASKS.md:39 (low): | devops gh labels audit | Audits PR for mandatory type/* and scope/* labels & milestone link | Zero taxonomy audit findings | → | devops gh labels audit | Audits open PRs for mandatory type/* and scope/* labels (set the milestone with devops 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 merge or 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. Replace devops repos status with devops repos list at 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 to In Progress (devops gh project sync). (also :26 "devops gh project status && devops gh project syn → **Line 90: "...and set its card to In 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): Run devops gh project sync ... to reconcile the 6 custom project fields (Status, Milestone, Priority, Category, Value, Effort) and transition the card to In Review. → ...to reconcile Status, Priority (when unset) and Milestone; an open non-draft PR moves the card to In Review. Category, Value and Effort are set by hand.
  • docs/ROUTINE_TASKS.md:264 (low): - Bumps version in pyproject.toml and src/devops_cli/__init__.py. (also RELEASE_CYCLE.md:136 "Bumps versions in pyproject.toml and __init__.py") → - Bumps version in pyproject.toml (__init__.py derives __version__ from it).
  • docs/ROUTINE_TASKS.md:298 (low): - Command: uv run devops ci security or uv run bandit -c pyproject.toml -r src. → - Command: uv run devops ci security or uv 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 through validate_service_url() to reject private IPs (RFC 1918), loopbacks, and cloud metadata IPs unless DEVOPS_CLI_AI_ALLOW_PRIVATE_NETWORK=true is explicitly set. → ...to reject private IPs (RFC 1918) and loopbacks unless DEVOPS_CLI_AI_ALLOW_PRIVATE_NETWORK=true is 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, sync uv dependencies, 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 (0600 for private keys, 0700 for .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 by devops scan complexity and tests/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 and tests/test_architectural_invariants.py. Cyclomatic complexity <= 10 is a target reported by devops scan complexity but 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 in tests/test_review_prompt_guardrails.py and tests/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-push devops ci gate (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 check devops ci defines:" then add uv_check (uv check), lockfile (uv lock --check) and outdated (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 --check verifies freshness with devops docs check without changing files. (Also note above the list that the default run auto-applies ruff format/lint fixes.)
  • docs/SDLC.md:269 (medium): Dependabot monitors github-actions and pip dependencies weekly, targeting active release branches with prefix chore(deps). → Dependabot monitors github-actions and pip dependencies weekly with prefix chore(deps), targeting the branch set in .github/dependabot.yml (target-branch, which must be updated each cycle; currently stale at release/v0.2.14).
  • docs/SDLC.md:271 (medium): Every PR must possess mandatory type/* and scope/* classification labels, verified in CI and audited via devops gh labels audit. → Every PR must carry type/* and scope/* labels, audited manually via devops gh labels audit (not enforced in CI).
  • docs/SDLC.md:273 (low): Four standardized views ... audited via devops gh views list / spec and synced via devops gh project sync → ...audited via devops gh views list / spec / audit and synced via devops gh views sync (board items via devops 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, and devops ai agents never 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; apply k8s/llm/valkey-runs.yaml yourself 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 change all to | **all** | All components from the three stacks | argocd, monitoring, otel, llm, logging | All ports above |.
  • k8s/README.md:15 (low): minikube running (minikube status or auto-started by postStart.sh) → minikube running (minikube status or auto-started by devops 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 models devops-chat, devops-coder, devops-reasoning and devops-embedding, escalates a prompt too long for a model to the next larger context window (devops-chat → devops-coder 16K → devo → **It serves the virtual models devops-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 for devops-chattodevops-coder, then devops-reasoning, before calling any backend. It falls back from an unavailable devops-codertodevops-reasoning` an**
  • k8s/README.md:86 (medium): devops-review spreads 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-review spreads one model name over four Ollama tiers: qwen3-coder:30b on ollama-48gib (weight 9) and ollama-64gib (6), and gpt-oss:20b on ollama-16gib (8) and ollama-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 models bge-m3:latest and embeddinggemma:300m." Line 111: model: embeddinggemma:300m.
  • k8s/README.md:89 (medium): devops ai gateway tune measures 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 behind devops-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: vllm Deployment / 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 label nvidia.com/gpu.total-vram-gib. The gateway reaches each tier through its ClusterIP Service ollama-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 own argocd namespace.
  • k8s/README.md:236 (low): Create the cloudflared namespace and tunnel token secret:
    kubectl create namespace cloudflared → ...and move its project card to In Progress on the board (devops gh project sync does not move an existing card: it sets Status only when unset, from a status/* label, or when the item's state forces Done or In Review).
  • k8s/README.md:251 (medium): Deploy the core service Ingress definitions with template substitution (substitutes k8s.domain from config.yaml) [with the tunnel configured as *.homelab.<domain> and routes chat.homelab.<domain>, ai.homelab.<do → **Deploy the core service Ingress definitions with template substitution (substitutes k8s.domainfromconfig.yaml; set it to homelab.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 via devops gh project status (offline; it makes no GitHub call), board view drift via devops gh project audit, and pending field changes via devops 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 is ollama (vLLM rows remain only in the devops k8s gpu-matrix catalogue)." 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 in services.yaml decouple … 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 labelled llm.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.:

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:

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.

Activity

  1. added
    type/docs
    priority/p1-high
    scope/docs
    on Oct 2, 2026
  2. added this to the v0.2.28 milestone on Oct 2, 2026
  3. dan-petty commented on Oct 2, 2026

    @dan-petty
    OwnerAuthor

    More evidence for this issue from the devsecops review session 20261001-224227 (2026-10-02). Each finding below was triaged against release/v0.2.25 (c279c18), judged real and covered by this issue, and then upheld by a second agent that tried to refute it.

    • Inaccurate CLI Command Format Description (ARCHITECTURE.md:172, re-rated LOW): ARCHITECTURE.md:168-172 says every command goes through @cli_command_handler with 'Unified multi-format serialization (--format json|yaml|table|markdown) mapped directly to domain Pydantic *Result models'. 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, …
  4. dan-petty commented on Oct 2, 2026

    @dan-petty
    OwnerAuthor

    Scope note from refining #900 (2026-10-02): docs/cheatsheets/ is hand-written documentation that no open item covers. #900 fixes only git_and_github.md:22-24, the devops branches rows, which named devops branches create and cleanup, neither of which exists. The rest of the folder may name commands or options that do not exist too. Proposed: add docs/cheatsheets/ to this item's scope and to its command-resolution test.

  5. added a commit that references this issue on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/docstype/docs

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions