Skip to content

Embedded Vibe usage attribution: ACP usage → quota gatherer with call_source=vibe_code parity #1713

Closed

Description

@dezren39

Part of the Vibe-embedding epic (ACP-hosted vibe-acp).

Scope

Feed the embedded path's usage into the same quota pipeline the shim feeds today, so the burn plan and marts see one Mistral/Vibe pool regardless of route:

Acceptance

  • An embedded turn's tokens appear in the gatherer's records within one gather cycle, attributed identically to a shim turn of the same model.
  • A side-by-side day of mixed traffic (some sessions shim, some embedded) reconciles to a single Vibe total in the quota view — no double-count, no orphan rows.

Activity

  1. dezren39 commented on Nov 5, 2026

    @dezren39
    Author

    CLOSED with parent epic #1709 — direction corrected by Drew (2026-11-05): *-direct providers emulate the first-party wire; no ACP embedding. See doctrine issue #1717. The auth/usage concerns that remain valid (keyring credential lifecycle, call_source attribution) are carried in #1717's status and audit sections.

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