Skip to content

Add interactive verb discovery panel to capabilities page#352

Merged
GsCommand merged 1 commit into
mainfrom
codex/update-capability-verbs-to-act-as-controls
May 26, 2026
Merged

Add interactive verb discovery panel to capabilities page#352
GsCommand merged 1 commit into
mainfrom
codex/update-capability-verbs-to-act-as-controls

Conversation

@GsCommand
Copy link
Copy Markdown
Contributor

Motivation

  • Make each verb pill on the Capabilities page act as a protocol discovery control so users can inspect verb details without triggering downloads or changing the page layout.
  • Expose verb metadata and available actions (download schema/manifest, copy example, view source, add to build plan) while preventing broken links when per-verb schema files are not present.

Description

  • Modified only public/capabilities.html to add a lightweight, keyboard-accessible verb detail modal and related CSS, keeping original layout, spacing, colors, and existing build-plan behavior intact.
  • Turned .cap-pill elements into interactive controls with role="button", tabindex, aria-label, click and Enter/Space handlers, and a visible focus outline so pills remain visually similar but are keyboard-accessible.
  • Modal shows verb name, capability family, status, short description, actions, and a close control; live Trust Verification verbs surface the requested action set while per-verb schema download buttons are disabled when no schema files are available, and Draft/Planned verbs show a "Schema not published yet" message plus Add to build plan.
  • Added global actions near the Build Plan card: Download all live schemas (present but disabled if no live schema list is available) and Download all live manifests (wired to the existing /capabilities/trust-verification/manifest.json), and preserved all previous export/copy/build plan handlers.

Testing

  • Ran rg --files public | rg 'capabilities|schema|manifest|trust-verification' to confirm available manifest/schema paths and ensure manifest linkage, and the command completed successfully.
  • Ran rg --files | rg '(CLAS|clas|schema)' | head -n 80 to inspect schema-related files and verify there were no per-verb schema files to link to, and the command completed successfully.
  • Inspected the modified file with nl -ba public/capabilities.html and observed the injected CSS/HTML/JS for the modal and pill behavior; this inspection completed successfully.
  • Committed the change with git commit after staging, and the commit 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 12:57am
commandlayer-org Ready Ready Preview, Comment May 26, 2026 12:57am
commandlayer-org111 Ready Ready Preview, Comment May 26, 2026 12:57am

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