Skip to content

[Sites] Use Sites campaign results to propose and draft improvements #2103

Open

Description

@sidneyswift

Parent epic: #2093

Priority

P2 — Later expansion or nonblocking follow-up.

User story

As a label marketer, I want Recoup to explain campaign performance and prepare a useful next revision.

User journey

Ask Compare these two releases → receive sourced results and limitations → ask for an improvement → inspect a tested private revision → explicitly publish if approved.

Acceptance criteria

  • Let the agent retrieve authorized results for selected campaigns, date ranges, traffic sources, and versions via MCP.
  • Cite the underlying metrics, definitions, and comparison windows; flag missing/low-volume data and differing traffic mixes. Do not claim causation from an uncontrolled comparison.
  • Suggest a specific change tied to observed behavior, such as simplifying the optional signup step; preserve independent consent and the ability to skip music.
  • On user request, generate a new private revision and run quality checks. Do not publish, spend ad budget, or message fans automatically.
  • Record the proposed change and baseline so a later report can compare outcomes without promising statistical significance.

Owning code

API/MCP results and revision tools; chat agent workflow; documented prompts and evaluations.

Use the epic's API-first/MCP, workspace authorization, database migration, docs, and explicit-publishing requirements.

Blocking dependencies

These are completion prerequisites, mirrored in GitHub’s blocked-by links. Design and contract work may start earlier. Other coordination references are not blockers.

Validation

Evaluate no-data, low-volume, mixed-source, cross-tenant, and adequately populated scenarios. Verify every numeric claim maps to tool output and the result stays unpublished.

Platform foundation alignment

This remains part of Sites epic #2093. Recoup Sites and external apps must share primitives, authorization, and billing. Coordinate with:

The Blocking dependencies section is authoritative. Campaign release follows the external integration proof gate; independent design/test work can proceed earlier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:P2Later expansion or nonblocking follow-up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions