DEV Community

Cover image for Building Conformance-as-a-Service: Automated TAP Verification Testing
Harish Kotra (he/him)
Harish Kotra (he/him)

Posted on AI-assisted

Building Conformance-as-a-Service: Automated TAP Verification Testing

Introduction

The Trusted Agent Protocol (TAP) defines 94 conformance test cases that every verifier should pass. But today, there is no hosted runner, no CI integration, and no badge. Every team must download the JSON file, write their own test harness, and manually verify.

Conformance-as-a-Service solves this. It is a hosted test runner that sends all official test cases to your verifier endpoint, generates a pass/fail report, and issues a TAP Conformant badge.

What it does

  1. You provide your verifier URL
  2. The service sends all 94 test cases to your endpoint
  3. Each case is checked: accept, refuse, or unable-to-check
  4. A report is generated with per-case breakdown
  5. A badge is issued (shields.io compatible)

Tech Stack

Layer Technology
Runtime Node.js 22
HTTP Framework Hono
Language TypeScript
Deployment Docker

API Endpoints

Method Path Description
GET /health Health check
POST /run Run conformance against a verifier URL
GET /reports/:id Get a full report
GET /reports List all reports
GET /badge/:id Get badge (shields.io format)
GET /cases List all conformance cases

How to run

cd conformance-as-a-service
npm install
npm run dev
Enter fullscreen mode Exit fullscreen mode

Then run conformance:

curl -X POST http://localhost:3000/run \
  -H "Content-Type: application/json" \
  -d '{"verifierUrl": "http://your-verifier:3000"}'
Enter fullscreen mode Exit fullscreen mode

Links

Code & more: https://www.dailybuild.xyz/project/328-conformance-as-a-service

Top comments (0)