Skip to content

ci: keep canonical source summary complete#138

Merged
amavashev merged 1 commit into
mainfrom
agent/add-evidence-to-publication-summary
Jul 18, 2026
Merged

ci: keep canonical source summary complete#138
amavashev merged 1 commit into
mainfrom
agent/add-evidence-to-publication-summary

Conversation

@amavashev

Copy link
Copy Markdown
Contributor

Summary

  • add cycles-evidence-v0.2.yaml to publication_model_summary.canonical_sources
  • add the evidence envelope to the repository changelog index
  • advance the composition-index revision from 0.1.42 to 0.1.43
  • extend make spec-index-check so the publication summary must contain exactly the files declared by documents
  • update the validation workflow description to cover both version and inventory consistency

Why

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.py
  • negative test proving an omitted canonical source fails validation
  • python scripts/validate_changelogs.py
  • python scripts/merge_specs.py with a clean merged-artifact diff
  • Spectral lint of all six canonical sources and both merged specs: 0 errors
  • workflow YAML parse
  • git diff --check

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
amavashev marked this pull request as ready for review July 18, 2026 14:03
@amavashev
amavashev merged commit d7dbdb0 into main Jul 18, 2026
5 checks passed
@amavashev
amavashev deleted the agent/add-evidence-to-publication-summary branch July 18, 2026 14:03
@amavashev
amavashev restored the agent/add-evidence-to-publication-summary branch July 18, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant