Skip to content

Tighten release metadata validation and fix example validator#29

Merged
GsCommand merged 1 commit intomainfrom
codex/fix-issues-in-project-configuration
Mar 20, 2026
Merged

Tighten release metadata validation and fix example validator#29
GsCommand merged 1 commit intomainfrom
codex/fix-issues-in-project-configuration

Conversation

@GsCommand
Copy link
Contributor

Motivation

  • Remove remaining release-surface and validation ambiguity by making path semantics explicit and ensuring the example validator actually reads current-line fixtures.
  • Clarify that cross-repo alignment metadata in the manifest is declarative-only and add steward succession language so governance has an explicit continuity mechanism.
  • Eliminate an accidental duplicate publishConfig entry and regenerate checksums so integrity validation covers the updated artifacts.

Description

  • Fix scripts/validate-examples.mjs to use the imported readdir helper so example files are discovered and validated via the shared strict JSON loader.
  • Tighten scripts/validate-all.mjs to assert path_base and paths_are_repo_relative on manifest.json and schemas/v1.1.0/index.json, and to require alignment_verification === "declarative-only".
  • Add path_base and paths_are_repo_relative to schemas/v1.1.0/index.json and add path_base, paths_are_repo_relative, and alignment_verification to manifest.json to remove path-framing ambiguity and record alignment mode.
  • Add succession language to GOVERNANCE.md, document the declarative-only alignment claim in README.md, remove the duplicate trailing publishConfig block from package.json, and regenerate checksums.txt to cover the updated manifest and index metadata.

Testing

  • Ran npm test (which runs the validate aggregate), and the full suite passed after fixes.
  • Ran node scripts/validate-all.mjs and it completed successfully validating manifest, index, and schemas.
  • Ran node scripts/validate-examples.mjs and it validated all current-line examples.
  • Ran node scripts/generate-checksums.mjs followed by node scripts/validate-integrity.mjs and the regenerated checksums.txt validated the release integrity surface.

Codex Task

@GsCommand GsCommand merged commit 1d953f7 into main Mar 20, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant