Skip to content

Next: Generate agent cards and ENS TXT records from capability build plan #200

@GsCommand

Description

@GsCommand

Goal

Continue the Capabilities build-plan scaffold by adding generated discovery artifacts.

The current /capabilities.html supports:

  • Add to build plan
  • Export build-plan manifest
  • Copy manifest JSON
  • Copy SDK config
  • Download Trust & Verification manifest

Next, make the build plan generate:

  1. Agent card JSON
  2. ENS TXT record suggestions
  3. MCP/OpenAPI placeholder surface

Scope

Update public/capabilities.html only unless a separate JS file is cleaner.

New build-plan actions

Add buttons:

  • Copy agent card
  • Copy ENS records
  • Copy MCP surface

Agent card output

Generate a JSON object like:

{
  "type": "commandlayer.agent_card",
  "version": "0.1.0",
  "name": "your-agent.eth",
  "capabilities": ["trust-verification", "ai-intelligence"],
  "verifier": "/api/verify",
  "proof_url_pattern": "/verify/r/{receipt_id}",
  "sdk": "@commandlayer/agent-sdk"
}

ENS TXT output

Generate text suggestions like:

cl.capabilities=trust-verification,ai-intelligence
cl.verifier=https://www.commandlayer.org/api/verify
cl.proof_url=https://www.commandlayer.org/verify/r/{receipt_id}
cl.sdk=@commandlayer/agent-sdk
cl.receipt.signer=your-agent.eth
cl.sig.canonical=json.sorted_keys.v1
cl.sig.hash=sha256
cl.sig.alg=ed25519

MCP/OpenAPI placeholder

Do not claim real MCP server generation is complete.
Use language:
MCP/OpenAPI surface draft

Generate a lightweight JSON structure:

{
  "type": "commandlayer.discovery_surface_draft",
  "capabilities": [...],
  "tools": [...],
  "verification_endpoint": "/api/verify"
}

Constraints

  • No backend.
  • No checkout.
  • No fake live claims.
  • Keep everything local/static.
  • Preserve existing build-plan behavior.

Acceptance checks

  • Selected build plan can copy agent card JSON.
  • Selected build plan can copy ENS TXT records.
  • Selected build plan can copy MCP/OpenAPI surface draft.
  • Empty build plan shows useful output or prompt.
  • Existing buttons still work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions