Repository navigation
Description
Portable workpapers are useful, but a hosted customer must be able to retrieve, review and continue the same work through shared product operations without an undocumented local script.
Parent: Catalog diligence and operations epic. Implementation status: progress is in review; the scoped update below distinguishes executable work from remaining acceptance.
Implementation area: API, database and existing app/Context integration. Priority: P1 within this epic, not a change to company-wide priority. No individual assignee is implied.
Goal
Expose catalog case and stage operations through shared API and MCP.
Implementation progress — 2026-10-22
Skills #223 implements the portable portfolio. Shared persistence is in Database #120 and API #1112; canonical documentation is in Marketing #226.
Database #120 and API #1112 implement shared authorized case save/read/list, bounded typed contracts, no-store responses, source-withdrawal behavior and standard MCP tools. Canonical Marketing documentation is in #226. This slice stores assertions only; stage calculators/provider execution APIs and authenticated deployed checks remain open.
This issue remains open. PR creation and synthetic checks do not satisfy unmerged, deployed, private-account or provider-outcome acceptance criteria.
Scope and deliverables
- Extend existing scoped Context/source operations with catalog case, assessment, finding, calculation, proposed action, attempt and receipt reads/writes required by the implemented stages.
- Expose one domain implementation through HTTP and MCP with validated contracts, consistent permissions, pagination and stable IDs; reuse existing storage and Vercel Workflows where durable execution is needed.
- Support local artifact import/export and input/rule-version compatibility; prevent divergent accounting between hosted and portable paths.
- Connect existing rights/royalty/repertoire UI work to these operations rather than creating new presentation backends; document capability discovery and partial support.
Acceptance criteria
- Two authorized sessions can retrieve and continue the same case; unrelated workspaces cannot read or mutate it.
- HTTP/MCP behavior agrees on validation, authority, idempotency and returned status; unavailable provider operations cannot appear successful.
- Local and hosted calculations match on the same inputs/rules, and unsupported field imports remain visible.
- Deployed API/schema and authenticated behavior are verified separately from merged code and local tests; no new Trigger.dev job or parallel identity/credit ledger is introduced.
Dependencies and sequencing
Completion prerequisites: CATD-02 — #2279, CATD-04 — #2281.
These are completion/integration gates, not a prohibition on parallel fixtures, documentation or independent branches. Use documentation/contract → required database change → API/skill implementation sequencing. Portable file review does not wait for unrelated hosted or provider access. Reuse existing Context/UI ownership linked below; add only missing domain behavior.
Validation and delivery evidence
Schema/auth/contract tests, hosted private readback and cross-client continuation; coordinate existing Context tickets at the missing-operation level rather than blocking on the full epic.
Link owning-repository PRs and exact tested versions here. Record fixture-tested, implemented, deployed, connected and live-verified separately. Keep private customer originals and derived account details out of public issues/fixtures. This planning ticket does not authorize unrequested provider submissions, messages, payments, merges or deployment.
Source references
- [Context] Expose context requests and lifecycle operations through shared API and MCP #2125
- [Epic] Context Engine: reusable music business context across every input #2116
- [Intelligent UI] Design agreements, rights, licensing and collection workspaces #2233
- [Intelligent UI] Design royalty, income, financial-close and reconciliation workspaces #2234
- [Intelligent UI] Build repertoire identity, metadata reconciliation and release-delivery views #2235
Activity
sidneyswift commentedon Nov 6, 2026
Merged: case save/read/list over HTTP and MCP (recoupable/database#120 76bad619, recoupable/api#1112 b828acc3) and development-only entitlement parity (recoupable/api#1144 28c1886a, recoupable/api#1150 88500729; production refuses both).
Open and now conflicting with main: recoupable/api#1173 (prepare an audit from a saved assessment), with recoupable/docs#15 and #2363 queued behind it.
Remaining: a production migration check, a signed-in two-session continuation check, and stage calculators that run in production. Stays open.