Skip to content

Add catalog provenance field for mock vs live provider data #84

Description

@emrekayat

Why this matters

Query402 has deterministic demo fallbacks and live provider paths. Reviewers should know which provider data is mock, fallback, or live before paying.

Scope

Expose a small provenance field in provider catalog responses and render it in the dashboard:

  • mock for deterministic demo data;
  • fallback for AI/provider fallback mode;
  • live for configured real providers;
  • unknown as a safe default.

Suggested files:

  • apps/api/src/providers/*
  • apps/api/src/routes/public.ts
  • apps/web/src/App.tsx
  • packages/shared/src/schemas.ts

Acceptance criteria

  • Every provider returned by the catalog includes provenance.
  • Dashboard renders provenance as a compact badge.
  • Unknown/missing provenance never renders as live.
  • Tests cover catalog response shape and one UI rendering path.
  • No pricing or payment behavior changes.

Wave complexity

High - clarifies demo vs live provider credibility for SCF/investor review.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssue proposed for the Drips Stellar Wave programarea: apiAPI servicearea: webWeb and wallet experiencecomplexity: highExpected high implementation complexitydrips-candidateCandidate for a Drips Stellar WaveenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions