Skip to content

feat(examples): v3 reference seller — canonical multi-tenant runnable example #357

Description

@bokelley

Summary

A complete runnable seller adopters fork-and-modify. Multi-file directory under examples/v3_reference_seller/ integrating every Tier 1/2/3 component end-to-end.

Scope

Models (SQLAlchemy)

  • Tenant — multi-tenant root
  • BuyerAgent — round-2 spine record
  • Account — v3-spec columns including 3.1-ready billing_entity, reporting_bucket, billing_capability
  • MediaBuy

Components

  • BuyerAgentRegistry Postgres impl
  • BrandJsonJwksResolver + BrandAuthorizationResolver (stub until adcp#3690)
  • HTTP-Sig verification end-to-end + bearer fallback
  • Postgres-backed WebhookDeliverySupervisor
  • AuditSink impl with DB + Slack
  • Subdomain tenant routing
  • MCP+A2A on one binary
  • Minimal admin REST API for agent/tenant CRUD
  • docker-compose with Postgres + Alembic migrations
  • README clone-and-modify guide

Size

~3–5k LOC of reference infrastructure.

Why

Validates our own designs by building the canonical pattern. Spec 3.0-compliant on the wire, 3.1-ready in architecture and schema.

Cross-references

Depends on: Tier 2 BuyerAgentRegistry, Tier 3 BrandAuthorizationResolver, AuditSink Protocol, Postgres WebhookDeliverySupervisor, SubdomainTenantRouter middleware, MCP+A2A unified binary.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions