Skip to content

Add schema registry and capabilities schema download UI hooks#354

Merged
GsCommand merged 1 commit into
mainfrom
codex/update-capabilities.html-for-schema-downloads
May 26, 2026
Merged

Add schema registry and capabilities schema download UI hooks#354
GsCommand merged 1 commit into
mainfrom
codex/update-capabilities.html-for-schema-downloads

Conversation

@GsCommand
Copy link
Copy Markdown
Contributor

Motivation

  • Provide a public schema discovery surface on commandlayer-org that maps capability families to CLAS as the canonical source of truth.
  • Enable capability/verb-level download actions on /capabilities.html that point to real schema artifacts (or to generated indexes) rather than invented links.
  • Avoid copying/fabricating per-verb schema content unless it can be sourced directly from commandlayer-clas.

Description

  • Added a public schema registry at public/schemas/index.json describing the Trust Verification family, its verbs, schema path prefixes, manifest path, and CLAS repo URL.
  • Added public/schemas/live-clas-schemas.index.json as a downloadable bundle/index placeholder representing the published CLAS schema bundle for the Trust Verification family.
  • Updated public/capabilities.html to: add global build-plan actions for schema downloads (Download all live CLAS schemas, Download schema index, View CLAS repo), add family-level actions on the Trust Verification card (Download all family schemas, View family manifest), and wire per-verb modal actions so live verbs expose: Download request schema, Download receipt schema, Copy request schema URL, Copy receipt schema URL, View source in CLAS repo, and Add to build plan (these actions remain disabled until concrete schema files are available).
  • Added dataset attributes to the Trust Verification card to indicate schema request/receipt path prefixes (data-schema-request-prefix / data-schema-receipt-prefix) so per-verb URLs can be composed from the registry.
  • No per-verb schema files were created or hand-written in this repo; only an index and bundle placeholder were added to avoid creating fake download targets.

Testing

  • Ran repository searches and inspections with rg --files public | rg 'schema|manifest|capabilities/trust' and confirmed existing manifest public/capabilities/trust-verification/manifest.json was present (succeeded).
  • Render/patch validation via scripted edits using Python to update public/capabilities.html and adding JSON files; diff inspection confirmed the intended changes to public/capabilities.html, public/schemas/index.json, and public/schemas/live-clas-schemas.index.json (succeeded).
  • Attempted to fetch commandlayer-clas with git clone https://github.com/commandlayer/commandlayer-clas, but network access to GitHub failed in this environment (CONNECT tunnel failed, response 403), so no concrete per-verb schemas were imported (failed as expected due to environment network restrictions).
  • Verified that the per-verb download UI is present and that download actions remain disabled until liveSchemaPaths (the list of published schema files) is populated from real CLAS artifacts (manual code inspection / automated checks succeeded).

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:04am
commandlayer-org Ready Ready Preview, Comment May 26, 2026 1:04am
commandlayer-org111 Ready Ready Preview, Comment May 26, 2026 1:04am

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