Skip to content

Sync trust-verification schemas and update capabilities download wiring#356

Merged
GsCommand merged 2 commits into
mainfrom
codex/sync-and-publish-clas-schemas
May 26, 2026
Merged

Sync trust-verification schemas and update capabilities download wiring#356
GsCommand merged 2 commits into
mainfrom
codex/sync-and-publish-clas-schemas

Conversation

@GsCommand
Copy link
Copy Markdown
Contributor

Motivation

  • Ensure the Trust Verification CLAS schema family is publishable to the website and that capability download/copy buttons point to the correct, canonical trust-verification locations.

Description

  • Add scripts/sync-clas-schemas.sh to copy ../clas/schemas/trust-verification into public/schemas/trust-verification while preserving directory structure and producing a deterministic file list.
  • Rewire schema paths in public/capabilities.html to use /schemas/trust-verification/<verb>/<verb>.request.schema.json and /schemas/trust-verification/<verb>/<verb>.receipt.schema.json, and update CLAS source lookup to schemas/trust-verification.
  • Convert fake download controls into real anchor links with href and download attributes for the family/group buttons and manifest actions, and update the modal copy behavior to emit full https://commandlayer.org/... URLs.
  • Remove references to the incorrect /schemas/trust/ paths and stop using href="#" for the trust-family download actions.

Testing

  • Ran in-place update of public/capabilities.html using a Python patch, and rg verified no remaining href="#" and no /schemas/trust/ references on the page (success).
  • Executed ./scripts/sync-clas-schemas.sh, which failed as expected in this environment because the source folder ../clas/schemas/trust-verification is not present (script exits with an error if source is missing).
  • Checked for the presence of public/schemas/trust-verification/verify/verify.request.schema.json and it is currently missing because the sync source was unavailable (test reported missing).
  • Verified that public/capabilities.html now uses real href + download attributes pointing to /schemas/trust-verification/manifest.json and /schemas/trust-verification/capabilities.json and that modal download/copy actions reference full https://commandlayer.org URLs (success).

Codex Task

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
commandlayer-commandlayer-org Ready Ready Preview, Comment May 26, 2026 1:37am
commandlayer-org Ready Ready Preview, Comment May 26, 2026 1:37am
commandlayer-org111 Ready Ready Preview, Comment May 26, 2026 1:37am

Request Review

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