⚠ INTERNAL — Operator UX mock · Design preview of V2 development path · demo-wired ≠ production-live · back to dev guide
Polygon · pUSD 10
📓 Developer Guide 📋 Reason Codes 📈 Shadow Mode
JD John Doe · Admin

AttributionRevenueReporter

gov.attributionrevenuereporter
Governance & Ops planned Spec started frozen

AttributionRevenueReporter reconciles builder-code rebates with internal fill records and publishes a daily auditable SettlementReport.

What it does

AttributionRevenueReporter reconciles builder-code rebates with internal fill records and publishes a daily auditable SettlementReport. Retained 7 years for financial and regulatory compliance.

Pipeline placement

runs after: BuilderAttribution reconciliation cycle AttributionRevenueReporter runs before: Nothing — runs daily post-close

Applies to: All builder-code attributed fills within the reporting window

Why it matters

If this failsConsequence
Rebate not reconciledBuilder-code fee rebates may be under- or over-reported; financial records are inaccurate.
Per-strategy slice missingRevenue attribution to individual strategies is impossible; resource allocation decisions lack data.

Inputs

Polymarket inputs

InputSourceRequiredUse
Polymarket builder-code volume and rebate reportdatarequiredFetch official daily rebate figures for reconciliation.
Internal fill records from attribution loginternalrequiredCompare with official report to compute drift.

Internal inputs

InputSourceRequiredUse
BuilderAttribution reconciliation outputgov.builderattributionrequiredSource of quarantine status and drift delta for each reconciliation window.
ExecutionReport streaminternal.report_busrequiredAggregate builder_fee_pusd per strategy and per user for the daily report.

Authority

What this bot is permitted to do

Explain

State

Readiness

Spec started

Status

planned

Class

Governance Service

Default mode

shadow_only

Developer owner

Polytraders core

Capital impact

Indirect

Reason codes emitted

CodeSeverityMeaningAction
REVENUE_REPORTINFODaily attribution revenue report generated and emitted.Log and store.
REVENUE_DRIFT_DETECTEDWARNDrift between internal and official rebate figures exceeds threshold.Emit alert; quarantine report pending review.
REPORT_DEFERREDWARNData API unavailable at report time; retry scheduled.Emit WARN; schedule retry.
RETENTION_BELOW_REGULATORY_MINIMUMWARNretain_days < 2555.Emit WARN; refuse config change.
KILL_SWITCH_ACTIVEWARNKillSwitch active; report notes trading was halted during window.Include kill-switch note in report.

Used by

Reverse index — strategies that currently reference gov.attributionrevenuereporter. If you change this bot's authority or reason codes, these strategies must re-pass shadow.

StrategyStateActivity
BTC weekly — close-aware quotesdemo-wiredlast triggered 31m ago

Showing 1 of 1 · demo-wired ≠ production-live

Why this matters

Governance & Ops bots does NOT propose, approve, or block trades; only observes and reports. Understanding the authority boundary prevents misuse and makes promotion-gate reviews faster and more reliable. View raw spec JSON →
Polytraders Operator UX Mock · INTERNAL · demo-wired ≠ production-live · the plan · reason codes · shadow-mode pipeline
⚙ Page Configuration
Current page settings
Loading configuration…