Skip to content

docs(openspec): fix plan #2519 key claim table by version - #3061

Merged
dan-petty merged 3 commits into
mainfrom
docs/2519-fix-plan
Nov 1, 2026
Merged

dan-petty merged 3 commits into
mainfrom
docs/2519-fix-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

This change corrects the plan of issue #2519 in place. It edits only the change folder openspec/changes/2519-the-claim-table-of-the-local/. It changes no code and no test.

An evaluation of the staged plan (pull request #3001) found defects. The plan now keys CHART_CLAIMS by chart name and pinned version. It replaces the old coverage test with a test that compares pinned_charts() with the keys. It sets skip_specs: true and removes the spec delta. It names the right test path in k8s/README.md. It gives numbered steps that show the new test fail when a pin moves. Its feasibility section now states the true state of pull request 3020.

Plans #2519

This commit corrects the plan for issue 2519. Pull request 3001 staged
the plan. An evaluation on 2026-11-01 found defects in it.

The corrected plan:
- replaces the old coverage test, which cannot pass with tuple keys;
- lists the 18 keys and the exact lookup, and names what each group reads;
- shows command evidence for the premise, with the claim values of each
  chart at its pinned version;
- adds a check that the guard fails when a pin moves;
- drops the spec delta, because the change edits a test table and one
  document;
- adds a group that fixes the paragraph of k8s/README.md.

The change touches only the change folder of issue 2519. It changes no
code and no test.
@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Changes

  • CHART_CLAIMS is keyed by (chart, version). The new test compares pinned_charts() with the keys.
  • The old coverage test is replaced, because it cannot pass with tuple keys.
  • The spec delta is removed. The change sets skip_specs: true.
  • The k8s/README.md task names the right test path (tests/core/).
  • Task 1.3 gives numbered steps that move one pin and show the new test fail.
  • The Feasibility section now says that pull request 3020 (open, draft, not merged) holds the first diff, which empties CHART_CLAIMS.

Evaluation findings

  • Confirmed and fixed: the plan had the old README test path, a spec delta for a change with no spec behavior, and a coverage test that cannot pass with tuple keys.
  • Confirmed and fixed (verification stage, minor): the Feasibility text said the first run diff was discarded. The pull request 3020 is open and holds that diff. The text now says so.
  • Not done: closing pull request 3020. It is not part of this change. The owner of that pull request closes it.

Verification

  • openspec validate 2519-the-claim-table-of-the-local --strict: valid.
  • uv run devops openspec check: passed.
  • uv run pytest tests/invariants/test_change_folders.py -n 0 -q: 17 passed.
  • A scratch copy of the test file with the planned edit passed (9 passed). With the grafana targetRevision moved to 14.0.2, only the new test failed. The scratch edit was reverted.

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 13:42
@dan-petty
dan-petty merged commit 0ec05cc into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the docs/2519-fix-plan branch November 1, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant