Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 03 Oct 16:20
· 28 commits to main since this release
Immutable release. Only release title and notes can be modified.
1e2b44b

v2.0.0 - Major Release: Scoring System + Live Testing + Spec Alignment

🎯 Major Release: Breaking Changes

This release introduces three major feature sets: three-dimensional scoring, full transport protocol support for live testing, and 100% alignment with A2A v0.3.0 specification.

🚀 What's New

1. Three-Dimensional Scoring System

Multi-dimensional evaluation replacing single score:

Compliance Score (0-100) - A2A v0.3.0 specification adherence

  • Core Fields (60 pts), Skills Quality (20 pts), Format Compliance (15 pts), Data Quality (5 pts)

Trust Score (0-100) - Security and authenticity evaluation

  • Cryptographic Signatures (40 pts), Provider Trust (25 pts), Security Posture (20 pts), Documentation (15 pts)
  • Trust Confidence Multiplier: 1.0x (valid signature), 0.6x (no signature), 0.4x (invalid signature)

Availability Score (0-100) - Operational readiness (requires --test-live)

  • Primary Endpoint (50 pts), Transport Support (30 pts), Response Quality (20 pts)

Production Readiness Thresholds:

  • Compliance ≥95, Trust ≥60, Availability ≥80

2. Full Transport Protocol Support for Live Testing

Complete --test-live implementation with real agent endpoint testing:

  • JSONRPC Transport: JSON-RPC 2.0 envelope with method/params
  • HTTP+JSON Transport: Direct message sending without RPC wrapper
  • Transport-aware parsing: Handles JSONRPC .result field extraction
  • Exit codes for automation: 0 (success), 1 (validation), 2 (network), 3 (protocol)
  • Real message validation: Task, StatusUpdate, ArtifactUpdate, Message types

Use cases:

  • CI/CD post-deployment verification
  • Cron-based health monitoring
  • Pre-production testing
  • Third-party agent evaluation

3. A2A v0.3.0 Specification Alignment

100% alignment with official A2A TypeScript types:

  • Made preferredTransport optional (defaults to "JSONRPC")
  • Made provider optional (organization & url required when present)
  • Added required fields: capabilities, defaultInputModes, defaultOutputModes, skills
  • Added provider.url as required when provider present
  • Added skills.tags as required field (non-empty array)
  • Non-empty skills array validation (at least one skill required)
  • Runtime message validators for live testing

💥 Breaking Changes

Output Format Changed

  • Before: Single "Score: X/100"
  • After: Three-dimensional breakdown (Compliance, Trust, Availability)

Validation Rules Updated

  • provider now optional but validates organization/url when present
  • capabilities, defaultInputModes, defaultOutputModes now required
  • Skills must have non-empty tags array

No Backward Compatibility

  • JSON output structure changed: use result.scoringResult.compliance, .trust, .availability
  • Stricter validation may fail agent cards that previously passed

📚 Documentation

  • New: docs/scoring-system.md - Complete scoring guide
  • Updated: --test-live documentation with exit codes and use cases
  • Updated: Main README and Python package README
  • Updated: CHANGELOG with comprehensive migration guide

🔄 Migration Guide

For CLI Users

  • Enjoy richer scoring feedback automatically!
  • Review new required fields if validation fails
  • Use --test-live for operational readiness testing

For Automation/CI/CD

  • Update scripts expecting single "Score: X/100" format
  • Use --json flag and extract from result.scoringResult object
  • Leverage new exit codes (0/1/2/3) for better error handling
  • Add --test-live for post-deployment health checks

For Agent Card Authors

  • Ensure capabilities, defaultInputModes, defaultOutputModes are present
  • Ensure skills[].tags is non-empty array
  • preferredTransport is now optional (defaults to "JSONRPC")
  • provider is optional but must include organization & url when present

📦 Install

# npm
npm install -g capiscio-cli@2.0.0

# pip  
pip install capiscio==2.0.0

# Or download standalone binaries from releases