Skip to content

reporting: publish allow_partial generations over the covered package denominator #1961

Backlog

Description

@rachitm022

Problem

AdCP 3.2 reporting-delivery-config.coverage_requirement admits full and allow_partial. Under allow_partial, a seller publishes revisions over the explicitly covered package denominator. Coverage status stays partial, and covered-subset totals are never presented as whole-buy totals (reporting-coverage.json aggregation rule, reporting-revision.json x-adcp-validation coverage).

On next (10.0.0b24), the ledger producer can only serve full:

  • ReportingConfiguration has no coverage_requirement.
  • producer._withheld withholds every account obligation whose coverage is not full.
  • The source slice request asks for every frozen buy with expected="full".
  • Nothing checks that committed rows cover only covered_package_ids.
  • status_projection raises REPORTING_COVERAGE_INCOMPLETE / action_required for any non-full obligation, whatever the requirement.

A seller whose per-buy roster proves some buys but not others (for example an all_media_buys account-day with one buy of unknown coverage) therefore cannot publish the provable buys.

Proposal

Add ReportingConfiguration.coverage_requirement: Literal["full", "allow_partial"] = "full" and give it the following behaviour.

  • Persistence. It is persisted and part of the generation content hash. It is omitted when full, so existing configurations keep identical bytes and hashes.
  • Publication. Under allow_partial, the producer publishes when the frozen coverage has a covered item. The source is asked only for the covered denominator, and the committed rows are verified to cover only covered packages.
  • Status. Under allow_partial, the status projection does not escalate a partial obligation. Coverage stays partial on the obligation and the revision.
  • No change elsewhere. full and explicit-scope behaviour stay byte-identical.

Downstream: embedded-sales-agent / agentic-api AI-24422.

Activity

  1. added
    no-triage
    on Nov 24, 2026
  2. added a commit that references this issue on Nov 24, 2026
    ab27a72
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-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions