Skip to content

[Context] Compile task-specific briefs and pass the two-song accumulation checkpoint #2130

Open

Description

@sswiftdrtv

Parent epic: #2116

Priority and sequence

P0 within the retained enrichment lane · CE14. The October 9 company-onboarding milestone in #2116 now comes first; the original two-song/two-brief acceptance remains required downstream.

Current onboarding assessment slice — agreed 2026-10-09

Before the downstream two-song evaluation, provide a saved current-state assessment over authorized existing company evidence: subjects and business relationships, known catalog, source/coverage inventory, competing assertions, missing or inaccessible material, human corrections and operation-specific next-action prerequisites. Reuse compile/read and manifest conventions where suitable; use a structured projection preserving multiple scoped claims rather than squeezing rights into one current topic document.

Acceptance: a human and another authorized agent can retrieve the same evidence-backed assessment in a fresh session; every material statement has a source/version or labeled assertion; no cross-workspace leakage; changed or withdrawn evidence updates the affected assessment; missing documents do not prevent saving the known baseline. Prove shared UI/HTTP/MCP behavior. Unpaid deterministic projection/manual review does not require paid enrichment. Model synthesis, if chosen, retains spending gates.

This bounded slice follows the baseline and linked-intake contracts in #2118/#2120/#2121/#2124/#2125/#2140/#2147. The provider dependencies below remain prerequisites for the complete two-song checkpoint, not a requirement to collect new audio/artwork/research before describing already supplied company evidence. No external action or rights approval follows from an assessment.

Customer journey

A manager imports two songs by one artist, then asks for a Sites creative-direction brief and a playlist-pitch brief. Both use the saved facts, but each receives only the context useful for its job.

Customer value and architecture

Prove the reusable engine creates customer value before generating another website.

Scope

  • Compile versioned, authorized briefs from accepted topic documents using consumer topic/evidence/coverage requirements, size limits and allowed media.
  • Save exact brief output and input-version manifests, excluded topics, gaps/readiness and model/prompt references; apply freshness and private-input restrictions.
  • Give the Sites creative director selected branding text and song/artist context, without raw artwork, the full research corpus, irrelevant operations data or previous creative proposals.
  • Provide compile/read brief operations through the same API/MCP; playlist pitch is a second read-only consumer, not a new outreach/email feature.
  • Run a bounded real two-track same-artist evaluation through actual API/MCP, with one injected module failure/resume and full private trace/cost dossier.

Acceptance criteria

  • Two track URLs reuse the artist and compatible research while preserving separate recording/release/visual documents.
  • Both briefs are materially task-specific, compact, source-grounded and honest about lyric/audio coverage.
  • The second feature does not recollect facts that the engine already accepted.
  • Failure/resume preserves successful paid work; provider expense and customer debits reconcile to the request/module attempts.
  • A human review checks accuracy, relevance, omissions and whether context supports a meaningful customer task; model self-approval alone is insufficient.
  • Save a pass/fail report and reviewable evidence. Stop at briefs for review: no website generation or publication in this checkpoint.

Blocking dependencies

These are completion prerequisites, mirrored by native GitHub blocked-by links. Contracts, fixtures and independent scaffolding may begin earlier.

Execution gates

Downstream paid-enrichment acceptance gate. Configure request/pilot budgets, retention, paid-invalid-output treatment and readiness policy before the live run.

Validation

Use actual API/MCP orchestration with two same-artist Spotify tracks and distinct brief consumers; inspect identity, reuse, gap propagation, permission boundaries, prompts/media, output, timing and cost.

Owning implementation

API brief compiler + MCP/docs + private evaluation dossier

Delivery conventions

Shared API business logic serves HTTP, MCP and workers; clients do not duplicate it. Validate input with Zod and use the existing Supabase access layer. Database changes go through database-repository migrations and PRs. Use Vercel Workflows for new durable work. Reuse existing credits and record costs without exposing credentials or private traces. Every owning repository uses a feature branch and PR; distinguish fixture, local, merged and deployed verification.

Activity

  1. added
    enhancementNew feature or request
    priority:P0Required for the first shared Sites and external Widgets release
    on Sep 20, 2026
  2. sidneyswift commented on Nov 6, 2026

    @sidneyswift
    Collaborator

    Partly done. The company-onboarding assessment shipped and was verified in production on October 10 (recoupable/database#96, recoupable/api#992, #2178). Later work added evidence freshness, readable coverage, blank-evidence exclusion and saved-selection checks (recoupable/api#1003, recoupable/api#1196, recoupable/api#1201, recoupable/api#1208, recoupable/api#1209) and a provenance view (#2245).

    Still open: the hosted same-account web/MCP comparison, and the downstream two-song/two-brief checkpoint with real enrichment, failure/resume and human review.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:P0Required for the first shared Sites and external Widgets release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions