Skip to content

docs(agents): state the cost of a devops ai call and cap concurrency at one - #390

Merged
dan-petty merged 2 commits into
release/v0.2.22from
docs/responsible-devops-ai-usage
Sep 22, 2026
Merged

dan-petty merged 2 commits into
release/v0.2.22from
docs/responsible-devops-ai-usage

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Nothing in the instructions said what invoking devops ai costs. Every such command spends tokens and, on the local stack, holds GPU VRAM and an inference slot for the duration of the call -- a review or benchmark can run for minutes with a model resident. A careless invocation is not merely slow for the caller: it starves every other request on the cluster, including the next one the same agent makes.

The rule keeps these commands permitted and expected where they are the right tool, and rules out the reflex. A question answerable by reading a file, running a grep, or consulting a deterministic check must be answered that way.

Three specifics. Narrow the request to the most specific parameters that still achieve the intended use -- one file rather than a tree, one persona rather than all of them, an explicit model and bounded result count rather than the defaults. Run at most one devops ai call at a time, never fanned out and never backgrounded alongside another, because concurrent calls queue against the same finite slots and make each other slower. And check before assuming: token-count and repomap call no model and are not subject to the limit.

Added to both AGENTS.md and the template in instruction_generator.py, so a regenerated instruction file keeps it.

dan-petty and others added 2 commits September 22, 2026 16:11
…y at one

Nothing in the instructions said what invoking `devops ai` costs. Every such command spends tokens and, on the local stack, holds GPU VRAM and an inference slot for the duration of the call -- a review or benchmark can run for minutes with a model resident. A careless invocation is not merely slow for the caller: it starves every other request on the cluster, including the next one the same agent makes.

The rule keeps these commands permitted and expected where they are the right tool, and rules out the reflex. A question answerable by reading a file, running a grep, or consulting a deterministic check must be answered that way.

Three specifics. Narrow the request to the most specific parameters that still achieve the intended use -- one file rather than a tree, one persona rather than all of them, an explicit model and bounded result count rather than the defaults. Run at most one `devops ai` call at a time, never fanned out and never backgrounded alongside another, because concurrent calls queue against the same finite slots and make each other slower. And check before assuming: `token-count` and `repomap` call no model and are not subject to the limit.

Added to both AGENTS.md and the template in `instruction_generator.py`, so a regenerated instruction file keeps it.
@dan-petty
dan-petty merged commit a1b2a13 into release/v0.2.22 Sep 22, 2026
7 checks passed
@dan-petty
dan-petty deleted the docs/responsible-devops-ai-usage branch September 22, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant