Skip to content

[codex] Tighten versions.json schema constraints#87

Draft
DilumAluthge-LLM wants to merge 25 commits into
JuliaLang:mainfrom
DilumAluthge-LLM:codex/approved-schema-tightening
Draft

[codex] Tighten versions.json schema constraints#87
DilumAluthge-LLM wants to merge 25 commits into
JuliaLang:mainfrom
DilumAluthge-LLM:codex/approved-schema-tightening

Conversation

@DilumAluthge-LLM
Copy link
Copy Markdown
Contributor

@DilumAluthge-LLM DilumAluthge-LLM commented May 2, 2026

Summary

This PR builds on #83.

This PR tightens schema.json with the approved validation constraints for versions.json.

It adds stricter validation for digest fields, Julia version strings, URL shape, PGP signature armor, positive sizes, non-empty/unique file arrays, top-level version entries, and selected cross-field consistency rules.

Validation

  • jq empty schema.json
  • npx -p ajv-cli@3.3.0 ajv compile -s schema.json
  • npx -p ajv-cli@3.3.0 ajv -s schema.json -d /tmp/versionsjsonutil-live-*.json against the live S3 versions.json
  • julia --project=. -e 'using Pkg; Pkg.test()'

CC: @DilumAluthge

🤖 Generated by OpenAI Codex.

DilumAluthge-LLM and others added 25 commits May 1, 2026 01:02
Co-authored-by: OpenAI Codex GPT-5 <codex@openai.com>
Co-authored-by: OpenAI Codex GPT-5 <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
Co-authored-by: OpenAI Codex [GPT-5] <codex@openai.com>
(cherry picked from commit 3fd8519)
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