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
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
- You provide your verifier URL
- The service sends all 94 test cases to your endpoint
- Each case is checked: accept, refuse, or unable-to-check
- A report is generated with per-case breakdown
- 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
Then run conformance:
curl -X POST http://localhost:3000/run \
-H "Content-Type: application/json" \
-d '{"verifierUrl": "http://your-verifier:3000"}'
Links
- Visa CLI Docs: https://app.visacli.sh/docs
- Conformance test cases: https://app.visacli.sh/docs/conformance.md
Code & more: https://www.dailybuild.xyz/project/328-conformance-as-a-service
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.