Skip to content

refactor(partner): wave1/2 hard-cut capacity dual-read and dead aliases - #55

Merged
brendadeeznuts1111 merged 1 commit into
mainfrom
chore/wave1-dead-code-dual-read-cut
Aug 10, 2026
Merged

refactor(partner): wave1/2 hard-cut capacity dual-read and dead aliases#55
brendadeeznuts1111 merged 1 commit into
mainfrom
chore/wave1-dead-code-dual-read-cut

Conversation

@brendadeeznuts1111

Copy link
Copy Markdown
Owner

Summary

Wave 1 + Wave 2 cleanup after the #47#54 rename series:

  • Delete orphan skin-account-guard.ts facade
  • Hard-cut deprecated sport-binding aliases (SKIN_SPORT_BINDINGS, listSkinSportBindings, skinHasSportCoverage, skinsWithBindings, DEFAULT_COVERAGE_SKIN, SkinSportBinding, bookOffersSkin)
  • Capacity SSOT: meta.liveProducts only — ignore legacy meta.skins / defaultSkin / betting_accounts.skin
  • TOML: live_products only (legacy skins = ignored)
  • Rename: desk snapshot skinCountproductCount
  • Migrate fixtures + SEAT-OPS / domain docs

Claim → evidence

Claim Evidence
Full suite green pre-commit bun run check — 1497 pass
Dual-read removed out-identity + toml-config tests assert skins ignored
Product count rename ledger.writeDeskSnapshot + finance-cron + risk-health test

Test plan

  • Partner suite + domain matrix
  • Full pre-commit (1497 pass)

Operator note

Any remaining TOML with skins = must move to live_products = before seed (capacity will otherwise fall back to wire "2" at $0).

Local merge proof

Commit f5aef18 — pre-commit ok

Delete skin-account-guard facade; drop deprecated sport-binding aliases
and bookOffersSkin; capacity reads meta.liveProducts only (ignore
meta.skins/defaultSkin/skin column); TOML live_products only; rename
desk_snapshot skinCount→productCount; migrate fixtures/docs.
@brendadeeznuts1111
brendadeeznuts1111 merged commit 62e653d into main Aug 10, 2026
@brendadeeznuts1111
brendadeeznuts1111 deleted the chore/wave1-dead-code-dual-read-cut branch August 10, 2026 05:58
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.

1 participant