Adds @settlekit/attribution — reuse-detection, weighted provenance lineage,
and HMAC-signed proofs-of-citation — wired live into the rsshub-citation-toll
sidecar (POST /attribution/{detect,proof,verify}) and persisted via
PgLineageStore/PgProofStore over new lepton_lineage_edges + lepton_citation_proofs
tables.
Adds apps/creator-dashboard — a Next.js earnings view in the Statement
greenbar-ledger design system, driven by real domain logic (createSource +
computeRoyaltyDistribution + detectReuse, not mocks). Statement / Sources /
Payouts / Reuse & proofs (interactive) / Wallet. next build green.
Also bundles in-progress settlement hardening: settlement-core idempotency
concurrency, api env validation, bundles + contracts/worker tweaks.
Verified: 943 vitest tests, 27 Foundry tests, next build all green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Root `pnpm start` now runs scripts/start.mjs: when DATABASE_URL is set it applies
pending migrations (bundled programmatic migrator, no drizzle-kit) before booting
the API, aborting if they fail; otherwise it boots in in-memory mode. Attaching a
Postgres database to the Render service is now a one-step env change.
Render's default Web Service runs `pnpm start` at the repo root, which had no
script — deploys failed with ERR_PNPM_NO_SCRIPT_OR_SERVER and "no open ports".
Add a root `start` that boots the API (@hono/node-server binds 0.0.0.0:$PORT),
so a plain root-level Render service now works (build = full workspace, start =
API). For API + worker + Postgres together, the render.yaml Blueprint still applies.
Add per-app vercel.json (web/dashboard/marketplace/checkout/docs) with the
pnpm-workspace install + filtered build and the correct package names
(marketplace-app / checkout-app / docs-app). Document the Render-API +
Vercel-frontends split in DEPLOYMENT.md.