Skip to content

Add GovLaws to service registry#378

Open
itsaark wants to merge 4 commits intotempoxyz:mainfrom
itsaark:codex/add-govlaws-service
Open

Add GovLaws to service registry#378
itsaark wants to merge 4 commits intotempoxyz:mainfrom
itsaark:codex/add-govlaws-service

Conversation

@itsaark
Copy link

@itsaark itsaark commented Mar 19, 2026

Summary

  • Add GovLaws to the MPP service registry as a first-party integration
  • Regenerate discovery artifacts (discovery.json, llms.txt)
  • GovLaws provides U.S. federal regulation lookup, semantic search, and change tracking with provenance metadata from official government sources

Endpoints

Route Description Amount
GET /api/mpp/resolve Resolve a CFR citation to current text with provenance $0.05
POST /api/mpp/search Semantic search across federal regulations $0.03
GET /api/mpp/changes Recent Federal Register change events $0.03

Validation

  • pnpm check:types — pass
  • pnpm check:ci — pass
  • MPP_SECRET_KEY=test-secret pnpm build — pass
  • Live endpoints verified with tempo request on mainnet

@vercel
Copy link

vercel bot commented Mar 19, 2026

@itsaark is attempting to deploy a commit to the Tempo Team on Vercel.

A member of the Team first needs to authorize it.

@brendanjryan
Copy link
Collaborator

👋 Thanks for submitting a service to the MPP directory!

Before we review, please make sure you've completed these steps:

Required
Your service is live and accepting payments via MPP (not a placeholder or coming-soon)
You've added your entry to schemas/services.ts following the contributing guide
You've run node scripts/generate-discovery.ts and committed the updated schemas/discovery.json
You've run node scripts/gen-icons.cjs and committed any new icons
Types pass: pnpm check:types
Build succeeds: pnpm build
Recommended
Register your service on MPPScan — it follows the standard MPP discovery format and makes your service discoverable by agents immediately, no PR required
Review criteria
We prioritize services that are high quality and novel. We may not approve services that duplicate existing functionality or aren't yet production-ready.

📖 Contributing guide · 🔍 MPPScan · 📄 Protocol docs

@itsaark
Copy link
Author

itsaark commented Mar 23, 2026

Thanks for the review checklist! Here's the status on each item:

Required

  • Service is live and accepting payments via MPP — all three endpoints return proper 402s with Tempo challenges on mainnet
  • Entry added to schemas/services.ts — follows existing patterns, uses TEMPO_PAYMENT constant
  • Ran generate-discovery.ts and committed discovery.json — done
  • Icons — added public/icons/govlaws.svg (note: gen-icons.cjs doesn't exist in the repo — the actual script is sync-logos.ts which requires maintainer credentials for Vercel Blob + logo.dev)
  • Types pass (pnpm check:types) — pass
  • Build succeeds (pnpm build) — pass
  • MPPScan registration — Done

Re: Vercel deploy — the Vercel bot is waiting for a Tempo team member to authorize the deployment since this is an external contribution.

itsaark added 2 commits March 23, 2026 14:51
discovery.json is now generated in CI (see tempoxyz#433, tempoxyz#459) and no longer tracked.
The GovLaws service entry in schemas/services.ts merged cleanly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants