ci: keep canonical source summary complete#138
Merged
Conversation
Add the evidence envelope to the spec index's canonical publication summary and to the repository changelog table. Advance the index revision to 0.1.43 without changing any canonical spec version. Extend spec-index validation so publication_model_summary.canonical_sources must contain exactly the files declared by documents. This makes missing, extra, duplicate, and malformed inventory entries fail CI. Validation: - python scripts/validate_spec_index_versions.py - negative missing-canonical-source test - python scripts/validate_changelogs.py - python scripts/merge_specs.py + clean merged-artifact diff - Spectral lint of all six sources and both merged specs (0 errors) - workflow YAML parse - git diff --check
amavashev
marked this pull request as ready for review
July 18, 2026 14:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cycles-evidence-v0.2.yamltopublication_model_summary.canonical_sources0.1.42to0.1.43make spec-index-checkso the publication summary must contain exactly the files declared bydocumentsWhy
The evidence envelope was indexed as a canonical companion under
documents, but the publication summary and changelog table omitted it. Those duplicate inventories had no automated consistency check, so the omission could remain unnoticed.The extended gate rejects missing, extra, duplicate, and malformed canonical-source entries.
Impact
This is an index discoverability and CI validation change only. No OpenAPI spec, spec version, wire contract, or merged artifact changes.
Validation
python scripts/validate_spec_index_versions.pypython scripts/validate_changelogs.pypython scripts/merge_specs.pywith a clean merged-artifact diffgit diff --check