Repository navigation
Description
Update 2026-11-26 (infra move): the environment manifests are in dan-petty/homelab (only k8s/devops/ stays here). Remove each scenario or requirement that only restates an environment file; do not move it into a check of this repository. devops ci --check --only k8s covers the product manifests only after #7290.
Problem
About 370 scenarios in about 105 capability specs under openspec/specs/ have the form "WHEN a test reads THEN ". The owner rule of 2026-11-16 (#6060) removes those tests, and #6075 deletes most of them. The stage and refine jobs read the living specs and copy their form, so these scenarios keep producing plans that ask for value tests. #6080 changes the rules that write new scenarios. This item changes the scenarios that exist.
Expected behavior
- After fix(roadmap): Stop plan rules that ask for config value tests #6080 merges, rewrite each such scenario to the form of fix(roadmap): Stop plan rules that ask for config value tests #6080: the proof is a validator command or a live check (for example
uv run devops ci --check k8s, actionlint,uv run devops k8s <name>-check). If the requirement only restates a value of a file, remove it. - Work one area of capabilities per pull request, with OpenSpec MODIFIED and REMOVED deltas. Each delta keeps a capability at or under 80 requirements (
openspec/config.yaml). - Give a census command and its count before and after, for example
git grep -c "a test reads" -- openspec/specs. - Close when the census count is zero, or each remaining hit is a test of source code.
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, fix(roadmap): Stop plan rules that ask for config value tests #6080.
Alternatives check of 2026-11-27: not-applicable.
Class: docs, no model call.
Tool: none found.
Activity
dan-petty commentedon Nov 17, 2026
spec, and .github/labels.yml declares no scope/spec label. Add the label to the file to give the scope to this item.Both stem from #6060 and address config-value scenarios, but #6080 changes the plan rules that generate new scenarios while this item rewrites the ~370 existing scenarios in openspec/specs/.dan-petty commentedon Nov 17, 2026
First area (Kubernetes, the cluster and the stacks) is on branch
docs/6083-k8s-spec-proofs(commit a6eeeaf), with the change archived asopenspec/changes/archive/2026-11-17-6083-k8s-spec-proofs/.uv run devops openspec checkanduv run devops ci --check --only openspec,docspass.Census
git grep -c -i "a test reads" -- openspec/specs: the 19 capabilities of the area fall from 125 to 9 hits, and all specs fall from 334 to 218. The 9 hits left read a table of source code that a test covers (cluster secret table,OPTIONAL_FEATURE_SECRETS, deploy-stack tables).Blocker of the pull request:
uv run devops pr createrefuses a body without the lineCloses #<issue>(src/devops_cli/roadmap/pull_form.py,_closing_problems), and refuses the scopespec, which has no label. A body with "Part of #6083" and no closing keyword cannot pass. The precedent is one sub-issue for each area: #5365 closed #5364 and said "Part of #5134". That form needs a sub-issue, and a change folder and a branch named for it.dan-petty commentedon Nov 17, 2026
Follow-up: the blocker above is solved with one sub-issue for each area. The first area is sub-issue #6118 and draft PR #6120 (branch
docs/6118-k8s-spec-proofs, changeopenspec/changes/archive/2026-11-17-6118-k8s-spec-proofs/). The branchdocs/6083-k8s-spec-proofsis deleted.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 (#…
dan-petty commentedon Nov 20, 2026
Found while building #6407: two texts still name a test that #6075 deleted.
openspec/specs/mcp-server-image/spec.md, requirement "Each image of this repository in k8s has a publish job": its scenario says "The test fails and names the image and the file". No test undertests/reads theimageandimageNamekeys ofk8s/against the release jobs (git log -G "names an image of this repository" -- testsshows d4968f6, fix(k8s): Drop the tests that assert values of manifests and config #6075).docs/CLUSTER.md(Service Image Updates) says "a test fails when a manifest names an image of this repository that no job ofrelease.ymlpushes (fix(ci): the release publishes the mcp-server image #4324)".The proof can be a live check, for example
uv run devops k8s image-pins, or the requirement can go. #6407 does not change these texts.dan-petty commentedon Dec 1, 2026
One more instance, found in the review of #8006: the capability
mcp-server-image, requirement "Each image of this repository in k8s has a publish job". Its scenario says "The test fails", but no test reads these manifest values now. #8006 changes only the workflow file name in it.