Skip to content

[Release Packs][RP-02] Define the inline brief and release-pack API contract #2256

Closed

Description

@sswiftdrtv

Parent epic: #2254

Work package: RP-02 · Depends on: None; foundational work.

Problem and deliverable

Locate maintained documentation through Marketing source maps; Docs is a compatibility publication. Publish the contract before database/API implementation.

Files

  • marketing/content/docs/source/content-agent.mdx
  • marketing/content/docs/source/api-reference/openapi/content.json
  • api/lib/content/packs/releasePackSchema.ts (new)
  • skills/references/release-pack-brief.md (new)
  • skills/skills/recoup-content-asset-pack/templates/pack-brief.json (new)

Action items

  • Locate maintained documentation through Marketing source maps; Docs is a compatibility publication. Publish the contract before database/API implementation.
  • Define artist identity/version/audio locator, occasion (new_release, anniversary, reissue, remix, rediscovery), original release date versus campaign date, primary action/destination, proposed audience, visual/voice references, constraints and requested deliverables. Artist account ID and complete brand history are optional.
  • Represent known facts, sourced observations, customer assertions, proposed creative defaults and unresolved blockers separately. A generic creative proposal is allowed; fabricated biography, dates, stats or likeness is not.
  • Specify job states draft, needs_input, ready_to_quote, awaiting_approval, running, partial, completed, failed, canceled. Include revision, input fingerprint, per-asset state, source/brief references, quote/budget approval and next action.
  • Specify POST /api/content/packs for create/update intake with idempotency, GET /api/content/packs/{id}, POST /api/content/packs/{id}/estimate, POST /api/content/packs/{id}/generate, and POST /api/content/packs/{id}/retry. Existing GET /content/estimate remains a per-video estimate and is not relabeled as a mixed-pack quote.
  • Define audio/image upload and export read contracts, limits, retention/access, validation, billing errors, quote expiry, stale brief behavior, partial results and cancellation. Caller identity comes from auth, never body account_id.

Done when

  • Zero-roster, unreleased audio-only and catalog occasions are valid contract fixtures.
  • Generation requires a current brief fingerprint plus approved quote/ceiling; plan-only requests do not silently spend or generate media.
  • Public API docs, Zod fixtures and skill brief examples agree on fields, states, dates, errors and required/optional inputs.

Validation

  • Contract fixtures: no artist, duplicate artist name, wrong remix, missing audio, unknown date, anniversary, missing research, stale quote and invalid transitions.
  • Run pnpm docs:check and pnpm docs:build, validate the changed OpenAPI, then run the existing Marketing-to-Docs provenance gate before compatibility publication.

Source references and boundaries

Re-read current main and existing related PRs before implementation. New files listed above are proposed implementation locations. Use the owning repository's feature branch and PR; update the parent PR matrix as soon as a PR opens. No shipped or live behavior is implied by this ticket. Store/legal/provider and real-account evidence remain distinct from source checks.

Activity

  1. sidneyswift commented on Oct 20, 2026

    @sidneyswift
    Collaborator

    The inline brief and API contract are shipped. Marketing PR203 and additive file attachment contract PR204 are merged and deployed; API fixture PR1063 is merged. Docs compatibility publication PR387 is merged and the live release-packs route returns HTTP200. The contract covers all five campaign occasions, optional artist ID, current-brief/quote approval and plan-only behavior. Remaining live generation and host/store acceptance are explicitly tracked by RP-09 and the epic.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions