Repository navigation
Description
Problem
The owner rule of 2026-11-16 (#6060): "I don't want any tests that check that a manifest or config has any particular value. They should be testing the source code of the project." #6075 deletes those tests and adds a guard (tests/gate/tree_checks/config_values.py). But the plan rules of the Service still ask for them, so each new plan brings them back, or the guard then fails the implement step:
openspec/config.yaml:16says "a manifest ... carry a delta", andopenspec/config.yaml:27says "Write only scenarios a test under tests/ can assert offline". A scenario of a manifest change can only be "WHEN a test reads ".src/devops_cli/ai/tasks/roadmap_stage_change.md:19repeats the delta rule. About 370 scenarios in about 105 specs have this form.- The refine reply (
src/devops_cli/ai/tasks/roadmap_refine_reply.md,acceptance_criteria) writes the same form. Example: the refine design of ci: Stop the workflow steps that block Renovate updates #6061 asks for "A test evaluates the package rules of.github/renovate.json" and "A test reads theservice-image-build... jobs". - The stage gate
workflow_contract_problems(src/devops_cli/roadmap/stage/stage_paths.py:664, feat(roadmap): stage requires workflow contract tests for workflow changes #4083) refuses a plan whose group changes a workflow and does not changetests/invariants/test_workflow_contracts.py. src/devops_cli/roadmap/stage/stage_form.py:13admits a new test module intests/invariants/, the folder that holds most of the value tests.
Checked and not a cause: the Fail-to-Pass workflow runs only for src/** and tests/gate/*_checks/** (.github/workflows/fail-to-pass.yml:14), and the implement base replay applies only to behavior groups. Changed-line coverage (diff-cover --fail-under 90) counts only Python lines. The whole-tree floor (fail_under = 85, pyproject.toml:268) can fail after #6075 deletes tests; if it does, the fix is a test of the uncovered source code, never a value test.
Expected behavior
- A plan, a spec delta and an acceptance criterion of a manifest, workflow or config change name a validator command or a live check as proof (for example
uv run devops ci --check k8swith kubeconform and kube-linter, actionlint and zizmor,uv run devops k8s <name>-check, a Renovate config validator), and never a test that reads the file. - Change
openspec/config.yaml, the stage prompt and the refine prompt to say this. Each prompt change states its eval score before and after (devops roadmap eval stage). - Remove
workflow_contract_problems, its message and its spec scenario. Actionlint and zizmor check a workflow. - A new test module under
tests/invariants/is refused unless it tests source code (the guard of fix(k8s): Drop the tests that assert values of manifests and config #6075 decides). - The coverage floor and Fail-to-Pass stay as they are. Record in
docs/TESTING.mdthat neither asks for a test of a manifest or config value.
Related
- test(k8s): Drop the tests that repeat third-party version pins #6060, fix(k8s): Drop the tests that assert values of manifests and config #6075, ci(k8s): Run kube-linter on the rendered manifests in CI #6068, fix(ci): validate the k8s manifests against a schema in CI #5084, feat(roadmap): stage requires workflow contract tests for workflow changes #4083, ci: Stop the workflow steps that block Renovate updates #6061.
Activity
dan-petty commentedon Nov 17, 2026
Both link spec scenarios to tests, but #3423 pairs each scenario with a test task while the candidate replaces test-based proof with a validator command for config changes.dan-petty commentedon Nov 17, 2026
A third cause, found after the filing: the scenario check of the stage plan (
_scenario_problem,src/devops_cli/roadmap/stage/stage_change.py:1080, #3321, #3423, #4316).behaviorgroup covers the scenario with a test (stage_scenario_untested_code,stage_scenario_no_behavior_task).k8s/devops/cronjob-runner.yaml, so the check asks for a behavior test of that file, which is a value test.whenor thethen(_is_scenario_command).Expected: a scenario span that is a path outside
src/(a manifest, a workflow, a config file) needs a command that proves it (a validator or a live check), not a behavior test. Change the check, its messages and its spec scenarios in the same pull request as the prompts. State the stage eval score before and after.devops-cli-service commentedon Nov 17, 2026
Released in v0.169.3: https://github.com/dan-petty/devops-cli/releases/tag/v0.169.3
devops-cli-service commentedon Nov 17, 2026
Live since 2026-11-17 03:03 UTC
docs(openspec): Name a command proof in the image and pin scenarios
docs(openspec): Name a command proof in the k8s and stack scenarios
docs(openspec): Name a command proof in the k8s and stack scenarios (#…
docs(openspec): Name a command proof in the image and pin scenarios
docs(openspec): Name a command proof in the image and pin scenarios (#…