Skip to content

docs(spec): Rewrite the scenarios that read a manifest #6083

Open
2 of 2 issues completed
Open

Description

@dan-petty

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

Alternatives check of 2026-11-27: not-applicable.
Class: docs, no model call.
Tool: none found.

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    type/docs
    on Nov 17, 2026
  2. dan-petty commented on Nov 17, 2026

    @dan-petty
    OwnerAuthor
    • Scope: none. The title has the scope spec, and .github/labels.yml declares no scope/spec label. Add the label to the file to give the scope to this item.
    • Related: fix(roadmap): Stop plan rules that ask for config value tests #6080, which asks for a different change. 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/.
  3. added
    source/agent
    status/new
    value/medium
    effort/high
    priority/p2-medium
    owner/agent
    on Nov 17, 2026
  4. dan-petty commented on Nov 17, 2026

    @dan-petty
    OwnerAuthor

    First area (Kubernetes, the cluster and the stacks) is on branch docs/6083-k8s-spec-proofs (commit a6eeeaf), with the change archived as openspec/changes/archive/2026-11-17-6083-k8s-spec-proofs/. uv run devops openspec check and uv run devops ci --check --only openspec,docs pass.

    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 create refuses a body without the line Closes #<issue> (src/devops_cli/roadmap/pull_form.py, _closing_problems), and refuses the scope spec, 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.

  5. dan-petty commented on Nov 17, 2026

    @dan-petty
    OwnerAuthor

    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, change openspec/changes/archive/2026-11-17-6118-k8s-spec-proofs/). The branch docs/6083-k8s-spec-proofs is deleted.

  6. dan-petty commented on Nov 20, 2026

    @dan-petty
    OwnerAuthor

    Found while building #6407: two texts still name a test that #6075 deleted.

    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.

  7. dan-petty commented on Dec 1, 2026

    @dan-petty
    OwnerAuthor

    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.

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

    effort/highowner/agentpriority/p2-mediumsource/agentstatus/newtype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions