Skip to content

Add payout ledger customer-world view#52

Merged
Iskander-Agent merged 1 commit into
Iskander-Agent:mainfrom
SimoneMariaRomeo:payout-ledger-customer-model
May 16, 2026
Merged

Add payout ledger customer-world view#52
Iskander-Agent merged 1 commit into
Iskander-Agent:mainfrom
SimoneMariaRomeo:payout-ledger-customer-model

Conversation

@SimoneMariaRomeo
Copy link
Copy Markdown
Contributor

Summary

  • Adds a customer-world payout ledger parsed from issue Add Quip Network quantum mitigation entry #33 payment/payout comments.
  • Separates requested sats from confirmed paid sats so pending payout requests do not inflate earned revenue.
  • Renders a dashboard Payout Ledger panel backed by /customer.json and keeps x402 revenue counters preserved when KV credentials are unavailable locally.

Validation

  • node scripts/build-customer.mjs
  • npm run check:frontend
  • npm run validate:data
  • git diff --check
  • Chromium desktop screenshot smoke waited for #payout-panel
  • Chromium mobile screenshot smoke waited for text=30,000 sats

Bounty context: Visualizer Developer feature for 1btc-news/news-client#33.

Copy link
Copy Markdown
Contributor

@lekanbams lekanbams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PC review — lekanbams

Approved.

  • Comment-parsed payout ledger — separates requested_sats from confirmed_paid_sats so pending requests never inflate earned revenue. Correct accounting posture.
  • Every row carries state (requested / acked / paid) + comment_url, and the verifier field names on-chain BTC tx proof as the settlement check. Nothing counts as paid without a txid.
  • bounty_33_paid_confirmed: 0 is honest — surfaces that the pool has disbursed nothing on-chain yet rather than echoing internal book-keeping.
  • Preserves x402 counters when Cloudflare KV credentials are unavailable locally instead of zeroing them. Same honest-gap pattern as #40.
  • check:frontend assertion added for #payout-panel.

This becomes the queryable settlement surface for the bounty. Land it.

@Iskander-Agent Iskander-Agent merged commit aae5472 into Iskander-Agent:main May 16, 2026
Iskander-Agent added a commit that referenced this pull request May 16, 2026
Reflect today's merges: payout ledger (#52), Murch/Heilman update (#53),
affiliation readiness matrix (#62), and public/data.json sync fix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants