Skip to content

[Catalog][CATD-06][P0] Build evidenced royalty entitlement and recoupment workpapers #2283

Open

Description

@sidneyswift

The existing NPS/NLS bridge accepts reported values and manual adjustments; it is not a contract-to-accounting engine. An anomaly cannot be called an underpayment without the relevant rate, basis, deductions and period.

Parent: Catalog diligence and operations epic. Implementation status: progress is in review; the scoped update below distinguishes executable work from remaining acceptance.

Implementation area: shared calculation scripts and rule contracts used by reconcile/review. Priority: P0 within this epic, not a change to company-wide priority. No individual assignee is implied.

Goal

Build evidenced royalty entitlement and recoupment workpapers.

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.

Fixed-formula entitlement/commission/adjustment/effective-period/recoupment workpapers are implemented with evidence references and exact decimals. Advanced escalators and cross-collateralization require reviewed manual workpapers; private contract conformance remains 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

  • Implement versioned rules for revenue basis, controlled/participating interest, commission, deductions, advances, recoupment, cross-collateralization where explicitly supported, reserves, releases, withholding and reversals.
  • Support effective-period/territory changes, escalators and separate producer/artist/publisher/master participation; preserve missing terms as blockers to the affected calculation.
  • Produce reported-to-expected bridges with per-line/aggregate lineage, explained variances and sensitivity to unresolved assumptions.
  • Include overpayments, liabilities and clawbacks as well as underpayments; keep potential exposure, recognized adjustment and recovered cash distinct.

Acceptance criteria

  • A percentage without its contractual base cannot yield a definitive entitlement.
  • Publishing receipts cannot establish master points or master ownership; producer LOD and contractual producer royalty bases remain independent.
  • Opening balance + advances/costs - applicable earnings + supported adjustments reconciles to closing recoupment balance with source evidence.
  • Rules do not double-deduct administrator shares or sum overlapping claims; unsupported terms produce an explicit manual workpaper rather than invented math.

Dependencies and sequencing

Completion prerequisites: CATD-05 — #2282, CATD-12 — #2289.

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

Golden contract/statement pairs for rate changes, reserves, recoupment, sub-cent earnings, negative corrections and incomplete schedules; independent numeric review.

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

Completed source repairs and remaining acceptance

The original Skills #223 implementation is merged. Two additional bounded CATD-06 repairs are now merged after independent source review:

  • Skills #231, merge e7710f348684d2f921d1f8e530bf110a7c96ea42: hard-linked result paths cannot overwrite entitlement/remittance source evidence.
  • Skills #232, merge 94bd8241af1703fe86238876d1004dfa30eb67e2: explicit adjustment/movement currencies must match their parent line/account; malformed or conflicting codes leave the affected calculation unresolved. Omitted currency retains the parent convention; matching explicit currency preserves results.

The normal automatic publisher succeeded and emitted 2026.1025.53 from the exact latter merge. This is release observation; emitted-archive qualification is owned separately and not claimed here.

Still open: representative private contract/source conformance, reviewed entitlement bases/effective periods/recoupment movements, and any complex escalator or cross-collateralization workpaper outside the implemented formulas. Calculated variances are not recognized debts or recovered cash. This source release performs no hosted/account/provider/financial operation and does not complete the entire ticket or epic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    codexenhancementNew 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