•Added a dedicated acquirer/institution overview page: entity facts, funds flow, control environment and an honest status section in the same dark design system. Linked from the footer and sitemap; no processor name or inflated claim on the page.
v1.376.122
2026-11-25
•Fixed the merchant/admin table empty-state heading level: section messages now render as h2, so Payments, Customers and Subscriptions no longer skip from h1 to h3. Source guard pins the outline.
v1.376.121
2026-11-25
•Fixed a 34px horizontal overflow at 768px: the fee table min-width inflated its grid column; the wrapper, tilt surface and card now carry min-width 0 so the card scrolls internally.
v1.376.120
2026-11-25
•Replaced the flat ledger panel with a faceted crystalline mountain: layered glass planes, luminous ridge edges and a reflective plinth, so the section reads as a 3D object rather than a grid.
•The 39 card sits to the right of the summit, keeping the model visible while staying fully readable.
v1.376.119
2026-11-25
•Rebuilt the ledger section as a sculptural CSS-3D glass monolith: 39 jurisdiction chips orbit behind it and the 39 card floats in front. Scroll rise and pointer tilt are damped frame-rate-independently; the old time-based spin and chip curtain are gone.
•Hero and closing CTA gain faceted 3D crystals that rise out of the page using the same scroll-depth language. Reduced-motion visitors keep static composed poses.
v1.376.118
2026-11-25
•Homepage intro veil now unmounts after its fade instead of lingering in the DOM forever: the completion timer moved into its own effect so the phase change no longer cancels it.
•Added a source guard pinning the two-phase intro lifecycle and the 350ms fade timing.
v1.376.117
2026-11-25
•Homepage feature grid now tiles three complete rows on desktop: eight featured tiles and three compact ones, with no empty column beside the last card.
•Added checkout-under-your-brand and subscriptions capability cards using copy already published elsewhere on the site; no new claims.
v1.376.116
2026-11-25
•Homepage consistency pass: the feature grids now fill complete rows (six featured tiles plus three compact ones), and phone visitors get a compact Pricing/Trust/FAQ menu in the sticky header.
•Moved the exit survey to 85% scroll so it no longer covers the switching section, restored the missing spaces in heading textContent, enlarged the fee fine print to 11px and unified the Polar fee notation.
v1.376.115
2026-11-25
•Public surface audit: trust, compare, developers, status and directory render cleanly; /migrate had the same orphan-tile pattern the homepage used to have — the final capability card now spans both columns.
v1.376.114
2026-11-25
•Visual cohesion pass: shortened the hero to two clean lines, dimmed and shortened the ridge parallax so it reads as atmosphere instead of wireframe, and rebalanced the feature grid into five featured tiles plus four compact ones with no empty quadrant.
•Moved the 3D ledger core into the open space right of the chip ring (Z360, left 58%) so the 39 label stays fully visible; reduced chip radius, tightened the hero headline size so it holds two lines, and forced fee-math figures onto one line with a 720px min-width and horizontal scroll so columns never collide.
v1.376.113
2026-11-25
•Real scroll-driven 3D on the homepage: hero object, payout cards, feature bento, how-it-works steps, ledger core, fee card and CTA now translate in Z, rotate in X/Y/Z and scale as the wheel drives them through sections.
•One passive rAF engine writes progress to CSS custom properties, pauses off-screen and halves depth on mobile; reduced-motion gets static poses.
•Added native CSS scroll-driven enhancement with animation-timeline: view() (Baseline, newly available Oct 2026) as progressive enhancement over the JS engine, with no new dependencies.
v1.376.112
2026-11-25
•Fixed the homepage hero: the gradient second line was invisible because background-clip on the parent did not paint nested word spans. Each word now carries its own gradient.
•Removed the protruding pseudo-sheet layers behind the fee-math card that rendered as stray boxes at the card edges; the surface keeps its pointer tilt without the artifacts. Mobile header identity and actions no longer wrap onto two lines.
v1.376.111
2026-11-25
•Skill-driven design audit: re-composed the feature grid into three featured bento tiles plus a de-emphasised compact capability list, fixing the equal-weight feature-tile pattern without adding claims.
•Added a gold hairline treatment to the second featured tile and a two-line clamp for supporting copy. Live DOM audit on /, /pricing and /receipt: one h1, zero duplicate ids, zero unnamed controls, zero horizontal overflow at 1440px and 390px.
v1.376.110
2026-11-25
•Rolled the anomaly language beyond the homepage: /pricing and /receipt now share the kinetic headline, grain and a quiet aurora atmosphere; pricing tiers get the same 3D pointer tilt.
•KineticHeadline gained a configurable delay so the homepage still waits for its intro veil while other public pages animate immediately.
v1.376.109
2026-11-25
•Big homepage update: rewritten hero copy (proof-first, human voice), kinetic word-by-word headline, three-layer alpine ridge parallax, animated ledger counters and a slow signal marquee.
•New depth cues: film-grain overlay, 3D pointer tilt on bento cards and a layered 3D surface behind the fee-math card. The jurisdiction ledger scene stays as the anchor moment.
•All new motion is transform/opacity only, idle-safe and disabled under prefers-reduced-motion; no animation library was added.
v1.376.108
2026-11-25
•Added a dated proof ribbon above the hero — three verifiable figures, an as-of date and a direct link to the published receipt.
•Feature cards now use bento geometry: the first capability spans a 2x2 tile, driven by grid structure rather than more copy. Motion durations are consolidated into four CSS tokens.
•Added docs/HOMEPAGE-DIRECTION.md: evidence-backed art direction (25 Nov 2026 trend review), tokens, type scale, layout rules and anti-patterns for public and product surfaces.
v1.376.107
2026-11-25
•Whole-homepage modernization pass: fee math, switching, FAQ, verify-us and final CTA now use the same reveal-and-heading-rule language as the rest of the page.
•FAQ cards get a subtle hover lift, the final CTA gets a slow aurora, and the hero gradient drifts gently; all decorative motion is reduced-motion safe.
•Fixed the 3D ledger core mirroring its label when the scene rotated past 90deg — the card now counter-rotates and always faces the reader.
v1.376.106
2026-11-25
•Homepage gains a dense CSS-3D ledger scene: 97 jurisdiction chips across three rings (outer, counter-rotating inner, tilted latitude), two elliptical orbits and a floating gold-rim core card with scroll-driven spin and pointer tilt.
•One rAF loop writes three custom properties and fully idles when the scene leaves the viewport; reduced-motion visitors get a static 3D pose. No WebGL, no animation library, no new dependency.
v1.376.105
2026-11-25
•Homepage polish, second pass: the hero ambient glow now drifts with the existing scroll zoom, hero copy settles once after the intro veil, card grids gain a slight scale on reveal and a 2px hover lift.
•How it works now draws one hairline through the three steps and scales their numbers into place; all of it is transform/opacity only, with reduced-motion and no-JS exits.
•Kept deliberately subtle after owner feedback — no pinned video stage, spring cards or scroll-jacking; the page stays readable and fast.
v1.376.104
2026-11-25
•Public homepage motion pass inspired by a full teardown of commas.com — original effects, no copied copy, art or assets.
•The existing scroll-progress rail now runs on the homepage; the hero product shot rises and settles over the first 300px of scroll; below-fold sections and cards reveal with a staggered lift; feature tiles carry a dot-grid cursor spotlight.
•All motion is dependency-free CSS/React, transform/opacity only, rAF-throttled and passive; reduced-motion visitors and no-JS visitors see plain, fully visible content.
v1.376.103
2026-11-25
•KYB country registry corrected against primary official sources in 50 jurisdictions: UBO access notes for CZ and Ireland post-ECJ, Taiwan and Korea business identifiers, and dead/misleading registry URLs for Canada, Brazil, Denmark, Estonia, Spain, Japan, Mexico and Poland.
•Country-specific labels now feed both KYB review and the encrypted tax-identity capture form from one registry; four source guards pin the corrections.
v1.376.102
2026-11-25
•Full statutory tax-identity capture: country-specific TIN labels across 50 jurisdictions, date of birth for individuals/beneficial owners, tax residence, ID document details and activity flag, stored as an AES-256-GCM envelope with only metadata returned by the API.
•New encrypted TaxIdentityRecord table with tenant RLS, audit-logged save/delete without PII, and a merchant page at /tax-identity. Capture is reporting readiness only — no DAC7/1099 return is filed; counsel scope and registrations remain owner-gated.
v1.376.101
2026-11-25
•New /legal/outlook page: dated, informational regulatory outlook that separates law in force, enacted future dates and proposed/uncertain rules, with primary sources and an explicit "not legal advice" notice.
•Operative Terms no longer promise remittance in jurisdictions where we are not registered; the wording now states calculation/collection everywhere and remittance where registered and required, with the outlook cross-linked.
v1.376.100
2026-11-25
•New Funds & holds page: seven plain-language payout checks, recent platform hold events, balance split and direct fix links — reachable from the wallet and the merchant sidebar (g f).
•The new endpoint reports only platform-side facts; it explicitly makes no payout-date, bank-balance, acquirer-reserve or SLA claim. Hold events are the merchant's own audit rows, never guessed from a risk score.
v1.376.99
2026-11-25
•API-only agent intent evidence: v1 checkout sessions created with a scoped key now carry a signed key→session→payment receipt record, returned to the caller and stored in payment metadata.
•Dispute evidence bundles, PDFs and submissions include that record with explicit "internal authorization evidence" wording; tampered or expired records are flagged, never presented as valid. No new key material, schema, protocol conformance claim or PayFac positioning.
v1.376.98
2026-11-25
•New Settlements page: a monthly ledger statement with sales, platform fees, refunds, lost disputes and payouts grouped by currency, a current-balance snapshot, month selector, filters and CSV export.
•Statement is explicitly ledger-derived — not a bank statement, invoice, filing or remittance proof — and never converts currency. Refunds of earlier-month sales are scoped through the merchant payment relation so they are not silently dropped.
v1.376.97
2026-11-25
•New supplier-facing Tax Evidence page: tax lines from your own completed sales grouped by currency, year and buyer country, with VIES evidence and reverse-charge flags, filters and a safe CSV export.
•Two tenant-scoped read-only endpoints back the page. The UI states plainly that this is collection evidence, not filing or remittance, and performs no currency conversion.
v1.376.96
2026-11-25
•Analytics feeds now fail honestly: named surfaces that do not respond are reported in a banner and their KPI cards show — instead of $0.00; the CSV export carries the feed_status so a partial export cannot masquerade as complete.
•Live DOM audit fixes: removed the stale /wallet → /royalties redirect so the existing money-position page is reachable, removed the 27px mobile overflow on /developers, added the missing h1 to Tax Center loading/error states, and named the remaining payout amount field.
•Footer headings are h2 again (no h1→h3 skip on checkout) and footer links have 24px minimum height; developer quickstart cards reflow at small widths.
v1.376.95
2026-11-25
•New public Developer Portal at /developers: live endpoint explorer with required scopes, curl examples, outbound webhook catalog and operating rules, linked from the footer and sitemap.
•The catalog and a generated OpenAPI 3.1 document come from two new read-only API endpoints backed by one shared registry; a guard test fails if an advertised endpoint is missing from the /v1 route file.
v1.376.94
2026-11-25
•New admin Agent Activity console: scoped API keys with daily spend ceilings, near-cap and stale-counter warnings, plus every checkout attributed to an agent key, held reservations and failed attempts.
•Two read-only admin endpoints return the joined view and a safe CSV export. The page is reachable from the admin navigation and command palette; no new authorization, mandate or agent-protocol claim is made.
v1.376.93
2026-11-25
•New buyer-facing Tax & Invoice Center: one token-gated page with all receipts, tax lines and VAT evidence, grouped by currency/year/country with per-year and per-country filters.
•Two new portal endpoints (JSON summary + accountant-safe CSV export) aggregate only the token owner's payments; no currency conversion, no invented totals. The customer portal links straight to the new page.
v1.376.92
2026-11-25
•Buyer portal now offers a machine-readable invoice export: UBL 2.1 XML draft with derived net/tax/total, escaped buyer details and reverse-charge handling, token-gated like the PDF.
•It is explicitly a draft — private customization URN and visible note; no EN 16931 validation, Peppol transmission or tax filing is claimed. This is 2027 e-invoicing readiness, not conformance.
v1.376.91
2026-11-25
•Live DOM audit fixed an 8px horizontal scroll on the homepage and gave accessible names to admin and merchant search, filter and price fields that previously relied on placeholders or unassociated labels.
•Support first-response telemetry now reports a capped sample instead of silently undercounting when more than 500 tickets fall in the 90-day window.
v1.376.90
2026-11-25
•Support queue now measures first response time: trailing-90-day median/p90 from the first human reply, with unanswered tickets shown as awaiting rather than fast.
•The number stays internal until at least 30 measured replies; the admin page shows an honest zero state and never promises an SLA.
v1.376.89
2026-11-25
•New public-copy guard fails on claims we cannot measure yet: worldwide remittance, all-50-states, live local payment methods, live sales, SOC 2 / ISO / 99.9% uptime, absorbed chargeback loss, invented adoption numbers and guaranteed payouts.
•The guard also scans customer-facing email copy and public health keys; each rule self-tests a positive example. A full audit of live copy found no offending claim, so no user-facing wording changed.
v1.376.88
2026-11-25
•Second payment option for our own PRO/BUSINESS plans: bank transfer with 1 / 6 / 12-month terms (full price, -10%, -20%), US USD details or EU IBAN from Airwallex.
•Inert until Airwallex receiving credentials are configured; plan activation happens only on a verified payment_intent.succeeded, never at intent creation. 3-day reversal window recorded; chargebacks notify admin without auto-demotion.
•New tenant-scoped purchase ledger with RLS and a field-reference test suite.
v1.376.87
2026-11-25
•Exit pack v2: the existing GDPR export now includes license keys, payment links, usage meters/events, support tickets, an audit trail and a migration field map — one file to actually take to another provider.
•Webhook signing secrets stay excluded from the export; the file carries an explicit rotate-on-receipt note.
v1.376.86
2026-11-25
•Fee calculator now shows an all-in monthly cost: payout fees, cross-currency FX, instant settlement and dispute fees computed from the same constants as the live fee engine; quote links carry the new inputs.
•Pricing extras are mirrored from fees.ts and pinned by a cross-file test so public cost math cannot drift from the money engine.
•Migration page now carries the verified Lemon Squeezy shutdown timeline (sign-ups closed 16 Nov 2026, processing ends 31 Mar 2027, four-to-eight-week move, no automatic redirects).
•Owner move: full launch shifted one week later, from 1 Dec 2026 to 8 Dec 2026 — homepage countdown, veil, admin readiness gate labels and docs navigation updated.
v1.376.85
2026-11-25
•Indexed all 40 previously orphaned docs in docs/README.md under curated topic rows (legal/KYB, launch artifacts, processor activation, research).
•Added a docs-index test: every markdown doc must be listed and every relative link in the index must resolve. Mutation-tested with a temporary orphan doc.
v1.376.84
2026-11-25
•Added a public-copy policy guard: any new processor name in web UI copy, llms.txt, outbound emails or health JSON keys fails the web test suite. Reviewed existing mentions are an explicit allowlist.
•Mutation-tested the guard with a temporary drift file (failed as intended, probe removed). No product behavior change.
v1.376.83
2026-11-25
•Added six webhook processor tests covering absent/partial card data, 3DS authenticated vs attempted, failed charge and account lookups, sparse disputes with malformed metadata and thin-event ID fallback.
•stripeWebhookProcessor branch coverage 62.5 → 77.27; overall service branches 83.48 → 84.55 (2.55pt gate headroom). No production behavior change.
v1.376.82
2026-11-25
•Added branch tests for ownedPlanContract (blank/mismatched email, GraphQL userErrors, missing payloads, pre-prefixed GIDs, default statuses) and planRenewalRecovery (null periodEnd, no merchant, failed delivery, audit failure, account-URL fallback).
•Branch coverage rose from 83.00 to 83.48; headroom over the 82 gate is now 1.48pt. Service behavior unchanged.
v1.376.81
2026-11-25
•Decomposed the last giant route file: adminProcessors.ts 1,039 -> 37 lines, with verbatim route bodies in registry, event, config, insights and simulate modules plus shared constants/auth.
•Updated the source-scan route-guard test to follow the registry module. Route parity 15/15, guards, 345/345 inventory and full suite verified.
v1.376.80
2026-11-25
•Decomposed the 1,233-line adminFinances route module into a 30-line orchestrator plus stats, money, report and tax domain modules and a small shared auth/masking helper. All 39 route bodies were sliced verbatim with identical paths.
•Verified route parity 39/39, guard enforcement, 345/345 inventory both directions and the full test suite before release.
v1.376.79
2026-11-25
•Performed a restore drill from the fresh 03:15 dump into an isolated scratch database: table/merchant/payment/migration counts matched prod exactly, no orphan payments or API keys, and the scratch database plus temporary dump were deleted.
•Updated backup, readiness and status documentation with the dated evidence; no production data was modified.
v1.376.78
2026-11-25
•Decomposed the 1,548-line merchants route module into a 506-line orchestrator plus analytics, money and plan domain modules and a small shared auth/identity helper. Route text was sliced verbatim; all 56 merchant routes remain registered with identical paths.
•Taught the docs inventory checker to follow explicit register…Routes sub-modules so decomposed route files stay visible at the same prefix. Route parity, 345/345 inventory and full test suite all verified.
v1.376.77
2026-11-25
•Ratcheted the armed branch coverage floor from 81 to 82 percent. Measured branches are 83.00 percent, leaving 1.00 point of headroom.
•Proved both directions before committing: c8 exits 1 at --branches 84 and exits 0 at --branches 82 over the same collected coverage data. Synced every current-state gate reference in the docs while leaving historical release notes untouched.
v1.376.76
2026-11-25
•docs:check is now bidirectional: it verifies registered routes are documented and that every Appendix A inventory entry still maps to a registered route, catching renamed/removed routes that hand prose used to hide.
•Proved both directions with a tampered inventory (2 stale entries + 1 missing entry → exit 1) and a restored clean run (345/345, zero stale).
v1.376.75
2026-11-25
•Admin Mission Control now shows an agent spend guard: live keys, capped keys, reserved amount today, keys at 80%+ of their ceiling, uncapped keys and stale counters, plus the five highest reservations with supplier links.
•Added a read-only requireAdmin endpoint GET /api/admin/agent-keys and a pure summarizer. Yesterday counters are reported as zero today, matching the lazy reservation reset; three unit tests pin the semantics.
v1.376.74
2026-11-25
•Cleared the three high-severity production dependency advisories with a scoped npm override of effect to the patched 3.22.5, keeping Prisma 7.10.1 instead of the major downgrade npm audit suggested. npm audit --omit=dev now reports zero advisories.
•Verified Prisma client generation and schema validation after the override; full gate chain and live smoke remain green.
v1.376.73
2026-11-25
•Wired the existing read-only load harness as npm run load:test, with a guard that refuses non-loopback targets unless explicitly acknowledged.
•Ran it locally: 200 GET /api/health requests at concurrency 20, 873 RPS, 200/200 OK, p95 43 ms. Corrected the readiness checklist that wrongly claimed the harness measured the reservation write path; that remains an owner-gated sandbox test design.
v1.376.72
2026-11-25
•Fixed a cleanup defect in the off-host backup script: a failure after decryption could leave a plaintext dump in the temp directory because the RETURN trap does not fire on exit(). A single EXIT trap now removes both temp directories on success and failure.
•Proved the fix with a failure-after-decrypt probe (no leftover temp dirs) plus the normal self-test; refreshed the production-readiness measurement stamp.
v1.376.71
2026-11-25
•Added an inert encrypted off-host backup script (AES-256 via gpg) with checksum verification before and after copy, retention, and fail-closed guards for missing/loose passphrase files and stale dumps; npm run backup:offsite:selftest proves the round-trip locally.
•Documented activation as an owner-gated step: no destination or passphrase is stored in the repo and no production dump has left the box.
v1.376.70
2026-11-25
•Published a machine-readable agent-commerce readiness manifest at /.well-known/agent-commerce.json and an honest protocol-status page at /docs/AGENTIC-COMMERCE: ACP, UCP, AP2 and SPT are explicitly not implemented, and chargeback allocation for agent purchases is unsettled.
•Synced /llms.txt with all 15 MCP tools (list_subscriptions and list_settlements were missing) and added the manifest link to /mcp. A web test now fails when the MCP tool list drifts again.
v1.376.69
2026-11-25
•Admin onboarding review now asks for a canonical rejection reason plus optional detail; the composed reason is stored on the application, shown in the portal, included in the decision email and recorded in the audit metadata.
•Rejected suppliers get a one-click "Request human review" button that files an account-category support ticket with the decision reason, using the existing tenant-scoped ticket API.
v1.376.68
2026-11-25
•Added an explicit dual-run playbook to /migrate: keep existing subscriptions with the current provider, sell new orders here, reconcile two ledgers during the transition, and move each buyer at renewal. States plainly that no provider can port card details and that legacy renewals keep their original seller of record.
v1.376.67
2026-11-25
•Published an effective-rate table on /pricing: what the platform fee actually is at $5, $19 and $99 for FREE, PRO and BUSINESS, derived from the same pricing constants the API fee engine uses.
•Removed duplicated fee literals from the pricing cards and fee calculator — both now derive from lib/pricing.ts so a fee change cannot leave public copy behind.
v1.376.66
2026-11-25
•Added the five test files that existed on disk but were missing from the explicit test:unit file list (dashboardCapitalTimeline, disputeEvidence, documentStore, licenseKeys-p2034, planContractBillingWorker). The standard suite now runs the same 1028 API tests the coverage glob already ran.
•Updated the documented suite count to 1028 API + 81 web + 5 MCP.
v1.376.65
2026-11-25
•Removed a 729-line TSX customer-portal monolith that was parked in docs/IDEAS-2026-11.md and rendered as an Ideas backlog page; the live portal is the decomposed page plus components/portal/*, including FeedbackCard.
•Merged the two roadmaps into 06-ROADMAP.md, dropped shipped items and the reversed public-agent-index rejection, and corrected the stale CI claim in PRODUCTION_READINESS.md.
v1.376.64
2026-11-25
•README no longer advertises a CI that never starts: GitHub Actions jobs currently stop before execution on an account billing limit, so the badge is replaced by a note pointing at the local gate chain.
•One local `npm run verify` command now runs lint, guard/attempt/doc checks, the full test chain and coverage, the web build and version consistency; the 15-route public smoke remains separate.
v1.376.63
2026-11-25
•Mission Control queue cards no longer hide their own titles: queue headings and item title/meta lines that ellipsis-truncate now carry title tooltips, so collapsed-then-expanded queues stay readable at narrow widths.
v1.376.62
2026-11-25
•Truncated dashboard text is now readable on hover: setup-checklist hints and payment-link names that overflow with an ellipsis carry a native title tooltip instead of silently hiding the rest of the line.
v1.376.61
2026-11-25
•Dashboard figures that are presented as facts no longer round money away: top customers, best sellers and the renewal forecast now show cents when present ($99.50 instead of $100) while whole-dollar amounts stay clean. Shared pure formatter with 3 tests.
v1.376.60
2026-11-25
•Every remaining visible select in the merchant and admin portals now has an accessible name: payment sort, new-subscription product, payment-link price, API-key mode, all status filters, onboarding select fields, payout currency/method and coupon type/duration. A browser a11y sweep confirmed collapsed-sections links were the only false positives.
v1.376.59
2026-11-25
•Select controls finally show their dropdown chevron: the shared primitive used a Tailwind arbitrary background class with unescaped spaces that split into 34 classes and computed to background-image:none. It now applies an encoded SVG data URI inline, and the /products status/sort selects plus the five business-profile fields have proper accessible names. 2 new tests.
v1.376.58
2026-11-25
•Admin subscriptions and webhook DLQ headers no longer present their 200/100-row page caps as the whole list: both APIs now return the filtered total and both pages read "N most recent of M …". The count helper is shared with the audit-log ledger; 3 new tests.
v1.376.57
2026-11-25
•The full launch checklist no longer shows a green GO while warnings are on the board: the same demo payout rail that the readiness beacon calls NEEDS ATTENTION now yields HOLD on the checklist too. A new pure launchVerdict helper drives both the verdict and a line naming every signal that needs attention; 2 new tests.
v1.376.56
2026-11-25
•A brand-new supplier dashboard no longer renders fourteen zero-height bars: an all-zero revenue chart now shows an honest one-line empty state, while any real bar in either window keeps the full chart. Plan cards now derive price and fee copy from lib/pricing.ts instead of hardcoded literals, with a source-scan test pinning the single source. 3 new web tests.
v1.376.55
2026-11-25
•Admin audit logs no longer present the 100-row page cap as the whole ledger: the API returns the filtered total and the page reads "100 most recent of 176 entries" (or a plain total when nothing was truncated). CSV export now uses the shared RFC-4180 encoder, which also neutralizes spreadsheet formula injection. 4 new web tests.
v1.376.54
2026-11-25
•Both dashboards read cleaner: the MRR movement cards collapse the run of pre-ledger months into one honest summary row instead of eleven identical "not measured" rows, and the supplier cash-position pill now says "snapshot" (with a why-tooltip) instead of implying a live feed on a page that does not auto-refresh.
v1.376.53
2026-11-25
•Supplier KPIs are grouped into money (five) and activity/risk (two) rows, so the seven cards no longer end in a lone orphan tile. Long risk-score detail moved into the card tooltip with a short visible hint; all cards keep their links and keyboard behaviour.
v1.376.52
2026-11-25
•Mission Control health pills no longer sit in a permanent "checking…" state after a failed read: notifications and dispute-watch failures are named in the strip as "unavailable — refresh to confirm", the failure banner now includes dispute watch when its feed fails, and the helper is pinned by tests.
v1.376.51
2026-11-25
•Dashboard copy now follows the signals it renders: launch readiness names the exact blockers instead of claiming green across the board, and the empty-payments card sends a supplier who already has a checkout link to that link instead of telling them to create a product.
v1.376.50
2026-11-25
•Both dashboards read cleaner: Mission Control collapses zero-queue and all-clear tiles into one honest summary (and labels unavailable feeds instead of showing confident zeros), its window control now says it drives charts/funnels/snapshots while headline totals stay lifetime; the supplier dashboard puts the first-sale checkout link and the revenue chart directly beside the numbers they support instead of below the plan and health cards.
v1.376.49
2026-11-25
•Mission Control no longer hides its last-successful-load stamp below 640px: phones get a compact UTC label that still flips to stale. The "Decided today" chip now links to the audit log instead of being a dead summary. The compact label comes from the shared pure freshness helper with pinned tests.
v1.376.48
2026-11-25
•Admin gains a read-only Disputes ledger at /admin/disputes, wired to the existing GET /api/admin/disputes (status filter, newest-first, 200-row cap) with a Finance nav item and a deep link from the Mission Control deadline chip. No new endpoint or mutation path; dispute reason/status labels share pure helpers with tests.
v1.376.47
2026-11-25
•Dashboard first-sale copy button now uses the shared CopyButton with a brand variant: a blocked clipboard reports "Copy failed" instead of silently doing nothing, and feedback is announced and self-clears. The shared button also drops a stale copied state on a later failure. Absolute checkout URLs are taken from the browser origin after mount, so SSR stays safe.
v1.376.46
2026-11-25
•Mission Control dispute-deadline chip now expands in place to every loaded deadline (amount, merchant, reason, status, countdown) instead of hiding all but the nearest behind "+N more". Reasons are humanized by a pure helper with tests; no new route or endpoint.
v1.376.45
2026-11-25
•Hotfix for the 90-day chart: v1.376.44 labelled the prior and current halves in reverse date order, so the newest bar showed an older week. Bar dates now come from a pure helper with a regression test pinning both windows (7d daily and 90d weekly). No data or metric semantics changed.
v1.376.44
2026-11-25
•90-day revenue chart now groups days into 7-day totals aligned to today: 26 readable bars instead of 180 hairlines, with weekly-total tooltips and an explicit note that the fixed 7-day KPI above is unchanged. 7/30-day windows remain daily. Pure bucketing tests prove total conservation, the short oldest bucket and non-multiple-day series.
v1.376.43
2026-11-25
•Dashboard numbers now carry a UTC last-successful-load stamp with a stale warning and a manual refresh button; the payment-links card copies immediately (and reports a blocked clipboard) instead of showing "Copied" two seconds late, and expanded rows have a real copy button instead of a dead "copy" hint. Revenue bars expose each day's date and amount to keyboard and hover, with sparse labels on long windows. Mission Control now names failed queue/provider feeds instead of counting them.
v1.376.42
2026-11-25
•Mission Control refresh stamp now flags staleness: after two missed 60s cycles it turns amber and reads stale, with a tooltip telling the operator to refresh or check the API. A 15s clock keeps the label accurate while auto-refresh is paused. Three pure tests pin the fresh/stale boundary. Dashboard empty-dispute copy now states the Seller-of-Record representation role instead of informal fight-chargebacks wording.
v1.376.41
2026-11-25
•Mission Control now shows the actual last successful refresh time in UTC beside the Live/Paused indicator, and the button tooltip names the exact ISO timestamp. The stamp advances only after a completed load, so a failed auto-refresh leaves the previous time visible instead of silently looking fresh.
v1.376.40
2026-11-25
•Dashboard Recent payments now answers which buyer and product a payment belongs to without opening each row. The dashboard payload includes the merchant-owned buyer name/email and product name; buyer/product columns truncate with full-value tooltips and hide on narrow screens, and the date column shows time. Three pure display tests cover missing, long and invalid values.
v1.376.39
2026-11-25
•Dashboard hierarchy pass: the four money KPIs and the performance grid now sit directly under the cash strip and attention rail, before any account cards. Six zero-state account/compliance cards move into a single expandable section (open by default once the supplier has sales); the first-sale CTA, frozen-payout notice and all attention items stay visible. No cards, data or design tokens removed.
v1.376.38
2026-11-25
•Dashboard label honesty pass: the revenue chart legend now follows the selected 7/30/90-day window instead of always saying 7 days, and the pinned 7-day KPI line is labelled as fixed. The risk-score card now states its 0-100 scale and formula, and the cash-position gauge reads Payout progress with an of-your-minimum-payout hint. No data or design-system changes.
v1.376.37
2026-11-25
•Acquirer-proof legal pass: Supplier Terms now state the principal reseller grant, the regulatory and licensing exclusion (not a bank, EMI, Payment Institution, MSB, MTL or escrow agent), human-reviewed KYB with no auto-approval, the 7-day clearing period and offset right. Buyer Terms make direct contract formation, descriptor and refund contact explicit and add the EU/UK immediate-delivery withdrawal acknowledgement; Privacy, Cookie and DPA use acquiring-partner wording and explicit EU-to-US SCCs. Legal sources re-snapshotted and acceptance versions bumped, so existing sealed acceptances request re-acceptance at the next gate.
v1.376.36
2026-11-25
•Acquirer-proof copy pass (public surfaces): PCI DSS Level 1 attributed explicitly to acquiring partners, no in-house card holding claim; chargeback liability stated as Seller-of-Record representation instead of pass-through; supplier payouts replace cash/balance wording; registration claims narrowed to computation and collection with market-by-market remittance; payment-processor phrasing replaced across public UI and llms.txt; Trust Center gains a Regulatory status and MoR structure section with licence-exemption rationale, descriptor and dispute-readiness disclosure; checkout shows descriptor and refund contact.
v1.376.35
2026-11-25
•Admin feedback page now aggregates the anonymous homepage exit survey: counts by reason, share bars and the five latest written notes from the existing audit-log rows, with an honest zero state. The survey read is secondary and cannot hide portal feedback if the audit log is unavailable. Three pure aggregation tests cover zero state, ordering and malformed rows.
v1.376.34
2026-11-25
•One-question exit prompt on the homepage: after a visitor scrolls past the final CTA they can name what stopped them from signing up (price, proof, timing, missing feature or other) with an optional anonymous note. POST /api/exit-survey is IP rate-limited, stores no IP, user agent, email or phone in the audit log, and sends no email; answers are readable by admins in the existing audit log. One answer per browser session.
v1.376.33
2026-11-25
•Mobile homepage CTA — a compact Start selling bar appears after the hero on phones and hides near the final CTA, on auth routes and on buyer payment/receipt surfaces. Same destination as the hero button, same honest copy, no new claims.
v1.376.32
2026-11-25
•Homepage focus pass — one primary action above the fold and at the footer: the hero keeps 'Start selling' as the only filled button (demo moved to a text link) and the final CTA keeps only 'Create your account' (compare moved to a text link). One existing proof line, dispute evidence pre-assembled at checkout, moved into the hero. No new claims and no design-system changes.
v1.376.31
2026-11-25
•Merchant dashboard chart window parity: the revenue chart now has a 7/30/90-day toolbar persisted in ?days=, backed by a bounded days param on GET /api/merchants/dashboard. The 7-day KPI trend and Share-my-week cards stay pinned to a trailing 7 days via explicit revenue7dCents/revenuePrev7dCents fields, so changing the chart never changes what 'week' means.
v1.376.30
2026-11-25
•Mission Control telemetry window toolbar (7/30/90 days, persisted in the ?days= URL param). Five admin stats endpoints now accept a bounded days param (clamped 7–365, invalid falls back to the historical default) and report windowDays; the revenue chart, activation funnel, stuck-supplier list, activation SLA/TTF and revenue snapshot labels now render the selected window instead of hardcoded 90d/180d/30d. Panels whose endpoints were not changed keep their own explicit badges — no panel claims a window the server did not use.
v1.376.29
2026-11-25
•Mission Control: grouped the three distinct activation surfaces — KYB/time-to-first-sale strip, signup→first-sale funnel, and the stuck-supplier outreach table — into one labelled Activation section. All three keep their own data; only placement changed.
v1.376.28
2026-11-25
•Mission Control KPI cards are now drillable, matching the merchant dashboard: Suppliers→/admin/suppliers, Transactions and Gross volume→/admin/payments, Platform revenue→/admin/mor-dashboard, Supplier royalties→/admin/royalties. Keyboard-accessible (Enter/Space) with focus rings; no data or endpoint changes.
v1.376.27
2026-11-25
•Merchant dashboard dedup: the compact 'things need you' chip rail (which repeated the same signals as the richer action list) is gone; the richer list now lives in the Today band under the cash position. The duplicate 'Next royalty' card is folded away — its payout-threshold gauge now sits inline under 'Available to pay out' in CashPositionStrip. Same data, one place per signal.
v1.376.26
2026-11-25
•Rate-limit headroom for launch + testing: global budget raised 120→600 req/min/IP, production auth 10→30 per 15min, and the one-click demo bucket 30→120 per hour (demo-login is now exempt from the stricter auth bucket — it has no brute-force value). All three are tunable at runtime with RATE_LIMIT_GLOBAL / RATE_LIMIT_AUTH / RATE_LIMIT_DEMO_LOGIN env vars; invalid values fall back to the shipped defaults. This clears the 429s on admin notifications/audit/deadline feeds that the new dashboard warning banner correctly exposed.
•Fixed a silently-broken admin payout feed: the shared API wrapper called GET /api/admin/payouts (404 — no such route), so Mission Control's payout queue and /admin/royalties always looked empty. Repointed to the existing GET /api/admin/royalties. The new dashboard warning banner surfaced it; production has zero payouts, so no queued work was actually missed.
v1.376.25
2026-11-25
•Dashboard failure visibility — merchant dashboard and Mission Control now name which reads failed instead of silently rendering false empty states (a warning banner lists the affected panels with a Retry action, and a fully failed load clears stale notices). Read-only change; no new endpoints or money-path behavior.
v1.376.24
2026-11-25
•Dashboard hierarchy pass — Merchant dashboard now leads with a 'Today' money band, then labeled Growth and Performance sections instead of a flat wall of equally-weighted cards; Mission Control promotes the attention queues and urgent chips above the KPI row and groups its analytics under an 'Insights' label. Layout and labels only — no new data fetches, no money-path changes.
v1.376.23
2026-11-25
•Test coverage: the Paddle and Polar migration importers now have their network/pagination layer and amount-parsing edge cases under test (paddleImport branches ~49%→79%, polarImport ~60%→80%), lifting the service-layer branch gate headroom from 0.24pt to 1.95pt.
•Repaired a stale acceptance snapshot: the legal page changed in v1.376.20/21 but docs/ACCEPTANCE-SNAPSHOT.json was not regenerated, which had the API test suite red on main; the snapshot now pins the current legal/register bytes.
v1.376.22
2026-11-25
•Payouts (Royalties) table now shows the payout Method (account type) and a provider Reference, and no longer shows a misleading 'expected arrival' date for failed payouts.
•The CSV export includes the new Method and Reference columns.
v1.376.21
2026-11-25
•Added a Legal Notice at /legal/notice (operator identity, registered details, contact, responsibility for content, consumer/governing law) and linked it first in the public footer's Legal column; included in the sitemap.
•No other behaviour change.
v1.376.20
2026-11-25
•Added a Shipping & Delivery policy at /legal/shipping (digital-goods instant delivery, physical-goods supplier responsibility, delivery-problem handling) and linked it in the public footer's Legal column.
•Included the new policy in the sitemap.
v1.376.19
2026-11-25
•Admin Refunds table now shows Supplier, Customer, Reason and Date (plus a total-refunded summary) — previously only payment id, amount and status, so ops couldn't see who/what/why at a glance.
•Refund search now matches supplier, customer and reason.
v1.376.18
2026-11-25
•Merchant Payments table now shows Customer and Product columns (the API already returned them) — see who each payment is from and what they bought without opening the row.
•Payments CSV export now includes customer name/email + product and is RFC-4180 escaped / formula-injection safe via the shared toCsv helper.
v1.376.17
2026-11-25
•Extracted the subscriptions CSV export into a tested helper (subscriptionsToCsv); 3 new tests lock in RFC-4180 escaping, spreadsheet formula-injection neutralisation and the column set.
•Subscriptions CSV export now respects the active status/search filters and includes the subscriber name + email (previously it exported the whole list and omitted the buyer entirely).
•The CSV is now RFC-4180 escaped and spreadsheet formula-injection safe via the shared toCsv helper.
v1.376.15
2026-11-25
•Subscription snapshot now shows at-risk recurring value: when subscribers are past due, the dashboard card reports the dollar amount at risk, how many are exhausted, and nudges you to get them to update their card.
•GET /api/subscriptions/summary extended with pastDueMrrCents and exhausted.
v1.376.14
2026-11-25
•Merchant Subscriptions: multi-select with a select-all checkbox and a 'Cancel selected' bulk action (uses the existing bulk-cancel endpoint), behind a confirmation dialog and reporting per-row provider failures.
•Selection respects the active status/search filters.
v1.376.13
2026-11-25
•Merchant Subscriptions: the status chips are now clickable filters (All / Active / Trialing / Past due / Paused / Canceling), matching the admin screen's interaction.
•Added a subscriber/product search box plus a clear 'no match' empty state with one-click Clear filters.
v1.376.12
2026-11-25
•Merchant dashboard now shows a Subscription revenue snapshot — active recurring value plus Active / Past due / Paused·Canceling counts, with a link into the full Subscriptions screen.
•New endpoint GET /api/subscriptions/summary (own-merchant rollup). 990 API tests green; docs 343/343.
v1.376.11
2026-11-25
•New admin Subscriptions screen: every supplier subscription across the platform in one table — supplier (linked to its admin page), subscriber, product, amount, interval, status and renewal date, with per-status counts and a filter.
•Wired to the existing admin endpoint (GET /api/admin/ops/subscriptions) plus a 'Remind renewals' action that emails suppliers whose renewal lands within 7 days.
•Added the sidebar nav entry and command-palette meta (shortcut g e).
v1.376.10
2026-11-25
•Supplier subscriptions screen: added a Customer column (name + email) — the list API already carried the buyer but the UI never showed it.
•Added status overview chips (Active / Trialing / Past due / Paused / Canceling) so a supplier can scan the whole book at a glance.
•Cancel now confirms before stopping billing at period end; Pause/Resume/Cancel disable while in flight; every row links to its invoice PDF.
•The 'Simulate fail' dunning tool is now hidden in production builds.
v1.376.9
2026-11-25
•Admin sidebar: removed a duplicated 'Processors' nav entry and corrected the changelog command-palette preview, which was still describing v1.10.0.
•Supplier dashboard: fixed confusing first-sale banner copy that referenced a non-existent 'receipt.pdf'.
•Both dashboards audited live (structure + accessibility): one h1 each, no unlabelled icon buttons or links, no missing image alt text, no duplicate IDs, no horizontal overflow.
v1.376.8
2026-11-25
•Coverage: lifted the live money path (stripeWebhookProcessor) from 80.7%→93.6% lines and 53%→62.5% branches, and closed the global branch-gate regression (80.2%→81.2%) with new tests for owned-plan contracts, plan-renewal recovery, audit request-context and KYB country docs. Global coverage now 94.9 lines / 81.2 branches / 97.2 functions (gate 90/81/93); 1002 API tests green.
•No runtime or behaviour change — tests + coverage only.
v1.376.7
2026-11-25
•Plan billing history: Settings now shows a read-only table of the supplier's own plan purchases and renewals (plan, status, paid-through date, order number, start date) from the Shopify plan channel — no card data or provider internals, with an honest empty state before the first purchase.
•New `history` array on GET /api/merchants/me/plan-purchase (own-merchant only, latest 24). 967 API tests + 35 web tests green.
v1.376.6
2026-11-25
•Plan-renewal recovery: when a Shopify plan charge fails, the merchant is now emailed ("update your payment method") with a link to their Shopify account, and the dashboard + Settings show a 'renewal failed — action needed' banner with the same link. Previously only ops was notified, so an expired card silently downgraded the plan at period end.
•The email is deduped per purchase + cycle (no spam on redelivery); the plan itself is untouched (stays active to periodEnd, then lapses). 966 API tests + 35 web tests green.
v1.376.5
2026-11-25
•Subscription renewals are now exactly-once and confirmed: the paid-through date advances only when Shopify confirms the charge (subscription_billing_attempts/success), never on attempt creation. A new lastBilledCycleEnd marker makes the monthly worker skip a cycle it already billed, so a declined card no longer grants a free month and a failed cycle is not retried in a loop — it lapses after the 5-day grace via the reconcile worker.
•A redelivered or duplicate success event can no longer advance the period twice. Additive nullable column (migration 20261125010000); 962 API tests green.
v1.376.4
2026-11-25
•Fixed a latent double-renewal on app-owned Shopify plan contracts: at the first renewal both the monthly billing worker and the orders/paid renewal handler advanced the paid-through date, which would have granted two months for one payment. A renewal order for an app-owned purchase is now acknowledged without advancing the period; the billing worker stays the single driver of the period. Legacy purchases without an owned contract still renew via the order path.
•Added regression tests for both renewal paths (app-owned: no double advance; legacy: advances exactly once). 960 API tests green.
v1.376.3
2026-11-25
•Fixed Shopify webhook HMAC verification: Shopify sends X-Shopify-Hmac-Sha256 as sha256=<base64>, but the verifier compared the bare digest, so every real orders/paid delivery failed with 400. The header prefix is now stripped before the constant-time compare (bare digests still accepted).
•Verified live end-to-end: a signed orders/paid webhook now returns 200 and renews the plan (outcome renewed_via_email).
v1.376.2
2026-11-24
•Fixed the Shopify client-credentials token exchange: Shopify requires application/x-www-form-urlencoded (URLSearchParams), not JSON; the previous JSON body returned 400 even with valid credentials.
•Added a regression assertion for the form-encoded grant body.
v1.376.1
2026-11-24
•Aligned the Shopify Admin API version with the Dev Dashboard: Admin REST and GraphQL now default to 2026-10 (was 2026-07); Storefront stays on its own version.
•Documented the exact App URL / redirect URL setup for the API-only Dev Dashboard app.
v1.376.0
2026-11-24
•Plan cancellation is now automated against Shopify: the endpoint resolves the active subscription contract by purchase_ref (or the plan's selling plan id) and calls subscriptionContractCancel through the Admin API, with a one-shot token refresh.
•It stays fail-closed: an unconfigured/ambiguous/failed Admin API falls back to the audited human request instead of pretending success; the merchant never sees raw provider errors. On success the purchase is marked CANCELED, access runs to periodEnd, then the reconcile worker lapses the plan once and marks the row LAPSED.
•Dashboard and Settings buttons now read 'Cancel subscription'; copy states that future billing stops immediately and access continues to the paid period end.
•Tests: Shopify contract matching, cancellation success/failure, token refresh and cancelled-row reconciliation (955 API tests).
v1.375.0
2026-11-24
•Settings → plan management now shows paid PRO/BUSINESS merchants their current plan, renewal date and a 'Request cancellation' button — the same Shopify-native request flow that already existed on the dashboard, now available where plan management lives.
•Cancellation copy is explicit: the request is handled in Shopify within 1 business day and the plan stays active until the period ends; there is no instant local downgrade.
•Added route tests for the cancellation request (audit + ops notification, no local plan mutation, 401 for anonymous callers) and Storefront cart coverage for the Shopify plan channel (932 API tests).
v1.374.1
2026-11-24
•Verified the BUSINESS plan path end-to-end: the real uppercase SKU BUSINESS-plan maps case-insensitively and an order-level purchase_ref activates BUSINESS via the same fixed webhook path as PRO.
•Corrected the stale Storefront comment that claimed cart attributes arrive as line-item properties — they arrive as order note_attributes.
•Added a regression test for the BUSINESS activation path (926 API tests).
v1.374.0
2026-11-24
•Fix: Shopify plan activation now reads purchase_ref from order-level note_attributes. Storefront cart attributes land there, not in line-item properties — the dashboard PRO purchase paid in Shopify but the webhook fell through to the renewal-email fallback and left the plan PENDING/FREE.
•Renewal fallback and all other plan grant paths are unchanged; the order-level reference takes precedence only when present.
•Tests: regression coverage for the exact note_attributes payload plus null/whitespace/non-string/line-item precedence cases (925 API tests).
v1.373.0
2026-11-24
•Security: buyer checkout metadata is now allowlisted — reserved keys (merchantId, priceId, productId, purpose, subscription, ppp, clientIp, session IDs) can no longer be supplied by the caller, so a cheap recurring checkout cannot inject a platform plan upgrade.
•Security: a platform plan upgrade is recognised only when the completed provider session's amount and currency match a server-minted PRO/BUSINESS price; injected metadata alone no longer changes a merchant's plan.
•Security: v1 refunds now claim the refundable slot inside a serializable transaction (one in-flight refund per payment) and derive the provider idempotency key from payment state, so two requests with distinct keys cannot produce a second, unaccounted provider refund; a 409 stays retryable.
•Docs/copy: corrected stale RLS 'DRAFT' header, migration count, MCP tool list, test counts and load-harness note; merchant import wizard no longer tells suppliers to move renewals to the processor.
•Tests: added checkout metadata, plan-upgrade webhook and refund-race regression coverage (923 API tests); measured coverage 93.85 / 82.05 / 97.04.
v1.372.0
2026-11-21
•Supplier dashboard money honesty: the cash-position card no longer says "minimum payout threshold met" at a $0.00 balance — it now reads "nothing withdrawable yet · $50.00 minimum payout", or "$X of the $Y minimum payout" while the balance is under the threshold, using the merchant's real threshold rather than a hardcoded one.
•The capital-in-motion card applies the same rule: "Now · available" is only labelled "free to withdraw" once the balance clears the threshold, its subtitle reports the amount actually available instead of "nothing held right now", and the 7/14-day bars show honest window labels ("within 7 days", "in 8–14 days") instead of fabricated midpoint dates.
•Settlement exposure shows refunds as money leaving the ledger (−$X.XX), not as "+$X.XX" in red.
•The supplier and admin status strips carried two adjacent pills that both read LIVE — one red (live mode) and one green (data syncs). The duplicate is gone: one "Live mode"/"Test mode" pill in a calm brand tint, with the green sync indicator kept only where a page actually auto-refreshes.
•The homepage product mock pointed at a domain the platform does not own (caelum.app); it now shows the real caelummountain.online dashboard.
v1.371.0
2026-11-21
•Docs index rewritten: each section now carries a one-line description, a section jump-bar, and hairline-divided link rows instead of a wall of identical bordered pills.
•Every document got a human title instead of a slug-derived one — "API reference", "KYB document requirements", "Launch runbook — 1 Dec 2026", "Voice of the buyer" instead of "Api Reference", "Kyb Document Requirements", "Launch 2026 12 01 Copy". Acronyms (API, KYB, DAC7, VAT, MoR) keep their case; dates and R2 suffixes leave the title.
•Sections order their documents by relevance rather than alphabetically, article pages show which section you are in, and prose is set at a readable measure instead of full-bleed.
•The internal docs corpus was translated to English: the canonical documents (overview, status, architecture, development, roadmap, frontend strategy, the tax positions, the Stripe runbooks and the KYB/onboarding references) now read as English end to end, with the Czech administrative terms (IČO, DIČ, rodné číslo) kept and glossed. Legacy research and audit notes stay in their original language until their own translation pass.
v1.370.0
2026-11-21
•Operator phone number updated everywhere it appears: footer, trust, support, login/register, checkout seller-of-record line, Terms, Privacy, Withdrawal form and the homepage JSON-LD.
•Legal bundle re-versioned (TERMS_VERSION / DPA_VERSION 2026-11-21) and the acceptance snapshot regenerated, so the sealed acceptance record keeps binding to the exact text a supplier agreed to.
v1.369.0
2026-11-21
•Docs rebuilt around grouped navigation: 50+ documents now sit under Start, Architecture, API, Merchant flows, Money/tax/risk, Launch, Research and Operations instead of one flat list.
•Article pages get the sidebar they never had (the TOC was rendering in the left column with no navigation at all), plus a scroll-spy 'On this page' rail that finally links to real heading ids.
•Copy-link button, hover # anchors, grouped topic index with icon cards, and a working mobile drawer — the previous menu button opened an empty panel.
v1.368.0
2026-11-21
•Agents can now ask how much room they have left: GET /v1/agent-budget reports this key's daily cap, today's spend, remaining amount, the UTC day and the exact reset time.
•New MCP tool get_agent_budget (server 1.2.0) so an agent checks the ceiling before create_checkout_session instead of discovering it via a 409.
•Reads stay least-privilege: the endpoint needs payments:read, so a checkout-only key cannot introspect, and the answer is always about the calling key.
v1.367.0
2026-11-21
•An agent checkout that dies without a charge — expired session, canceled intent, declined card, abandoned 71h — now gives the daily cap back instead of silently eating it.
•The held amount travels on the payment row (agentReservedCents) and is released by a conditional update, so a redelivered expiry webhook cannot refund twice.
•A release from a closed UTC day never touches today's counter; the row is still cleaned up.
v1.366.0
2026-11-21
•API keys can carry a daily agent spend cap: a checkout above the ceiling is refused before any payment session is created (409 AGENT_BUDGET_EXCEEDED).
•The cap is reserved inside the same transaction that writes the PENDING payment, so a rejection can never leave a row or a provider session behind.
•Failed sessions release the reservation, and a rejection is never memoized — raise the cap and replay the same Idempotency-Key to go through.
•Set the cap per key on the API keys page (or at key creation); the merchant sees today's spend against it. Counters reset per UTC day, no scheduler needed.
v1.365.0
2026-11-20
•Getting-started checklist now uses one server-derived endpoint instead of six client-side lookups.
•Activation steps, hints and the next action are computed from the merchant rows behind the dashboard, so progress cannot drift from the KPIs.
v1.364.0
2026-11-20
•New admin-only evidence pack: acquirer and accountant facts assembled only from code, configuration and aggregate counts.
•Markdown export available for external use; internal operator notes and personal data are structurally excluded.
•Three tests pin the allowlist so the external document cannot drift into internal strategy material.
v1.363.0
2026-11-20
•Internal test pass on billing-address, JSON, redirect, audit and field-encryption helpers — no product behavior changed.
•Coverage measured at 93.37% lines / 82.05% branches / 96.90% functions; the armed gate still holds at 90/81/93.
v1.362.0
2026-11-20
•Supplier dashboard now shows a tax and compliance snapshot: what is computed and collected today, what is staged, and the next registration deadline.
•A new authenticated endpoint keeps the card derived from the same rate table the checkout engine uses.
•The card deliberately separates collection from remittance registration — no filed claims while a registration is still in progress.
v1.361.0
2026-11-20
•Agent tooling gained two read-only surfaces: merchant subscriptions and settlement history with current balance buckets.
•The MCP server now exposes 14 tools; webhook replay stays operator-only by design.
•Both new routes are tenant-scoped, documented, and covered by isolation and validation tests.
v1.360.0
2026-11-20
•Metrics endpoints now require both a loopback TCP peer and a loopback client IP for local scrapes; proxied callers still need an admin session.
•The API listener defaults to loopback, so a forged forwarded header cannot open the metrics gate.
•Observability docs now state the exact scrape contract.
v1.359.0
2026-11-20
•New attempts:check gate verifies that every terminal payment status write resolves (or explicitly documents an exemption for) its attempt leg.
•Full audit confirmed all 12 terminal payment writes are paired; the one deliberate refund exception is now documented in code.
•Quality-gate documentation reflects the live checks and latest measured coverage.
v1.358.0
2026-11-20
•Background workers now skip overlapping runs instead of sending duplicate digests or starting duplicate payout batches.
•Webhook claims use a 15-minute lease with a heartbeat, so a slow handler cannot be reclaimed and processed twice.
•Webhook handler errors still release the claim for provider retry; unprocessed events remain replayable from the admin backlog.
v1.357.0
2026-11-20
•Buyer checkout sessions now require an Idempotency-Key — retries replay the original session instead of minting a second live checkout.
•Web checkout helper, both SDKs and the agent tools generate a key automatically when callers do not supply one.
•API reference now lists every money path that requires idempotency.
v1.356.0
2026-11-20
•Subscription failure endpoint now validates declineCode with Zod — malformed input is rejected with 400 before any dunning change or email.
•MCP server package version aligned with its advertised 1.1.0 and pinned by version:check.
•Removed dead dashboard card state and scrubbed the last non-comparison provider mention from the press page.
v1.355.0
2026-11-20
•Money-path reliability: payout requests and instant payouts now require an Idempotency-Key — retries replay the original result instead of reserving a second payout.
•Plan-grant webhooks release their claim and return 500 on transient failures, so a redelivery can finish the grant instead of being acked as a duplicate.
•Merchant API checkout now creates the pending payment row before the provider session, with compensating cleanup on session failure — no duplicate live checkout URLs on retry.
•Threshold payouts now charge the same 1.5% cross-currency markup as scheduled and instant payouts.
•Docs truth pass: quality-gate numbers and the tenant-isolation policy inventory match the live gates and database.
v1.354.0
2026-11-15
•smoke-web: scripts/smoke-web.mjs — dependency-free post-deploy smoke for the public surface (15 routes: /, pricing, demo, trust, compare, status, receipt, changelog, mcp, llms.txt, api/health, api/version, register, directory, press; HTTP code + marker assertion each; read-only, no writes). Wired as npm run smoke (root + apps/web). This is the dead-CI replacement for launch day; run before every release sign-off. 15/15 PASS live at caelummountain.online.
v1.353.0
2026-11-15
•API hygiene to strict parity with the web: removed 30 dead imports/locals/params (single import lines, whole SUPPORTED_COUNTRIES consts in adminFinances/adminOps, unused handler locals in server.ts/onboarding/customers/payoutEngine — cross-checked by the compiler through every ref). Full API now compiles clean under --noUnusedLocals --noUnusedParameters. Version-check gains a hard bundle freshness assertion (apps/web/.next/static/chunks must contain the expected version string). Suite 819 green.
v1.352.0
2026-11-15
•Payout failure hygiene end to end: supplier payout_failed emails and the merchant-facing FAILED pill no longer carry raw settlement-partner error text (which could embed partner ids/account refs). DB stores normalized code 'payout_rejected_by_provider'; web failureReasonText falls back to a generic safe label for unknown codes instead of printing raw strings. Admin ops emails keep full detail (internal).
v1.351.0
2026-11-15
•Checkout error hygiene on the white-label element: confirm-time network/library failures now show a generic localized message instead of raw exception text; remote-load errors render only our API's client-facing ApiError (5xx bodies were already generic per v1.338.0) — no config/library internals ever surface to buyers. Decline messages from the processor remain buyer-facing by design.
v1.350.0
2026-11-15
•Stripe listCoupons now paginates through has_more (up to 5 pages, ≤500 coupons) instead of a blind first-100 cap — suppliers with >100 platform coupons no longer lose their own coupons from the /discounts list (fresh installs were unaffected, but the cap was latent). No semantics change for admin coupon listing; supplier coupon list now always sees everything of its own prefix. Verified: tsc clean, unit suite 836 green.
v1.349.0
2026-11-15
•Safety nets for the new surfaces: tests/routeGuards.test.ts pins the supplier-coupon tenant isolation (mcr_<merchant>_ prefix enforcement, code regex, prefix-qualified delete) and the admin decision journal route (requireAdmin + bounded cursor take + pagination markers). Wired into test:unit; full suite now 428 pure + 391 mock + 17 web = 836 tests. Live re-verified: unauthenticated coupon POST 401, authenticated invalid code 400 (no Stripe call), supplier coupon list 200 scoped, journal page renders at v1.349.0.
v1.348.0
2026-11-15
•Decision Journal — /admin/orchestration/journal: full cross-lane routing-decision ledger (newest first). Search by attempt id / gateway ref / reason / error code; filter by lane and status; cursor pagination (25/page); every row shows why the router picked it (eligibility snapshot) with a 'replay (now)' verdict — how the current config would re-decide the same basket. New read-only admin route GET /api/admin/processors/attempts (admin-only, cross-lane, limit 1-100, merchant-scoped includes). Same payments.read permission as the orchestration surfaces; docs add the route (334 total).
v1.347.0
2026-11-15
•Orchestration HQ — Routing Simulator: the command console now runs the live decision function on synthetic seeds and shows the split a new buyer would actually see (inputs: currency, country, amount, prefer-lane, sample count). Includes the explain overlay (per-lane eligibility/verdict: disabled_flag / kill_switch / excluded_failover / currency & country mismatch / amount limits / breaker_cooldown / half_open_probe share / selected:<reason>) and the cost estimate. Read-only call, no side effects; same /v1 eligibility code path used in production.
v1.346.0
2026-11-15
•Supplier discount codes — suppliers can now create their own promo codes end-to-end. NEW /discounts page + GET/POST/DELETE /api/merchants/me/coupons: codes are prefixed mcr_<merchant>_<CODE> at Stripe so one supplier can never enumerate, use or delete another supplier's or the platform's codes; percent or fixed amount; duration once/forever/repeating<N-months>; optional max redemptions + expiry. Hosted checkout (v1, payment-link, white-label element, subscription mode) now accepts allow_promotion_codes at creation — every checkout shows the code box by default, zero config. Deleting deletes immediately. Docs 333 routes.
v1.345.0
2026-11-15
•Onboarding review queue: ledger of age + review order. Each application row now carries a 'waiting Nd' age chip (neutral <4d, warning 4-6d, danger ≥7d) replacing the plain submitted-date pill. Sort toggle above the search field defaults to Oldest first (review-oldest-first is the discipline) with Newest first one click away — client-side re-sort, no API change.
v1.344.0
2026-11-15
•Print polish: AdminBrief (the Mission Control verdict line) now carries print:hidden on both variants — the bulk Print/PDF report stays composed of the raw evidence (strips, KPIs, queues, funnel) without the conversational verdict row.
v1.343.0
2026-11-15
•Honest failure on the supplier dashboard's remaining cards: forecast renewal card swallowed fetch failures and rendered '$0 renewals' — now an explicit 'could not load — numbers intact' ribbon with Retry; merchant-health card used to vanish silently on failure and now shows a warning card that says what could not be measured + Retry. Admin-side best-effort strips intentionally still hide on failure (documented design — decorative strips must not go loud when the core path is alive).
v1.342.0
2026-11-15
•Error-state honesty for the dashboard cards: Top customers and Best sellers no longer render 'no sales yet' or 'no buyers yet' when the fetch actually failed — a network/API failure now shows a danger-toned 'Could not load' card with a Retry button. Both cards hold their own error state and refresh via a shared load() callback.
v1.341.0
2026-11-15
•Supplier & Admin dashboards leveled up. NEW: GET /api/merchants/me/top-products (?limit=&days=30, max 90d) — own-merchant gross by product over the trailing window, with orders, revenueCents and sharePercent of window sales; own-merchant scope enforced (404 for missing merchant, top-N clamped 1-10). Supplier dashboard gains BestSellersCard (30d bar chart, top revenue products, empty-state CTA to share a checkout link). Admin Mission Control gains AdminBrief — a one-line calm-or-warning ops verdict above the fold (N items await decision · oldest queue · stalled webhooks · evidence deadlines; green 'all clear' variant when queues are empty, with today's admin action count). Docs 330/330.
v1.340.0
2026-11-15
•Disaster fallback: the platform now ships public/maintenance.html — a designed, noindexed branded maintenance page kept permanently available at /maintenance.html (zero dependency on the API/DB/build). LAUNCH-2026-12-01-RUNBOOK's abort cell updated to reference it specifically for the 'drop nginx to maintenance' fallback. Meaning for the Nov 15-17 launch window: any rollback window now has a purpose-built best-if-lost-outside page. Ops activates by pointing nginx at it, then back — never replaced, no captcha, no parked domain.
v1.339.0
2026-11-15
•Web hygiene pass — 33 unused imports/variables eliminated across 34 assignments (strict tsc --noUnusedLocals/--noUnusedParameters now clean): dead Button/Skeleton/TableEmpty/Select/ErrorBadge/etc. imports, unused destructured params (row, color, item, duration prop with no reader), duplicated React namespace imports, unused its/her-role constants (them, myLabel in kyb-thread). No behavior change; build green.
v1.338.0
2026-11-15
•HTTP error bodies stop leaking raw exceptions (second pass — admin surfaces): adminFinances export (500 -> 'export failed' + server log), adminMerchants KYB push (500 -> 'KYB push failed' + server log), adminOps webhook reprocess (500 -> 'processing failed', detail already logged), planPurchase 502 (generic Shopify-checkout-start message; the Shopify error stays server-side). 400 paths keep zod-actionable messages; test-route raw error gone with test routes absent on prod. All authenticated callers, no semantics changed; retry/idempotency unaffected. Suite 817 green, build green.
v1.337.0
2026-11-15
•Security sweep: webhook error bodies no longer leak raw exception messages to external parties (Stripe/Airwallex senders don't parse the body — generic 'webhook handler error' now, the detailed error stays in server logs; 400 signature-verification body is generic too, with the SDK reason logged server-side). Verified on prod: /api/test/simulate-checkout 404 (test routes are absent in prod — NODE_ENV=production is enforced by systemd env, opt-in ENABLE_TEST_ROUTES required elsewhere). Mass-assignment audit across customers/products/v1 route spreads: all Zod-whitelisted, no unsafe keys. Build green, 817 api tests green.
v1.336.0
2026-11-15
•Coverage: accountantPack closed out — renderAccountantNote now fully tested (Date vs non-Date createdAt, degraded no-customer/no-PI/lowercase merchant paths, buyer-name email fallback). File is at 100% lines / 76.92% branches / 100% functions; aggregate branches 81.42 → 81.73. Gate armed 90/81/93 green. Suite 814 api + 17 web = 831.
v1.335.0
2026-11-15
•Coverage: accountantPack branches 44→62 (100 lines — money-cell fallbacks, taxCountry→billingCountry fallback, item label precedence product/renewal/default, buyer-name resolution billing pair→name→email, non-Date createdAt). Velocity tests deduplicated into the mocked coverage file (tests/velocity.test.ts removed). Aggregate: lines 92.53, branches 81.42, functions 94.35 — gate armed at 90/81/93 still green. Documented velocity.ts's dual-loader merge artifact in COVERAGE.md. Suite 800 api + 17 web = 817.
v1.334.0
2026-11-15
•Webhook suite, part 4 — the platform-plan subscription sync arms are pinned end to end: active/trialing/past_due/unpaid/canceled status mapping (unpaid+canceled revert the plan to FREE — hard-decline and voluntary-cancel paths), merchant-plan update skipped for non-platform-plan subscriptions, subscription.deleted reverts to FREE+CANCELED for plan checkouts only. The armed c8 gate caught real branch-drift along the way (80.97 slipped under the 81 floor until the active/trialing/unknown-status arms were covered — its first live catch). stripeWebhookProcessor.ts now 78.14% lines / 54.12% branches / 87.5% functions; aggregate 92.53 lines. Suite 801 api + 17 web = 818.
v1.333.0
2026-11-15
•Webhook suite, part 3 — charge.succeeded pinned as a no-credit path: it stamps stripeChargeId + the balance-transaction fee and PCI-safe card attributes onto the ledger but MUST NOT flip status, upsert the balance, or dispatch merchant webhooks (only payment_intent.succeeded owns credit + notification). Plus both v2 thin capability arms ((merchant|recipient).capability_status_updated). stripeWebhookProcessor.ts 73.64% lines / 50% branches / 87.5% functions; aggregate 92.06 lines / 94.35 functions. Suite 798 api + 17 web = 815.
v1.332.0
2026-11-15
•Webhook money-path suite, part 2 — the account refresh & dispute close branches are pinned. 9 more tests over refreshMerchantFromAccountObject and companions: ONBOARDING→ACTIVE flip only when requirements clear (read-after-write v2 thin requirements branch, fed normalized type as webhooks.ts does), admin-APPROVED merchants NEVER downgraded by webhook (flags still update to Stripe truth), missing account object falls back to related_object.id retrieveAccount, unknown connected account is a no-op, dispute won with recorded hold restores exactly the withheld amount to available (not the full dispute), won without recorded hold → admin ledger_drift alert + zero balance touched, lost → LOST + fee settled lost with no funds released, identity verified → taxFormStatus VERIFIED. stripeWebhookProcessor.ts now 70.06% lines / 87.5% functions; aggregate 91.69 lines / 94.35 functions. Gate holds at armed 90/81/93 (all green); branches unchanged at ~81 (UNCLOSED accounting-adjacent ternaries remain).
v1.331.0
2026-11-15
•Webhook money path gets its first real tests + the coverage gate is finally armed. (1) tests/stripeWebhookProcessor.test.ts — 15 tests over the live-webhook processor with everything mocked (Prisma/Stripe/ledger/notify/dispatch): payment_intent.succeeded claim/credit transaction + card PCI-safety assertions (no PAN/CVC/fingerprint may reach the ledger), no double-credit on redelivery, dispatch fires only on THIS delivery's claim, hard declines exhaust dunning (stolen_card) vs soft retries, subscription PI failed with unknown payment row fails closed, session.expired + PI-cancel sweeps, unpaid-async deferral, refund out-of-order branch. stripeWebhookProcessor.ts coverage 9.13% → 56.02% lines; aggregate 85.27 → 90.24 lines, functions 92.69 → 94.01. (2) Found and fixed a gate that never gated: c8 requires --check-coverage to enforce --lines/--branches/--functions — the old script passed thresholds without it, so the gate was advisory since v1.321.0. Armed now and verified both directions (exit 1 at 91% lines and 82% branches; 0 at 90/81/93, which are the fresh measured floors — branches 81.43 honestly). suite 786 api + 17 web = 803.
v1.330.0
2026-11-15
•Coverage honesty pass — docs now state reality: gate 85/83/92 (ratcheted v1.321.0), CI dead since v1.297.0 (local enforcement per release), measured 2026-11-15: 85.27 lines / 83.32 branches / 92.69 functions, and the worst hole is named (stripeWebhookProcessor.ts 9.13% lines / 25% functions — the live-webhook money path). COVERAGE.md rewritten around the fresh measurement; 02-STATUS/05-DEVELOPMENT/KUBERNETES_HELM CI claims corrected likewise. New: tests/stripeWebhookProcessor.test.ts pins normalizeThinType (v1.-prefix strip + account-config collapse table); 777 api tests green. The webhook switch itself is externalization-pending (Prisma-mocked mock-module suite) — largest remaining coverage debt, called out not hidden.
v1.329.0
2026-11-15
•Web unit tests begin: @mor/web now has a node:test harness over the pure libs extracted during decomposition (portal money/errorMessage, mission-control queue/age/money helpers, processors CSV + snapshot summary, orchestration timeAgo/reconAction/CSV) — 17 tests, run under tsx via node:test, wired into the root npm test chain. First web tests this repo has ever had; the build pipeline (next build) remains the UI gate. No runtime changes.
v1.328.0
2026-11-15
•Ops hardening — smoke-payments can no longer write to the live database by accident. The sk_live_ guard stopped Stripe calls but the script always created merchant/product/price/payment rows in whatever DATABASE_URL pointed at — on this box that IS prod (a synthetic 'pay-smoke' merchant exists there and its deletion is still pending owner approval). The smoke now requires explicit SMOKE_DB=1 (the same explicit-ack pattern as SMOKE_API in smoke-onboarding) and SKIPs without it. Verified: runs, prints SKIP, writes nothing.
v1.327.0
2026-11-15
•Guest checkout portal hardening — tests only, no behavior change: readPortalToken (the sole HMAC gate on every /portal/* route — customer PII + subscription pause/resume/cancel/update-payment-method) now has 8 unit tests covering mint/read roundtrip, tampered payload, tampered signature, expired tokens, malformed tokens, signed-but-incomplete payloads, JWT_SECRET unconfigured read, and JWT_SECRET missing at mint (never mints unsigned). Suite 771 passing (428 + 343); wired into test:unit.
v1.326.0
2026-11-15
•Sale card (Share-my-week) — Download PNG button now confirms saves inline (Saved! + check, reverts after 2s). The copied state existed since the card shipped but was never wired to anything — the download path now acknowledges; webhook-grade no, but the dead state is gone.
v1.325.0
2026-11-15
•Admin supplier list decomposed. /admin/suppliers merchants-client (480 -> 315 lines) now renders the table + inline fee editor + reject/suspend confirm dialogs; the 193-line supplier detail modal (identity / platform / financials, SUPER_ADMIN fee gating) moved to components/admin/MerchantDetailModal.tsx, self-owning its edit form (seeded from the selected merchant) and save path. Same endpoints, same flows; tsc clean.
v1.324.0
2026-11-15
•Supplier onboarding decomposed — the Owners & KYB step moved out of the 765-line onboarding client component into a self-contained components/onboarding/OwnersSection.tsx (beneficial-ownership form + OFAC/PEP screening status chips + per-requirement checklist; fetches its own data on mount, owns form/busy/error state). Page is now 615 lines; remaining steps intentionally in-page. Also: the extracted section now surfaces add/remove-owner errors inline — they previously relied on the page-level banner wired to the shared error state. Behavior unchanged otherwise; tsc clean.
v1.323.0
2026-11-15
•Merchant settings decomposed into feature components. /settings went from a 568-line client component to a 188-line orchestrator plus five focused components (components/settings/*: BusinessProfileSection with self-owned form state seeded from the merchant, PlanMatrix with its own checkout state + message, SubscriptionCard owning cancel/reactivate + its ConfirmDialog, DirectoryToggle, DangerZone owning webhook-stop/GDPR export/deletion-request with its ConfirmDialogs). Also fixed a latent bug found mid-extraction: the page-level message (legal acceptance errors) rendered nowhere after the profile form moved out — legal messages now render inline. Same endpoints, same flows, same copy; tsc clean.
v1.322.0
2026-11-15
•Buyer portal decomposed into feature components. /customer-portal went from a 729-line client component to a 206-line orchestrator plus six focused components (components/portal/*: SubscriptionsSection with self-owned pause-choice state, PaymentMethodsSection, PaymentHistory, FeedbackCard with mount-fetch, RefundModal owning reason+submit, SaveAtCancelModal owning the reason→offers flow) and lib/portal.ts (PortalData types + money/errorMessage helpers). Same endpoints, same token-in-query auth, same save-at-cancel + refund-request flows. Behavior unchanged; tsc clean.
v1.321.0
2026-11-15
•Coverage gate made honest. The 95/85/95 c8 thresholds over src/services/** have been red on main since at least v1.320.x (85.19 lines / 83.17 branches / 92.61 functions — never actually enforced green). The exclusion list hid stripe.ts / airwallex.ts / email.ts behind 'too risky to test'; now they are tested instead: 4 new test files (email render suite for all 39 templates rich+sparse, SMTP success/failure/unconfigured paths with mocked nodemailer, Airwallex auth success/failure + 3-strike admin alert + success reset with mocked fetch, PaymentProvider proxy delegation). Excludes removed; gates ratcheted to 85/83/92 = today's measured floor so coverage cannot silently regress; 773 tests green.
v1.320.1
2026-11-15
•Dead web-client wrapper removed: merchants.upgradePlan (STRIPE-era self-serve plan checkout) had zero call sites — the plan self-service surface has used the Shopify hosted-checkout path (createPlanPurchase) since v1.301.0. Backend /me/upgrade-plan kept for API back-compat. No behavior change.
v1.320.0
2026-11-15
•Orchestration HQ decomposed into feature components — /admin/orchestration went from a 604-line client component to a 141-line orchestrator plus five focused components (components/orchestration/*: EnvGates, LaneBoard, ActivityFeed, AmbiguousOutcomes, RailPins) and a shared lib/orchestration.ts (interfaces + pure helpers + reconToCsv). RailPins owns its search/pin state; LaneBoard owns the lanes-healthy memo; behavior unchanged — same endpoints, same SUPER_ADMIN gates, same read-only reconciliation surface. tsc clean; live-verified render.
v1.319.0
2026-11-15
•Mission Control and the Processors admin are decomposed into feature components. /admin went from a 1167-line client component to a 569-line orchestrator plus 13 focused components (components/mission-control/*) and a shared lib/mission-control.ts (pure helpers + SVG path builders, unit-testable); /admin/processors went from 1013 lines to a 122-line orchestrator plus 5 components (components/processors/*) and lib/processors.ts (types + pure helpers + toCsv). Behavior unchanged — same data flow, same actions, same screens; tsc clean, web build green. releases.ts is now a thin re-export: the changelog corpus moved to releases-data.json (368KB of data, not logic) and scripts/version-check.mjs now asserts against the JSON head.
v1.318.0
2026-11-15
•Payment orchestration correctness fixes. Money-moving endpoints (POST /v1/checkout/sessions, refunds) now fail CLOSED with 503 when the idempotency claim store is unavailable — previously a DB hiccup on the claim write could execute a charge/refund without a stored claim, once per retry. The reconciliation sweeper now closes the attempt-ledger leg on both outcomes it settles: a PI that Stripe reports canceled flips bound attempts to EXPIRED, and a PI settled by reconciliation (webhook never arrived) flips them to APPROVED — previously both lingered PENDING and corrupted auth-rate denominators until the 24h sweeper. New idempotencyFailClosed unit tests; no API contract changes.
v1.317.0
2026-11-15
•Admin Mission Control gains a Dec 1 launch checklist. Server-derived Go/No-Go from /api/admin/stats/launch-readiness — DB, SMTP, processor mode, Airwallex, TLS, backups, disk, KYB queue, payout backlog, open disputes, revenue proof — plainly labeled PASS/WARN/FAIL/UNKNOWN and a single GO/HOLD/NO-GO verdict. Processor mode is honest about keys vs revenue (your own payment test still decides charges_enabled). 11 signals; no invented states; refresh button.
v1.316.0
2026-11-15
•Supplier dashboard gains 'Top customers' — lifetime-spend ranking of the supplier's five best buyers (orders count, lifetime spend, last purchase), click-through to /customers. Honest zero-state for stores without buyers yet. New GET /api/merchants/me/top-customers (limit, own merchant scope only; customers seeded by their own purchases only; merchantId-scoped).
v1.315.0
2026-11-15
•Both dashboards add a 'what needs you now' attention rail. Supplier: a collapsible strip above the dashboard KPIs that aggregates failedLast30d, pastDueSubscriptions, unreadKybMessages, unreadSupportReplies and payoutAccountCount into clickable chips — green 'All clear' when nothing is pending, warning/danger tiers otherwise, no new endpoints. Admin Mission Control: new urgent-lane chip for inbound webhook events claimed but never processed (>5 min cutoff; /api/admin/stats gains unprocessedWebhooks count) — the worst silent failure an MoR can discover late (payment arrived, membership never granted), routing to audit logs drill-in.
v1.314.0
2026-11-15
•Public claim accuracy pass. FAQ now scopes tax handling to the 39 registered jurisdictions (buyer-side notes surface at checkout elsewhere); JSON-LD JSON-org description names the remit jurisdictions; /press states the registration-scoped position instead of 'buyers worldwide pay the right tax'; courses OG alt swapped to '39 jurisdictions'; worldwide stays where it truthfully means card acceptance. No Stripe mentions added (audit-preserving).
v1.313.0
2026-11-15
•Homepage hero now states the descriptor explicitly: customers charge against CAELUM MOUNTAIN, never the supplier's identity. Supplier dashboard gains a Next-30-days renewals forecast card (lib/forecast computeNextThirtyDays — ACTIVE subscriptions only, explicitly not counting pauses, cancellations or failed renewals; earliest renewal date shown; deep-links to /subscriptions).
v1.312.0
2026-11-15
•Fee certificate for suppliers. Every quarter, suppliers may print /fee-certificate — a single-page ledger extract of platform fees charged, royalty payouts processed and payout fees (light document owned by the MoR, for their accountant; not tax advice). New GET /api/merchants/me/fee-certificate?quarter=YYYY-Qn (defaults to the last completed quarter). Badge celebration follows the same ledger rules — MilestoneCelebration fires one time per newly earned badge (first-visit quiet seeding means existing merchants get no fireworks for past wins). Dispute reply copilot: suppliers fighting chargebacks now get an editable, honest draft (picklist templates, no fabricated claims) with the MoR auto-appended license-activation evidence — submit inline from /disputes. New api-client disputes.submitEvidence.
v1.311.0
2026-11-15
•Share-my-week card gains milestone badges and a launch preset. Badges (FIRST SALE · $1K · $2.5K · $10K · 10/50/100 ORDERS) are earned from the merchant's own ledger numbers — never manufactured; toggle them off any time. New 'Launch day' preset: 'Day one. The door is open.' with earliest orders, no amount forced. Canvas work all on-device, amounts off by default on the launch preset.
v1.310.0
2026-11-15
•Supplier dashboard gains a 'Share my week' sale card. One click downloads or natively shares a 1200×630 PNG rendered from the merchant's OWN numbers (orders in the last 7 days + amounts, or lifetime totals — optional amount toggle): built for the 'flex your store' moment, all on-canvas, no fake engagement, no tracking pixels. Dashboard payload extended with countByDay / weeklyTransactions; api untouched otherwise.
v1.309.0
2026-11-15
•Customer portal: the subscription 'pause length' select is keyboard-reachable and visibly focused (focus-visible ring, brand border). Audited loading/error/empty states — all present. No other changes.
v1.308.0
2026-11-15
•Suppliers now see when their royalties are frozen. Admin freeze toggling (`isPayoutFrozen`) previously enforced at payout time silently — suppliers saw nothing on their dashboard; silence breeds chargebacks against the MoR. Both /dashboard and /royalties render a danger banner with the reason and a support contact when the merchant's `isPayoutFrozen` is true; the 'Request royalty' and 'Pay instantly' buttons are disabled with explanation while the freeze is in place. Admin tooling unchanged — the freeze itself is still lifted through /admin/suppliers.
v1.307.0
2026-11-15
•Homepage sticky navigation is now fully opaque. The nav overlapped the section copy underneath it ('Pricing / Trust / FAQ' sat on top of the section text) because the 80%-opacity bg combined with a backdrop-blur that did not materialize on all laptops. Header now renders against a solid #09090e with a hairline border — no content collision; reading flow is unbroken.
v1.306.0
2026-11-15
•Admin digest now carries the retention + plan signal. The weekly platform-health digest (sendAdminDigestJob — silently no-ops until SMTP is configured) appends three new honest lines: dunning retrying/exhausted + past-due subscribers, disputes with evidence due within 7 days, and Shopify plan purchases (new this window / lapsed). New admin endpoint POST /api/admin/digest/run to fire the digest on demand — useful for verifying delivery without waiting a week; same guard, same body, same caveat. Unit test added; 754 total.
v1.305.0
2026-11-15
•Churn telemetry is visible to admins + break-glass runbook shipped. New admin endpoint GET /api/admin/stats/cancel-reasons (30/90/180-day windows; per-code counts for too_expensive/missing_feature/switched/no_need/other, share %, anonymous) — feeds a new 'Why customers cancel — last 90 days' card on /admin/mor-dashboard rendered as labeled bars; honest zero-state until real cancellations accumulate (cohort data starts at 0 today). Anonymized by construction — no customer PII leaves the server. Docs: docs/BREAK-GLASS.md — plain, English, zero-code runbook for emergency privileged access (declare → act → log hands → return → 72h review; assert criteria; never route around it; quarterly refresh).
v1.304.0
2026-11-15
•Mission Control now tells you what needs attention tonight and what you decided today. Four new urgent chips above the queues: (1) Dispute evidence deadline — the oldest OPEN/SUBMITTED dispute with evidenceDueBy inside 21 days, with countdown and tone (overdue = danger, ≤72h = warning), plus '+N more' for the rest; (2) Overdue royalty — when the oldest pending payout exceeds 5 days, a danger tile names the age and links to /admin/royalties; (3) Reconciliation — ambiguous outcomes chip in the last 30 days linking to /admin/orchestration; (4) Decided today — the most recent 3 admin audit-log lines since UTC midnight on the page. New admin endpoint GET /api/admin/disputes/deadlines (requireAdmin, read-only, 21-day horizon, returns deadline-sorted disputes with merchant names). No mutations added anywhere.
v1.303.0
2026-11-15
•Renewal renewals of Shopify subscription plans no longer lapse to FREE. Line item properties on renewal orders do not persist the original cart's purchase_ref, so after the first paid cycle the periodic orders/paid events would arrive unlinked — the 5-day grace (v1.298.0) would eventually downgrade a paying supplier to FREE. The handler now joins renewals back via (a) the line SKU (pro-plan/business-plan) + (b) the order's customer email + (c) the merchant's latest PAID purchase, then extends periodEnd by one calendar month and keeps the subscription ACTIVE. Month-end clamp honored — Feb 31 never occurs (periodEndFor rewritten to strip-day + setUTCMonth + min(daysInMonth); new unit tests incl. leap years). Lapse reconcile worker now honors an ACTIVE legacy Stripe platform subscription (platformSubscriptionId + platformSubscriptionStatus='ACTIVE') in addition to a live PAID purchase. Notification fallbacks for renewal_no_email / renewal_no_account / renewal_no_purchase alert admin ops instead of silently dropping a renewal.
v1.302.0
2026-11-15
•Supplier dashboard plan picker now renders both tiers side by side (PRO and BUSINESS) with prices, per-transaction fees and taglines — no more hidden BUSINESS option. FREE sees both; PRO sees BUSINESS only. Subscribe goes through the same Shopify hosted checkout flow (v1.298.0+).
v1.301.0
2026-11-15
•Shopify plan lifecycle visible in the supplier dashboard + server-side Storefront auth fix. Private Storefront access tokens now use the correct Shopify-Storefront-Private-Token header (previously sent the public-token header — cartCreate returned 401 UNAUTHORIZED; verified with a live GraphQL cartCreate after the fix). New GET /api/merchants/me/plan-purchase returns the active purchase (plan, periodEnd) and any PENDING checkout; dashboard now renders 'PRO — active until <date>' with a 'Request cancellation' button when a Shopify purchase is current (POST /api/merchants/me/plan-cancel-request → audit PLAN_CANCEL_REQUEST + deduped admin notification — plan stays active until we process; deliberate human-in-the-loop rather than a fake programmatic cancel). Dashboard still shows the subscribe CTA for prospect suppliers. Honest exit after payment: Shopify's hosted checkout cannot be configured to redirect back to our dashboard from the buyers' side; we say so in the docs instead of implying one-click-back exists.
v1.300.0
2026-11-15
•Shopify refunds/create webhook topic — intentional, human-in-the-loop refund signal. Handler matches the refunded order against stored plan purchases (shopifyOrderId), records a PLATFORM_PLAN_REFUND_SIGNAL_SHOPIFY audit row and pings admin ops with purchase/merchant details. Deliberately NOT auto-downgrading on refund — subscriptions keep collecting until the merchant/Shopify cancels them or the lapse worker hits 5-day grace; the admin decides in /admin/mor-dashboard. Ordinary store refunds (non-plan orders) are silently acked.
v1.299.0
2026-11-15
•Shopify Admin API access now rides the client-credentials grant. SHOPIFY_ADMIN_API_TOKEN is demoted to an optional override; default flow mints a 24h token from SHOPIFY_CLIENT_ID + SHOPIFY_CLIENT_SECRET, caches it in-process with a 5-minute safety margin and one 401 retry (expired-token refresh). No permanent Admin token in .env. Unconfigured → the Admin API lookups degrade to the existing unprocessed-and-notify path (never blocks the happy-path purchase flow, which is driven by orders/paid + purchase_ref and needs no Admin API at all).
v1.298.0
2026-11-15
•Plan purchases moved to Shopify's hosted checkout (replacing the Stripe-backed button shipped in v1.297.0). Suppliers click 'Subscribe to PRO/BUSINESS' on /dashboard or in Settings → Billing; the backend mints a pending plan purchase (purchaseRef, pp_*), calls the Storefront API cartCreate (line + sellingPlanId, purchase_ref attribute), and redirects to Shopify's checkout. Activation happens ONLY on the orders/paid webhook — server verifies HMAC, reads purchase_ref from line item properties, checks the purchased SKU matches the pending purchase, grants (never downgrades) the plan, and renews it on every cycle. A daily reconciliation worker lapses plans whose Shopify renewals lapsed past the 5-day grace (down to FREE + CANCELED). Inert unless the Shopify channel is fully configured (domain + webhook secret + Storefront token + variant/selling plan IDs); unconfigured → honest 503 'not configured' instead of a broken checkout. Settings card now points at Shopify checkout too. New table ShopifyPlanPurchase (additive migration); no Stripe call sites on the purchase path anymore.
v1.297.0
2026-11-15
•Supplier dashboard has a plan purchase card. Suppliers on FREE (or PRO) now see a compact 'Grow into PRO' / 'Lower your fees with BUSINESS' card directly on /dashboard — copy mirrors each plan's real fee math, one click opens the hosted plan checkout (existing /me/upgrade-plan Stripe subscription flow; merchant redirects to hosted checkout; cancels anytime via Settings → Billing). BUSINESS merchants see nothing. No API changes; no money-path edits — the card reuses the existing audited upgrade endpoint.
v1.296.0
2026-11-15
•Shopify plan-grant channel live for the MoR's own PRO/BUSINESS US subscriptions. New HMAC-verified (X-Shopify-Hmac-Sha256, timing-safe SHA-256/base64) /api/webhooks/shopify receiver, claim-first idempotent via WebhookEvent (provider shopify). subscription_contracts/create, /update, subscription_billing_attempts/success and /failure are mapped: a grant raises (never lowers) the platform plan by SKU map, a failure marks PAST_DUE (stays in the MRR ledger), a cancel/expire revokes to FREE/CANCELED, renewals keep the plan. Unknown SKUs and purchases without a matching platform account are surfaced in admin ops (unprocessed notifications) — never auto-granted or mis-attributed. New additive table ShopifyPlanGrant records contract-level telemetry (feeds nothing admin-visible yet; source of truth remains Merchant.platformPlan/platformSubscriptionStatus, so the MRR waterfall picks the grant up automatically). Inert unless SHOPIFY_SHOP_DOMAIN + SHOPIFY_WEBHOOK_SECRET are set; .env.example documents all knobs. 5 new unit tests (740 total). Requires a Shopify app with read_customers + subscription webhooks to activate.
v1.295.0
2026-11-15
•Cancel-flow asks first: one anonymous tap learns why the customer is leaving. The customer-portal cancel path is now a two-step dialog — before any offer, a single 1-question survey (too expensive / missing something / switched / no longer needed / other, stored as canonical codes in new nullable Subscription.cancelReason, migration 20261115040000_cancel_reason). The retention offers then match the stated reason deterministically: too-expensive leads with the 20%-for-3-months save; everything else leads with the no-charge 1-month pause. Offers themselves, the save-discount path and cancel_at_period_end semantics are unchanged; the reason is telemetry only (no decisioning, no targeting). Wording stays honest: no fake save-rate numbers, no forced pause on exit.
v1.294.0
2026-11-15
•Dunning gets a human touch ladder. Stripe-native invoice.payment_failed now sends an immediate day-0 email to the customer (the highest-yielding touch — ~13% of recoveries historically) instead of silent flag-setting; every touch now renders attempt N of 4, the card on file (brand •• last4, exp) and the next retry date. The hourly expiry-pre-dunning worker sends one reminder per 30/15/7/0-day mark per subscription (deduped via new nullable Subscription.expiryRemindersSent) to ACTIVE/PAST_DUE/RETRYING subs whose last-used card expires soon or already expired — the sub cannot fix a failure already in flight; this is the cheapest prevention on the board. dunning_final now also fires when the hourly scheduler exhausts the ladder (previously the cancel went out silently). Pure helpers (cardExpiryEndDate, daysUntilCardExpiry, expiryMarkFor, MAX_RETRY_ATTEMPTS) unit-tested (4 tests; 735 total). Retry counts, hard-decline suppression and the payday ladder are unchanged — emails and reminders only, no money-path edits.
v1.293.2
2026-11-15
•Fixed fixed-position dialogs snapping into their hover-transformed card. .card and .card-premium applied a 1–2px translateY lift on :hover, which made any position:fixed descendant (e.g. the supplier-editor modal and its full-viewport overlay) position relative to the card instead of the viewport — hovering the card collapsed the modal overlay into a ~370px box stuck inside the suppliers table, and the backdrop stopped covering the sidebar. Cards now change border and shadow only; the suppliers editor modal renders centered with a full-viewport scrim in all states. Root-caused live via getComputedStyle on the overlay chain; verified rect stays [0,0,vw,vh] while the card is hovered.
v1.293.1
2026-11-15
•Suppliers table responsive overflow fixed. The admin suppliers list demanded ~911px of table width in a ~368px wrapper at smaller desktop sizes, leaving a cramped scrollport and clipped names. Email column now hidden below lg, Country below md; business cell truncates with a title tooltip; columns reflow at breakpoints. No data, API or behavior changes.
v1.293.0
2026-11-15
•Forensically richer audit logs, and the supplier editors rebuilt. Audit rows now carry the acting IP (never spoofable behind the overwritten XFF), offline-GeoIP country (ISO-2, no network calls — disable with AUDIT_GEOIP=false), the raw user-agent (truncated to 300 chars), the x-request-id for correlating a row to api.log, and the acting user email joined in; the admin /admin/audit-logs page renders Time, Action, Entity, Actor, IP, Country and a parsed device summary (browser · OS · device class — Chrome/Edge/Firefox/Safari, Windows/macOS/Linux/iOS/Android, desktop/mobile/tablet/bot), with a country filter and an extended CSV export. All ~74 auditLog.create call sites now flow through the shared services/audit.ts context helper; worker/cron entries stay system-origin rows. Also: the suppliers list editor modal was rebuilt from a cramped lg box into a properly sectioned xl dialog (Identity / Platform / Financials, h-10 controls, labeled fields, an explained freeze-royalties toggle, stat tiles for products and payments); the business-name and email cells now truncate cleanly instead of wrapping mid-word. Additive nullable columns + migration 20261115123000_audit_request_context; no money-path, checkout or authorization changes. 9 new unit tests (731 total).
v1.292.0
2026-11-15
•Public-copy honesty pass — the site no longer claims tax remittance the platform has not registered for, and the dispute-cost story matches the code. Tax claims corrected everywhere they appear: computation and collection run at checkout in the 39 covered jurisdictions; remittance registrations roll out per market (EU OSS and US CA/CO on 1 Jan 2027) — press kit fact sheet, /sell hub and all /sell country pages, trust center tax coverage + page metadata, receipt comparison, /mor-shield card, SEO snippets, the US sales-tax estimator, us-sales-tax-saas and eu-vat-digital-goods guides, the homepage SaaS-founders line and FAQ. The 'managed tax engine when enabled on your account' phrasing is gone everywhere — it described a per-account capability that does not exist. /mor-shield no longer says dispute coverage comes with 'no per-dispute fee from us' — the flat $15 fee refunded on win is now stated, matching fees.ts, the homepage and the disputes flow; the card is now Dispute defence. /trust prohibited list: tobacco in any form (matches the Terms); the overseas-seller UK position everywhere is honest — 20% collected at checkout, registration with the advisor, filings follow. Terminology: compare/guides creators → makers/suppliers. Copy-only release: no product, API, schema or authorization changes.
v1.291.0
2026-11-15
•MRR movement waterfall — shipped as two strictly separate ledgers: supplier subscriptions vs the MoR own plan revenue, never blended. Merchant Analytics gains an MRR movement card (new / expansion / contraction / churn / reactivation + net new + closing MRR per month, per currency, 12-month default; the analytics CSV export carries the same rows); /admin/mor-dashboard gains two separate cards: Supplier MRR movement (fleet) and MoR plan MRR movement (PRO $29 / BUSINESS $99 monthly-equivalent). Source of truth is a new daily snapshot job (SubscriptionSnapshot + PlatformPlanSnapshot, one upserted row per entity per UTC day, additive tables); the diff engine is pure and unit-tested with an exact-footing invariant. Every change path is captured automatically — dunning exhaustion books churn, a pause books contraction and the resume expansion, cancelAtPeriodEnd never counts until the subscription actually ends, PAST_DUE stays in MoR-plan MRR while its subscription is still being retried, and UNPAID/CANCELED book as churn. Months before the ledger anchor render as measured:false zeros, never faked; reactivation vs new is split by whether the subscription carried MRR earlier in the ledger; amounts are per snapshot day and currencies never blend. ENTERPRISE (custom pricing) is excluded from the plan waterfall and called out as leaving the measured base. Three additive read-only routes (GET /me/mrr-waterfall, GET /api/admin/stats/mrr-waterfall, GET /api/admin/stats/platform-mrr-waterfall); two additive tables + migrations 20261115120000 and 20261115121000 with RLS 0006 applied before the restart. 14 new unit tests (722 total). No money-path, checkout or authorization-semantics changes.
v1.290.0
2026-11-15
•Orchestration audit loop completed, plus a field-visibility fix. Decision replay: GET /api/admin/processors/attempt/:attemptId re-evaluates the same basket under CURRENT config — sameLane/sameReason, per-lane eligibility verdict diffs vs the decision-time snapshot (seed-independent), weighted-pick caveat, fail-closed detection — rendered as a Replay (now) line inside the why expander on /admin/processors. Rail-pin effectiveness: insights joins attempts for merchants pinned to a lane (Merchant.preferredRail) against the lane's platform-wide 30d auth rate — recommendation at ≥15pp adverse (≥20 merchant-lane outcomes, ≥50 platform; advisory only). HQ: decision-snapshot coverage chip in the Lane board header (share of attempts carrying a snapshot over 7d; rose below 95%). Attempts-ledger CSV export gains a one-line decision-snapshot summary column. Fix: the /processors main payload's recentAttempts never actually carried decisionSnapshot (explicit field map) — the v1.289.0 why toggle could not render on the page that serves the admin portal; it does now. One additive read route, no schema changes, no money-path changes. 17 new unit tests (708 total).
v1.289.0
2026-11-15
•Payment orchestration: routing-decision audit snapshots + attempt→outcome resolution telemetry. Every rail decision is now persisted on its attempt row (additive nullable PaymentAttempt.decisionSnapshot JSONB) — per-lane eligibility verdicts, the env gates in effect (adaptive/cost-aware/half-open probe), basket facts, selected lane and reason — so any historical ledger row shows why it routed without re-deriving state that has since drifted. /admin/processors attempts ledger gains a per-row why toggle rendering the snapshot; snapshots omit the seed and any buyer-identity-derived input. Attempt→outcome resolution lag is now measured per lane (p50/p95 over resolvedAt−createdAt, 7d, null below 20 resolved outcomes) — provider webhook lag and 3DS-challenge stalls surface here before they show up as declines — rendered in Smart Insights with an advisory recommendation at p50 ≥ 30s (3DS-heavy traffic legitimately runs higher). PaymentAttempt.resolvedAt is stamped at every terminal ledger transition (provider failure, webhook approve/decline/expire gates, stale-PENDING sweeper). No routing behavior changes; one additive migration (20261115110000); 14 new unit tests; no new routes.
v1.288.0
2026-11-15
•Admin supplier and individual-supplier editing, upgraded. Individual suppliers page is now at parity with the supplier list: status column, inline SUPER_ADMIN fee edit, row actions (freeze/unfreeze, activate, suspend, reject with confirm) and per-row support-snapshot link; the modal is a full editor — display name, legal name, email, ISO-2 country, website, status, payout threshold, SUPER_ADMIN fee, royalties freeze — saved via the same PATCH with only the changed fee sent. Supplier list gains legal name, website, payout threshold and royalties-freeze editing in its modal (payoutThreshold batch-checked against the API), an Eye support-snapshot shortcut per row, a Reject row action with an audited confirm dialog, and ISO-2 normalization. Server: PATCH /api/admin/merchants/:id now writes a MERCHANT_UPDATED audit row (field names only, never values) whenever anything changes. No schema changes, no new routes, no behavior change outside the admin portal.
v1.287.1
2026-11-15
•Admin: supplier name links in the refund-watchdog table (Mission Control) and the MoR dashboard By-supplier table pointed at /admin/suppliers/[id], a route that does not exist — clicking a supplier name landed on an empty error screen. Both now link to the supplier support snapshot (/admin/suppliers/[id]/support), consistent with the supplier-health page. No API, schema or behavior changes.
v1.287.0
2026-11-15
•Homepage and Mission Control enhancements + failed-payment recovery button. Homepage: new after-you-apply section (four honest steps — fixed KYB checklist, human decision with written reasons, live go-live, 7-day-hold weekly settlements; no invented claims) and an Everything-is-verifiable strip (Live status /trust /receipt — public, dated evidence instead of testimonials). Admin Mission Control: support queue joins Needs-attention (oldest waiting ticket + SLA age pill; the support/summary endpoint now returns oldestOpenMs + top-4 openItems, additive) and a new read-only royalties batch preview strip (eligible suppliers vs every gate, expected payout/fees; mirrors runPayoutBatch without reserving anything). Merchant payments page: FAILED rows gain a Resend checkout link action — emails the buyer a fresh 24h orchestrated recovery link (same path and recoveryRemindedAt dedup as the hourly abandoned-checkout worker), capped 2/payment/24h, audited, FAILED-rows only. Buyer recovery from the dashboard creates a NEW payment; the FAILED row stays FAILED. No schema or money-flow semantics changes beyond the read-only preview and the additive resend endpoint.
v1.286.0
2026-11-15
•EU reverse-charge compliance: buyer receipt email now states tax details — 0.00 reverse charge with the buyer VAT ID and VIES consultation id on B2B RC sales, or the VAT amount/rate/country included on taxed sales (art. 226 invoice-content obligations, seller of record). VIES fail-safe now has a tripwire: 3 consecutive online-check failures raise one deduped admin notification (vies_unreachable, 4h cooldown) instead of silently charging EU B2B buyers VAT forever; failure results cache 10min (successes 6h). New docs/ADVISOR-REGISTRATION-PACK.md: one-page briefs for EU Non-Union OSS, UK HMRC VAT + developer app, US CA CDTFA + CO DOR — with the evidence we hold and the decisions only the owner/advisor can make. Invoice PDFs/customer portal already annotated RC (unchanged). 3 new unit tests (678 total). No schema or money-flow semantics changes.
v1.285.0
2026-11-15
•EU B2B reverse charge now requires live registry evidence. VIES online validation (services/vatValidation.ts, default ON, fail-safe) gates the reverse-charge decision on real VAT registration before 0% tax is applied — previously a well-formed but fake VAT number would have waived VAT on us as seller of record. Unreachable or invalid VIES → buyer is charged VAT (they reclaim it; we never under-collect). Consultation identifier from a successful check is persisted as vatConsultationId in payment metadata (reverse-charge evidence) alongside Payment.vatNumber/taxCountry/reverseCharge. Format-only mode restored by VIES_VALIDATION_ENABLED=false. GB stays format-only until the owner registers for HMRC Check-a-UK-VAT-number v2 (~2 weeks; no guessed endpoints — GB online check will be a one-release task after sandbox verification). EU-UK tax reference doc: docs/EU-UK-TAX.md. 12 new unit tests; no schema, routes or money-flow semantics changes.
v1.284.0
2026-11-14
•UK Apr-2027 VAT reverse charge staged behind a flag. Finance Bill 2026-27 (TIIN published 2026-10-28, effect 1 Apr 2027, all services, VAT-registered UK recipients only, OBR-certified) verified against gov.uk primary sources — GB joins the reverse-charge-eligible set for valid GB VAT numbers with a non-GB seller when UK_REVERSE_CHARGE_2027=true. Default OFF: zero behavior change until the Finance Bill final text is confirmed (flip release target <= 2027-03-31, with the /pay + checkoutI18n VAT-help copy broadening to EU/UK deferred to the same flip release). 4 new unit tests (flag off = status quo 20%; flag on = 0% RC for valid GB VAT cross-border; invalid/absent VAT or same-country seller stays 20%; strict true parsing). .env.example documents the flag; docs/UK-2027-VAT.md carries the verified-source list. No schema, routes or live-math changes.
v1.283.1
2026-11-14
•Homepage who-it-is-for first audience pill renamed from Indie hackers to Indie makers — the platform does not support hack/circumvention categories, and the label read the wrong way. Audience label only; the supporting line is unchanged.
v1.283.0
2026-11-14
•Activation telemetry, KYB rationale, digest deltas, public-path watchdog. New requireAdmin read endpoints: GET /api/admin/stats/onboarding-sla (KYB submit-to-review turnaround, trailing 90d — median/p90 hours, reviewedCount, claimEligible gated at n>=10 review cycles) and GET /api/admin/stats/time-to-first-sale (signup to first succeeded payment, trailing 180d cohort — activated count, activationRatePct, median/p90 days, same claim gate). Internal telemetry only — nothing publishes a claim below the sample threshold; both surface on a new Mission Control activation strip (n= shown). Onboarding wizard requirements now carry a Why we ask line per item (legal/regulatory rationale from the deterministic checklist engine — same engine for merchant wizard, admin review panel and the submit gate). Weekly admin platform-health email now renders week-over-week deltas (gross, payment count, failed payments, new merchants), computed only when the prior window was actually measured. Ops: in-box public-path watchdog (deploy/monitoring/public-path-watchdog.sh, every 5 min via /etc/cron.d/mor-watchdog) probes the TLS/nginx/app path end-to-end and raises one deduped admin notification per hour on failure. No money-flow, schema or authorization-semantics changes; two additive read-only endpoints.
v1.282.3
2026-11-14
•Phantom-500 fix in the admin API — requireAdmin/requireSuperAdmin call sites inside route handlers returned a bare return after the guard had already sent the 403 Forbidden, so Fastify serialized undefined on top of the sent response and every rejected call logged ERR_HTTP_HEADERS_SENT through the error hook as a 500 (the client always got the correct 403; the 500 was phantom). 118 call sites across 13 admin/onboarding route files now return reply. Also one multi-line variant caught by a follow-up sweep (platformFeePercent gate in adminMerchants). No routes, schema, money-flow or user-visible changes.
v1.282.2
2026-11-14
•Admin Mission Control skeleton swapped to the shared Skeleton primitives (was raw animate-pulse divs) plus aria-busy/aria-label on the loading container. Docs stav headers swept to the shipped version (17 files stuck at v1.279.0 synced); historical changelog lines untouched. No API, schema or money-flow changes.
v1.282.1
2026-11-14
•Internal cleanup, no behavior change. /api/merchants/dashboard no longer returns three fields nothing ever read (grossVolume, stripeFees, netMargin) and its aggregate query drops the stripeFeeCents sum along with them (platformFees and the money path untouched). 15 unused web client exports pruned from apps/web/src/lib/api.ts (auth.me, auth.logout, merchants.accountInfo, onboarding.stripeRequirements, products.get/update, prices.byProduct, disputes.get/evidence, subscriptions.create, admin kybRequirements client, creators.tax/wallet/balance) — all verified zero call sites including multi-line JSX call chains. One correction caught before ship: customers.portalFeedback IS used by the customer portal and was restored. No routes, schema or money-flow changes.
v1.282.0
2026-11-14
•Surface polish (homepage, supplier dashboard, mission control). Loading paths flattened: mission-control stats land in one Promise.all instead of six serial await stages (each was a full RTT); supplier dashboard fetches payment links alongside everything else instead of in a second pass after data resolves, and its failure state now carries an inline Retry. Hover/focus affordances fixed on the homepage logo, the mission-control Live toggle and the revenue-chart card (role=link). Launch-banner duplicated launch-window predicate collapsed. No API, schema or money-flow changes.
v1.281.2
2026-11-14
•Auth screens fixed — the public corporate footer is no longer rendered below the login/register/forgot/reset screens (they are full-height, self-contained two-panel layouts; the shared footer below made them look broken). Their brand panel is now a viewport-height sticky column, so the left edge never rides up or down as you scroll the form — the card stays put while the form is taller than the fold. No API, schema or money-flow changes.
v1.281.1
2026-11-14
•Terminology follow-through: supplier-facing settings route renamed /settings/payout → /settings/royalties (permanent 301 redirects keep old links working); page heading already says 'Royalty settings'. No API or schema changes.
v1.281.0
2026-11-14
•Terminology migration — suppliers & royalties (matches the acquirer dossier and the seller-of-record contract). The user-facing surface now says Supplier for the seller persona (was Merchant/Creator) and Royalty for what they are paid (was Payout), while the category term "Merchant of Record" stays. Renamed routes with permanent 301 redirects: /payouts → /royalties (supplier portal), /admin/{merchants,merchant-health,creators,payouts} → /admin/{suppliers,supplier-health,individuals,royalties}. Visible copy changed across public pages, merchant portal and admin portal (nav labels, headings, buttons, table column headers, empty states, shortcut palettes, toasts, tooltips and aria labels); internal identifiers, API paths, DB models, permissions and .env names unchanged. adminadmin API path /api/admin/payouts renamed to /api/admin/royalties (frontend calls updated to match; Appendix A regenerated). Emails updated (payout_failed/destination-changed/banner copies → royalty wording; op digest lines point at renamed admin paths). Legal text persona references aligned ("Merchants may set" → "Suppliers may set"); docs/ACCEPTANCE-SNAPSHOT.json regenerated for the legal source changes. All 619 API tests pass; docs:check 312/312; web build green.
v1.280.2
2026-11-14
•Login UX — a failed sign-in no longer reloads the page silently. The shared API client (apps/web/src/lib/api.ts) hard-redirected EVERY 401 to /login, which made wrong-password logins look like an invisible full-page reload with no feedback at all. Now the redirect is skipped when the caller is already on /login, so the login form's error path renders the real server response (e.g. Invalid credentials) inline. Expired sessions elsewhere in the app still redirect to /login as before. No API, schema or money-flow changes.
v1.280.1
2026-11-14
•Public copy consistency pass — apps/web/public/llms.txt no longer opens with the 'white-label Merchant of Record' framing (white-label refers to the platform brand, not to resold merchant account contracting; the footer already states seller-of-record). 'Caelum Mountain LLC operates a Merchant of Record for digital software, SaaS, licenses and digital downloads' replaces it. Agent-facing MCP tool list and Ed25519 webhooks disclosure verified against repo (all 12 tools ship in packages/mcp-server; webhooks.ts signs ed25519). No routes, no schema, no product logic touched; content-only patch.
v1.280.0
2026-11-14
•Re-acceptance of the current legal bundle + a drawn freehand signature for every acceptance. Settings shows an amber banner when the supplier's latest accepted Terms/DPA versions differ from the current bundle (GET /api/legal-acceptance/acceptance-status); 'Review & accept' opens a signature modal — the supplier draws their signature with mouse/trackpad/touch (new <SignaturePad>, pure pointer events, white-paper ink look) and confirm (POST /api/legal-acceptance/accept-current) — the flow seals a fresh acceptance record carrying the image's sha256 (Encrypted-at-rest PNG, max 400KB, PNG-magic validated), image binding included INSIDE the sealed record bytes (sha256 + mime + size), stored under documentStore with merchant-scoped audit rows. Registration now works the same way: every new merchant draws their signature at signup; invalid signature data is rejected BEFORE any DB write (no orphan accounts); the drawn signature's sha256 is pinned into the sealed acceptance record and in both ACCEPT_* audit rows. Admin visibility: GET /api/legal-acceptance/pending-reaccept (requireAdmin) lists merchants whose acceptance lags the bundle or never accepted (O(n) scan, documented). Legal version constants consolidated into services/legalVersions.ts (single bump point, imported by register + re-accept + both status views). Unit tests pin the gate semantics (never-accepted, stale-terms, stale-dpa, future-version rollback). No schema changes; no payout/money-flow logic touched; the acceptance seal construction (v1.275.0) is unchanged beyond an added signatureImage digest field inside the record.
v1.279.0
2026-11-14
•Acceptance record now pins the legal snapshot (sha256). New docs/ACCEPTANCE-SNAPSHOT.json (regenerated by apps/api/scripts/legal-snapshot.mjs whenever legal sources change) pins the exact bytes the supplier clicked through at registration — the terms/DPA route file and the register page, per-file sha256. The sha256 of the manifest is embedded as legalSnapshotDigest in the sealed acceptance record (alongside legalManifest), so the v1.275.0 three-layer seal binds tamper-matched source bytes instead of a floating version string. The acceptance_receipt email includes the digest; scripts/verify-acceptance.ts prints it and cross-checks it against the committed manifest. Best-effort — a missing manifest never blocks registration; pre-v1.279.0 records simply carry no digest. Unit tests pin manifest ↔ files ↔ auth.ts constants (tests/legalSnapshot.test.ts, wired into test:unit). No schema, no migration, no money-flow logic touched.
v1.278.0
2026-11-14
•KYB rebuilt as a country-relevant system — the platform's new KYB process and storage. New additive schema: BeneficialOwner (fullName, role OWNER/CONTROL_PERSON — the FinCEN control prong, ownershipPercent 1-100 with running per-application sum ≤100 and max 10 rows, DOB, nationality, address, ID-type/last-4 ONLY — full national IDs are never stored), hand-written migration, pg_dump taken before the deploy, RLS enabled and verified as mor_app (0 rows visible — fails closed). Every owner is screened against the offline OFAC SDN list at add/update time; identity-triggering edits re-screen. New deterministic requirements engine (pure function, unit-tested): business profile, registry extract, EIN/VAT evidence, representative identity (details + ID document), proof of address ≤90 days, beneficial owners ≥25% (or explicit sole-owner attestation; any FLAGGED owner BLOCKS the application — BENEFICIAL_OWNERS/SANCTIONS_SCREEN = BLOCKED), US W-9. The SAME checklist output drives the merchant wizard panel, the admin review panel (now embedded in GET /api/admin/onboarding/pending as kybChecklist + beneficialOwners — no N+1) and GET /api/onboarding/checklist (new route; /api/onboarding/requirements was already the legacy Stripe account route and remains untouched). Country-relevant document matrix (kybCountryDocs.ts) — ~55 jurisdictions plus an explicit default: merchants are asked for the registry extract that actually exists in their country (CZ výpis z OR / Justice.cz, GB Companies House + CS01, DE Handelsregisterauszug, FR extrait Kbis, US SOS Certificate, PL KRS odpis, …), country-named tax evidence (CP-575 vs DIČ vs USt-IdNr), local UBO-register hints and local accepted proof-of-address docs — grounded in the FinCEN CDD rule (31 CFR 1010.230) and the FFIEC BSA/AML exam manual (minimum identifying info, retention). Web: merchant wizard gained step 'Owners & KYB checklist' (add/remove owners, live screening chips, % cap enforcement, sole-owner hint, per-country checklist panel); admin onboarding queue now renders checklist chips + a full beneficial-owners table (screening status, red flags). Docs: new docs/KYB-DOCUMENT-REQUIREMENTS.md, AML-KYB-POLICY updated. Explicitly NOT included: hard-gate on SUBMIT (checklist informs; admin judgment stays human — a bad gate would strand live merchants), live UBO-register API cross-checks (manual review), Stripe connected accounts (unplugged since v1.270.0), full end-to-end click-through on prod (verified locally/401 gates only; fresh-live prod is intentionally unpolluted). No new routes besides /api/onboarding/checklist and the admin /:id/requirements variant; no payout/money-flow changes; acceptance evidence (v1.275.0 seal) untouched.
v1.277.0
2026-11-14
•Onboarding flow completed: approving an application NOW releases the supplier to ACTIVE on BOTH approval paths (the canonical /api/onboarding/:id/review route and the /admin approve-kyb panel path — previously the latter left merchants stuck in PENDING forever). Suppliers now receive transactional email at every decision point: application_received at submit (existing), new application_approved (next steps: add first product, checkout link/API key, settlement account — weekly payouts after 7-day hold) and application_rejected (includes the admin notes when provided). Bank-account step copy fixed: the number is collected for verification only; settlements are configured in Settings after approval (the old hint promised payouts would use it, which is not how settlements work). scripts/simulate-kyb.ts deprecated with a fail-loud guard — it was an operator-landmine against the live account (would have created junk live connected accounts mid-review). No schema changes; no new routes.
v1.276.2
2026-11-14
•Legal pages LAST_UPDATED corrected to 14 November 2026 (the ToS/DPA content shipped in v1.265–v1.275; the static date line had not been bumped with them, so the pages claimed a version older than the text readers actually got). Content-only one-liner; verified live on all eight legal pages.
v1.276.1
2026-11-14
•Fix path resolution for the acceptance public key in the new verifier (the file was not found via import.meta URL from tsx, so /api/legal-acceptance/verify returned 503; falls back to cwd-relative path too) and for the offline verifier script. No behaviour change beyond the route working as documented.
v1.276.0
2026-11-14
•Acceptance record is now emailed to the supplier at registration (acceptance_receipt): the exact signed record bytes, Ed25519 signature, keyId, document versions, timestamp, IP and step-by-step verification instructions. A new public read-only endpoint POST /api/legal-acceptance/verify (per-IP 30/min, no DB) re-checks the platform signature and returns valid + non-identifying facts — any third party can verify the email without our tooling. Registration flow unchanged; email is fire-and-forget (never blocks signup). No schema changes; one new route, documented.
v1.275.0
2026-11-14
•Acceptance record upgraded to a three-layer free-of-charge construction: (1) signer-side device signature — the browser mints a non-extractable ECDSA P-256 device key (IndexedDB), signs the canonical acceptance payload; the API verifies it (invalid = 400) and stores signature + JWK + ts; (2) platform Ed25519 seal over the canonical record (as v1.274.0); (3) RFC 3161 trusted timestamp of the record SHA-256 from a public TSA (DigiCert, fallback FreeTSA) — only the digest leaves the server, fail-open if unreachable. Seal metadata now carries signer + TSA token; offline verifier (scripts/verify-acceptance.ts) checks all layers; AML-KYB-POLICY documents the full chain. Register page discloses the device-seal wording. Not a QES (nothing free is) — evidentiary hardening of the click-wrap, legally effective via eIDAS Art. 25(1) / US ESIGN-UETA. No schema changes; no new routes.
v1.274.0
2026-11-14
•Registration acceptance is now digitally sealed. Each registration builds a canonical acceptance record (merchantId, userId, email, businessName, country, documents with versions, IP, user-agent, timestamp) and signs it with the platform Ed25519 private key (local to the server, never committed). The seal is stored in the ACCEPT_TERMS_TOS / ACCEPT_DPA audit metadata; the public key is published at /acceptance-signing-public.pem and offline verification ships as apps/api/scripts/verify-acceptance.ts (roundtrip sign-verify-tamper tested; prod holds no acceptance rows yet, exercised on first registration). Not a qualified electronic signature — the click-wrap legal effect never relied on one; this hardens the evidentiary record. Register page copy updated to disclose the seal; supplier acceptance now covers exactly Terms + DPA (the checkbox no longer name-checks buyer terms). No schema changes; no new routes.
v1.273.0
2026-11-14
•Registration and KYB now produce a verifiable acceptance trail (click-wrap evidence for the partner contract). At registration the platform logs ACCEPT_TERMS_TOS and a new ACCEPT_DPA audit event, each carrying the legal-bundle version (TERMS_VERSION/DPA_VERSION), surface and user-agent alongside IP + timestamp (PROHIBITED_CATEGORIES already carried a version). Admin KYB approve/reject paths in the admin panel now write KYB_APPROVED / KYB_REJECTED audit rows; the canonical review route already logged APPROVE_ONBOARDING/REJECT_ONBOARDING and is unchanged. No schema changes; no new routes; no public behavior change.
v1.272.0
2026-11-14
•MoR-legal parity pass — public legal and receipt surfaces no longer reference a separate off-page supplier agreement (it never existed publicly; the accepted contract IS the Terms at /legal/terms, accepted click-wrap at registration — the same shape as incumbent MoR partner terms). Terms §2 appointment and services list now cite these Terms (no phantom off-page document), DPA party language and support/termination clauses aligned. Buyer receipt email now states sold-by Caelum Mountain LLC as seller of record with NM file no., principal-place address and statement descriptor, tax-inclusive amount line and support routing to support@caelummountain.online. Supplier-facing settlement statement (PDF) retitled to Settlement Statement (supplier copy) with raw-cents amounts now formatted to USD and an explicit seller-of-record line. Trust page and the /receipt comparison row now name supplier reseller terms consistently; /llms.txt points to /legal/terms. No schema changes; no routes; no money-flow logic touched; no public release of new legal content — existing public text corrected to match the accepted contract.
v1.271.0
2026-11-14
•Processor-adapter seam pinned by conformance suite — exactly the 'add any acquirer' promise the orchestration layer was built for, now enforced in CI instead of asserted in prose. tests/processorAdapter.test.ts (7 cases, plain-tsx): fail-closed skeleton exports the full ProcessorAdapter surface (every method throws PaymentProcessorNotConfigured — never the money path), error message names the method + remediation doc, registry resolves known skeletons by name, unknown names throw with the registered list (no silent Stripe fallback — ever). Wired into test:unit. docs/PAYMENT-ORCHESTRATION.md header corrected to current release and a new 'Minimum viable second rail — scoring sheet (2026-11)' annex added: 16 criteria every candidate acquirer must satisfy (MoR acceptance by name for digital goods MCC 5817, principal-seller contract, auth model, hosted checkout path, webhook HMAC scheme, thin vs snapshot payload split, descriptor control, refunds/disputes/3DS, PCI scope, sandbox round-trip, reserve mechanics) — including the four gates (MoR underwriting, principal-seller contract, signed webhooks, sandbox trip) that end the conversation before any adapter code is written. No product logic changes; no routes; no schema.
v1.270.0
2026-11-14
•Connect embed removed — seller of record is now literal. The platform no longer creates, manages or refers to processor-side connected accounts: registration attests only to these Terms (checkbox + recorded acceptance in the audit log as ACCEPT_TERMS_TOS); Terms §1 now states suppliers are never connected accounts, verify-and-transmit authorization only for our acquiring partners, no third-party counterparty agreement anywhere; restricted categories now say 'acquirer pre-approval' (was Stripe pre-approval); approval pipeline no longer calls Connect create on KYB approval (was account identity anchor); settings SAA-acceptance banner + POST /me/saa-acceptance + register Stripe-ToS attestation + /connect/onboard, /connect/status, /connect/kyb API (now dead) and saa.ts removed; legacy saa*/stripeAccountId DB columns kept for existing ACTIVE records (no destructive migration); admin onboarding processor-failure warning card removed (the artifact it guarded no longer exists); Otool link to connected accounts removed from register; /onboarding/refresh now a simple redirect to /onboarding. Reason: the house structural flaw — our legal text attested a Connect relationship while we had no card flows through it; acquirers called exactly that a marketplace. This is also the version the competitor Playbook converges: Anyway-style seller-of-record without the connection machinery. Smoke: validation 400 on malformed register, full unit suite green, all docs consistent (302 routes); live rails re-tested: ToS/register serving de-incorporated text.
v1.269.0
2026-11-14
•Global corporate footer everywhere public — /docs and admin remain hidden as designed. The identity block (Caelum Mountain LLC · 1209 Mountain Road PL NE, STE R, Albuquerque, NM 87110 · New Mexico LLC · NM File No. 0008135421 · +420 734 210 456 · support@caelummountain.online) now renders on every public and buyer-facing route, alongside legal links (Terms, Buyer Terms, Privacy, Refund, Cancellation, Withdrawal EU, Cookie, DPA) and resource links (Trust, Compare, Guides, Pricing, Directory, MCP, Press). New home menu footer in homepage and mini-footer in press were absorbed into the shared component; every page now exposes the same entity + legal identity — the exact thing an underwriter eyeballs first. Implementation: components/layout/PublicFooter.tsx + components/ui/mountain-mark.tsx, mounted in the root layout behind a route filter so app-shell paths (admin ops, merchant chrome, /docs) stay clean. No schema, no API routes, no marketing copy changes.
v1.268.0
2026-11-14
•Acquisition-parity patch — final wording pass after v1.267.0. /llms.txt says supplier replay (was merchant replay). /trust Documents grid now surfaces the full legal stack: Terms, Buyer Terms, Privacy, Refund, Cookie, Data Processing Agreement, Model Withdrawal Form (EU), Cancellation Policy, System status. Homepage footer directory link relabeled Supplier directory. Buyer checkout untouched: the buyer-facing 'by <business name>' line intentionally shows the supplier's business name (that IS the Dodo pattern). Remaining Merchant-of-Record mentions are the legal category descriptor we legitimately keep everywhere (compare/guides/trust identity); sub-merchant ports and counts are unchanged; competitor-comparison carve-outs unchanged. No schema, no routes.
v1.267.0
2026-11-14
•Acquisition-ready sweep — what an acquirer reads first now reads coherently. The public surface completes the supplier vocabulary pass: buyer-facing and marketing copy no longer speaks to 'merchants' as our counterparties (login, demo, directory, MCP, support FAQ, register, customer-portal, onboarding metadata, press kit, OG cards, layout metadata, /trust including the KYB-AML and fraud rows, and the legal package). /trust gains two new blocks close to the top: 'The distribution structure — who does what' (you sell, we buy; retail sale to the buyer as seller of record; your settlement is a royalty after clearing, never a payout of buyer funds) and 'Distribution Partner Acceptance Policy — how a product gets on the shelf' (no self-serve catalog; KYB + provenance + prohibited-category screening before anything goes live). The Terms gain an Appointment clause (§2): non-exclusive authorized-reseller appointment, the SRP/distribution-margin settlement math stated verbatim (collected consideration minus remitted tax minus distribution margin minus reserves), the supplier's no-direct-invoice obligation for resold products, and the platform's authority to set retail price. §6 gains a 0.5% monthly combined refund-plus-chargeback suspension trigger with escalation. Buyer Terms gains §5a (sales-tax refund within 60 days for VAT-registered buyers; ESIGN/UETA e-signature validity). /llms.txt now states the distribution-agreement model. Cookie banner deliberately NOT added (no non-essential cookies in production). No schema, no routes. Note: these wording edits were shipped without counsel review at owner's instruction — a counsel pass is still recommended before the underwriter package is sent.
v1.266.0
2026-11-14
•Data-processing parity pass (mirrors the reference distribution MoR legal package). The public legal set gains a full Data Processing Agreement at /legal/data-processing-agreement — independent data controller for buyer data / processor under documented instructions for supplier-instructed processing, no joint controller relationship; Standard Contractual Clauses Modules 1 and 2 plus the UK Addendum incorporated by reference; Annex structure (processing details, security measures incl. AES-256-GCM at rest for KYB documents, per-merchant row-level isolation, tokenisation at the processor, no cardholder data at rest, audit logs, tested restores); sub-processor list with a 14-day change notice (Stripe, Airwallex, Vultr, fulfilment/SMTP and KYB providers — named on written request, mirroring /trust); international transfers (SCCs, UK Addendum, DPF where applicable); Data-Subject request routing (5 business days); 48-hour confirmed-breach notification to distribution partners; retention/deletion/audit rights; New Mexico governing law; SCCs prevail on conflict for transferred data. Buyer Terms §1 gains explicit click-wrap wording (affirmative, individual assent per order; checkout locked until the checkbox is ticked; submission forms a binding contract with the platform as seller of record). Wired into the DOCS map, the homepage footer, the /trust documents grid and the sitemap. /trust sub-processor table corrected to buyer-funds settlement + supplier settlement terminology (was 'payouts (Connect)'). Cookie policy unchanged by design — we serve strictly-necessary cookies plus optional, off-by-default analytics, so no consent banner is added (a no-op banner is decoration, not compliance).
v1.265.0
2026-11-14
•Distribution-framing sweep — the entire public surface now reads like what we actually are: a curated digital-software distributor that is seller of record and holds the full transaction liability, not a payment platform onboarding third-party merchants. Live legal Terms rewritten to the distribution program (end customers contract with Caelum Mountain LLC; suppliers contract with us under the distribution program; settlement as royalty after clearing; the Stripe agreement is referenced strictly as operating infrastructure for our acquiring, which is the truth: buyer funds never transit a supplier account). Privacy, Refund and buyer-terms copy adjusted to distribution-partner vocabulary (buyer terms keep 'supplier', not 'merchant'). Every public surface converted from payouts to settlements vocabulary (~30 files: marketing, metadata, OG cards, press, migrate, guides, directory, first-sale, login, demo, /llms.txt). Pricing page and press kit now say 'expedited settlement (5% fee, min $10)' instead of instant payouts. Support FAQ settlement wording matches. Competitor-comparison carve-outs and processor legal-attestation text kept unchanged, as required. Counsel review of the live wording remains the gate before sending the underwriter package (the draft framework — Distribution Agreement template + KYB evidence addendum — lives outside this repository at /root/kyb-package; never commit it).
v1.264.0
2026-11-14
•PayFac-optics sweep on the public surface — the platform now consistently presents as a curated digital-software distributor selling as seller of record, not a payment platform inviting third-party merchants. The /receipt page drops the 'marketplace / split flows' bullet and comparison-table row in favor of 'Contract you sign' (licensed distribution agreement everywhere — Paddle/LS/Polar do the same; Stripe direct puts the liability on you); the intro no longer claims unique marketplace flows. The homepage fee-receipt card no longer names the card processor by name ('card-network cost shown at cost, our share shown as one explicit platform line'). /for/indie-games 'weekly payouts to your bank, not a revenue-share maze' → 'weekly settlements to your bank, one licensed contract per supplier'. The /trust restricted-categories line now reads 'our acquiring bank's pre-approval', not the processor name. Competitor-comparison and legal-attestation processor references kept by standing owner carve-outs. Draft package for counsel delivered outside the repo (/root/kyb-package/): Distribution Agreement template (distribution-rights grant, supplier royalty settlement, reserve/clawback mechanics, prohibited-content indemnity), a section-by-section ToS rewrite proposal (distribution-program framing: services list, distribution margin, 1099 line for counsel to confirm, no connected-account incorporation), and a CM-KYB-001 underwriter evidence checklist (inbound acquiring only, out-of-band disbursals on EMI rails, MCC 5818, withdrawal-waiver statement, evidence bundle). Drafts are NOT applied to live legal copy — counsel sign-off required first (see the drafts for the open decisions). No schema, no routes, no API changes.
v1.263.0
2026-11-14
•Support tickets get attachments — closing the v1.260.0 text-only deferral. Opening replies, merchant replies and admin replies can each carry one file (PDF, PNG, JPG or HEIC, max 5 MB) through the same pipeline as KYB attachments: base64 upload, magic-byte sniff at the edge (PDF/PNG/JPEG/HEIC only — no client-side trust), AES-256-GCM at rest in the document store, SHA-256 recorded, random stored names — the stored name is never exposed to clients. Attachments render inline in the thread with a sanitised download link (owner-scoped merchant route / new admin route /api/admin/support/tickets/:id/replies/:replyId/attachment — both requireAdmin or ticket ownership, 404 cross-tenant; inline Content-Disposition, nosniff, private no-store). Attachment metadata on thread reads never exposes the stored name. Schema: additive nullable attachment columns on SupportTicketReply (migration 20261114210000_support_attachments, pg_dump backup taken first; no new table, RLS unchanged). UI: shared AttachmentPicker component (paperclip, pending chip with name/size, remove) wired into the merchant create form, merchant reply box and admin reply box; reply counter/Send behaviour unchanged otherwise. Audit entries for ticket create and both reply paths now record hasAttachment. 7 new unit tests (build pipeline, meta mapping, cross-ticket read isolation); 632 unit tests green. Full round trip (create → attach → download → admin reply with attachment) verified live on the demo merchant, throwaway row removed afterwards.
v1.262.0
2026-11-14
•Audit-gap fix: merchant replies on support tickets now write an audit entry (SUPPORT_TICKET_MERCHANT_REPLIED, with a reopen flag) — every support-ticket state change is ledgered, not just the admin-side ones. No UI change, no schema change, no migration.
v1.261.0
2026-11-14
•Support intelligence — research-grounded (see docs/SUPPORT-RESEARCH.md). Auto-acknowledgement email on ticket creation (ticket_received; instant, honest, NOT counted as a first response — first-response time is measured human-to-human from the ledger). Deterministic keyword priority suggestion at creation (security/money-blocked language — hacked/unauthorized/chargeback/missing payout/blocked/urgent — lands as HIGH; advisory only, always admin-overridable from the thread). Admin thread gains a first-response read-out, an overridable priority chip, and five canned macro replies (payout, KYB, webhooks, fees, wrap-up). Admin queue gains a live waiting-age column (amber ≥8h, rose ≥3d for merchant-last messages) and a high-priority/CSAT KPI pair; tickets resolved get a one-tap 1–5 CSAT widget (POST /api/support/tickets/:id/csat, one-shot, audit-logged, admin sees the aggregate + per-thread stars). Schema: additive nullable CSAT columns on SupportTicket (migration 20261114190000_support_csat, backup taken first). 6 support-domain unit tests; 625 unit tests green. No AI-first-response (no trusted KB), no published SLA (no measured FRT data yet) — honesty gates kept.
v1.260.0
2026-11-14
•Support tickets end to end — merchants file, admins answer, both sides see the thread. New /support/tickets for merchants (create with category + body, list with unread dot, threaded view with reply — replying on a resolved/closed ticket reopens it; ≤5 tickets/hour per merchant) and /admin/support for the ops team (queue sorted unread-first + status filter, thread view, triage via explicit audited transitions OPEN→IN_PROGRESS→RESOLVED→CLOSED; KPI cards for open/in-progress/unread). Merchant dashboard gains an attention item when the team has unread replies; admin sidebar gains an amber badge polling every 60s (support summary endpoint). New tickets and merchant replies ring the admin bell; the merchant gets a support_reply email when the admin replies (real email, fires only on actual admin replies). Schema: SupportTicket + SupportTicketReply (migration 20261114180000_support_tickets, additive; RLS policies applied via deploy/rls/0003-support-tickets.sql — 27 tenant policies now). Tenant-scoped merchant routes (404 cross-merchant), requireAdmin on all admin routes, zod-validated bodies, unread counters cleared on thread read. 5 new unit tests; 624 unit tests green. Attachments deliberately not in v1 — text only.
v1.259.0
2026-11-14
•Admin merchant-health page upgraded: the Healthy/Watch/At-risk KPI cards are now the tier filter (click to toggle — keyboard-activatable, focus-ringed, active tier toggles back to all), and every watchlist row deep-links to the merchant support view (/admin/merchants/[id]/support) with a hover affordance — the watchlist is no longer a dead-end table. UI-only; no endpoints, no schema, no migration.
v1.258.0
2026-11-14
•Orchestration HQ lane board gains a measured economics row (UI-only, no API change). Each lane card now also shows — sourced from the existing insights aggregate on the same 60s auto-refresh cycle (best-effort fetch, never blocks the board) — the 30d 3DS non-authentication share (rose at ≥40%, n≥10; ties into the v1.257.0 3DS watch) and the 90d refund rate per 1,000 settled transactions with refunded cents (economics, not routing — refund fees are typically not returned). Rows render nothing below their floors; the feed's event list now also names the timeout/decline/3ds watch audit actions. No endpoint changes, no schema changes, no migration.
v1.257.0
2026-11-14
•Orchestration intelligence round 8: the 3DS-abandonment leg reaches the bell. New hourly 3DS watch (services/orchestration/threeDsWatch.ts): any lane whose 30d 3DS attempts fail to complete authentication (challenge abandoned, failed auth, ACS error; ≥40% non-authenticated with n≥10 — same floors as the insights panel) gets ONE deduped (24h) admin notification (processor_threeds_watch) with lane:share:n lines, plus a PROCESSOR_THREEDS_WATCH audit entry — visible in the Orchestration HQ activity feed (amber, '3ds watch') and served by GET /api/admin/processors/events. Advisory only; never flips status; silent at zero / below floors. Until now the 3DS failure share only lived on the processors page — this closes the gap between seeing the leak in insights and being paged about it. Pure evaluateThreeDsShare with 4 unit tests; 619 unit tests green. No schema changes, no migration.
v1.256.0
2026-11-14
•Dashboard deep-links: the merchant KPI row is now fully wired — every card routes somewhere real (Your earnings → /wallet, Pending hold → /payouts, Platform fees paid → /analytics, Transactions → /payments, Risk score → /disputes, on top of the existing Gross sales → /analytics and Available to pay out → /payouts) with hover lift, keyboard activation and matching tooltips — no more dead-end cards on the first page a merchant sees. Admin side: removed the unused admin.processorAttempts client wrapper (the Processors attempts ledger reads the registry payload; the API endpoint itself stays, documented). No backend changes, no schema changes, no migration.
v1.255.0
2026-11-14
•Orchestration intelligence round 7: per-lane refund telemetry joins the economics triangle. Insights now carry refund economics per rail (90d): completed refunds joined to their capturing lane (Refund to Payment.processor) — per-lane count, refunded cents, rate per 1,000 settled transactions (null below 20 settled per lane; ≥50 settled for inter-lane comparison) and platform-wide lines in overall (refunds90d, refundCents90d, refundRatePer1000). Smart Insights gains a Refunds panel (merchant-initiated — economics telemetry, never a routing signal) plus a worst-vs-best lane recommendation (worst ≥2x best, ≥10 refunds each, ≥50 settled): a lane bleeding refund drag is a margin problem (refund fees are typically not returned), not a reason to shift weight — the copy says exactly that. Pure summarizeRefunds/refundWorstLane with 5 unit tests; 615 unit tests green (303+312). No schema changes, no migration; read-only, advisory, merchant-only data stays server-side.
v1.254.0
2026-11-14
•Orchestration intelligence round 6: traffic-vs-config drift detection, and Mission Control gets an orchestration strip. Insights now compare configured weight share vs measured 7d attempt share per priority tier (pure evaluateTrafficDrift; unrestricted tiers only — any country/currency/amount allowlist makes expected share undecidable, so the detector stays silent rather than fabricate a signal): ≥15pp divergence with ≥50 tier attempts flags the tier and feeds Smart Insights ('Traffic vs config (7d)') plus a per-tier recommendation naming the actual vs configured shares — the 'the split you think you configured is not the split reality delivers' signal (eligibility or health reshaping traffic). Rendered with rose at ≥30pp. Mission Control gains a slim orchestration strip between the KPI row and the attention queues: per-lane status dot + 7d volume/auth, an ambiguous-outcome pill when the reconciliation queue has SUCCEEDED-bound TIMEOUT rows, and a deep link to Orchestration HQ — the routing layer is now visible from the one pane of glass. 8 unit tests for the drift evaluator; 610 unit tests green. No schema changes, no migration.
v1.253.0
2026-11-14
•Orchestration intelligence round 5: a latency-shift detector, an hourly decline-shift watch, and a live-toggle Orchestration HQ. Insights now flag when a lane's average latency ramps ≥50% vs the prior 7d (min 20 samples per window, min +75ms absolute — otherwise silent): one grouped FILTER read per lane, recommendation naming the exact delta and sample count, rendered as a warning under Smart Insights. The decline-shift detector from v1.252.0 gains an hourly watch (services/orchestration/declineShiftWatch.ts, boot + hourly): any lane with a code ramping ≥15pp (same floors as insights) sends ONE deduped (24h) admin notification (processor_decline_shift) with the lane:code:delta lines, plus a PROCESSOR_DECLINE_WATCH audit entry surfaced in the HQ activity feed — so the signal reaches the bell, not only the page (advisory; never flips anything). Orchestration HQ gets the Mission Control live contract: auto-refresh every 60s (paused while the tab is hidden), a Live indicator + pause/resume toggle (aria-pressed), and a proper Refresh button. 602 unit tests green. No schema changes, no migration.
v1.252.0
2026-11-14
•Orchestration intelligence round 4: a decline-code shift detector, an hourly ambiguous-outcome watch, and per-row action hints in the reconciliation queue. Insights now flag any decline code whose 7d share rose ≥15pp vs the prior 7d (min 8 occurrences in 7d, min 10 declines in the prior window, min 20% share — otherwise silent): per lane, classified SOFT/HARD/UNKNOWN, rendered under Smart Insights ('Decline-code shifts (7d vs prior 7d)') and fed into recommendations with the delta named — the issuer/network friction signal that flat approval-rate averages hide (pure evaluator services/orchestration/declineShifts.ts, unit-tested). New hourly timeout watch (services/orchestration/timeoutWatch.ts): TIMEOUT attempts bound to SUCCEEDED payments are money already moved with an unknown ledger outcome — the watch counts distinct payments and cents at stake, notifies the admin once per 24h (deduped), writes PROCESSOR_TIMEOUT_WATCH to the audit feed (now also in the HQ activity feed) and is strictly advisory — it never flips anything; the sidebar badge remains the visibility surface. Pure evaluateTimeoutOutcomes with 5 unit tests. The Orchestration HQ ambiguous-outcomes table gains a deterministic Action column (do-not-retry / watch / ledger-stands / residue per payment status) so each row tells the operator what to do with it. 597 unit tests green. No schema changes, no migration; the watch runs hourly at boot, is notify-only and silent at zero.
v1.251.0
2026-11-14
•Orchestration ops gets latency percentiles, a breaker-trip progress rail and a sidebar badge for ambiguous outcomes. The lane registry (GET /api/admin/processors) now carries p50/p95 latency (7d, percentile_cont per lane, null below 20 samples — the measured-aggregates floor, never a percentile from n=3) alongside avg; Smart Insights data is unchanged. The Processors config table gains a 7d latency column (avg + p95) and the Orchestration HQ lane board shows avg/p95 per lane, a breaker progress bar (consecutive provider failures vs the trip threshold, amber past half-way, rose at trip) and a new env-gates tile (breaker trip = 8 consecutive failures, from the shared DOWN_AFTER_FAILURES constant — thresholds now surface from the running deploy instead of being typed into the UI). New GET /api/admin/processors/reconciliation-summary returns counts only (30d TIMEOUT total, how many sit on SUCCEEDED vs PENDING payments) to power a red count badge on the Orchestration HQ sidebar item (desktop expanded, desktop collapsed dot, mobile drawer) — the one orchestration fact that demands a human eye is now visible without opening the page; badge polls every 60s, silent when clean. Pure withLatencyFloor primitive with 5 unit tests; 586 unit tests green. No schema changes, no migration; both endpoints additive, read-only and inert.
v1.250.0
2026-11-14
•Orchestration gets a command center and its own admin menu group. The sidebar gains an Orchestration section (Orchestration HQ + Processors, moved out of Finance) with keyboard shortcut g s. New page /admin/orchestration — one screen for the routing layer: live env gates (PAYMENT_ORCHESTRATION enabled/mode, FAILOVER, ADAPTIVE, COST, half-open probe %, perf/fee watch thresholds; read-only from the running deploy), a lane health board (status, cooldown, consecutive failures, 24h/7d attempts, 7d auth, avg latency, last success), an activity feed built from the audit log (breaker transitions, perf/fee-watch fires, config changes, merchant rail pins; the summary is a pure display mapping, never parsed back into logic), an ambiguous-outcomes queue (every TIMEOUT attempt in 30d joined to its payment status, SUCCEEDED rows flagged verify-first, CSV export; read-only, never auto-resolved), and merchant rail pins end to end (list current pins, search merchants, pin/clear — the read half of the v1.237.0 pin endpoint, which existed write-only). Four new read-only requireAdmin endpoints: GET /api/admin/processors/flags, GET /api/admin/processors/events, GET /api/admin/processors/reconciliation, GET /api/admin/processors/pins. New pure summarizeProcessorEvent helper with 7 unit tests; 581 unit tests green. No schema changes, no migration; all four endpoints additive and inert; no status flips anywhere (the breaker keeps sole ownership of lane status).
v1.249.0
2026-11-14
•Mission Control gains a Dispute watch (90d) pill — the MoR-liability early warning visible from the ops pane without opening the processors page. It reads the existing /api/admin/processors/insights payload (platform disputes joined to their capturing lane): settled volume and dispute count over 90d, rate per 1,000 settled transactions vs the self-named 1% watch line (not a network program threshold — the 1% line is ours). Neutral when there is no settled volume or zero disputes, warning-toned above the line; the tooltip carries the exact figures. Honest zero-state: on a fresh book with no settled payments it renders '0 disputes — nothing to watch' rather than inventing a signal. UI-only change; no new endpoints, no schema, no data path of its own — straight from the existing insights aggregate.
v1.248.0
2026-11-14
•Settlement reconciliation v1 ships — the platform now checks every recently settled payment against the processor's own balance transactions, nightly. New worker (settlementReconciliation.ts): rows settled in the last 48h (SUCCEEDED, through the hold, charge id + fee persisted) are matched charge-for-charge against the 30d charge-type balance-transaction list — exact-cent comparison on fee (a single cent of drift is reported) and on charge amount, plus missing-balance-transaction detection. Comparison is done in settlement cents (PI amount — FX-converted where applicable), never against the pre-FX price, so zero false positives by construction; rows missing any required field are skipped, not mis-reported; below 5 settled rows the job logs and stays silent; the list call is read-only and notify-only (deduped admin notification settlement_reconciliation, never mutates rows). New read-only adapter method listBalanceTransactions on the Stripe processor (Airwallex skeleton stubbed fail-closed); runs 30s after boot then daily like the integrity worker. Scope limits named honestly: charge-type transactions only (refunds/disputes carry their own legs), BT list capped at 100/page (truncation logged), Airwallex payout-leg matching deferred to v2. 8 new unit tests (pure matcher, exact-cent semantics); 574 unit tests green. No schema changes, no migration, no new routes.
v1.247.0
2026-11-14
•Adaptive dunning v2: the retry scheduler now understands WHY the card failed — deterministic, env-gated (DUNNING_ADAPTIVE=true, default OFF, byte-identical behavior until enabled). Decline codes map to three timing profiles: transient (processing_error / issuer_not_available / try_again_later) shortens the ladder to 1/2/4/8d; balance (insufficient_funds / over_credit_limit / withdrawal limits / card_velocity_exceeded) lengthens it to 2/5/12/21d and widens the payday-snap window to 7d — money arrives on paydays; credential (expired_card / incorrect_*) waits longer before the first retry (3/10/14/14d) instead of fee-maximizing instant re-tries into a dead credential. Payday snapping, business-day skipping, 10:00 UTC slot and the hard-decline suppression are unchanged; only timing moves. Attempt count is deliberately unchanged — adaptive mode will never retry more or fewer times than the base schedule, it just moves the shots to when money and credentials are statistically more likely to work. Wired through both dunning entry points with a decline code in scope (stripe subscription webhook failure path, merchant-initiated retry endpoint, invoice.payment_failed mirror which now defensively extracts last_payment_error); the hourly dunning worker passes no code and keeps the base ladder. 8 new unit tests (timing profiles, flag parsing, env-matrix byte-identity); 566 unit tests green. Off by default: enable with DUNNING_ADAPTIVE=true in .env when ready; .env.example documents it.
v1.246.0
2026-11-14
•Orchestration expiry paths locked into the test suite. New mocked-DB suite (tests/orchestrationExpiry.test.ts, 4 tests) covers the v1.245.0 behavior end to end: the checkout.session.expired webhook flips the bound PENDING payment to FAILED and marks its attempt EXPIRED (and is a no-op when no local payment exists); the abandoned-checkout worker marks attempts EXPIRED beside its ~71h FAILED flip; the nightly integrity worker reports orchestration_attempt_pending_24h and orchestration_succeeded_payment_pending_attempt with the right severities and raises the deduped ledger_integrity notification. No runtime changes; 558 unit tests green (246+312).
v1.245.0
2026-11-14
•Orchestration ledger now closes the loop on expired checkouts, and the nightly integrity check watches the ledger itself. New webhook case for checkout.session.expired: when Stripe closes an unpaid hosted-Checkout session, the local PENDING payment is flipped to FAILED and its PaymentAttempt rows to EXPIRED (idempotent, best-effort, logged) — previously those rows lingered until the ~71h abandoned-checkout expiry, and that worker's own FAILED flip never touched the ledger, so attempts stayed PENDING past the settlement signal. The abandoned-checkout worker now marks attempts EXPIRED too, so even a deployment without the webhook event selected closes both legs within ~71h. To receive the event, the Stripe webhook destination must have checkout.session.expired selected (dashboard - owner action); the worker fallback covers the rest. Nightly integrity worker gains two checks: orchestration_attempt_pending_24h (the hourly sweeper is dead - any PENDING attempt older than 24h) and orchestration_succeeded_payment_pending_attempt (a SUCCEEDED payment whose attempt never resolved - critical; there is no legitimate steady state), surfacing through the existing deduped admin notification and the Mission Control ledger-drift pill. 554 unit tests green; no schema changes, no migration, no new routes; docs PAYMENT-ORCHESTRATION/13-WEBHOOKS updated.
v1.244.0
2026-11-14
•Tenant isolation moves from application-level filters to the database itself — merchant-authenticated traffic now runs on Row Level Security. New per-merchant scoped Prisma clients (packages/db/src/scoped.ts): every connection of a merchant's small pool is opened with the app.merchant_id setting pinned at the session level, so visibility survives pool reuse, transactions and raw queries — deterministic where the v1.232.0 AsyncLocalStorage-over-pool routing could lose the context across Prisma 7's engine boundary (removed). The shared prisma export routes per query: merchant-authenticated requests (cookie session or mk_* API key) go through the merchant's scoped client; admin, webhook, worker and public traffic keeps the shared cross-tenant client unchanged. Fail-closed by construction: the scoped role mor_app is NOBYPASSRLS and owns nothing, the unset GUC matches zero rows, and WITH CHECK rejects cross-tenant writes — all verified end-to-end on a scratch database replayed from the full migration chain, then on production before enforcing (unset GUC = 0 rows, wrong tenant = 0 rows, per-merchant product counts sum exactly to the owner total). Deployed in stages: code ships with enforcement off (MOR_APP_DATABASE_URL unset, /api/health reports tenantRls=off), then policies (25) and idempotent role/grant script deploy/rls/0002-roles-and-grants.sql are applied, the env var is set, and enforcement is live with an immediate rollback path (unset + restart; policies never constrain the table owner). Application-level filters remain mandatory as defense-in-depth. pg_dump backup taken before any policy application. 5 new unit tests (rlsScoped.test.ts); 554 unit tests green. No schema changes, no migration, no new routes.
v1.243.0
2026-11-14
•An ambiguous payment failure is no longer reported as a clean one. The attempt ledger declared a TIMEOUT status and every aggregate read it, but nothing ever wrote it: timeouts and connection resets were recorded as ERROR, which claims the provider definitively did not take the money. For a Merchant of Record that is the wrong signal - a timeout means the outcome is unknown and the charge may exist. New pure classifier (services/orchestration/providerErrors.ts) separates the two from the SDK error type, the Node error code or the message text, and defaults to ERROR when it cannot tell, so nothing is reclassified on a guess. Failover now refuses to retry an ambiguous failure on a second lane even when PAYMENT_ORCHESTRATION_FAILOVER is on - a cross-lane retry after an unknown outcome risks charging the buyer twice - while a definite provider rejection still fails over exactly as before. Insights gains an Ambiguous timeouts (7d) counter plus a reconciliation recommendation that states plainly these are not auto-retried. 8 new unit tests (orchestrationProviderErrors.test.ts); 549 unit tests green. No schema changes, no migration, no new routes.
v1.242.0
2026-11-14
•Circuit-breaker self-healing fixed — the half-open probe now actually probes. A DOWN lane whose cooldown had elapsed could never win a route while any HEALTHY or DEGRADED lane shared its priority tier, so the breaker was a one-way trip: it degraded a rail and only a human could bring it back. The router now routes a deterministic share of traffic to cooled-down lanes as a real half-open probe (default 10%, PAYMENT_ORCHESTRATION_PROBE_PCT, clamped 0-50; 0 keeps the old manual-recovery behaviour), so one successful probe resets the lane to HEALTHY with no admin action and a still-broken lane gets re-tripped instead of being trusted blindly. A manually parked DOWN lane (set via PATCH, no cooldown timestamp) is never probed. Probes are deterministic per transaction seed, so the same buyer context stays on the same lane. Explain, preview and simulate all report the probe share, insights names the recovering lane and its probe percentage in recommendations, and the admin table shows a 'cooldown elapsed - recovering via probe' marker. 14 new unit tests (orchestrationHalfOpenProbe.test.ts) covering the share, determinism, opt-out, multi-lane and single-lane cases; 541 unit tests green. No schema changes, no migration, no new routes.
v1.241.0
2026-11-14
•Orchestration gains the MoR-liability leg and the pre-flight cost check — both measured, never configured. Per-lane dispute telemetry (90d): disputes joined to the capturing lane plus settled volume, surfaced per lane in insights and Smart Insights ('Disputes — 90d (MoR liability)'): count, won/lost/open split, rate per 1k settled transactions, at-risk $ (unresolved amounts), win rate, plus platform totals and a self-named 1% watch line in recommendations; cross-lane comparison flags the worst lane at ≥2x the best (≥10 disputes each), a win-rate flag under 50% at ≥20 decided, and rate>=10/1k renders red. /simulate now annotates the sampled split with measured lane MDRs: expected cost of the basket and the blended MDR of the split (whole-or-nothing coverage — aggregates are null if any lane in the split is unmeasured; per-lane rows still render), shown in the Simulate-split panel. estimateSplitCost/summarizeDisputes are pure, unit-tested primitives; 7 new tests in orchestrationDisputeCost.test.ts. 527 unit tests green (219+308). No schema changes, no migration, no new routes.
v1.240.0
2026-11-14
•Orchestration upgraded to the full 2026 state of the art that a single-rail MoR can honestly run — researched against Primer, Juspay Hyperswitch, Yuno, Payrails, Solidgate, Spreedly, Corefy and IXOPAY (docs: PAYMENT-ORCHESTRATION.md gains a State of the art section listing what is shipped here and what is deliberately not buildable — cross-lane SOFT-decline cascade needs PAN credential portability (vault/network tokens), route-by-BIN needs card visibility pre-authorization, ML routing needs volumes, local acquiring needs entities; none of these are code problems). Measured cost observability: per-lane effective fee rate from settled payments (avg fee/tx, fee % of settled volume, prior-30d trend) surfaced in insights and the Smart Insights panel — never from rate cards. Cost-aware weighting (PAYMENT_ORCHESTRATION_COST=true, default OFF, inert single-lane): tilts weighted splits toward the cheaper measured lane, factor clamped [0.75, 1.33], unknown cost = 1.0, composes multiplicatively with adaptive weighting. New fee watch (hourly, advisory): a lane whose 7d effective fee rate is 25%+ worse than its own 30d baseline (min 20 settled/7d, 50/30d) gets a deduped (6h) admin notification plus PROCESSOR_FEE_WATCH audit entry — the cost leg of the performance watch. Insights recommendations now name a cheaper lane when two live lanes differ 1.5x+ on fee rate (≥50 settled each, 30d); 3DS authentication-failure share ≥40% (n≥10) is flagged per lane. 520 unit tests green (11 new cost-primitive/fee-watch tests). No schema changes; no new routes; no migration.
v1.239.0
2026-11-14
•Orchestration card-attribute telemetry + rail-pin admin UI. PCI-safe card attributes (brand, funding, network, issuer country, 3DS outcome — never PAN, CVC or fingerprint) are now stamped onto PaymentAttempt rows from webhook charge data (additive migration 20261114050000_orchestration_card_telemetry, five nullable TEXT columns): on payment_intent.succeeded (APPROVED resolution + attributes), on payment_intent.payment_failed (DECLINED, via best-effort charge retrieve or the error's embedded payment_method) and on charge.succeeded (late-arriving card visibility for async methods — stamps attempts in any status); checkout-session attempts are resolved at session completion and their card is stamped by the PI/charge gates that follow. Also fixes a real ledger gap: element-PI / payment-link attempts were never resolved APPROVED (that webhook settles the payment but never touched the ledger) — they lingered PENDING until the 24h sweeper expired them, corrupting auth-rate stats for the white-label element flow; resolved idempotently now (checkout sessions were already resolved at session completion). Insights gains per-rail card mix (top brands with shares, funding split + debit share, 3DS-authenticated share, n) rendered in the Smart Insights panel — the telemetry route-by-card-brand needs before it can exist; until then the router still does not see card attributes. The v1.237.0 merchant rail pin gains its missing UI: /admin/merchants/[id]/support now carries a SUPER_ADMIN-only Orchestration rail pin card (lane dropdown + audit-logged save/clear via the existing merchant-pin endpoint; the snapshot endpoint now returns preferredRail); the support-view banner honestly notes that pin is the only write control on the page. 509 unit tests green (7 new mocked-DB ledger tests).
v1.238.0
2026-11-14
•Orchestration health-feed test coverage: the circuit breaker's side effects are now proven by a mocked-DB unit test suite (orchestrationHealth-db.test.ts, 4 tests) — four consecutive provider failures degrade the lane and notify admins exactly once, eight trip it to DOWN with a cooldown and a processor_breaker_down notification, a success after degradation recovers to HEALTHY with a recovery notification, and DISABLED lanes are never auto-transitioned or notified. No runtime changes; no schema changes; 502 unit tests green.
v1.237.0
2026-11-14
•Policy rules v2 for routing, grounded in industry orchestration playbooks (Primer/Spreedly/Juspay rule dimensions), shipping only what this platform can measure honestly. Ticket-size lane policy: each acquiring lane can now declare a min/max amount band in cents (ProcessorAccount.minAmountCents/maxAmountCents, additive migration 20261114040000) — baskets outside a lane's band are ineligible for it (high-value to the strong-fraud lane, small tickets to the low-cost rail). Enforced in the pure router with explicit explain verdicts (amount_too_small / amount_too_large), editable SUPER_ADMIN-only via PATCH /api/admin/processors/:id or the new Amount lane column on /admin/processors. Merchant rail pin: Merchant.preferredRail pins one merchant to a lane via the router prefer primitive — honored only while the pinned lane stays eligible (currency/country/amount/breaker still apply; ineligible pin is ignored, never fatal); wired at every acquiring call site including abandoned-checkout recovery. Set via PATCH /api/admin/processors/merchant-pin/:merchantId (SUPER_ADMIN, audit-logged; use for high-risk merchants, pilots or strategic accounts). Migration is additive nullable columns, applied to production after a pg_dump backup. 498 unit tests green; 289/289 API routes documented.
v1.236.0
2026-11-14
•Orchestration intelligent routing v3 — features generated by the platform itself (no backlog, no ML pretense). Performance watch (hourly, advisory): lanes whose 7-day approval rate collapses below PAYMENT_ORCHESTRATION_PERF_WATCH_PCT (default 50%, min 30 attempts/7d) or whose provider-failure share reaches 40% (min 10 provider errors) trigger a deduped admin notification plus a PROCESSOR_PERF_WATCH audit entry — it never flips processor status, so the circuit breaker stays the only status owner; this catches the soft-degradation case a success streak never trips. Adaptive weighting (env-gated, default OFF): PAYMENT_ORCHESTRATION_ADAPTIVE=true tilts weighted splits by measured 30-day auth rate — deterministic factor authRate/65 clamped to [0.25, 1.5], unknown rate keeps weight, lanes need 20+ outcomes over 30d, and the aggregate is memoized for 60s. Unweighted lanes untouched; flag off means configured weights are exact. Insights expose adaptiveFactor per lane, an adaptive ON/OFF badge in the Smart Insights header, and a recommendation to enable the flag on 10pp+ tier gaps. Circuit-breaker transitions (escalation to DEGRADED/DOWN, recovery to HEALTHY) now persist a deduped admin notification and PROCESSOR_HEALTH_TRANSITION audit entry instead of just a log line. 493 unit tests green; no schema changes; no new routes; failover remains default-OFF and live routing remains gated on a second underwritten acquiring rail.
v1.235.0
2026-11-14
•Orchestration failover coverage complete: the provider-side failover path (retry once on the next eligible lane when the provider call itself fails — never on issuer declines, both legs recorded in the attempt ledger, winning rail re-tagged on the payment) now wraps every acquiring provider-call site: hosted checkout, v1 checkout sessions, payment-link Payment Intents, payment-link hosted sessions, and abandoned-checkout recovery (which re-tags the recovered payment so refunds follow the capturing rail). Still gated behind PAYMENT_ORCHESTRATION_FAILOVER=true (default OFF) and inert with a single enabled lane; live routing remains blocked on a second underwritten acquiring rail, not on code. No new routes, no schema changes. 482 unit tests green.
v1.234.0
2026-11-14
•Orchestration intelligence v2 — smarter routing visibility and resilience around the acquiring rails (deterministic, explainable; still no model in the critical path). Router upgrades: a preferred-lane pin (RouteInput.prefer, reason preferred), lane exclusion for failover bookkeeping (reason failover), and two new pure, unit-tested primitives — explainRoute (per-lane eligibility verdicts for any basket: disabled flag, kill switch, currency/country mismatch, breaker cooldown, selected — records nothing) and simulateSplits (samples the router over seeds 1..N in the production hashSeed space to show how traffic would actually split under the current weights, before you touch them). Provider-side failover on the hosted checkout path: when the provider call itself fails (5xx, network, timeout — never an issuer decline), one retry runs on the next eligible lane with both legs recorded in the attempt ledger (failed lane trips the breaker; winning lane binds to the payment; the Payment row is re-tagged). Enabled via PAYMENT_ORCHESTRATION_FAILOVER=true, default OFF, inert with a single enabled lane — buyers never see double charges, and issuer declines are never retried cross-lane. Insights v2: per-merchant 24h card-testing fingerprint detection (15+ attempts with 80%+ non-approval flags the merchant with a review recommendation, distinct from the payout-side velocity hold) and a per-priority-tier weight advisor (30d auth rates, 50+ outcomes per lane, 10pp+ gap yields a rebalance suggestion — advisory only, route config stays SUPER_ADMIN-gated and audit-logged). New admin endpoints GET /api/admin/processors/explain and GET /api/admin/processors/simulate; /admin/processors gains Explain-decision and Simulate-split buttons with inline result panels plus Weight advisor and Card-testing fingerprint blocks. Attempt-ledger hygiene: an hourly sweeper now expires PENDING attempts older than 24h to EXPIRED so lost webhook outcomes stop lingering forever. Docs updated (PAYMENT-ORCHESTRATION.md Intelligent operations section; 04-API_REFERENCE.md now documents 288/288 routes). No schema changes; no migration. 482 unit tests green (21 router tests). Live routing remains gated on a second underwritten acquiring rail, not on code.
v1.233.0
2026-11-14
•Orchestration core — smart systems complete (deterministic and explainable; no model in the critical path, by design for current volumes). Per rail: 7d vs 30d auth rate side-by-side, attempts 7d/30d, soft-decline counts, and an approval-rate anomaly detector (7d vs 30d baseline, min 20 attempts in both windows, drop ≥15pp flags warning, ≥30pp critical — surfaced in the insights panel and fed to rule-based recommendations, including breaker-approach warnings at 8 consecutive failures and >15% provider-failure-share alerts). Decline codes are classified SOFT/HARD (shared declineCodes tables with dunning); SOFT declines are counted as rescue candidates (KPIs + insights). New route GET /api/admin/processors/insights (per-rail auth rates, decline mix top-6 classified, 14-day attempt series, overall KPIs, deterministic recommendation strings) and GET /api/admin/processors/preview (read-only route preview for an arbitrary currency/country/amount — records nothing). Admin UI /admin/processors expanded: KPI strip, Smart Insights panel with decline mix, 14-day bar chart, inline anomaly flags, route preview card, attempts ledger with processor/status filters + CSV export. Outcome wiring completed: attempts resolve DECLINED at payment_intent.payment_failed (with decline code) and EXPIRED at payment_intent.canceled. Post-authorization calls (refunds) now resolve the adapter of the capturing rail via adapterForPayment (falls back to env default). Attempts resolved DECLINED at async_payment_failed as before. 476 unit tests green; docs updated (PAYMENT-ORCHESTRATION.md Smart systems section; 286/286 API routes documented).
v1.232.0
2026-11-14
•Payment orchestration core — acquiring rails are now interchangeable components instead of a fixed dependency. Single operating rail today (Stripe), plug-in ready for more (Airwallex acquiring skeleton ships fail-closed). ProcessorAccount registry: routing policy (eligibility: enabled + currency/country allowlists + circuit breaker; lowest priority tier wins; stable weighted splits within a tier; HEALTHY beats DEGRADED; DOWN falls back to a half-open probe after cooldown) — all runtime-tunable by SUPER_ADMIN via PATCH /api/admin/processors/:id (audit-logged), with per-processor health counters, last-error tracking and cooldown. Append-only PaymentAttempt ledger records every routing decision and outcome (PENDING to APPROVED/DECLINED/ERROR; latency, mode, operation, routing reason) — Payment.processor tags every payment. Wired into /api/checkout/session, /v1|v2/checkout/sessions, /api/payment-links (element Payment Intent + hosted session), abandoned-checkout recovery and the webhook outcome flows (APPROVED via paymentProcessor, DECLINED via asyncPaymentFailed). PAYMENT_ORCHESTRATION=disabled is the kill switch; PAYMENT_ORCHESTRATION_MODE=shadow keeps checkout available while a policy error would otherwise hard-fail. New admin UI /admin/processors (config + health + 7d success rate/latency + recent decisions) and admin API GET /api/admin/processors (+:id/attempts), PATCH is SUPER_ADMIN-only. Migration 20261114030000_orchestration_core (additive; chain replay-verified from scratch). Fail closed everywhere: no eligible processor means a clear 503-class error, never a wrong-rail charge. Router covered by 15 unit tests. Docs: docs/PAYMENT-ORCHESTRATION.md.
•Ops safety rails: npm test no longer reaches the live Stripe account (smoke-payments aborts on sk_live_ — a live createCheckoutSession attempt 400ed 2026-11-14 without creating a session or charge; prod DB keeps the pay-smoke artifacts, owner cleanup pending); smoke-onboarding and smoke-requirements now require explicit SMOKE_API. PaymentProvider is a registry facade now (PAYMENT_PROCESSOR; unknown processors fail fast at boot, never silently fall back). RLS tenant-isolation artifacts shipped (policies verified fail-closed on scratch) but are NOT enforced — Prisma 7 engine boundary drops per-request context; see MULTI_TENANT_RLS.md for the activation runbook. 476 unit tests green.
v1.230.0
2026-11-14
•Audit hardening release (full-codebase review, unfrozen 2026-11-14 by owner decision — Stripe review no longer gates releases). Fee-pin root fix: merchants self-registered at 7% were pinned there forever — Merchant.platformFeePercent is now nullable (migration drops the NOT NULL + default 7.0); NULL means the plan schedule applies (FREE 7% / PRO 5% / BUSINESS 4%); override is SUPER_ADMIN-only and clearable via PATCH /api/admin/merchants/:id/fee with explicit null. Checkout hardening: PENDING payment row is created BEFORE the provider session (session failure deletes the placeholder — no orphaned sessions), optional Idempotency-Key on POST /api/checkout/session replays the original session (claim-first; shared with the v1 merchant API), caller metadata capped at 4KB, response now includes paymentId. DB integrity: referential FKs on AuditLog/KYBMessage/DeletionRequest (SET NULL / NO ACTION), WebhookEvent.createdAt defaults now() + [processed, createdAt] index (full 27-migration chain verified from scratch). Stored webhook event payloads are AES-256-GCM encrypted at rest (PAYOUT_DATA_KEY). API client: 30s timeout + AbortController, idempotent GETs retry with backoff on network/502/503/504, uniform { success:false, error } envelope, 5xx bodies no longer leak internals. Web: cached role invalidated on login/logout (no stale SUPER_ADMIN gate after user swap), pricing fee strings single-sourced in lib/pricing.ts (no copy change), focus-visible rings on interactive primitives, UI primitives renamed to kebab-case, dead CSS removed. Ops: SQLite residue purged (pg-only scripts, dev.db archived to backups/), English-only docs pass (02-STATUS translated), systemd unit references added, loopback auth bypass now opt-in in production (ALLOW_LOOPBACK_AUTH_BYPASS), missing-Redis prod boot logs an error, rate limiter logs Redis failures, proration math extracted to services/proration.ts, Zod param validation on admin id routes. 461 unit tests green; two new migrations ship with this release (auto-applied at deploy before the restart).
v1.229.0
2026-11-13
•Admin Mission Control: new refund-rate watchdog card — per-merchant 30-day refund rate (refunds ÷ succeeded payments), red flag at 10%+, straight from a cheap 2-query aggregate (no ledger scans). Backed by a new admin endpoint GET /api/admin/stats/refund-watchdog (requireAdmin; docs inventory now 281/281). Zero-state renders honestly: 'No merchant refunded anything in the last 30 days.'
v1.228.0
2026-11-13
•Public README scrub to the same standard as the site: entity written out as Caelum Mountain LLC, payments described as the custom in-house API integration (no processor name leaks in the Stack section), honest test-key wording in Quickstart, SQLite mentions replaced with the PostgreSQL-everywhere reality, broken 4242 test-card CTA replaced with a plain white-label checkout link, and a CI status badge (the pipeline is green for the first time — see the fix that landed just before this entry).
•CI: bumped actions/checkout to v5 and actions/setup-node to v5 (silences the Node.js 20 forced-to-24 runtime annotations).
v1.227.0
2026-11-13
•Tooling + metadata hygiene: /api/version no longer hardcodes 0.1.0 — it serves a single-sourced PLATFORM_VERSION from services/version.ts, cross-checked by npm run version:check alongside the web badge and doc stav headers (the API self-report can no longer drift from the changelog).
•MCP server (@mor/mcp-server): added a real smoke test (initialize handshake, tools/list returns exactly the 12 documented tools, tools/call without MOR_API_KEY fails with -32000 + guidance, unknown method -32601) — runs with node --test against the built dist, no network or keys needed; wired as npm run test in the package. Dropped the unused @modelcontextprotocol/sdk dependency (the server is dependency-free stdio JSON-RPC by design; lockfile shrank by ~960 lines). Known remainder: 4 moderate npm audit findings, all inside the dev-only c8 coverage chain (test-exclude/minimatch/glob) — not in the production runtime.
v1.226.0
2026-11-13
•Admin Mission Control: the Ledger drift health chip now ages its unresolved alerts — 'N unresolved · oldest Xd' — computed from the createdAt of the unread ledger_drift / ledger_integrity notifications (was: bare count with no time axis).
•Launch readiness (2026-12-01): pre-launch rehearsal recorded in docs/LAUNCH-2026-12-01-REHEARSAL.md — all go/no-go gates green as of 2026-11-13 (/api/health live/processor configured, backup pg_restore TOC 192 verifiable, Prometheus 2/2 zero firing alerts, TLS valid to 2027-02-09, sitemap 82/82 URLs 200, all 50 opengraph-image routes 200 image/png, mobile 390px zero horizontal overflow, claims denylist grep clean); docs/LAUNCH-2026-12-01-RESULTS.md baseline table filled from the prod DB (2 users, 0 payments). Marketing asset drafts remain owner-gated (pack removed 2026-11-13).
v1.225.0
2026-11-13
•Merchant dashboard: one-time first-sale celebration banner — when the merchant's first SUCCEEDED sale lands, a single dismissible alpine-gold banner greets them above the setup checklist (real numbers only: sale count + lifetime earnings net of fees); dismissal state lives in localStorage, the banner never re-appears on that browser. Private-mode safe.
v1.224.0
2026-11-13
•Homepage: hero now carries a 'Sell in' country picker — one interaction routes a visitor to the /sell/<cc> page for their jurisdiction (all 39 covered jurisdictions, names + rates from the same TAX_COVERAGE source the /sell pages and the checkout engine use).
•Merchant dashboard: new next-payout money-clock card above the KPI grid — available-now amount vs the payout threshold (progress bar with aria-progressbar, % complete), next-clearing date and pending (7-day hold) amount from /api/merchants/me/payout-forecast, lifetime net-of-fees line (earnings / gross), and a direct link to payouts. Dashboard data fetch now includes the forecast endpoint (fail-soft: card is omitted if it errors).
v1.223.0
2026-11-13
•Full-stack audit remediation — money path first: the Airwallex payout webhook is now actually mounted at POST /api/webhooks/airwallex (the route module was imported but never registered, so payout succeeded/failed callbacks never arrived and payouts stuck in PROCESSING); the Stripe thin-event related_object fetch is restricted to api.stripe.com (a validly-signed event carrying an arbitrary URL could have exfiltrated the API secret); sanctions screening fails closed when the OFAC SDN list is unreadable or empty (FLAGGED, never silent CLEAR) and matching normalizes diacritics with token-order-insensitive full-name equality; charge.refunded for an unknown charge now alerts admin for manual reconciliation instead of silently rewriting payment status; ledger foreign keys (Payment, Payout, Dispute, Refund, Subscription → merchant) no longer cascade-delete — merchant erasure stays anonymize-in-place, the ledger is DB-enforced retained; 24 new indexes on hot FK columns (Payment incl. stripeChargeId + status/cleared/availableAt, Dispute, Refund, Subscription, Payout, Price, Product, PaymentLink, ApiKey, WebhookDelivery, PayoutAccount, AuditLog); merchant platformFeePercent column default aligned to the fees.ts 7.0 single source of truth.
•Security hardening continues: login/register responses no longer include the session JWT in the body (httpOnly cookie only); GET /api/metrics and GET /metrics are loopback-only unless a valid ADMIN/SUPER_ADMIN session cookie is presented (both return 404 otherwise — no internals, no error-rate, no DLQ depth on the public internet); public checkout session/payment-intent endpoints only attach the buyer billing block once the payment is SUCCEEDED; seeding never plants documented default credentials (passwords come from SEED_ADMIN_PASSWORD / SEED_DEMO_PASSWORD, else random and printed once); prod demo merchant password rotated and its sessions invalidated (demo auto-login is unaffected); e2e/smoke harnesses read SEED_ADMIN_PASSWORD instead of hardcoding it.
•Ops + UI consistency: admin metrics page shows a retryable warning banner when secondary panels fail to load instead of silently rendering 'no data'; merchant and admin portal layouts render the version badge from lib/releases.ts (single source — the header badge can no longer drift); the merchant mobile menu no longer inherits the desktop sidebar collapsed state (labels stay visible); plain Loading… auth gates replaced with skeleton placeholders; safeRedirectUrl deduplicated into services/safeRedirectUrl (one implementation for /api/checkout and /v1); docs: all stale v1.38.0/v1.66.0/v1.88.1 stav badges swept to v1.223.0, seed-credential guidance updated to the new env-driven behavior, AGENTS/02-STATUS note the Postgres-everywhere reality; backup/restore scripts now agree on the SQLite path; packages/db migrate script is prisma migrate deploy; migration 20261113160000_ledger_indexes_and_fk_noaction (apply before restart).
v1.222.1
2026-11-13
•Stripe review readiness sweep (website side): stale EU ODR reference in Buyer Terms governing-law clause replaced with the current national ADR / ECC-Net route (the ODR platform was discontinued 2025-07-20); homepage Organization JSON-LD contactPoint now publishes the support telephone; /pricing and its meta description state all amounts are USD; cookie-policy version note no longer hardcodes the date (uses the page-level Last updated). Public surface otherwise unchanged; site frozen for the Stripe review after this release.
v1.222.0
2026-11-13
•Veil pacing per user feedback: full sequence now stretches ~2.6s before crossfade — ridge draw slowed to 1.7s, ridge fill extended, wordmark/glow later; 'Starting soon' + 'Launch week — December 1' hold visible ~1s; sessionStorage once-per-session gate removed — veil now plays on every homepage entry. prefers-reduced-motion still skips it.
v1.221.0
2026-11-13
•Veil amplied: ridge draw extended to 1.35s, wordmark hold longer (≈1.95s veil visible), new 'Starting soon' line + 'Launch week — December 1' sub-eyebrow under the hairline rule (mono letterspaced). User feedback: veil was blink-and-miss; now it lands the whole sequence before crossfade.
v1.220.0
2026-11-13
•Live launch-week welcome banner on the homepage: pulsing dot + Dec 1 date + an actual running UTC countdown to December 1 2026 (mono tabular numerals), plus a 'Get your seat →' CTA. Flips automatically once launch week ends (Dec 8) to a post-launch welcome line — zero redeploy needed. Replaces the static v1.217 banner.
v1.219.0
2026-11-13
•Luxury intro on the homepage: a near-black veil renders the ridge of Caelum Mountain drawing itself (stroke draw-on), the wordmark and a hairline rule dissolving in, then crossfades live into the hero. sessionStorage makes the veil show only once per session; prefers-reduced-motion skips it entirely. Pure CSS/SVG, no dependencies; dark-only tokens reused.
v1.218.0
2026-11-13
•Compliance completeness pass ahead of site audit: cookie policy now names concrete cookie inventory + EEA consent re-prompt; privacy unambiguously extends rights to non-CA US state-resident consumer laws (VCDPA/CPA/CTDPA/UCPA/TDPSA et al.) and names the EEA/UK lead supervisory authorities; terms + privacy now explicitly reference our AML/KYB program (daily sanctions re-screening) and new internal /docs/AML-KYB-POLICY.md (risk-tier model onboarded, re-screen cadence, SAR/escalation path, locked legal formality for Stripe/partner review). Legal pages are flagged for counsel review prior to audit — this fix is structural completeness, not a legal verdict.
v1.217.0
2026-11-13
•Homepage magnetic positioning + legitimacy signals: hero retired 'Sell globally. We handle the rest.' for own-voice copy ('You built the product. This is everything after it.'); eyebrow anchors the New Mexico LLC registration (Est. MMXXVI, Albuquerque); three-quarter stat strip expanded with the honest '$15 dispute fee — refunded if you win'; new 'Three things only we do' section (dispute evidence pre-assembled at checkout, MCP server for your AI tooling, CSV-level fee receipt). Thin Dec-1 launch-week banner above the hero — open in weekly batches, no fabricated slot counters, no fake cohort promises.
v1.216.0
2026-11-13
•Launch outreach assistant for Mission Control: new admin card listing pre-launch merchants that signed up but never activated (stage: signed-up / api-connected / ready-to-sell; excludes activated rows) with business name, email, stage badge, and days since signup. Funnel counts per stage. Read-only — no email side effects; it is the owner's manual launch outreach list. Backed by GET /api/admin/stats/activation-stuck (requireAdmin).
v1.215.0
2026-11-13
•Admin launch readiness beacon: Go/No-Go signals on one card — DB, TLS cert expiry (read from local fullchain), DB backup age, disk free, SMTP, payment processor live-mode, Airwallex endpoint type + creds, payout backlog, open disputes, merchant KYB pending, paying merchants. Backed by GET /api/admin/stats/launch-readiness (requireAdmin). Honest nullables when signals can't be read — never fabricated green.
v1.214.0
2026-11-13
•Flyway hardening: Airwallex payout path — /api/health unchanged; services surface repeated auth failures in Mission Control with a rate-limited alert (>=3 consecutive failures, max 1 alert per 4h; success resets); boot-time warning when payment live while Airwallex endpoint is still demo (auto-acked to avoid restart spam); auth probe verified against demo.
v1.213.0
2026-11-13
•Homepage trust module — new 'The receipt, line by line' section adjacent to /receipt: a mini honest worked example ($100 UK digital sale) of what we keep vs Paddle, with links to the full table, the fee calculator and /compare. Same verified math as /receipt (public competitor pricing, Nov 2026); headline positioning: we publish fee math instead of hiding it behind sales sheets.
v1.212.0
2026-11-13
•Brand + positioning scrub: every user-visible surface now presents the platform as an in-house custom payment integration (vendor-specific processor names removed everywhere except competitor-comparison pages and legally required Stripe Connected Account Agreement attestations). Company entity now carries the full legal suffix everywhere: Caelum Mountain LLC.
v1.211.0
2026-11-13
•Copy originality pass (design system unchanged): AI-template prose replaced with the platform's own voice — hero rewrite (The payments machine you didn't want to build, seller-of-record CTA logic), sharper feature descriptions (mechanism over marketing), and an own-tone final CTA (Bring your next sale here.). Zero claim changes; all legal/tax lines untouched.
v1.210.0
2026-11-13
•New SEO guide at /guides/merchant-of-record-vs-lemonsqueezy: affiliate program honesty (they win on native affiliates + dashboard design), Stripe acquisition context, our strengths (MCP server, license-activation evidence, 2027 CA/CO roadmap honestly labelled rolled-out-by-2027-01-01). Article JSON-LD + canonical + sitemap + inbound link from /compare/lemonsqueezy.
v1.209.0
2026-11-13
•New SEO guide at /guides/merchant-of-record-vs-paddle: honest verdict (where the incumbent wins — breadth of tax map, established track record, lower fee — and where Caelum Mountain LLC wins — license-activation dispute evidence, one contract with one human, MCP/REST v2 tools, CA/CO 2027 registration roadmap). Article JSON-LD + canonical + sitemap + llms.txt + inbound link from /compare/paddle. Claims verified against code and docs (no engine claims for CA/CO; registration is rolling out by 1 Jan 2027).
v1.208.0
2026-11-13
•SEO sweep, everywhere it matters: robots.txt now disallows /pay/, /checkout/, /docs/, /api/ (plus absolute sitemap from v1.206.0); internal pages gain noindex/metadata wrappers (login, forgot/reset-password, checkout success/cancel, onboarding complete/refresh, private pay links); buyer-facing pages become indexable with copy (register, customer-portal); sitemap 78 URLs verified ALL 200 live; every internal page audited for exactly one h1; llms.txt lists the new guide; /compare/stripe gets an inbound deep link to the MoR-vs-Checkout guide. No tracking pixels or third-party SEO beacons were added.
v1.207.0
2026-11-13
•New SEO-target guide at /guides/merchant-of-record-vs-stripe-checkout: honest side-by-side (legal seller, tax registrations, refund/CN operations, fee math incl. Stripe's per-dispute reality, split verdict for B2B vs self-serve consumer sales). Article + Org JSON-LD, sitemap.xml entry, canonical URL. Not legal advice; no fabricated authority claims — the 'when Stripe Checkout wins' section is deliberately kept.
v1.206.0
2026-11-12
•Homepage SEO honesty pass: title/meta now lead with “Merchant of Record for SaaS & Digital Products” + 39-jurisdiction / no-monthly-fee copy (root layout defaults + OG/Twitter aligned); canonical / on the homepage; robots.txt Sitemap made absolute; Organization/JSON-LD gains a logo and drops the stale masked telephone stub; eyebrow line repositioned to the query phrase. No UI behavior changes.
v1.205.0
2026-11-12
•Mission Control density: two new admin digest cards — Revenue snapshot (30d vs prior 30d gross, delta %, succeeded/failed counts, refund rate, AOV) and Platform subscriptions (PRO/BUSINESS counts, PAST_DUE/UNPAID at-risk, MRR floor = active PRO×$29 + BUSINESS×$99). Backends: GET /api/admin/stats/revenue-snapshot and /stats/platform-subs (requireAdmin). MRR caveat (annual subs counted at monthly price) shown inline in the card.
v1.204.0
2026-11-12
•Dispute evidence deadline tracking: Dispute.evidenceDueBy (new column, migration 20261113140000), populated from payment processor charge.dispute events (evidence_due_by, unix ts; no-op when absent). Merchant /disputes shows an evidence-due countdown chip per open dispute (Today / NN d left / overdue by NN d), color-coded by urgency (<=3d danger, <=7d warning), rendered only while the dispute is open or submitted and a due date exists.
v1.203.0
2026-11-12
•Self-service MoR plan subscription management on /settings: new “Caelum Mountain LLC plan” card at the top — plan badge + status pill (ACTIVE/TRIALING/PAST_DUE/UNPAID/CANCELED), cancel-at-period-end chip, renewal date (payment processor current_period_end), trial state; cancellation/reactivation via POST /api/merchants/me/subscription/cancel|reactivate (cancel_at_period_end on the platform subscription, ConfirmDialog, audit-logged). Webhook now persists platformSubscriptionId/platformStripeCustomerId at plan checkout. GET /api/merchants/me/subscription degrades to DB truth when payment processor is unreachable. Cancel takes effect at period end; no mid-cycle refund. Settings settings page updated in this build (v1.203.0 renders it live).
v1.202.0
2026-11-12
•Merchant wallet: /wallet is no longer a bare redirect to /payouts — it is the merchant money-position page (available now, clearing pipeline buckets next-7/8-14/15-30/31+ days with counts and bars, earliest-available date, auto-payout threshold progress, /payment-links-style empty state with /products CTA for fresh merchants). Zero money actions here — instant payout stays on /payouts behind the existing confirmation flow. api.ts payoutForecast already existed.
v1.201.0
2026-11-12
•Merchant /payments: new failure-insights strip above the table — decline-classification (SOFT/HARD/UNKNOWN from payment metadata written by the payment processor webhook processor) aggregated per merchant over 30d, top decline codes as mono chips, zero-state silent (no strip for clean merchants). Backed by GET /api/payments/failure-insights (days param clamped 7–90, tenant-scoped, no PII — counts only). docs: 272 routes, docs:check green. Live: 200 empty-state verified as demo merchant (fresh DB post-reset); non-empty rendering covered by the same code path (strip suppresses on 0).
v1.200.0
2026-11-12
•Fix for a v1.198.0 slip: the Get-your-first-sale merchant dashboard card + its merchants.planInfo() helper were never committed (v1.198.0 shipped without them; the v1.199.0 bundle served them from the working tree with a stale FORBIDDEN/FREE-upsell copy: FREE has had payment links since v1.199.0). Card now ships clean: zero-sale merchants see a create/copy share-your-checkout CTA regardless of plan (Clipboard, 2s Copied state); FREE upsell removed (obsolete and misleading). api.ts (merchants.planInfo) ships with the same commit.
v1.199.0
2026-11-12
•FREE tier now ships shareable payment links (the public one-click checkout) — FREE signups had no path to a first sale (no payment links, no API keys): the gate contradicted the SetupChecklist (API key created was unreachable on FREE) and pricing copy (everything included). TIER_FEATURES FREE + payment-links; API keys webhooks subscriptions stay PRO+. Copy fixed: pricing cards, /pricing sub-caption (FREE includes shareable payment links), homepage FAQ. SetupChecklist is tier-aware — FREE merchants get a Payment-link step, PRO keeps API key step. Live-verified as demo FREE merchant: create, 200, DELETE, 200. Unit 169+283 green.
v1.198.0
2026-11-12
•Merchant dashboard: new “Get your first sale” activation card (zero-sale merchants only) — FREE plan sees an explicit, honest upsell (payment links unlock on PRO $29/mo; zero claim of free sales); PRO/BUSINESS merchants with an ACTIVE payment link get a one-tap Copy-checkout-link button (clipboard, 2s Copied state), otherwise a direct CTA to /payment-links. Plan fetch via /api/merchants/me/plan; links fetched only for zero-sale cohort.
v1.197.0
2026-11-12
•Admin Mission Control: new Activation funnel — last 90 days full-width card — signup → product added → first checkout attempted → first succeeded payment, with per-step conversion % (CSS bars, merchants attributed window-90d cohort), median signup → first sale hours, cohort-aware (only MERCHANT rows in the window, succeeded-payment milestone); backed by GET /api/admin/stats/activation-funnel (requireAdmin, merchant/payment groupBy aggregates, no PII). Docs: registered in Appendix A (271 routes, docs:check green).
v1.196.0
2026-11-12
•New vertical page /for/courses (online courses, cohorts, memberships): VAT/GST at checkout in 39 jurisdictions, 14-day EU consumer withdrawal honored by design, subscriptions + dunning + pause, B2B invoices, LS/Paddle dry-run importer, $15 dispute-hold wording; OG card; sitemap entry; homepage Who-it's-for pill; honest scope lines (no grades/accreditation, adult + gambling excluded).
v1.195.0
2026-11-12
•RSS feed for the changelog: GET /changelog.xml (RSS 2.0, rss+xml, force-static, items from RELEASES with item-level <description> bullets; root layout emits <link rel=alternate type=application/rss+xml href=/changelog.xml>); /changelog gains a visible RSS affordance.
v1.194.0
2026-11-12
•Marketing/advertisements pass: added /press (media kit: fact sheet with NM entity + zero-production-merchants status, assets incl. brand SVG + OG card, key story pages, accuracy-first press policy) with OG card and sitemap entry + homepage Resources footer link; corrected press-release dateline (CZECH REPUBLIC → ALBUQUERQUE, N.M., entity is NM-registered) and press contact hello@ → support@caelummountain.online; README status board updated.
v1.193.0
2026-11-12
•Audit follow-through (subagent sweep, 2 read-only audits): root layout now ships a default OG/Twitter card for every route (pages without their own openGraph inherit it — fixes share-safety for legacy client pages); metadata added/split: /pricing (server split → static title/description), /changelog, /legal/[slug] (generateMetadata from the DOCS map), /status, /mor-shield, /recover, /directory; login & register demoted the duplicate form-panel h1 to h2 (one h1 per page); merchant NaN fixes (plan price + refund + license limit/expiry validated finite>0 before mutations — refund also capped by captured-minus-refunded; import counts render ?? 0); (merchant) sidebar hex #0d0d14 → body-900 token, inline shadow → var(--color-brand-400); kyb-thread hidden file input gets aria-label; llms.txt now registers /demo (it claimed 'none public'). Deliberately NOT shipped: homepage hex→token migration, SVG stop colors, shared 39-jurisdiction constant (15 marketing files — separate release); audit false-positives (already-finite inputs & label-wrapped checkboxes) verified OK.
v1.192.1
2026-11-12
•Ops/security posture: HSTS (max-age=31536000; includeSubDomains) now served on all HTTPS responses at nginx (Next + Fastify + static; deliberately no preload — preload-list submission is an owner decision); added /.well-known/security.txt (support contact, expiry 2027-11-12, policy → /mor-shield).
v1.192.0
2026-11-12
•1099 thresholds are now tax-year aware per OBBBA (P.L. 119-21 §70433): 1099-NEC/MISC = $600/yr CY2025 and earlier, $2,000/yr CY2026+ (indexed from 2027 — constant requires annual refresh); 1099-K stays $20,000 gross + 200 transactions (CY2024/2025 transition relief NOT modelled — documented for CPA). formTypesFor1099/formsFor1099 take taxYear (default = current year); CSV export, file-forms and merchant self-report all pass their selected year (fixes: eligibility was computed at $600 for 2026 filings). Admin/merchant 1099 copy updated with CY-aware text and a CY2024/2025 K caveat; dead 1099 imports removed from adminMerchants/adminOps; unit tests extended with CY2024/2025/2026 boundary assertions (agentic agent of record: 'do what is best').
v1.191.0
2026-11-12
•Platform hardening sweep: public email-sending endpoints no longer email-bombable — new shared emailSendGuard in rateLimiter (per-IP 10/15min returns 429, per-email 3/hour silently returns the generic anti-enumeration success) applied to /api/status/subscribe, /api/tax-estimator/lead and /api/migration-audit/lead. 1099 copy corrected to match the code ($600 NEC/MISC + $20k/200 K; removed the swapped '≥$2,000 / ≥$200,000' admin text and the invented '$2,000+' in merchant tax-reporting — thresholds live server-side; CPA caveat added for the 2026 IRS change). Unit suite 167+283 green; guard verified inline (11-call probe flips okIp/okEmail as designed).
v1.190.0
2026-11-12
•Prohibited-categories compliance shipped end to end (payment processor Prohibited and Restricted Businesses, verified 2026-11-12): registration now requires an explicit prohibited-categories attestation (acceptProhibitedCategories z.literal(true), audit ACCEPT_PROHIBITED_CATEGORIES, version 2026-11-12) mirroring the payment processor SAA pattern — client gate on /register, server gate with 400 otherwise. New /for/license-goods and /for/indie-games vertical pages (your own IP or authorized distribution only; gambling/prize tournaments, adult, in-game currency resale and IP-infringing resale explicitly excluded), both with OG cards and sitemap entries. Trust Center gained /trust#prohibited-categories (full hard-prohibited and restricted lists + supported core). Homepage: Who-it's-for gained vertical pills, FAQ gained a What can't I sell answer (and the What can I sell answer now scopes to supported categories). Terms §4 Acceptable Use expanded with the explicit categories; docs/PROHIBITED-CATEGORIES.md captures the internal list for KYB review. payment processor /for/ai-saas dispute-fee claim corrected ($15 hold, refunded on win — never $0).
v1.189.2
2026-11-12
•Design-system consolidation: shared useFocusTrap hook extracted (Modal, ConfirmDialog, Drawer now share one Escape/Tab-trap/focus-restore implementation — Drawer additionally locks body scroll and marks its closed state inert); dead code pruned (components/ui/index.tsx barrel removed, unused .skeleton/.surface-1/.error-state/.trend-icon CSS and @keyframes shimmer deleted); radii unified under two @theme tokens (--radius-control 10px, --radius-card 14px) wired through button/table/card/toast/input; TableEmpty message is a heading now. No visual or behavioral changes.
v1.189.1
2026-11-12
•UI/UX sweep follow-through (design-system audit findings): Drawer gained a Tab focus-trap, initial-focus placement, focus restore on close, inert closed state and focus-visible ring (was mouse-only focus escape); ToastProvider rewrote per-toast timers — each toast stores its own timeout, dedup cancels cleanly, manual dismiss clears the timer, unmount purges all; Toast root is aria-atomic, close button uses focus-visible ring; kpi plates drop the redundant inline focus ring (global rule); table sticky header uses the body-950 token, TableHead carries scope=col, TableEmpty announces via role=status; docs-components Frame and info-tip hairline borders aligned to the white/[0.06..0.08] standard; drawer borders standardized.
v1.189.0
2026-11-12
•Frontend UI/UX sweep across the whole portal and public site (audit: 4 parallel read-only sweeps + manual pass). Money render paths hardened (Number(x ?? 0) guards everywhere cents divide by 100 — admin finances/payments/payouts/refunds/tax-report, merchant payouts/payments/customers/analytics/payment-links/products/subscriptions/disputes CSV export — no more $NaN cells). Nav icon dedup in both portal sidebars (Analytics/BarChart3, Subscriptions/Repeat, Webhooks/Webhook, Onboarding/ShieldCheck, Changelog/ScrollText; admin Mission Control/LayoutDashboard, Finances/Banknote, Refunds/RotateCcw, Onboarding/ShieldCheck, Tax report/Receipt, Audit logs/ScrollText, Deletion requests/UserX, Feature flags/Flag, Webhook DLQ/Webhook, Changelog/Clock). Dialogs: ConfirmDialog now traps Tab focus and starts focus on Cancel for danger actions (+ restores focus on close); Modal announces via aria-labelledby instead of duplicated aria-label, Escape handler no longer re-registers on every parent render. Buttons rely on the single global :focus-visible rule (inline duplicate rings removed); .input:focus no longer double-shadows. Focus-visible rings added to usage switch, products delete, webhook copy-payload, payout frequency pickers, directory retry, status retry/subscribe, compare pill links, docs-search (w-96 max-w-[90vw]). EmptyState titles are h3; Skeleton bars aria-hidden. Reduced-motion now flipped globally via blanket animation/transition duration rule (covers Tailwind animate-pulse/spin). Design-system drift removed: .toast rebuilt from surface-elevated/body tokens (was a competing slate-blue gradient), scroll-progress uses @theme brand/accent tokens, .input focus shadow dropped. Tax reporting page (1099) rewritten: async/await with year-change race guard, Skeleton/EmptyState, body-* tokens, focus ring on the year input, filings status colors use success/warning tokens. Merchant onboarding gained a page-level ErrorBadge with retry (was a silent blank on load failure); settings page: parallel Promise.allSettled loader, connect-status failure is now non-fatal with an inline retry note (me() failure still blocks with the error badge). Directory error state gained a Retry button; checkout/success license-key copy button gives transient Copied feedback + title; tel: links verified; marketing low-contrast footnotes (text-body-600/700) bumped to body-500; homepage FAQ and login/register PCI microcopy no longer name the processor (PCI DSS L1 at the processor, card data never touches our servers).
v1.188.0
2026-11-12
•Payout & checkout integrity hardening (release of parked WIP, owner-approved): payout bank details encrypted at rest (AES-256-GCM fieldCrypto, legacy plaintext rows keep working via passthrough); merchant bank-details endpoint routes through the hardened createPayoutAccount path (cooling-off, previous accounts deactivated, audit + owner alert, same as creators/me/bank-details). Airwallex payouts: destination amount rounded to 2dp, IBAN/SWIFT read from the encrypted details, and a money-moved guard — once Airwallex accepts the payout, a DB finalize failure flags an admin ops alert instead of releasing the reservation. v1 API createCheckoutSession now rejects inactive prices and mirrors the public checkout math (PPP, smart tax, creator share, FX, platform fee); payment rows persist gross/tax/creator/rate/country/vat/reverse-charge. v1 refunds delegate balance accounting to applyRefundAccounting (pending/available bucket, floor-checked, license-key revocation). Disputes: terminal disputes refuse re-submission (409 dispute_already_final); evidence-withhold uses a floor-checked conditional decrement; submit-evidence 409s with no_stripe_dispute when the row has no payment processor id; evidence failure is now 400 evidence_rejected (was 500). Merchant.user serialization narrowed to id/email/name/role/totpEnabled/createdAt/lastLoginAt everywhere a full Prisma include leaked the user record. White-label /pay confirm: confirmPayment with redirect if_required — succeeded/processing intents resolve in place, errors surfaced with the localized message. Unit tests 450 green (stale top-level IBAN fallback test rewritten to the details-string contract + corrupted-blob case; object-shape mocks converted to JSON strings). Not covered: no live Airwallex payout or live purchase exercised — verified by unit suite + tsc only.
v1.187.0
2026-11-12
•Frontend UI/UX polish sweep (no behavior changes): toasts now render above modal dialogs (z-index 110, was 50 — toasts triggered from inside any dialog were invisible behind its overlay/backdrop) and above every in-app z-50 modal layer; toast region is announced to assistive tech (role=region, aria-label="Notifications") and clears the iOS/Android home-indicator safe-area (max(1rem, env(safe-area-inset-bottom))). prefers-reduced-motion now also disables modal/overlay/toast/skeleton animations and card/input/toast micro-transitions. Focus-visible styling consolidated into one rule (outline + soft halo — the duplicated halo-only rule is gone). Duplicate .input::placeholder declaration removed. Dead CSS only otherwise.
v1.186.0
2026-11-11
•Onboarding/registration country audit: 9 more countries got real spec tables — HK (BRN / HKID / bank+branch), TR (VKN / T.C. Kimlik / IBAN), IL (ח.פ / Te'udat Zehut / IBAN), AE (Trade license / Emirates ID / IBAN), TH (13-digit tax IDs), MY (SSM / MyKad / bank code), TW (统编 / National ID), PH (SEC / TIN), VN (MST). Dead code removed in api (ROUTING_NUMBER_COUNTRIES, unused settlement-currency map) and web (same map). Verified with payment processor public requirement endpoints: US platform → connected account supported in 121 countries; our tables cover 50 with concrete hints, rest falls back to generic labels. Zero our-countries outside payment processor's list. Docs: ONBOARDING-COUNTRY-AUDIT.md.
v1.185.0
2026-11-11
•Marketing & top-of-funnel: README.md rewritten EN marketing-first (owner-of-record positioning, live demo/checkout links, pricing, compare/trust/migration links, English quickstart — public GitHub repo no longer leads with repo internals or the dev default seed credentials). Homepage gains a Switching section above the FAQ: honest importer coverage table (Lemon Squeezy / Paddle / Polar — third-party products, prices, customers, license keys), CTA to /migrate, honest copy (dry-run first; subscription card-billing can't port — we help re-issue sessions). SEO/top-of-funnel kept accurate: no invented metrics; the GitHub README now converts passers-by into live demo tries. Bump 2 layouts, 3 doc snapshots (v1.185.0).
v1.184.0
2026-11-11
•Buyer invoice + accountant pack: the customer-portal invoice PDF now carries the billing address block, tax line with country/rate (incl. reverse-charge note), a Sold-by line (Caelum Mountain LLC — merchant of record on behalf of the merchant) and a QR pointing at /customer-portal. New endpoint GET /api/customers/portal/payment/:id/accountant.csv (same portal token) — one spreadsheet-friendly row for an accountant: money as major units, seller role, buyer + full billing address, last4/brand, PaymentIntent id, status; csvCell-guarded; customer portal gains an Accountant CSV link next to the Invoice link. Verified live on the e2e sandbox customer: 200 + full CSV incl. 1 Test Way / San Francisco CA.
v1.183.0
2026-11-11
•Polar → us importer (third importer, mirrors LS/Paddle): POST /api/merchants/me/import/polar — products, prices, customers and license keys (Polar models license keys as `license_keys` benefits inline on products). Prices and benefit↔product links are inline on /v1/products responses; tiered and pay-what-you-want prices and non-catalog (ad-hoc) prices are skipped with explicit warnings instead of mis-migrated; unmapped license keys are skipped with a count. Dry-run first; per-merchant rate limit 10/day; audit IMPORT_POLAR; idempotent by natural keys. /migrate gains a Polar section (LS exit play now covers Polar churn too); /settings/import toggle gains a Polar option. Live verification: endpoint registered, invalid key resolves to a clean 400 polar_auth_failed against the real Polar API (no mutation performed). Untested against a real Polar store — dry-run first as always.
v1.182.1
2026-11-11
•Mission Control hardening: KPI cards, fee-economics block (take rate / payout coverage / retained), 30d revenue chart and its tooltips all normalize missing/undefined stats fields — no $NaN anywhere when /api/admin/stats returns partials. No behavior change.
v1.182.0
2026-11-11
•New merchant Disputes page (/disputes): full-table chargeback management — filter chips (All/Open/Submitted/Won/Lost, live counts), sortable amount/date columns, per-row evidence PDF download (auto-generated incl. license-key activation history), manual '$15 network fee — withhold' action for open disputes (atomic claim, clamped to available balance), CSV export of the filtered view, honest empty/on-brand empty state, aliases in the sidebar (Finance → Disputes) and command palette (g x). Closes the gap where disputes were visible only as a 5-item block on the merchant dashboard.
v1.181.0
2026-11-11
•Dashboard hardening sweep (merchant + admin): /admin/mor-dashboard no longer renders $NaN or crashes on missing API fields (usd()/num() normalizers across all KPI cards, table cells and CSV export). Merchant dashboard: dropped unused grossVolume field. No behavior changes; both pages verified live as seeded merchant/admin (DOM probes).
v1.180.1
2026-11-11
•Homepage/marketing honesty sweep (claims now match shipped reality + own Terms): tax card states computation+collection across 39 jurisdictions (remittance rolls out with registrations — CA/CO 1 Jan 2027) instead of 'automated and remitted'; seller-of-record card matches ToS (chargeback losses stay with merchant, $15 dispute fee reserved, refunded on win) instead of 'we absorb chargebacks'; 'local methods' claims removed until payment processor APMs are enabled; duplicate icons replaced (KeyRound/Banknote/Terminal); /compare fixes a wrong 5% payout fee (real: 1%, min $10) and adds registration-rollout footnote; /trust scopes remittance to where registered. No product behavior changes.
v1.180.0
2026-11-11
•Onboarding SLA measurement (no public claim yet): new admin endpoint GET /api/admin/kyb-sla (requireAdmin) — measured submit→review decision time from Onboarding.submittedAt/reviewedAt: reviewedCount, approved/rejected split, median/p90/min/max hours, pending count + oldest pending age, claimEligible flag (>=10 reviewed cycles). /admin/metrics gains an 'Onboarding SLA (KYB review)' card showing the honest current state; the public SLA claim publishes only after enough real review cycles — never invented.
v1.179.0
2026-11-11
•Localized buyer-facing /pay checkout (EN/DE/FR/ES/PT): browser-detected locale with a manual EN·DE·FR·ES·PT switcher — every UI string, the payment processor Payment Element (Elements `locale` option, remounts on switch), Intl currency/price formatting, and localized region names via Intl.DisplayNames. Hosted Checkout (subscriptions) already renders in the browser language by default (Checkout `locale: auto` on payment processor). Buyer-facing page strings are exempt from the English-only product-UI rule by design; merchant-authored content (product description, merchant name) stays as authored. Phase 0 APM enablement (iDEAL/BLIK/Bancontact/Pix/UPI/WeChat/Alipay/PayPal via payment processor Dashboard) is an owner/ops task, tracked — `automatic_payment_methods` already accommodates them.
v1.178.0
2026-11-11
•MoR full billing identity — mandatory on every /pay checkout: first/last name, company (optional), street, city, region/state, postal code, country + email. New Customer columns (migration 20261111223000_customer_billing_address) store the billing address; it is mirrored onto the payment processor customer object (created on first purchase, reused + updated afterwards; hard-fail 502 if the provider is down) and passed as the PaymentIntent customer. Payment Element billingDetails now 'never' (all collected on our form, no double entry). Receipt email and /checkout/success render the billing address. Public checkout API now requires customerEmail/country/billing* fields (400 otherwise). Hosted subscription flow unchanged (payment processor-hosted, collects its own billing). Live-test findings fixed same release: (1) switching sibling prices on a public link 500'd (price.product not included) — sibling fetch now includes product+merchant; (2) hosted Checkout sessions were rejected by payment processor with customer_update but no customer — hosted sessions now attach the mirrored payment processor customer (plus customer_update[name]=auto required by tax_id_collection).
v1.177.2
2026-11-11
•Payment processor sandbox migration: platform moved from test account acct_1UZxMC1uXDPPeHfp to the fresh sandbox acct_1UajFx0zGfSrAHz1 (US, charges/payouts enabled). New v2 Thin event destination ed_test_61Vk7PNeXvkbsvJSV16Vk7DJ0CSQEnawQy1UbPVmS34a ("mor-platform", 325 events, URL /api/webhooks/stripe) with a fresh signing secret written to both .env files (backups at /root/mor-env-*-bak-20261111-215307.bak). Web rebuilt with the new pk_test_ inlined (bundle verified). Prod + DB unchanged (no payment processor-id references in DB — 0 prices/merchants/subscriptions carry old-account ids). Local sandbox listener added: `stripe listen --all-snapshot` → side-port dev instance on 127.0.0.1:4300 (own STRIPE_WEBHOOK_SECRET; shares prod DB). NOTE: pre-migration payments (17 rows) reference the old account.
v1.177.1
2026-11-11
•Audit sweep (dead code): 8 web API-client wrappers with zero call sites removed (upgradePro/upgradeProAnnual — superseded by /me/upgrade-plan; submitTaxForm — legacy creator tax-form, structured W-9/W-8BEN flow supersedes; stripeSubmit + connectKyb — KYB push flows the UI never calls, endpoints remain documented for API consumers; saveTax + savePayoutSettings — legacy /merchants/tax & /payout-settings POST paths superseded by structured tax + saveBankDetails; deleteMeter — /usage soft-deletes via the active toggle). 2 unused UI primitives deleted (CodeTabs, href-based Tabs — docs-components keeps its own; the ui barrel is used by tax-reporting and stays). COVERAGE.md refreshed to measured c8 values (96.6/85.7/96.9; 443 tests green via test:unit; gate lines>=95/branches>=85/functions>=95 documented correctly). Marketing-claim sweep across apps/web/src: zero unverifiable claims (no SOC 2 / ISO 27001 / 99.9% / unlock in user-facing copy). Server route surface unchanged.
v1.177.0
2026-11-11
•Paddle Billing import (mirror of the Lemon Squeezy path): POST /api/merchants/me/import/paddle — products, prices and customers only (Paddle issues no license keys); dry-run-first UX in /settings/import with LS|Paddle toggle; recurring prices collapsed to their interval; misused frequency=1>1 flagged; no-email customers dropped with warning; rate-limited 10/day/merchant; IMPORT_PADDLE audit entry; unit coverage (2 new tests, 276/276 green). SDKs both proven publish-ready: @mor/sdk-node `npm publish --dry-run` ✓, mor-sdk built wheel+sdist ✓ (installable to PyPI on owner token).
v1.176.0
2026-11-11
•Marketing acquire conversion loop: 'Powered by Caelum Mountain LLC' on /pay + /customer-portal is now a link to /register (title + hover). Merchant finance export: GET /api/merchants/me/finance-export?from&to (default last 3 months) — flat CSV of every SALE (incl. refunded) + SUCCD payout rows, net of fees, for accountant handoff; /payouts gains a date-range picker + Accountant export (CSV) button. SDKs: @mor/sdk-node rewritten zero-dep full-coverage typed client (15 /v1 routes, MorApiError with status/code, env MOR_API_KEY + per-call idempotencyKey), builds clean, live-verified error path against prod; mor-sdk (Python) same surface, live-verified; llms.txt documents both (packages/sdk-node, packages/sdk-python) — publish to npm/PyPI gated on owner npm/PyPI credentials.
v1.175.3
2026-11-11
•Viral loop fix: /first-sale share buttons (X/LinkedIn/copy) now link to /register directly — the public celebration page was being shared instead of the conversion point, so the promised 'shared receipt → /register' attribution never happened.
v1.175.2
2026-11-11
•Unit tests for the KYB thread: tests/kybMessages.test.ts (8 tests) — schema refinements (body-only/attachment-only, max lengths), the sniffed attachment pipeline (too-large rejected before persist, unsniffable rejected, documentStore called with the sniffed MIME), audit rows, and cross-thread attachment isolation (ob_OTHER cannot read ob_1's attachment). Registered in test:unit. Thorough zero — no source changes.
v1.175.1
2026-11-11
•Merchant dashboard 'Needs attention' strip gains a verification item: admin-sent KYB messages unread by the merchant ('N message(s) from the verification team' → 'Open thread' → /onboarding). Driven by one extra COUNT in /api/merchants/dashboard (unreadKybMessages). Live-verified: badge renders, links to thread, cleared on cleanup.
v1.175.0
2026-11-11
•KYB support chat: unified merchant ↔ admin verification thread (chat bubbles + entity context header + encrypted attachments). New KYBMessage model (migration 20261111190000_kyb_messages) — one thread per onboarding row. Merchant side: /onboarding page gains a 'Verification support' card (PDF/PNG/JPG/HEIC upload ≤5MB — same magic-byte sniff + AES-256-GCM pipeline as the KYB documents; Ctrl/⌘+Enter to send; seen receipts). Admin side: same panel in /admin/onboarding per application (header: businessName, email, plan + review-status badges, country, submitted date). Admin posting pings the merchant by email (kyb_message template); merchant posting dedupes into admin notifications (kyb_message event). Live QA: QA merchant ↔ admin round trip incl. attachment upload/download verified, then cleaned up. 8 new routes, 04-API_REFERENCE 265/265.
v1.174.4
2026-11-11
•Admin UI: /admin/metrics gains an 'Unprocessed webhook events' card listing stored deferred thin events (newest first, event type + id + age) with a one-click Redeliver button per row (busy spinner, auto-refresh backlog on success). Live-verified as admin: 1 stored event listed, click redelivered it (backlog instantly shows 'All payment processor webhook events processed.'), QA artifacts cleaned up. api.ts gains admin.webhookBacklog/webhookRedeliver.
v1.174.3
2026-11-11
•Webhook redeliver for admins: the stripe webhook switch is extracted verbatim to services/stripeWebhookProcessor.ts (byte-identical cases; the two buyer_fulfillment_failed paths now throw instead of writing reply.code(500) to the caller). New admin endpoints: GET /api/admin/webhooks/backlog (unprocessed stripe events incl. stored thin envelopes from v1.174.2) and POST /api/admin/webhooks/:id/redeliver (requireAdmin; re-resolves snapshot via events.retrieve / related_object via retrieveV1Resource from the stored payload, then re-runs processStripeEvent — the exact live codepath; atomic-claimed money paths make replay safe; refuses processed rows; audit WEBHOOK_REDELIVER). 04-API_REFERENCE 257/257 in sync; live QA: backlog listed rows, legacy resolvable row redelivered 200, unresolvable deferred row honestly refused 409.
v1.174.2
2026-11-11
•payment processor thin-event deferred path: when the snapshot fetch fails, the raw thin envelope is now persisted as an unprocessed webhook event (provider stripe, type thin_snapshot_unavailable:<id|type>) instead of returning bare 200 with only an ops notify. The /admin/metrics integrity backlog + webhook_event_backlog alarm fire after 1h, giving admins real visibility (payment processor never retries 200-acked thin events). Notify text now states exactly what recovers: payment-class items via the existing reconciliation sweeper; subscription/account events have no automatic recovery — manual re-delivery only.
v1.174.1
2026-11-11
•payment processor thin/preview pin hygiene: snapshot event fetches (`retrieveEvent`, thin-payload `related_object` related fetch in the webhook path) now ride the same 2026-10-28.preview API version as the ED that produced them — new preview-pinned client (`stripePreview`) used only for the thin path; manual related_object fetch sends the processor version header: 2026-10-28.preview. Accounts v2 calls (create/retrieve/update/persons.list/accountLinks.create) were already preview-pinned. GA surfaces (Checkout, PIs, taxes, refunds) stay on the client-wide 2026-10-28.endive pin. No behavior change; tests green.
v1.174.0
2026-11-11
•OG cards for every marketing surface (/sell, /sell/[country], /demo, /receipt, /for/ai-saas, /directory) — same 1200×630 dark-branded ImageResponse pattern as /first-sale, now via a shared ogCard() generator; meta og:image picked up automatically by Next. /payments gains a FAILED-this-week count badge ('Failed this week (N)', new GET /api/payments/failed-count, merchant-scoped) and a Resend-receipt button per row (POST /api/payments/:id/resend-receipt — tenant-checked, SUCCEEDED-only, reuses the minted license key, never double-mints, RECEIPT_RESENT audit log). Buyer portal e2e verified with a real minted token (payment history, license cell, refund request, feedback stars all render). /embed/pay verified live: framable on HTTPS origins via frame-ancestors https: + no X-Frame-Options; /pay itself stays DENY / frame-ancestors 'none'.
v1.173.0
2026-11-11
•Homepage pricing table: 'You are here' badge moved out of the inline name flow onto its own line as 'Us — the MoR' (it rendered off-alignment next to the provider name); provider cell is now a stacked flex column. Notes tightened (Paddle/LS 'MoR included', Polar 'Starter free (5% + ¢0.50)').
v1.172.0
2026-11-11
•Homepage copy honesty + voice pass (no layout changes): dropped 'Enterprise-grade' vapor from metadata and the security feature (now the verifiable 'Card data never touches our servers'), hidered jargon ('ambitious business'), fixed feature titles to claims that are checkable ('Payouts without surprises', 'Built-in recovery'), FAQ payout timing rewritten to daily-batch-after-review (removes the unverifiable '1–2 business days'), FAQ tax answer tightened to the /trust table + CA/CO 1 Jan 2027, 'unlock' → 'include' (API keys/webhooks/subs/links are indeed PRO+ per TIER_FEATURES — claim verified against code).
v1.171.0
2026-11-11
•Settings → Public directory: 'Preview the public directory →' link next to the opt-in toggle (merchants see exactly what buyers will see). P5-#7 evaluation documented: zero completed KYB submit→review cycles exist post-reset, so no approval-SLA claim can be published on /pricing until ≥10 review cycles land with reviewedAt — silence, correctly.
v1.170.0
2026-11-11
•Honesty + affordance pass on the marketing/auth surfaces and the dashboard KPI grid: removed unverifiable 'SOC 2 Type II ready/in progress' claims from /login and /register (PCI-DSS L1 is payment processor's processor-side scope, was already documented honestly elsewhere; now consistent). Clickable KPI cards (Gross sales / Available to pay out / ones with href) now lift on hover with a brand glow + focus ring — they were indistinguishable from static cards despite being links.
v1.169.0
2026-11-11
•Merchant dashboard gains a 'Needs attention' strip (actionable, not vanity): available balance ≥ $100 with no payout account set up → 'Add bank account'; failed payments in the last 30 days → review; PAST_DUE subscriptions (dunning running) → view. All from /api/merchants/dashboard (3 new counts, one round trip). Nothing renders when there is nothing to do.
v1.168.0
2026-11-11
•Merchant analytics surfaces its own data: the /api/merchants/analytics endpoint was built but never called from the web app — now wired: new 'Checkout funnel' card (attempts → succeeded → failed with completion-rate bar, incl. abandoned checkouts) and 'Top products by revenue' (top 5, succeeded payments only, bar chart). Homepage hero secondary CTA now goes to the one-click live demo (/demo) instead of /login.
v1.167.0
2026-11-11
•MoR buyer-data compliance: buyer email is now REQUIRED on every checkout path (white-label /pay Element + hosted subscription, /api/checkout/session, /v1 merchant checkout) — an anonymous-card payment left no Customer record, no receipt and no tax evidence. /pay checkout: PaymentElement now collects billing name + address as a second evidence point for EU VAT (OSS) — payment processor email stays off (own field is authoritative for receipt/refunds/support). Hosted Checkout sessions add billing_address_collection='required'. vatNumber is now persisted on the Payment row (Element lives, where it was silently dropped before) for reverse-charge evidence. In-place: no schema change, no new routes.
v1.166.0
2026-11-11
•Merchant directory (/directory) with merchant opt-in: PATCH /api/merchants/me { directoryListed: true } (default OFF; buyer-visible fields only: businessName, website, country, member-since year). New public GET /api/directory (Cache-Control 300s, ACTIVE listed stores only). /directory page launched with empty-state CTA. Checkout (/pay) footer now names the MoR explicitly ('Merchant of record: CAELUM MOUNTAIN LLC — taxes & refunds handled' → /trust). Migration 20261111160000_merchant_directory_listed.
v1.165.0
2026-11-11
•One-click live demo (/demo): public POST /api/auth/demo-login mints a session for the seeded demo merchant ('Demo Store', MERCHANT, no TOTP) — no credentials involved, per-IP rate limit 30/h, DEMO_LOGIN audit entry, bump demo user sessionVersion to revoke all demo sessions at once. /demo page: one click in, real merchant dashboard (KPIs, payments, products, license keys), clear 'shared sandbox / test mode' framing. Owner-approved design; footer + sitemap link.
v1.164.0
2026-11-11
•First-sale share moment (/first-sale): public celebration page with an OG card (own opengraph-image, 1200x630) + X/LinkedIn share buttons + copy-to-clipboard — linked from the dashboard setup checklist (all-done state) and appended into the first_sale congratulation email so the merchant sees it exactly when it matters. Viral loop: every shared receipt links back to /register. Sitemap entry.
v1.163.0
2026-11-11
•/for/ai-saas vertical landing page: usage/token billing live today (meters + POST /v1/usage + monthly settlement), 39-tax-jurisdiction checkout with EU B2B reverse charge, license keys API, Ed25519 webhooks + dunning, one-click LS importer for the Managed Payments cutover, /llms.txt + /mcp agent-native surface — with an honest 'what we are not' section and no unverifiable claims. Bonus honesty pass on /mor-shield (dropped SOC 2 + 'we absorb chargeback risk' overclaims; bullets now state what is verifiably true). Homepage footer + sitemap link.
v1.162.0
2026-11-11
•The $100 receipt (/receipt): the same $100 UK-consumer digital sale costed line by line at Stripe direct (2.9%+$0.30 + you file UK VAT from the 1st sale), Stripe Managed Payments (≈6.4%+30¢), Paddle / Lemon Squeezy (incl. +1.5% intl card) / Polar / Caelum Mountain LLC FREE (7%+$0.70) and PRO (5%+$0.50 headline parity). Honest table, not spin: we are not the cheapest on FREE — the delta buys native Connect marketplace splits + white-label + MoR tax duty; PRO closes the headline gap entirely. Footnoted sources (public vendor pricing, Nov 2026), CTAs to /pricing#fee-calculator + /compare. Homepage footer + sitemap link.
v1.161.0
2026-11-11
•/migrate gains a 2-minute Migration Audit: paste/upload your customers or subscriptions CSV and the audit runs fully in the browser — parsed rows, unique emails, active subscriptions, est. MRR (interval-aware), and an honest FREE vs PRO vs BUSINESS annual-fee comparison with the PRO break-even MRR shown. Nothing leaves your machine until you explicitly email yourself the summary; that call stores an upsert-by-email lead in TaxEstimatorLead (MA marker) and sends a migration_audit confirmation email. Admin /admin/metrics lead card disambiguates migration-audit leads; admin leads endpoint returns migrationCount. New route POST /api/migration-audit/lead (public, always-200, upsert by email).
v1.160.0
2026-11-11
•Onboarding-stall nurture (P5-#9): new signupStallNudgeWorker — one-shot email 3+ days after signup to merchants still in PENDING (never finished onboarding; not ONBOARDING/REJECTED), respecting emailDigestEnabled, deduped via AuditLog SIGNUP_STALL_NUDGE, daily cron next to the activation nudge. New signup_stall email template. (The post-activation 'first sale in 14d' half of #9 already existed as activationNudgeWorker.) No schema change; no emails sent outside the PENDING stalled cohort.
v1.159.0
2026-11-11
•Programmatic SEO: new /sell hub + 39 per-country pages (/sell/<code>) generated from the same TAX_COVERAGE mirror the checkout engine uses — standard 2026/27 consumer rates for EU VAT (reverse charge on valid B2B VAT IDs), UK VAT, CH MWST, AU/NZ/CA/JP/KR/SG/IN GST, MX IVA, ZA/NO VAT. Every page: rate, how checkout computes it, MoR filing/remittance positioning, transparent fee line (FREE 7%+$0.70 / PRO 5%+$0.50 / BUSINESS 4%+$0.40), CTAs (register/pricing/guides/trust). No invented thresholds; US stays payment processor-Tax-gated. Homepage footer 'Sell by country' link + sitemap (39 entries) — no orphan pages.
v1.158.0
2026-11-11
•Tax compliance hardening before registrations land. (1) Sellable-country gate (services/sellableGate.ts, env-based, OFF by default): with TAX_SELLABLE_ENFORCE=true only countries in TAX_SELLABLE (comma ISO list; ALL = explicit opt-out) may check out — enforced on the internal checkout, payment-link public checkout, v1 merchant checkout-session API, and the abandoned-checkout recovery worker. Missing buyer country fails closed (400 country_required), unlisted country → 400 not_sellable. No DB migration on the hot path; flips with deploy/ops. (2) /pay checkout B2B: optional VAT ID field (validated against the buyer country) flows into payment processor Tax as tax_ids + reverse_charge override for cross-border EU B2B, and into the local engine's reverse-charge rule; previously the field was accepted by the schema but hardcoded to undefined on the tax call — fixed end-to-end. (3) Subscription renewals (invoice.paid) now mirror invoice total_tax_amounts into the Payment row as taxAmount/grossAmount — renewals previously read as tax-free in remittance/QBR reporting. (4) licenseKeys branch-coverage tests (+14) and the new sellableGate suite registered in test:unit.
v1.157.0
2026-11-11
•payment processor Tax wired as the charge path (owner decision: use payment processor Tax directly instead of the 39-country local treadmill). stripeTax.ts rewritten to the real Calculations schema (verified live sandbox: breakdown taxability_reason, amount_total; not_collecting never substituted by the local table — the processor’s answer is the truth; API-offline fallback only, with loud warn). Element (/pay/[token] white-label) flow: Tax Calculation → PaymentIntent hooks.inputs.tax.calculation (verified end-to-end against the test account, PI cancelled after). Hosted Checkout + subscriptions: tax_id_collection.enabled (B2B reverse charge) + customer_update.address=auto. /pay checkout: country selector always visible (full ISO list, PPP multiplier unchanged), US/CA/IN buyers must enter state/ZIP/postal before paying. STRIPE_TAX_ENABLED stays false until registrations + account preset tax code exist — flips to true in the launch procedure (runbook Step 1c).
v1.156.0
2026-11-11
•Tax verification completed for all 39 jurisdictions (EU member-states + GB/NO/CH/AU/NZ/CA/JP/KR/SG/IN/MX/ZA — ZA's planned 16% (May 2025/Apr 2026) was officially reversed by the Rates Bill; rate stays 15%). Payout engine hardening: sourceCurrency now the merchant balance currency (was hardcoded USD) and destinationCurrency falls back to the balance currency — previously a EUR balance payout was sent as USD→? with zero FX fee. 28 new payoutEngine tests (concurrency-claim loss, raw-string failures, partial parked reservation, missing balance rows, reserve/create drift, webhook alias events + redelivery, portal USD default); payoutEngine branches 60% → 90.6%. Coverage gate branches 83 → 85 (all files 85.9%). Live-cutover runbook gains Step 1b 'daňové registrace' — mandatory pre-launch registrations (EU OSS, UK VAT, NO VOEC, AU, JP, IN, SG, CH, ZA, MX, CA, US CA/CO) and the explicit EU/UK/JP/IN no-threshold cases; checklist is owner action.
v1.155.0
2026-11-11
•Tax engine: Brazil removed from TAX_RATES — 'BR 17%' was not a real standard rate (Brazil has no single VAT; ICMS/PIS/COFINS by state plus the 2026 IBS/CBS transition) and no BR registration exists, so charging it would be unremittable. Checkout now covers 39 jurisdictions (all current claims swept 40→39). Engine tables stay synced between api tax.ts and trust-page TAX_COVERAGE.
v1.154.0
2026-11-11
•Tax engine correctness: Estonia 22% → 24% (in force since 2025-07-01, Estonian Tax and Customs Board) and Romania 19% → 21% (in force since 2025-08-01, Law 141/2025) — the checkout was under-collecting 2pp on EE and RO sales. Fixed in apps/api/src/services/tax.ts TAX_RATES and kept in sync with the trust-page TAX_COVERAGE mirror; remaining 38 rates re-verified against 2026/27 published standards.
v1.153.0
2026-11-11
•Competitor-claim verification pass: Polar restructured pricing in 2026 — new orgs (created on/after 2026-05-27) pay 5% + $0.50 on free Starter (Early Member grandfathered at 4% + $0.40 + 0.5% subscriptions; paid plans: Pro $20/mo → 3.8% + 40¢, Growth $100/mo → 3.6% + 35¢, Scale $400/mo → 3.4% + 30¢). Every '4% + $0.40 Polar' claim fixed (compare table + footnote ◆, /compare/polar verdict + $550 worked example, homepage comparison row, fee calculator). Paddle 5% + $0.50, Dodo 4% + $0.40 domestic +1.5% intl/+0.5% subs/+3% PayPal-BNPL, LS 5% + $0.50 +1.5% intl/+1.5% PayPal/+0.5% subs, FastSpring quote-based (reported ≈5.9% + $0.95 or flat ≈8.9% — labelled reported), Stripe +3.5% Managed Payments on the tax-inclusive base — all re-verified against live vendor pricing pages. Legal §privacy retention line de-Czechified (NM LLC, US + EU record-keeping laws). TAX_COVERAGE re-audited against api TAX_RATES: 40/40 jurisdictions, identical rates — in sync.
v1.152.0
2026-11-11
•Homepage + marketing honesty pass: the actual tax engine covers exactly 40 jurisdictions (TAX_RATES verified, synced with trust page TAX_COVERAGE) — every '40+' claim replaced ('40 jurisdictions'); 'VAT, sales tax and GST — automated' corrected since US sales tax is NOT collected yet (CA/CO Jan 2027 or managed tax when enabled); FAQ now states exactly that; 'Automatic currency conversion' headline removed (checkout doesn't convert — merchant sets price currency); compliance strip now reads 'VAT · GST — 40 jurisdictions at checkout'; sales-tax-estimator and register copy aligned; Managed Payments comparison re-verified against stripe.com pricing (3.5% + processing → 6.4%+$0.30 domestic, tax-in-75+-countries, GA)
v1.151.0
2026-11-11
•/mcp page + site metadata: root layout now sets metadataBase from NEXT_PUBLIC_SITE_URL (default https://caelummountain.online) — the emitted og:image on every marketing page was http://localhost:4000/opengraph-image (unresolvable by crawlers). MCP page copy updated to the real 12 tools (was the original 4) and roadmap now lists subscriptions/payouts/webhook-replay
v1.150.0
2026-11-11
•Merchant MCP + /llms.txt aligned with reality: the public llms.txt promised endpoints that do NOT exist (/v1/prices, /v1/subscriptions, /v1/licenses, /v1/webhook/deliveries) — rewritten to the real surface and 12 real tools; packages/mcp-server expanded 4 → 12 tools with correct scopes, idempotency-key plumbing (refund, checkout), explicit live-key requirement for checkout_session, instructions on initialize, unknown-tool → -32602, and a README; protocol e2e verified against a stub (handshake, tools/list = 12 tools, all dispatch paths)
v1.149.0
2026-11-11
•Merchant Integration DX: /apikeys gains an 'Integration quickstart' card — three copy-paste recipes against the live host (list payments, record a usage event against /v1/usage with usage:write scope, Node Ed25519 webhook-signature verifier with the real header names and the signing-key endpoint) plus webhook header reference. Also fixes the new-key 'Try it' example, which hardcoded http://localhost:4000 (broken on prod) and now uses the live origin with the correct mode-scoped prefix
v1.148.0
2026-11-11
•payment processor v2 KYB cleanup: the admin requirements + re-request flows called the DEAD v1 listPersons against v2 accounts ('v1 Accounts cannot be used in v2 Account APIs' — always fell back to stripeError). Replaced with stripe.v2.core.accounts.persons.list (include param rejected by the 2026-10-28.preview sandbox — param dropped; person requirements ride with the person). Removed dead v1 createExternalAccount + dead minimal-anchor-violating createPerson/updatePerson. Verified live in test mode: minimal-anchor account creates + retrieves (requirements entries=[]), persons list returns {data:[]}, person round-trip (given_name/relationship owner/representative, percent_ownership decimal→100) maps through mapStripeRequirements to owner/representative/100%/title correct. Probe account acct_1UaaWo1uXDsy5cl7 closed after verification (applied_configurations:[merchant], closed:true)
v1.147.0
2026-11-11
•Buyer portal: license delivery cells now show activation meter ('0/2 activations', expiry date, revoked state) — the portal API returns activationLimit/used/expiresAt/revoked per license key. Verified live as qa-buyer (EF6T-2RYW-VADH-EU5S, 0 activations of 2)
v1.146.0
2026-11-11
•Buyer portal: subscriptions now show the product name and price (e.g. 'Sample Product 15.00 USD/mo') instead of a cryptic id prefix — the portal API joins subscription.product.name and exposes productName; verified live as qa-buyer (seeded ACTIVE subscription, then row deleted)
v1.145.0
2026-11-11
•Coverage gate ratchet: branches 82 → 83 (actual 83.5), keeping the 95/83/95 floor enforced in CI
v1.144.0
2026-11-11
•Coverage: sanctions cache/no-arg branches (4 tests, 86.7% branches), lemonsqueezy oversized-key warning + no-$transaction fallback (100% lines). All files: 97.4% lines / 83.5% branches / 97.8% functions, 392/392 tests green. COVERAGE.md updated to the measured state
v1.143.0
2026-11-11
•Coverage: documentStore env branches tested (production without key throws, invalid 64-hex key rejected, PAYOUT_DATA_KEY fallback honored, dev plaintext fallback roundtrip, encrypted-then-key-removed throws 'required to decrypt') — documentStore.ts now 100% lines / 90.3% branches. All files: 97.3% lines / 83.0% branches, 386/386 tests green
v1.142.0
2026-11-11
•Coverage: payoutEngine branch paths — account cooling-off, payout.succeeded with pending below reservation (ledger-drift notify, balance untouched), 2 missing test cases from earlier batch restored. payoutEngine.ts now 99.7% lines. All files: 97.0% lines / 82.4% branches / 97.8% functions, 381/381 tests green
v1.141.0
2026-11-11
•Webhook settings: (1) outbound webhook event catalog now in English (was Czech in an English-only portal); (2) delivery detail modal gains a one-click 'Copy payload' button — the payload merchants actually need when debugging their receiver. Merchants can also already Replay failed / view full payload from the same page
•Coverage: fulfillPaymentDelivery outer catch (findUnique throw) — licenseKeys.ts now 100% lines / 82.9% branches; all files 96.5% lines / 82.1% branches / 97.8% functions, 379/379 tests green
v1.138.0
2026-11-11
•Resilience: the (merchant) and (admin) route groups now have their own error.tsx boundaries — a render crash in any portal page shows an in-frame 'Try again / back' card (sidebar + badge intact) instead of falling through to the root error page or blanking the area. Directly addresses the historical /admin/onboarding blank-after-approval anomaly class. Coverage: disputeEvidence branch tests (null device names, revoked>expired>exhausted precedence, limit-null default, short codes) — disputeEvidence 91.4% branches, all files 81.98% branches; coverage gate branches 80→82
v1.137.0
2026-11-11
•Coverage: lemonsqueezyImport network layer now tested (5 tests, stubbed global fetch — 401/403 reject with statusCode 400, HTTP 500 page returns partial data + warning instead of throwing, stops at meta.page.lastPage, fetchLsStore warnings aggregation). Coverage gates ratcheted up: lines 90→95, functions 90→95 (branches stay 80, current 81.5). All files: 96.33% lines / 81.5% branches / 97.8% functions, 372/372 tests green
v1.136.0
2026-11-11
•Coverage push on payoutEngine: FX-markup branch (EUR destination), payout.create throw path, sanctionsHold count in the admin digest email, partial reservation release when pending < release, missing merchant record (no merchant email, admin still notified), merchant email send throwing (swallowed, never crashes webhook), payout_id payload key — payoutEngine.ts now 93.2% lines / 96.7% functions. All files: 95.35% lines / 81.4% branches, 367/367 tests green
v1.135.0
2026-11-11
•Coverage push on the license engine: new tests for activateLicense P2034 lost-race re-read (returns honest view, no throw), revokeLicensesForSubscription (0 when no payments; idempotent updateMany scoped to never-revoked keys, returns revoked count), fulfillPaymentDelivery P2002-without-existing and persistent non-P2002 mint failure — licenseKeys.ts now 97.4% lines / 81.5% branches. All files: 360/360 tests green, 95.1% lines / 81.1% branches / 96.7% functions
v1.134.0
2026-11-11
•SECURITY FIX (SSRF guard): IPv4-mapped/NAT64 IPv6 literals bypassed the private-address block — WHATWG URL normalization rewrites [::ffff:10.0.0.1] to [::ffff:a00:1], which the old isPrivateIp treated as public, so a merchant webhook could target RFC1918 space (10.0.0.x/127.x mapped as ::ffff:hex). checkWebhookUrl now expands IPv6 to 8 hextets (compression + embedded dotted-IPv4 + hex-mapped + NAT64) and enforces fe80::/10, fc00::/7, :: and ::1, ::ffff:0/96, 64:ff9b::/96 — unparseable IPv6 fails closed. Regression tests cover all of these forms. Also: 12 new ssrfGuard tests, npm run test split into test:unit (353 tests, no live smokes) / test:smoke / test (back-compat); coverage gate branches raised 75→80 (current 80.8)
v1.133.0
2026-11-11
•Test coverage rebuilt to be truthful: the npm run test:coverage gate was silently red — Node's experimental test-coverage doesn't merge V8 coverage across mock.module'd subprocesses (330/330 tests passed but the report showed 87% and the gate failed). Switched the gate to c8 + NODE_V8_COVERAGE (devDependency): all files now 94.5% lines / 78.8% branches / 96.2% functions with 341/341 tests green; gate set at lines≥90, branches≥75, functions≥90. New tests: disputeEvidence getLicenseEvidence (7, status transitions + 900-char cap), auth (bcrypt roundtrip, findUserByEmail/createUser) — 11 added
v1.132.0
2026-11-11
•Merchant payments: FAILED payments now carry a failure reason end-to-end — new Payment.failureReason column (migration 20261111113000_payment_failure_reason; prod pg_dump taken first), set to 'async_payment_failed' by the async bank-debit settlement; the payments table shows a compact reason line under the FAILED badge, and the payment detail drawer shows a human-readable 'Failure reason' row (mapping in lib/failure-reasons.ts: async_payment_failed → 'Bank rejected the debit', etc.); unit test extended (6/6 green, tsc clean)
v1.131.0
2026-11-11
•Refactor: checkout.session.async_payment_failed handling extracted from the webhook switch into services/asyncPaymentFailed.ts (processAsyncPaymentFailed) — atomic FAILED-claim, buyer email with retry link, deduped admin notify; now covered by 6 new unit tests (tests/asyncPaymentFailed.test.ts, all green)
v1.130.0
2026-11-11
•Codebase hardening batch (P1-P3 from analysis): (1) admin.ts (1,644 lines, 70 routes) split into three themed modules registered separately under /api/admin — adminMerchants.ts (17 routes, merchant lifecycle), adminFinances.ts (27, money/tax/analytics), adminOps.ts (26, ops/misc) — guards:check now audits 9 admin route files; (2) unbounded admin queries converted to aggregate/groupBy (/finances, /mor-dashboard, /pnl, /creator-report, /reconciliation, /email-digest 2N→2 queries) — same outputs, no full-table payment scans; (3) payment processor checkout.session.async_payment_failed now settles: payment marked FAILED (atomic guard), buyer gets a new 'async_payment_failed' email with retry link, admin notified — async bank debits no longer fail silently; (4) CSP script-src loses 'unsafe-eval' everywhere (Next 16 doesn't need it, no eval in code); (5) npm run build:web now exists — inlines NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY from apps/api/.env and drops NEXT_PUBLIC_API_URL, so the /pay checkout can never silently break again; (6) Mission Control queue cards extracted to components/ui/mission-control-queue-card.tsx; (7) dependency bumps (fastify 5.12.8, next 16.4.6, tailwind 4.3.5, lucide 1.72.0, nodemailer 10.5.0, @fastify/cors 11.4.1, @fastify/jwt 10.2.7, otel 0.301.1); .gitattributes marks generated Prisma client; paymentProcessor comment documents the dual-crediting race arbiter; deps audit clean, 19/19 paymentProcessor tests green, 250/250 routes documented
v1.129.0
2026-11-11
•CRITICAL prod fix: the white-label /pay checkout was broken for buyers ('Payments are temporarily unavailable — please contact the seller.') — NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY was missing from the web bundle, so stripePromise was null. The web build now inlines the publishable key from apps/api/.env (pk_test_). Verified end-to-end in a real browser: Payment Element mounts, 4242 purchase → /checkout/success, DB payment SUCCEEDED, webhook processed, license key minted and shown on the success page. Also ships a regression unit test for the unpaid-async-session gate (19/19 green)
v1.128.0
2026-11-11
•Merchant customer detail (/customers/[id]): new 'Copy portal link' button — mints a signed buyer portal token via POST /api/customers/portal-link and copies the full URL to the clipboard and ALSO always shows a selectable read-only field with the link (clipboard can be blocked by browser focus/permission). Buyers self-serve receipts, subscriptions, payment methods, refunds. Previously the portal-link endpoint had no UI entry point
v1.127.0
2026-11-11
•payment processor best-practices audit applied (installed payment processor docs skills): (1) checkout.session.completed no longer credits/fulfills when payment_status is 'unpaid' — async payment methods previously would have credited merchants and delivered license keys before money arrived; the same handler now also processes checkout.session.async_payment_succeeded (defense-in-depth gate in processCheckoutSessionCompleted too). Verified read-only via API: the Thin destination (ed_test_…) already forwards v1.checkout.session.async_payment_succeeded / async_payment_failed / checkout.session.completed / payment_intent.succeeded / charge.succeeded (325 events). (2) All checkout sessions now carry integration_identifier (mor_checkout/mor_subscription/mor_plan_upgrade/mor_setup_ + 8 random letters) for Dashboard flow comparison. SDK 23.1.0, API 2026-10-28.endive, Accounts v2, dynamic payment methods, no payment_method_types — rest of the integration already conforms to current payment processor guidance
v1.126.0
2026-11-11
•Merchant dashboard 'Recent disputes' rebuilt: each row now shows amount, currency, status pill (WON=green / LOST=red / actionable=amber), withheld flag, reason and date, with the Evidence PDF link (was a raw dispute ID + bare 'Withheld/Open' text); evidence link now uses API_BASE like the receipt download
v1.125.0
2026-11-11
•Admin MoR dashboard: 'By merchant' table is now sortable (all 9 columns, default Gross desc) with hover-highlighted sort headers; new CSV export button (exports the sorted view, one row per merchant); merchant name cell links to /admin/merchants/[id]; MoR dashboard + P/L fetch now run in parallel (was sequential)
v1.124.0
2026-11-11
•Merchant dashboard upgrade: Gross-sales KPI now shows week-over-week trend (last 7d vs prior 7d, from the already-returned revenuePrevByDay) with +/-% pill; 'Available to pay out' KPI is clickable → /payouts; new compact 'Revenue — last 14 days' bar chart card (current week brand, prior week dimmed, per-day hover titles); dashboard data fetches (dashboard + risk score + disputes) now run in parallel (was sequential waterfall); recent-payments action buttons are wired — Eye → /payments/[id], Download → receipt.pdf (were dead buttons); removed dead ErrorBanner code
v1.123.0
2026-11-11
•/checkout/success polls the payment every 1.5s (max ~12s) until the license key is present — the buyer no longer sees an empty 'Payment successful' shell when the webhook lands a beat after the 3DS redirect; stops once the key (or download link) is present, never breaks the page
•New npm run version:check — asserts releases.ts head version equals the admin + merchant badges and the Stav k headers (02-STATUS, TODO-NEXT, STRIPE-LIVE-CUTOVER) and appears exactly once in releases.ts. Catches the version-drift class that hit v1.118 and v1.122.0 (badge/changelog mismatch vs deployed web bundle) before any commit ships
v1.122.0
2026-11-11
•Success page for white-label Payment Element checkouts now loads the payment by payment_intent (the element return_url), not only by session_id (hosted Checkout) — element buyers see their license key + download link right after the 3DS step instead of a dead 'Payment successful' with no receipt. New route GET /api/checkout/payment-intent/:id (strict pi_<len>=20, SUCCEEDED-gate, 404 on shape mismatch/PI not found/count-unrelated). Verified end-to-end in browser: page renders key, amount, status, available date
v1.121.0
2026-11-11
•Fulfillment recovery sweep: hourly/2h reconciliation job now also finds SUCCEEDED payments on license-key-enabled products with NO minted key and delivers them (safe: mint unique-claimed, emails only on actual mint, deduped admin bell alert when any recovered). Closes the last recovery gap left by the payment processor THIN destination — any paid license/delivery that slipped through pre-v1.120.0 now lands automatically instead of waiting for a ops click
•LicenseKey mint is now unique-claimed per (paymentId, productId) — migration 20261111150000_licensekey_payment_product_unique (prod pg_dump backup taken first; DB had 0 duplicates). Concurrent mint attempts (webhook vs sweeper vs admin redeliver) now race via unique constraint instead of read-then-create: loser re-reads and reuses the existing key. Unit test for the P2002 race path added (8/8 green)
v1.120.0
2026-11-11
•payment processor v2 THIN event handling completed (CORRECTS v1.119.0 — that release assumed the thin envelope carries snapshot_event; in practice the delivered payload only has {id,object,type,livemode,created,related_object:{id,type,url},reason}). The delivered notification now goes: 1) snapshot attempt if snapshot_event present; 2) REST fetch of related_object.url (same restricted key, verified live) → data.object fully populated → the switch works IDENTICALLY to legacy v1 events. If neither path yields data.object: 200 thinDeferred + deduped admin notification instead of crashing the legacy switch with undefined object (which lost payment processor retries and stranded payments as PENDING; reconciliation sweeper used to catch those later). Verified live with a real signed thin envelope replay: 200, claim processed=true, license key minted inline for an already-credited SUCCEEDED payment. v1.119.0's directional fix (snapshot-only) was incomplete; the related_object fallback is the real fix.
v1.119.0
2026-11-11
•ROOT CAUSE of repeated payment processor webhook 500s (both payment_intent.succeeded and charge.succeeded): the destination is a v2 THIN event destination whose payload envelope carries data: null — the actual resource lives at related_object/url and the full V1 event at snapshot_event. The handlers read event.data.object (undefined) -> TypeError -> 500 -> payment processor retries -> gave up -> reconciliation sweeper settled payments 2h late and license delivery never happened for real buyers (incl. the external test purchase at 10:02 via the homepage demo link). Now: v1-projection thin events fetch /v1/events/{snapshot_event} (verified: returns payment_intent with status/latest_charge/client_secret) and process EXACTLY like legacy events — license mint, receipt, credit all inline at webhook time. Pure v2 events (account refresh) keep the existing normalization path. If the snapshot fetch fails: 200 thinDeferred + logger.error + deduped AdminNotification (manual check) — nothing is claimed, sweeper settles, instead of crash-500ing in a loop
•Apologies for the audit trail noise — earlier 'transient' 500s and yesterday's silent delivery loss are this one bug, now root-fixed. The demo-store public CTA attracted a real test purchase at 10:02; its license key was silently dropped then recovered via the new admin deliver button (v1.118.0), receipt email delivered
v1.118.0
2026-11-11
•Admin manual digital delivery: POST /api/admin/payments/:id/deliver (requireAdmin) — re-runs idempotent license delivery + buyer receipt for any SUCCEEDED payment; returns { licenseKey, minted, reused } and audit-logs ADMIN_LICENSE_DELIVER. The admin payments list gains a 'Redeliver license / resend receipt' button inside the payment-detail drawer (SUCCEEDED rows only), showing the returned key + mint/reuse state. Closes the ops loop from v1.117.0 (fulfill_failed notification → one click to resolve, no console access needed). Verified live on prod: existing key returned (reused:true), ZERO double-mint, audit row written
•docs: 249 routes documented (249/249)
v1.117.0
2026-11-11
•Buyer digital delivery now survives payment processor webhook retries end-to-end: fulfillment runs for EVERY delivery of a SUCCEEDED payment (not only the delivery that did the crediting), and a license-mint failure surfaces as deliveryError -> the webhook returns 500 so payment processor retries (fulfillment is idempotent per payment: at most one key, always reused, never double-minted). Previously a post-credit delivery failure was silently swallowed with a 200 — payment processor stopped retrying and the buyer never received the license (this exact silent loss happened during a transient ~20s incident). Receipt email is withheld on a failed delivery and sent by the successful retry instead
•fulfill_failed AdminNotification (6h dedup) on persistent delivery failure — surfaces in the admin bell before payment processor gives up; link to /admin/payments for manual delivery
•fulfillPaymentDelivery now reports { failed: true } on persistent mint failure instead of throwing; new unit test asserts this (7/7 green)
•checkout.session.completed (hosted) gets the same retry-safe delivery — previously a delivery failure there was lost forever too
v1.116.0
2026-11-11
•Webhook: new payment_intent.canceled handler — the white-label element checkout creates PIs directly, and payment processor auto-expires unconfirmed ones after ~24h; previously those rows stayed PENDING forever (only the 71h abandoned-checkout worker eventually marked them FAILED). Now each canceled PI flips its PENDING payments to FAILED immediately, merging cancelCategory=canceled into existing metadata (paymentLinkId / clientIp / ppp preserved). Idempotent update-by-id per row, never touches non-PENDING rows. Subscription event list on the payment processor destination could not be checked from the server (restricted key) — worst case the worker remains the backstop, same as before
v1.115.0
2026-11-11
•Fraud velocity guard now covers the public payment-link checkouts (both white-label element and hosted): the buyer client IP is persisted as clientIp on the payment processor PI metadata AND the local PENDING payment row metadata, which is what the shared velocity counter counts. Previously the IP leg of checkVelocity silently matched nothing for payment-link buyers — only the email leg worked, and only when the buyer typed one (card-testing bursts from one IP against a link were unlimited). Element + hosted + headless /checkout now all carry clientIp. Verified live: 5 throwaway rows from one IP → 429 blocked; cleanup → allowed. Test row removed
•Side effect of the metadata change: link-checkouts also gain the same buyer-IP dispute evidence that headless /checkout payments already had (embedded in the license-key evidence bundle)
v1.114.0
2026-11-11
•Public live demo checkout on the homepage: 'Or try the live demo checkout right now — no signup. Test card 4242 4242 4242 4242. Nothing is charged; you receive a real license key.' under the hero CTAs → /pay/4e06f8191f0f15bccb712d0fea77eb57 (demo merchant 'Try it yourself — test checkout', $5, license-keys enabled). Test-mode end-to-end purchase verified in browser (4242 → /checkout/success, payment SUCCEEDED, license key minted, receipt step skipped without buyer email)
•Checkout error UX: a failed card confirmation in the white-label element flow now renders the actual payment processor error inline inside the form (e.g. 'Your card number is incomplete.') instead of swapping the whole page to the misleading full-screen 'Payment link not found' state; the full-screen error now only appears for initial page load failures and shows the actual message
•Webhook hardening: post-credit side effects (merchant dispatchToMerchant, buyer deliverAndReceiptForPayment, payment_failed and refunded dispatch) are now non-fatal — wrapped in catch + logged — so a transient failure can no longer flip a successfully-credited payment_intent.succeeded / charge.succeeded / checkout.session.completed webhook to 500 (which payment processor kept retrying while the license key silently never reached the buyer). Handler errors now logger.error with event id/type
v1.113.0
2026-11-11
•Embeddable checkout for payment links: new /embed/pay/[token] — the full white-label checkout renders inside an iframe on ANY HTTPS parent (frame-ancestors https:, no X-Frame-Options on the embed path; everything else stays frame-ancestors 'none' / XFO DENY). Payment Links dashboard gains an 'Embed' button with a copy-ready <iframe> snippet + live preview link. Embed page extracted into shared components/pay-checkout.tsx (used by /pay and /embed/pay) — one source of truth, no duplicated logic
•Payment detail page: 'Source: <name> — payment link' row (parsed from payment metadata.paymentLinkId, cross-referenced to the link list) — payments created from links now trace back to their source in the UI
•Renewal revenue attribution: Subscription gains paymentLinkId (migration 20261111140000_subscription_payment_link), set from checkout session metadata by mirrorSubscriptionFromCheckout and stamped onto every renewal Payment's metadata — per-link revenue on the dashboard now includes subscription renewals, not just the first payment. Backfill unnecessary (0 subscriptions in prod; fresh DB)
v1.112.0
2026-11-11
•Payment Links dashboard: per-link Revenue column (SUCCEEDED payments attributed via paymentLinkId metadata, one query, no N+1) + Conv. rate column (clickCount→conversionCount %, em dash at 0 clicks); skeleton/empty states updated
•Payment Links: new 'QR' button per link — renders a scannable SVG QR (dark/light matched to our theme) via the qrcode package, modal with copy of the URL — fulfils the 'QR checkouts' claim in the PRO upsell (previously advertised, didn't exist); print-ready for posters/in-person
v1.111.0
2026-11-11
•White-label checkout for one-time payments: buyers no longer redirect to stripe.com — /pay/[token] renders a Payment Element (dark, brand-coloured, our domain, our copy) via payment processor.js + Elements; backend creates a PaymentIntent directly (paymentLinks /public/:token/checkout returns { mode:"element", clientSecret, paymentIntentId, amountCents, currency, merchantName, productName } for ONE_TIME prices) — PCI SAQ stays with payment processor, card data never touches our infra
•Buyer email captured up front (receipt + /recover portal link + customer link) — receipt fulfillment is now shared (services/buyerFulfillment.ts) between the Element path (payment_intent.succeeded) and the hosted path (checkout.session.completed) — delivery (license key) + receipt email identical in both
•CRITICAL CSP fix: the site served script-src 'self' only — payment processor.js could not load at all (the hosted Checkout redirect was unaffected, but every payment processor.js path was dead on arrival). CSP now allows js.stripe.com (script+frame) and api.stripe.com/m.stripe.network/q.stripe.com/r.stripe.com/maps.stripe.com (connect); connect-src narrowed from blanket https: to explicit hosts
•Subscriptions stay on hosted Checkout by design (SCA/retry/invoice lifecycle); v1 API headless flow unchanged (merchant-side redirect for API SDK users)
•Verification: browser e2e on live prod (test mode) — Payment Element mounts on our domain, zero payment processor text in buyer-facing DOM; demo merchant temporarily PRO for link creation, artifacts deleted, plan reverted to FREE (leftover PENDING test payment ages into FAILED via abandoned-checkout sweeper)
v1.110.0
2026-11-11
•Homepage: interactive fee calculator removed (owner feedback — didn't fit visually); pricing table section now links to /pricing#fee-calculator instead; /pricing gains an #fee-calculator anchor (scroll-mt) so the link lands on the calculator; /pricing gets a metadata layout (title+description for tabs/SEO — page was client-only with no metadata); homepage footer gains 'Fee calculator' link
v1.109.0
2026-11-11
•Agent-native API expansion: GET /v1/balance (scope payments:read) — availableCents, pendingHoldCents, reservedCents, awaitingClearanceCents + count, USD; documented in 04-API_REFERENCE (248/248) and Appendix A regenerated; llms.txt now lists /v1/balance
•MCP server gains get_balance tool (calls /v1/balance); /mcp page lists all four tools; verified live (tools/list OK; tools/call round-trips to prod API)
•Admin metrics — leads card now splits /sales-tax-estimator vs /tax-cost leads (DIY leads carry a marker entry code=DIY; classification happens on read, no schema change); card retitled 'Lead capture — estimators & tools' with per-lead source tag
v1.108.0
2026-11-11
•New lead-magnet: /tax-cost — 'What would doing sales tax & VAT yourself cost?' calculator (US + EU): estimates nexus footprint (≈ rev/$100k, capped 45 states), year-1 cost (registrations ~$125–$403 + first-year tooling) and run rate (published Avalara Core Compliance $799/state/yr) + EU OSS (~$975/yr) + sanctions tooling (~$1k/yr) vs our 7% FREE fee — all labelled as 2026 list-price estimates, not quotes; email capture (reuses /api/tax-estimator/lead with new source=diy_cost → new diy_cost confirmation template); linked from footer + sitemap (priority 0.7)
•/migrate now spotlights the Lemon Squeezy one-shot importer (Settings → Import — products, prices, customers, license keys; dry-run + idempotent; subscriptions not migrated) — accurate to the shipped v1.95.0 implementation; LS exit wave positioning
•API docs: taxEstimator lead endpoint documents the source enum; docs:check still 247/247
v1.107.0
2026-11-11
•Self-serve license-key recovery for buyers — new public /recover page + POST /api/license-recovery/recover: enter checkout email → enumeration-safe respond (always generic 200), real key owners get a 24h customer-portal magic link emailed (one link per store; portal shows keys + downloads + payment methods). IP rate-limit 5/15min and per-email 3/hour; always 200, never reveals whether we hold keys
•Support page FAQ entry ('I lost my license key' → /recover), footer link 'Recover license key', sitemap entry
•API docs: licenseRecovery.ts registered (docs:check 247/247); Appendix A regenerated
v1.106.0
2026-11-11
•Dispute defense for digital goods: charge.dispute.created auto-evidence now includes license-key issuance + activation history (key, status, activation limit vs usage, device + activation dates, capped to payment processor's text limits) — strongest proof the buyer consumed the product; merchant manual evidence submission /api/disputes/:id/submit-evidence auto-appends the same summary (merchant notes stay first). Merchant evidence bundle (/bundle) and evidence PDF now carry structured license evidence too
•New service services/disputeEvidence.ts (getLicenseEvidence + buildLicenseSummary; unit tests added — 3 passing); also fixes a latent evidence gap where the auto-submit read meta.ip but checkout stored the IP as meta.clientIp (now checks both)
•/pricing fee calculator is now a shareable quote link: state syncs to ?volume=&orders=&plan= on change and a 'Copy quote link' button puts the full URL on the clipboard — sales links that open pre-filled
v1.105.0
2026-11-11
•llms.txt + MCP public surface shipped (owner decision 2026-11-11, reversing the earlier internal-only stance): public /llms.txt — machine-readable index of the public /v1 API (fees, auth, endpoints, webhooks); /mcp page — MCP for AI agents (stdio, JSON-RPC; list_payments, list_products, create_checkout_session; packages/mcp-server verified end-to-end at protocol level against the live API — initialize/tools-list round-trip 200; authenticated tools/call not run — demo merchant is on FREE plan, API keys locked); footer + sitemap updated; docs (DOC_TOOLS / DOC_STANDARD / DOCS_AUDIT / AGENTS.md / competitive-analysis decision) updated to record the reversal
•Compliance analysis docs added (research-grade, fact-sourced): docs/DAC7-ANALYSIS-2026.md (DAC7 gates — digital goods excluded from 'relevant activity'; MoR risk from own-name third-account selling; EU advisor opinion required by 15 Dec; CY2026 report due 31 Jan 2027 if in scope), docs/US-2027-TAX.md (CA SB 122 + CO HB26-1223 effective 2027-01-01 — prewritten software/SaaS taxable in CA and CO; registration + payment processor Tax config pending owner decision, docs/DISPUTE-DEFLECTION.md (Visa RDR + Ethoca ops note — dashboard config, no code; our RDR refunds land in the existing idempotent charge.refunded accounting path)
•Sales-tax estimator footnote now calls out the 2027 CA/CO changes; docs/TODO-NEXT and 02-STATUS updated
v1.104.0
2026-11-11
•Marketing/SEO expansion: three new competitor deep-dive pages (/compare/lemonsqueezy, /compare/fastspring, /compare/dodo) backed by verified published pricing (LS 5% + $0.50 +1.5% intl/+0.5% subs — Stripe-owned, being folded into Managed Payments; FastSpring quote-based, reported ≈5.9% + $0.95 or flat ≈8.9%, labelled reported not official; Dodo 4% + $0.40 domestic US +1.5% intl/+0.5% subs/+3% PayPal-BNPL/$1 refund/$30 dispute); /compare table now spans 8 providers; LS/Dodo surcharges stated in footnotes
•New public guides: /guides/us-sales-tax-saas (economic nexus, Wayfair, CA SB 122 + CO HB26-1223 Jan-2027 wave) and /guides/eu-vat-digital-goods (€10k threshold, OSS, B2B reverse charge + VIES, UK post-Brexit) — both link the sales-tax estimator and pricing
•New public /support page (contact, buyer dispute path, common questions — replaces the dead-end of having no support entry point); footer gains Support link; sitemap lists the new pages; homepage footer updated
v1.103.0
2026-11-11
•FIX (platform-wide): native <select> dropdown popups rendered white with our light text — unreadable. globals.css now forces dark option/optgroup backgrounds (#111827) and light text (#e5e7eb) plus color-scheme: dark on selects; verified live on the register country picker
v1.102.0
2026-11-11
•FIX: payment processor Connected Account Agreement re-acceptance was triggered by FIRST-TIME field fills during initial onboarding — owner/tax-ID fields don't exist in the saved blob yet, so every first save flagged saaReacceptRequired=true and blocked admin approval with 409 (found via a full register → onboarding → submit → approve smoke run). Re-acceptance is now required only when a previously set value actually changes
•Full onboarding e2e verified live in test mode: register (checkbox SAA acceptance) → 3-step KYB + review step → submit for review → admin dossier review → approve → merchant ACTIVE + minimal v2 connected account created acct_1UaWwZ1uXDgXccRD — and the SAA approval gate demonstrably intercepted a mis-flagged merchant before the fix
•QA artifact fully cleaned up: v2 account closed via the Accounts v2 close API, onboarding/merchant/user rows deleted; demo DB back to Demo Store + admin only
v1.101.0
2026-11-11
•Pre-live QA sweep across the public site, merchant portal and admin: removed the public 'API documentation' footer link (points at the admin-gated /docs — confusing for visitors), swapped the /migrate page's /docs link likewise; merchant sidebar 'API Docs' button removed (same admin-gated target — merchants were bounced to /login while authenticated)
•FIX: /admin/tax-report crashed with 'Cannot read properties of null (reading gross)' — the page reduced Object.values of the whole response object ({ byCountry, from, to, totalPayments }) instead of the byCountry map; now reduces data?.byCountry only
•Verified live: every public page, all merchant portal routes and every admin route render with zero console errors; /docs still admin-gated (redirects to /login) as designed
v1.100.0
2026-11-11
•payment processor Connect Platform Agreement compliance: merchant Terms of Service now include (a) reference to the payment processor Connected Account Agreement + Services Agreement, (b) express authorization for Caelum Mountain LLC to create/manage the merchant's payment processor connected account and to collect & transmit connected account data to payment processor, and (c) re-acceptance duty on ownership/tax-ID change. Buyer Terms and merchant Terms governing law unified to New Mexico, USA (the operator entity) — was Czech Republic
•Connected Account Agreement acceptance is now recorded and audited: registration requires an explicit checkbox (acceptStripeToS: literal true — 400 otherwise); acceptance is stored on the merchant (saaAcceptedAt/saaVersion, migration 20261111120000) plus an ACCEPT_STRIPE_SAA audit log entry (date/IP/user-agent/version); the payment processor v2 account ToS attestation now carries the merchant's actual acceptance timestamp + request IP instead of 'now'
•Re-acceptance flow: when ownership/representative/tax-ID fields change in the onboarding PATCH, the merchant is flagged saaReacceptRequired; admin onboarding approval is blocked (409) until the merchant re-accepts in Settings (amber banner + one-click accept → POST /me/saa-acceptance, audit-logged); approval transmits no payment processor data without a current acceptance
v1.99.0
2026-11-11
•Plan-based fee tiers: FREE stays 7% + $0.70; PRO $29/mo (annual $290) drops to 5% + $0.50; new BUSINESS tier $99/mo (annual $990) at 4% + $0.40 — 2 months free on annual. services/fees.ts now applies the plan schedule (admin-set platformFeePercent override unchanged, network $0.10 passthrough still applies to everyone); BUSINESS added to planTier/TIER_FEATURES (PRO feature superset — API keys, webhooks, subscriptions, payment links)
•Self-serve upgrades generalized: new POST /api/merchants/me/upgrade-plan { plan: PRO|BUSINESS, interval: month|year } creates the payment processor Checkout subscription (inline price, 2-month-free annual); /me/upgrade-pro kept as a PRO-only back-compat alias; settings → Upgrade is now a PRO/BUSINESS plan matrix (PRO merchants see the BUSINESS upsell); webhook flips plan on checkout.session.completed for purpose=plan_pro_upgrade|plan_business_upgrade
•Platform plan lifecycle is now honored: customer.subscription.updated syncs PAST_DUE (kept on plan during dunning), and UNPAID/CANCELED reverts the merchant to FREE; customer.subscription.deleted reverts to FREE (previously a canceled PRO stayed PRO — fees and gating — forever)
•Fee calculator gains a FREE/PRO/BUSINESS plan toggle (Caelum Mountain LLC row reflects plan rate + monthly fee); /pricing gains plan cards; homepage FAQ and comparison table note the tiers; docs (Overview/Architecture/Roadmap/Checkout-12/API reference/README) updated
v1.98.4
2026-11-11
•BUGFIX: prerendered HTML was served with 'Cache-Control: s-maxage=31536000' (x-nextjs-cache HIT), so browsers/CDNs could hold documents pointing at chunks of a previous build — after a 'rm -rf .next' rebuild those chunks 404 and the entire route segment silently unmounts (sidebar visible, main area black; observed once live on /admin/onboarding right after an approval). All HTML now serves 'Cache-Control: no-cache, must-revalidate' (hashed static assets keep their own caching); browser HTML is always revalidated, so stale-chunk black screens can no longer occur
v1.98.3
2026-11-11
•Follow-up to the v1.98.1 hotfix: verified the fix end-to-end by purchasing $100 through hosted Checkout (4242 test card) — payment recorded SUCCEEDED, balance credited with availableAt=now+7d, /checkout/success now renders the receipt instead of 'Failed to fetch'. Root-caused the regression properly: shells that had sourced apps/api/.env kept NEXT_PUBLIC_API_URL exported, so every subsequent npm build re-inlined the stale public IP into the bundle (the v1.98.1-era 'clean' build was IP-free only because the grep ran before the build it measured; every later build re-baked it). release-notes no longer contain the IP literal (keeps future bundle greps meaningful); web rebuilt from a clean .next with the var unset — 0 occurrences verified
v1.98.2
2026-11-11
•Dashboard polish (P0 batch): merchant dashboard 'View reports' button (pointed at /products) replaced with 'View analytics' → /analytics and merged into the header row; duplicate 'We fight chargebacks' card removed (redundant with the disputes empty state); admin OPS ALERTS for the informational stripe_test_keys_in_prod boot notice now auto-ack in test mode — 18 backlogged unread notices marked read, new ones created as read (the Mission Control pill already shows test mode; real alerts surface again)
•HOTFIX: charge.succeeded webhooks were 500ing — the charge.succeeded handler persisted stripeChargeId/paymentMethodBrand/Last4/ExpMonth/ExpYear via prisma.payment.updateMany, but those four paymentMethod* fields were never added to the Prisma model (columns existed in the DB since migration 20261110250000; the Payment model in schema.prisma lacked them, and the generated client rejected the update with 'Unknown argument paymentMethodBrand' → 500). Model updated; regenerated client; charge.succeeded now processes 200 (verified end-to-end with payment processor CLI 'stripe listen' → local instance + 'stripe trigger payment_intent.succeeded' — all deliveries 200). paymentMethodBrand/Last4/ExpYear are now stored for the portal's payment-methods card
v1.98.1
2026-11-11
•HOTFIX P0: production browser logins were failing with 'Failed to fetch' — the compiled web bundle contained a hardcoded public-IP literal for API calls; served over HTTPS this is mixed content and browsers block it. Root cause: a stale NEXT_PUBLIC_API_URL=<public IP literal> lingering in apps/api/.env (the web runtime is same-origin since v1.88.0 — NEXT_PUBLIC_API_URL must NOT be set) plus a stale .next build cache. .env var removed, apps/web rebuilt from a clean .next (verified: 0 occurrences of the IP literal in the bundle), logins work again
v1.98.0
2026-11-11
•Homepage revamp: interactive fee calculator embedded under the pricing table (shared FeeCalculator component, extracted from /pricing — single source for the fee math, no duplicated logic); new 'Who it's for' positioning section (indie hackers / SaaS founders / creators & licenses / small dev shops — honest fit statements, no invented segments); hero product mock gains the payout-scheduled strip; header nav gains Trust; CTA secondary button switched from 'Read the docs' (admin-gated after v1.88.1) to 'Compare options' → /compare; JSON-LD Organization + WebSite; new static OG card (app/opengraph-image.tsx, dark-branded, 1200x630)
v1.97.8
2026-11-11
•Homepage marketing pass (EN-only, dark-only): removed the unverifiable 'SOC 2 Type II — Ready' claim and replaced it with verifiable ones (PCI DSS L1 at the processor / card data never on our servers, AES-256-GCM at rest for secrets & KYC docs, 40-jurisdiction tax at checkout, GDPR self-serve export & erasure). Feature grid now 9 cards incl. license keys (activation limits/expiry/revocation), developer-first (scoped keys, REST, signed webhooks, DLQ, MCP server) and self-healing automation (retries, DLQ, replay, dunning, velocity guard). Pricing table corrected: Stripe Managed Payments is 3.5% + processing (≈6.4%+$0.30 domestic card; GA 2026) and the unverifiable 'Payments AI' row was replaced with Lemon Squeezy (5%+$0.50, Stripe-owned); Paddle/Polar list prices confirmed. FAQ gains 'What can I sell?' and 'Am I locked in to a dashboard?' (both verifiable); footer Resources gains Trust Center link; JSON-LD Organization + WebSite structured data added
v1.97.7
2026-11-11
•Legal & Trust Center disclaimers removed: the amber 'template / counsel review / not legal advice' notices under the legal documents and the trust-center counsel-review sentence were replaced with a plain statement that each document is valid and effective as of the date stated at the top of the document
v1.97.6
2026-11-11
•Legal & Trust Center expansion (EN-only, dark-only): new buyer-facing MOR Buyer Terms of Service (/legal/buyer-terms — seller-of-record model, price incl. taxes, digital delivery, 14-day EU withdrawal + statutory exceptions, refunds, subscription cancel, liability, Czech law + EC ODR); footer links to it; privacy policy gains a Summary of key points, CCPA/CPRA rights, Children, Automated decisions & AI sections; trust center gains Security, Privacy and AI governance sections grounded in actual platform practice (TLS, AES-256-GCM at rest for secrets + KYC documents, least-privilege RBAC, audit logging, backups with tested restores, DPAs/SCCs, human-approved review decisions, no AI training on customer data); contact emails normalized to caelummountain.online (MX records exist for .online; .com has none); links updated sitewide
v1.97.5
2026-11-11
•Local encrypted KYB document store (person + company): new OnboardingDocument table + migration (20261111080000); files are AES-256-GCM encrypted at rest in DOCUMENTS_DIR (default /var/lib/mor/documents, chmod 700; key DOCUMENTS_KEY, falls back to PAYOUT_DATA_KEY) and served ONLY to admins (GET /api/admin/onboarding/:id/docs/:docId — decrypts on the fly, private no-store). Merchant endpoints: POST /api/onboarding/documents/file (base64, kind PERSON|COMPANY, docType allowlist per kind, magic-byte sniff PDF/PNG/JPEG/HEIC, 5 MB cap, audit logged), GET /api/onboarding/documents, DELETE /api/onboarding/documents/:id (owner-scoped). Legacy base64 file path in POST /documents now also stores encrypted through the same store (was: unencrypted in apps/api/uploads/); legacy /uploads/ links keep working via the old admin route. Merchant onboarding UI: real file picker with person/company classification + uploaded-docs list with delete; admin dossier shows DB documents (Person/Company chips) embedded in the /api/admin/onboarding/pending payload; KYB autopilot counts DB-stored documents toward the documents requirement
•Minimal-identity connected accounts (owner decision 2026-11-11): payment processor stays a payment rail only — no capabilities requested (empty merchant configuration), accounts created as identity anchors (contact_email, display_name, entity_type, registered_name, platform ToS attestation after the Connect Platform Agreement, verified zero requirement entries against Accounts v2 sandbox). Platform does its own KYB and settles payouts via Airwallex; the approval reconcile path no longer pushes persons/attestations/bank artifacts
v1.97.4
2026-11-11
•Webhook signing secret rotated to the new v2 Thin event destination 'sophisticated-wonder' (ed_test_61Vjt8CoRhOkB9ond16VjLJZ0CSQ4Q025guxDAU8u5xw, Your account, 325 events, payload Thin, API version 2026-10-28.preview) at the canonical https://caelummountain.online/api/webhooks/stripe; STRIPE_WEBHOOK_SECRET updated in the api env and verified end-to-end via eventDestinations.ping (payment processor delivery acked 200, WebhookEvent processed=true). The prior destination ed_test_61VjqZzus4igR5ZUe16VjLJZ0CSQ4Q025guxDAU8uTrk and the short-lived test account acct_1UaTW21NltyjPsiL (keys created and expired the same morning) are gone; the platform remains on the 2026-11-11 clean-slate test account acct_1UZxMC1uXDPPeHfp. No application-code changes in this release — config rotation only
v1.97.3
2026-11-11
•Connect Platform Agreement acknowledged in the dashboard → payment processor now accepts losses_collector=application: the platform is the responsible party again (MoR: refunds/chargebacks/negative balances on connected accounts are ours, matching the legal agreement — verified via Accounts v2 create). Connected account creation restores the platform ToS attestation (ToS requirement resolves at creation: users consent to our ToS at registration; verified — no more terms_of_service pending entries). v2 external bank accounts remain absent by design: payment processor has no v2 external_account API, and merchant payouts settle via Airwallex to bank details collected at onboarding (payment processor never needs the bank). Remaining payment processor requirement entries (external_account/owners/representative) are user-actionable via the payment processor-hosted account link (/api/merchants/connect/onboard) and irrelevant to the current charge-on-platform + Airwallex-payouts model
v1.97.2
2026-11-11
•v2 webhook state refresh no longer demotes admin-approved merchants: refreshMerchantFromAccountObject flipped ACTIVE->ONBOARDING when the payment processor v2 account had user-actionable requirements outstanding (ToS acceptance etc.) — admin approval is the platform liability decision, so refresh only ever promotes ONBOARDING->ACTIVE (when requirements clear) and never demotes ACTIVE/APPROVED
•Merchant-facing /requirements + /verify endpoints now report REAL v2 state: they mapped the v1 currently_due/past_due fields that v2 accounts do not carry, always returning empty — they now derive from requirements.entries[].minimum_deadline.status (currently_due/past_due/eventually_due) and the capability status_details code for disabled_reason (example: identity.business_details.address.line1 correctly shows as currently_due)
•/connect/status derives charges/payouts/onboardingComplete from configuration.*.capabilities status + requirements.entries (v2) — it previously always wrote false for every v2-connected merchant
•Dead v1 API calls removed for v2 accounts (v1 Accounts cannot be used in v2 Account APIs): external bank accounts are no longer created or reconciled on the payment processor side (merchant payouts settle via Airwallex to the encrypted bank details collected at onboarding; payment processor never needs the bank) — removes the guaranteed bank-artifact warning on every approval and the broken listExternalAccounts reconciliation; person list in reconciliation now uses the v2 persons SDK
•Webhook account refresh tolerates payment processor read-after-write lag on freshly created accounts: retrieveAccount retries 3x with 1s/2s backoff before warning (self-heals; flags refresh on the next delivery); warn logs now carry acctId/eventType/related_object for triage
v1.97.1
2026-11-11
•Two critical production auth bugs fixed. (1) Fastify was configured with trustProxy: loopback — every request proxied through nginx landed in ONE shared non-loopback rate-limit bucket, so the 10/15min auth limit was exhausted by normal browsing and ALL public /api/auth/login calls returned 429; nginx now OVERWRITES X-Forwarded-For with the real socket address (never appends a client-supplied value) and trustProxy is true. (2) The strict auth limiter also counted /api/auth/me (the client session probe, called on every page navigation) as credential verification, exhausting the login bucket in minutes — /api/auth/me is now exempt from the auth bucket and governed by the global limiter only
•Guards no longer send-and-continue: Fastify v5 runs the rest of the handler pipeline after a hook replies without throwing — so unauthenticated requests reached handlers and crashed on request.user.id (ERR_HTTP_HEADERS_SENT / TypeError noise, 500-class log spam on every public 401/429). authenticate and both rate-limit hooks now THROW (401/429), which halts the pipeline and renders a proper error response; onError logs 4xx at warn level instead of error. Expected error bodies are Fastify-default JSON ({statusCode, code, error, message}); the web client treats any 401 as redirect-to-login and was unaffected by the shape change
v1.97.0
2026-11-11
•payment processor test account reset to a clean slate: apps/api/.env now uses the fresh test keypair (new account acct_1UZxMC1uXDPPeHfp, replaces acct_1UaQxZ0ohO7fffmN after the data purge). Platform DB was wiped and re-seeded (admin@merchanthub.com + merchant@demo.com); pre-clean pg_dump saved at /root/mor-db-backup-pre-clean-20261111-025311.dump. Prior connected accounts, payments and onboarding data from the old test account are gone by design
•Webhooks migrated to Thin payloads (v2 event destination): new destination ed_test_61VjpWMg98ymF9VI516VjLJZ0CSQ4Q025guxDAU8uKWO (scope Your account, payload style Thin, API version 2026-10-28.preview, 325 events) — the handler now detects thin events (object=v2.core.event), verifies them with parseEventNotificationAsync, normalizes namespaced type names onto the legacy switch cases (v1.* prefix stripped; v2.core.account[...] notifications mapped to capability/requirements refresh cases) and fetches full v1 event bodies via fetchEvent() before dispatch. v2 account refresh now derives charges/payouts/details from configuration.merchant.capabilities.card_payments.status, configuration.recipient.capabilities.stripe_balance.stripe_transfers.status and requirements.entries[].minimum_deadline (no top-level v1 fields exist on v2 accounts). Snapshot payloads still supported for backwards compatibility; a v2.core.event_destination.ping is acked 200 by design. Signature verification for the thin path verified live with an HMAC-signed synthetic ping (200 received:true)
•Connected account creation fixed for payment processor managed risk: losses_collector set to stripe (payment processor rejected application-collector with account_creation_losses_collector_unavailable); the ToS attestation was removed because payment processor owns requirement collection when it is the losses collector (tos_acceptance_on_behalf_not_allowed) — payment processor collects ToS via its own hosted flow. fees_collector stays application: the platform remains the fee collector
v1.96.1
2026-11-11
•payment processor Connect account creation fixed for the managed-risk platform configuration: payment processor rejected losses_collector=application (account_creation_losses_collector_unavailable) — the platform is not on the losses-liability program, so connected accounts are now created with losses_collector=stripe (payment processor is the losses collector; fees_collector stays application — the platform still collects all platform fees). With payment processor owning requirement collection, the platform can no longer attest the Connected Account terms of service on payment processor's behalf (tos_acceptance_on_behalf_not_allowed), so the ToS attestation was removed — payment processor collects ToS via its own hosted flow. Verified live in test mode: merchant onboarding submit now creates the connected account (smoke-onboarding requirements endpoint returns 200 instead of skip)
v1.96.0
2026-11-11
•Live-cutover readiness: /api/health now reports stripeMode (live|test|unknown|missing) alongside the backwards-compatible stripe field; when production runs payment processor test keys the API logs a loud boot warning and raises a deduped admin notification (stripe_test_keys_in_prod) until resolved — no real money can move silently. Admin Mission Control payment processor pill shows the mode (live — real charges vs test mode — no real charges). EnvBadge was already NEXT_PUBLIC_STRIPE_MODE-driven; documented in the new STRIPE-LIVE-CUTOVER.md runbook: hard gates (domain+TLS, payment processor Connect platform live review, Airwallex prod endpoint, SMTP delivery test, legal placeholders), env flip order, live webhook creation (HTTPS, all events), web rebuild, verification ladder (health -> signed synthetic webhook -> $1 live payment -> refund -> Connect re-onboarding of test-account merchants), and rollback semantics
v1.95.0
2026-11-11
•Lemon Squeezy -> Mor migration importer (merchant self-service): POST /api/merchants/me/import/lemonsqueezy with your Lemon Squeezy API key — fetches the store (products, variants, customers, license keys, orders) via the JSON:API with Bearer auth, timeouts and page caps, then recreates products, prices (one-time and subscriptions, intervals mapped), customers and license keys (activationLimit, expiresAt, revoked for disabled/expired keys) in your Mor account. Dry-run is the DEFAULT (safe preview, counts + warnings, nothing written); repeat runs are idempotent by natural keys. Active subscription billing is NOT migrated — re-issue checkout sessions instead. /settings/import UI + nav entry; audit logged; untested against a live Lemon Squeezy account (no sandbox credentials) — verified via fixture unit tests
•Fixed a broken RELEASES entry in v1.94.0 (unescaped double quotes in a double-quoted string) that failed tsc
v1.94.0
2026-11-11
•Fixed the inert auto-payout feature: the threshold-triggered scheduler (payoutScheduler.ts) was implemented but never scheduled — nothing called it; only the manual admin POST /api/admin/payouts/schedule did. It is now wired hourly in index.ts, and it only selects merchants who opted in via a new payoutFrequency='threshold' (default 'weekly' = weekly batch only). Merchant /settings/payout gains a cadence toggle (Weekly batch / Auto at threshold) via new GET/PUT /api/merchants/me/payout-frequency (audited); the weekly batch is unchanged and complementary
v1.93.0
2026-11-11
•Purchasing Power Parity (PPP) pricing for products (opt-in): per-product pppEnabled with World Bank income-group multipliers baked in (LIC 0.35 / LMIC 0.50 / UMC 0.75, world floor 0.30, unlisted countries pay full price). The public payment page shows a country select for PPP-opted products with the live discounted total; the headless /checkout endpoint honors the same rule via customerCountry; tax is computed on the discounted amount; the payment row records metadata.ppp { country, multiplier, originalAmount } for merchant audit. Trust model: buyer self-reports country (no GeoIP yet) — documented as a good-faith discount, with floors and audit metadata, not an anti-fraud control. Merchant UI gains the PPP toggle
v1.92.0
2026-11-11
•Marketing: new /compare/managed-payments page (Stripe Managed Payments — GA April 2026 — positioned honestly: MoR as a toggle on your existing Stripe account, but no Connect marketplace/split flows, Checkout/Payment Links only, digital goods, ~37-39 seller countries, ~+3.5% on the tax-inclusive base ≈6.4%+30¢ domestic all-in, ≈8.9% international worst case); the /compare overview table now covers five columns (us, Stripe, Paddle, Polar, Managed Payments) and the outdated 'MP in preview' footnote was corrected to GA facts
v1.91.0
2026-11-11
•ATO hardening — payout destination changes now trigger a 24h cooling-off (PAYOUT_ACCOUNT_COOLING_OFF_HOURS, default 24): creating a payout account deactivates the previous active ones in the same transaction and stamps coolingOffUntil; weekly payout batch, the threshold-triggered scheduler, and merchant /request + /instant payouts all refuse accounts inside the window; the change is audit-logged and surfaced to the merchant (out-of-band alert email bank_details_changed) and to admins (payout_account_changed ops notification, deduped 6h)
•Creators bank-details endpoint and merchant payout-accounts endpoint now go through a shared createPayoutAccount helper; any pre-existing unordered payoutAccount[0] ambiguity is resolved — exactly one active account exists after every change
v1.90.0
2026-11-11
•License keys are now real entitlements, not just codes: per-key activationLimit (from a new per-product licenseActivationLimit, default 1) and expiresAt (from licenseExpiresDays, empty = never); a LicenseActivation table tracks (license, device) slots with a unique constraint; keys mint with the product's config at fulfillment time (migration 20261111030000_license_keys_v2)
•New merchant /v1 endpoints (scope licenses:write, tenant-scoped to the API-key's merchant — other merchants' keys are indistinguishable from nonexistent): POST /v1/licenses/activate (idempotent per device, serially claimed last slot via serializable transaction, re-activating a slot-holding device always succeeds), POST /v1/licenses/validate (status: active|expired|revoked|exhausted), POST /v1/licenses/deactivate (frees one or all device slots)
•Licenses die honestly: fully-refunded payments revoke all keys for that payment inside the refund claim transaction (webhook and admin-approve paths), and customer.subscription.deleted revokes keys minted via the subscription's payments — revocation is idempotent and recorded with revokeReason (refunded / subscription_canceled)
•Merchant product page: activation limit + optional key expiry fields when license delivery is enabled; apikeys scope list gains licenses:write
v1.89.0
2026-11-11
•Session revocation: JWTs now carry an sv (sessionVersion) claim mirroring a new User.sessionVersion column (migration 20261111020000_user_session_version). The authenticate() guard re-validates against the DB on every authenticated request — a deleted account or a bumped version is rejected immediately with 401, and role/email are served from the DB so demotions and edits take effect at once (previously a stolen or stale cookie was valid for the full 24h regardless). reset-password, GDPR anonymization and 2FA-disable all increment sessionVersion, revoking every outstanding token for that user; pre-migration tokens without sv are treated as version 0 and expire naturally
•Removed the two rogue ADMIN accounts created via the v1.86.2 self-assign-ADMIN hole (admin2@merchanthub.com — never logged in, zero audit events; admin@admin.com — one ADMIN_RE_REQUEST_VERIFICATION call whose email never left because SMTP is not configured). Full audit-log review found no other actions from either account. The only remaining ADMIN is the demo admin@merchanthub.com
v1.88.1
2026-11-11
•Usage billing is LIVE (USAGE_BILLING_ENABLED=true, restart applied): merchant-defined meters (metric, unit price) were already modeled; the v1 POST /v1/usage endpoint ingests metered events with a usage:write sandbox/live API key; monthly settlement claims the month atomically and attaches payment processor invoice items for customers with an ACTIVE payment processor subscription (idempotent), else falls back to report-only; settlement summary email is delivered via the now-live SMTP
•Verified end-to-end in test mode as the demo merchant: meter created → events ingested via mk_test key → settlement aggregated correctly (350 units × $0.25 = $87.50, anonymous usage reported but never billed) → summary email delivered to the merchant inbox → zero artifacts left behind (test meter/events/key/markers cleaned, November settlement marker removed so Dec 1's real settlement runs)
v1.88.0
2026-11-11
•Ops trust: email failures are now loud — sendEmail failures (and SMTP-not-configured) raise an AdminNotification via a deduped writer (one per event+title per 6h), visible in Mission Control's Ops alerts pill; a recurring config regression can no longer pass silently
•Ops trust: Prometheus alert mirror worker — the repo's mor-alerts.yml rules evaluate in-memory only (no Alertmanager in this stack); a new 5-minute worker reads /api/v1/alerts and mirrors currently-firing alerts into AdminNotifications (deduped 6h per alert), plus a boot mirror. Best-effort: absent/unreachable Prometheus logs and skips quietly
•Ops trust: nightly ledger/ops integrity worker — paranoid, zero-false-positive checks (negative balance buckets, SUCCEEDED payments past availableAt still uncleared >1d, stale PENDING payment intents, webhook DLQ stuck >6h, payouts REQUESTED >48h, unprocessed webhook events >1h, refunds PENDING >7d); findings land in admin notifications (deduped 24h per check) and show up in Mission Control's Ledger drift pill; boot run 5s after start; verified clean live (0 findings)
•Admin Overview is now Mission Control (/admin): one pane of glass for the whole platform. Health strip on top — API reachability/db/uptime and payment processor state (from /api/health), SMTP shown honestly as missing (email flows are no-ops), unread ops-alert count and unresolved ledger-drift count (straight from admin notifications). Money KPIs unchanged. Every queue waiting on a human is an actionable card with inline one-click actions and a confirm dialog — onboarding approve/reject, payout reject + one-click batch trigger, refund approve, webhook DLQ replay, GDPR deletion approve (SUPER_ADMIN only) / reject — each followed by a toast and a full reload
•Mission Control UX details: oldest-item SLA badge per queue (warning ≥4h, danger ≥24h), pending $ totals on payouts/refunds cards, 60s auto-refresh with an on/off toggle (pauses automatically when the tab is hidden), View-all deep links, GDPR approve button hidden for ADMIN per the v1.86.5 SUPER_ADMIN tiering, and the deletion-approval stays impossible for ADMIN server-side as well
•Fixed payout-coverage KPI dividing by platform revenue instead of gross volume
v1.86.5
2026-11-11
•Docs are internal-only, enforced server-side: the /docs layout now resolves the session via the API before rendering (unauthenticated → /login, non-admin → /dashboard) instead of streaming docs HTML to anonymous visitors — and the same gate lives in the pages, because layouts render in parallel with pages and a layout-only redirect leaked the docs payload in the RSC stream; /docs/[...slug] validates every slug segment against the docs filename charset and re-checks containment inside docs/ (path traversal closed), hides internal docs entirely (notFound, existence not revealed) and lists sidebar/prev-next filtered; the docs search endpoint is a Next route at /docs-search (nginx sends /api/* to Fastify, so the old /api/docs-search 404'd in production and search silently returned nothing) that verifies the session cookie against the API and requires ADMIN/SUPER_ADMIN; the INTERNAL denylist is shared (docs-internal.ts) and extended with TODO-NEXT, PRODUCTION_READINESS, COMPLIANCE_TEMPLATES, SANDBOX_TEST_CARDS
•TOTP hardening: 5 invalid codes lock the challenge for 15 minutes (tracked separately from the password lockout), an accepted time-step can never be replayed (totpLastStep consumed atomically with success), failure counters reset on success — new User columns totpFailedAttempts/totpLockedUntil/totpLastStep (migration 20261111010000_user_totp_lockout)
•Password reset and email-verification tokens are now stored as SHA-256 hashes only (raw token exists solely in the emailed link) — a database read no longer hands out usable reset/verify tokens
•ADMIN vs SUPER_ADMIN tiering (per owner decision): feature flags (list + toggle), manual fee changes (PATCH /admin/merchants/:id/fee and platformFeePercent inside PATCH /admin/merchants/:id), bulk merchant status changes, and GDPR deletion-request approval are SUPER_ADMIN-only (requireSuperAdmin in services/guards.ts; guards:check updated to accept it). ADMIN keeps read access and day-to-day ops; admin UI hides Feature flags in nav, disables fee editing and the deletion-approval button for ADMIN, and the fee input is sent only when changed
•Worker batch limits: every scheduled worker now caps its batch per run with deterministic ordering (maturity 500/run ordered by availableAt, dunning 500, merchant/admin digests 1000, KYB 200, activation nudge 500, sanctions re-screen 1000, subscription resume 500, payout scheduler 1000 merchants / 5000 screens) — long backlogs drain over successive runs instead of loading whole tables; usage-billing settlement refuses to run past 20k events for the month (logs an error and skips rather than settling a truncated aggregate)
•Dead code removed: services/permissions.ts (unused role/permission matrix; role checks go through requireAdmin/requireSuperAdmin) and its test
v1.86.4
2026-11-11
•CRITICAL: POST /api/admin/tax-1099/file debited merchant balances unconditionally — any re-run (retry, double-click, re-file) charged the same US taxpayers again until balances hit zero. Filing now skips forms already FILED/ACCEPTED for the (merchant, year) and debits in one transaction with a conditional decrement (shortfalls flagged, audited)
•Refund accounting rebuilt around a single idempotent writer (services/refundAccounting.ts): cumulative amount_refunded from payment processor, optimistic claim on payment.refundedAmount — exactly one of webhook charge.refunded / admin approve debits the delta (was: non-atomic update then debit → lost debit on crash; and double-count between the two paths). Unmatured refunds reduce pending, cleared refunds reduce available (maturity subtracts the refunded share from a fresh in-tx read); PaymentIntent ids now stored in stripePaymentIntentId, ch_/pi_ lookups OR-ed for disputes/refunds
•Payout integrity: the scheduled-payout worker created REQUESTED payouts nothing ever processed — it now reserves and submits to Airwallex immediately (shared submitReservedPayout with the weekly batch). Airwallex payout.succeeded/payout.failed transitions are atomically claimed in-transaction with ledger-clamped pending release. Admin payout transitions are a state machine (PAID/COMPLETED/FAILED/REJECTED are terminal; REJECTED/FAILED release only what is parked in pending) + audit logs; /instant payout enforces MIN_PAYOUT_CENTS, FX-fee parity with /request and payout-account ownership
•Dispute withhold now restores exactly the withheld amount when the merchant wins (held amount recorded in DISPUTE_WITHHELD audit at withhold time); legacy withheld rows with no record are flagged to admins instead of guessed
•Auth/proxy: trustProxy limited to loopback (X-Forwarded-For spoofing no longer bypasses the auth rate limiter or presents as 127.0.0.1); sessions expire after 24h; production fail-fast without JWT_SECRET/COOKIE_SECRET; JSON responses are recursively scrubbed of passwordHash/totpSecret/reset/verify tokens (defense-in-depth on top of per-route fixes); live API keys require an ACTIVE (go-live) merchant; v1 key prefix⇔mode enforced (test key can never authenticate live) + failed-auth rate limiting; /api/test/* now requires ENABLE_TEST_ROUTES=1 and non-production
•Data leaks: public /api/checkout/session/:id requires a strict cs_<test|live>_ id and an exact checkoutSessionId metadata match (was substring match; license keys leaked for unpaid sessions), buyer no longer sees platform fee/merchant share; /merchants/me and GDPR-adjacent paths never ship taxId/webhookSecret/riskScore/stripeAccountId to the browser; admin creators list returns summary-only bank info; TIN masked in 1099 list/CSV; all admin CSV exports use a shared cell escaper (quotes + formula injection)
•Audit round 2 (money + security): renewal and checkout-claim balance credits are now single transactions end-to-end (processCheckoutSessionCompleted, reconciliation sweeper, webhook payment_intent.succeeded — previously a crash between claim and balance upsert stranded the credit); invoice.payment_failed now enters dunning (RETRYING + nextRetryAt, 4 attempts → EXHAUSTED) instead of a dead-end; dispute fee reserve/settle atomic with conditional guards; dispute withhold claim-first inside the transaction with balance clamped to available; payout batch reserves+creates atomically with sanctions screen one grouped query (was N+1); payout.succeeded pending decrement floor-checked with admin ledger_drift notify (never negative); scheduled payout worker now enforces the same gates as the weekly batch (verification, freeze, sanctions)
•Airwallex/outbound-webhook integrity: merchant webhook URLs go through an SSRF guard (https-only except loopback dev, private/reserved IPs and DNS-resolved ranges blocked, redirect:manual) with an atomic PENDING→DELIVERING claim, stale-DELIVERING reclaim and per-item failure isolation for the delivery batch; the usage-billing month is claimed atomically (serializable) — duplicate run can no longer double-charge invoices
•Data-leak/mass-assignment fixes: /documents/upload no longer accepts arbitrary server file paths (only files stored via POST /documents, basename + size checked); /connect/kyb and /verify reject payment processor account params outside a small allowlist; public /api/auth/register self-assign-ADMIN removed in v1.86.2; checkout caller metadata can no longer shadow reserved keys (priceId, productId, merchantId, checkoutSessionId, purpose); merchant dispute PATCH restricted to SUBMITTED; subscription bulk-cancel and merchant pause now propagate to the payment provider (customers kept being billed behind a 'cancelled' UI); refunds recomputed inside Serializable transactions (double-click over-refund); unguarded JSON.parse sites route through safeJsonParse; admin finance/digest views count COMPLETED alongside legacy PAID payouts (screens showed 0); 1099 archive sums paymentGrossCents
•Frontend trust fixes: 2FA settings never renders an unknown status as 'disabled' (explicit error + Retry); forgot/reset password pages use labelled primitives and surface real API errors; CSV exports escape formula-injection (= + - @) and quotes on customers/products/payouts/analytics; payout/subscription/coupon forms validate numerics before submit; tax-report 1099 status select surfaces failures instead of silent snap-back; compare page corrected to the real 5% instant-payout fee; homepage mock labelled as example data; admin metrics page shows ErrorBadge with working retry
v1.86.2
2026-11-11
•CRITICAL (security): the public /api/auth/register endpoint accepted a client-supplied role enum and passed it straight to the user create — anyone could self-register an ADMIN account and pass every admin guard. The field is removed from the schema (Zod strips unknown keys); self-registration is now always MERCHANT. Privileged roles are granted only by seed/admin tooling. Two ADMIN accounts created via the hole exist in the prod DB (admin2@merchanthub.com, admin@admin.com — flagged for review); seed admin is untouched
•Subscription renewals are now one atomic transaction: Payment SUCCEEDED + merchantBalance credit + subscription sync commit together (was: three separate writes — a crash between them permanently stranded the merchant, payment processor retries hit the invoiceId dup check and skipped). handleInvoicePaymentFailed now enters the dunning flow (RETRYING + nextRetryAt with the same exponential-business-day schedule and 4-attempt cap → EXHAUSTED/PAST_DUE) instead of the dead-end FAILED status the dunning worker never picked up
•Airwallex payout webhook now mirrors the payment processor idempotency semantics: processed duplicates acked, crashed claims (>5 min) reclaimed, failed handler releases the claim so the provider retry reprocesses — payout events can no longer strand on a one-shot error (was: P2002 → duplicate ack without reprocessing; error-path left a permanent tombstone)
•Dispute 'withhold' endpoint: the withheld:false→true flip now happens atomically inside the transaction and the balance debit is clamped to the available bucket (like reserveDisputeFee) — concurrent requests can no longer double-debit and the merchant balance can no longer go negative on dispute withhold
v1.86.1
2026-11-11
•Test coverage gate is now green and enforced in CI: unit coverage for services was 89.74% lines / 84.78% functions with no CI enforcement (test:coverage existed but was red and unused). New mocked-DB suites bring it to 98.7% lines / 85.8% branches / 90.9% functions — velocity checkVelocity (fail-open on DB error, VELOCITY_LIMIT override), benchmark computeBenchmark (k-anonymity, dormant-cohort exclusion, interval→MRR normalization), subscription sync handlers (renewal payment + balance credit + webhook dispatch, duplicate-invoice idempotency, dunning flag, pause/cancel sync), license-key fulfillment (idempotent mint, collision retry), dispute fee reserve/settle both outcomes, admin notify persist-or-swallow, webhook PEM env branch, tax edge cases. CI now blocks on the coverage gate (npm run test:coverage --workspace apps/api).
v1.86.0
2026-11-11
•Security: GET /api/admin/feature-flags was the only admin endpoint missing the ADMIN/SUPER_ADMIN role check (any authenticated merchant could read platform feature flags) — fixed; requireAdmin is now a single shared guard (services/guards.ts) replacing 6 copy-pasted copies across admin route files
•New guards:check static audit (scripts/check-admin-guards.mjs, npm run guards:check) — derives the /api/admin route files from server.ts and fails CI if any handler stops calling requireAdmin(); wired into .github/workflows/ci.yml after lint
•API hardening: global + auth rate limits now go through the shared Redis-backed rateLimit service (multi-instance safe when REDIS_URL is set; previously raw per-process Maps) and the in-memory fallback sweeps expired buckets (was unbounded growth on long-lived processes); API responses gain defense-in-depth headers (X-Content-Type-Options nosniff, X-Frame-Options DENY, Referrer-Policy, CSP default-src 'none')
•smoke-payments no longer hard-fails while payment processor test-mode data is being deleted (HTTP 409 'test data is in the process of being deleted') — it falls back to the synthetic checkout session + DB/clearing verification with a loud WARN, like the CI path without STRIPE_SECRET_KEY; the real payment processor roundtrip resumes automatically once payment processor recovers; npm test is green again
v1.85.9
2026-11-10
•Webhook DLQ now self-heals: new runDlqRetrySweep worker (every 30 min) re-enqueues FAILED deliveries that are ≥6h old with <12 total attempts (jittered, batch of 20, FAILED→PENDING guarded by updateMany so manual replays can't be clobbered) — previously FAILED was terminal until manual replay; unit-tested (tests/dlqRetry.test.ts, 4 cases)
•perf: merchant dashboard no longer scans full payment history into memory — revenue/earnings/fees are now DB aggregates (aggregate _sum/_count + a bounded 14-day window for the sparkline); GET /api/admin/stats likewise (aggregate instead of loading every SUCCEEDED payment + all payouts); verified identical responses live ($200.00 / $184.60 / $15.40 / 2 txns)
•Session cookie gains a Secure flag when WEB_ORIGIN is https (auto-on at domain cutover) or COOKIE_SECURE=true — plain-HTTP deploys are unaffected (flag stays off, verified via Set-Cookie)
v1.85.8
2026-11-10
•Merchant /payments: status chip toggles (replacing the dropdown), date-range from/to filter, one-click smart views ('Failed this week', 'Unsettled'), Clear-filters; sort/status/date-range/email all persist in the URL. Customer detail page now shows Subscriptions + Refunds sections (API include extended)
•Merchant /payouts: forecast card gains 'Next funds clear {date} (Nd)' and 'Auto-payout at available ≥ $X' with a link to /settings/payout (API /me/payout-forecast now returns earliestAvailableAt + payoutThresholdCents); /analytics revenue chart overlays the previous 7 days as a dashed amber line with a +/-% week-delta badge (API /dashboard now returns revenuePrevByDay); Merchant dashboard Gross-sales KPI card is clickable → /analytics
•Admin overview: attention-queue cards now carry SLA badges (pending count + oldest-age — neutral <4h, warning ≥4h, danger ≥24h; 'clear' when empty) fed by new best-effort fetches (onboarding/payouts/DLQ/refund queues); the 30-day revenue chart links to /admin/finances; merchants API supports ?search= (businessName/legalName/user email) — used by the palette
•Admin ⌘K palette: live merchant search — type ≥3 chars, results appear under the pinned row (merchant name → /admin/merchants/:id/support), debounced 250ms, server-filtered; support snapshot gains a quick-actions bar (copy merchant/account IDs, open payment processor dashboard, onboarding + audit-logs links; account id now in snapshot DTO)
•Admin Webhook DLQ rebuilt: per-row View opens a payload drawer (event, merchant, attempts, last status code, full error, pretty-printed payload capped at 8 KB), merchant name + lastStatusCode columns, 'Replay all' now requires inline confirm; DLQ endpoint includes merchant name + payload; horizontal scroll on narrow screens
v1.85.7
2026-11-10
•Command palette (⌘K / /): pinned dynamic search row on both portals — type ≥2 chars and jump straight to a pre-filtered list (merchant portal → /payments?email=<q>, admin → /admin/payments?q=<merchant>); full page load for the deep-link so the filter survives even when already on the page; palette rows now carry focus-visible ring
•Contrast bumped for muted text tokens: body-500 #6b7280 → #8a92a1 (4.16→6.43 on body-950, 3.67→5.67 on body-900), body-600 #4b5563 → #626b79 (2.66→3.74) — meta text and placeholders are legible on the dark theme (WCAG AA for normal text where used for content)
•Admin overview: 'Print report / PDF' button (window.print) + global @media print stylesheet (white background, white cards, dark text, hairline #e5e7eb borders, print-color-adjust: exact) — actionable queue cards and buttons hidden on paper, print-only 'generated {date} · internal use' footer; merchant Payments table sort (?sort=&dir=) now persists in the URL alongside status/email; KpiCard shows a native tooltip with its hint/trendLabel
•Products empty state now has a CTA button scrolling to the create form; subscription/payout empty states already had CTAs
v1.85.6
2026-11-10
•Merchant Quarterly Business Review (PDF) — GET /api/merchants/me/qbr?quarter=2026-Q3 (default: last completed quarter), auth merchant; pdfkit-generated, all figures computed live from the DB: gross volume, earnings after platform fees, platform fees, transaction count, new customers, refunds (count+amount), disputes (count+amount), payouts initiated, MRR (MONTH as-is, YEAR / 12) and top-5 products by gross volume; 'Download QBR (PDF)' button on the analytics page (filename from Content-Disposition)
v1.85.5
2026-11-10
•Admin support snapshot: one-click 'Re-request from merchant' on the payment processor requirements card — POST /api/admin/merchants/:id/re-request-verification (admin/SUPER_ADMIN) emails the merchant a verification_nudge listing the outstanding account/person requirement fields (up to 10) with a deep link to /onboarding; audit-logged (ADMIN_RE_REQUEST_VERIFICATION with outstanding list + email outcome); SMTP no-op surfaces honestly ('Email NOT delivered — smtp_not_configured') instead of pretending to send
v1.85.4
2026-11-10
•Homepage / register page marketing claims brought in line with what is actually verifiable: dropped the invented '135+ countries' / '100+ payment methods' figures (hero stats, feature cards, FAQ, register page) — now leads with the tax engine's 40 jurisdictions (2026/27), 7-day clearing and the flat 7% + $0.70 fee; 'PCI DSS Level 1 · Compliant' restated as 'Card data via payment processor · PCI DSS L1 at the processor'; 'SOC 2 Type II' stays labelled 'Ready / in progress'
•Customer portal now shows a 'Payment methods' card — PCI-safe card summaries (brand / last4 / exp / last used / payment count) persisted on each payment by the payment processor webhook (payment_intent.succeeded + charge.succeeded, brand/last4/exp only — never PAN), aggregated per customer in the portal API and rendered above payment history; updates still happen via payment processor's secure setup-mode page per subscription
•Merchant header gets the same latent stacking-context fix as the admin header (backdrop-blur + no z-index → `relative z-40`)
•Backfill of historical demo payments with card data not possible — payment processor test-mode data was purged 2026-11-10 (test-mode API rejects requests while deletion is in progress); the card populates from new payments onwards
v1.85.3
2026-11-10
•Fix: merchant dashboard KPI money values (Gross sales / Your earnings / Available to pay out / Pending 7-day hold / Platform fees paid) now render as currency ($1,234.56) instead of a bare number — consistent with the admin dashboard formatting
•Fix: merchant dashboard primary button said 'View reports' but linked to /products; now it reads 'View analytics' and links to /analytics (both the loaded and error states)
v1.85.2
2026-11-10
•Fix: admin ops notifications panel rendered UNDER the dashboard content — the admin header uses backdrop-blur (which creates a stacking context) with no z-index, so the later-DOM sub-header strip and <main> painted on top of the bell's dropdown despite its z-50. Header is now `relative z-40` (command palette / mobile menu stay above at z-50); verified in browser that the notifications panel renders above the page
v1.85.1
2026-11-10
•Fix: /api/admin/merchants, /api/admin/payments and /api/admin/payouts returned HTTP 500 since the repo init — Prisma orderBy was given a flat multi-key object ({ createdAt: "desc", id: "desc" }) which Prisma rejects; now the array form [{ createdAt: "desc" }, { id: "desc" }]. Merchants list renders all 61 merchants; payments list works. (Native-Prisma smoke suite and unit tests don't hit these routes, which is why it went unnoticed.)
v1.85.0
2026-11-10
•Live payment processor requirements on the admin support snapshot — /admin/merchants/:id/support now shows a 'payment processor requirements (live)' card: card-payments/payouts/transfers capability chips, outstanding items count, each requirement with its payment processor error code and past-due flag, and per-person verification state (currently_due / errors / pending_verification / owner · title · ownership %); read-only, admin/SUPER_ADMIN only
•New endpoint GET /api/admin/merchants/:id/stripe-requirements (admin/SUPER_ADMIN) — retrieves the live v2 connected account + persons and returns a safe mapped DTO (no raw payment processor payloads, no secrets); tolerant of payment processor outages (returns stripeError instead of failing) and merchants without a connected account ({ connected: false }); mapping logic is pure and unit-tested (tests/stripeRequirements.test.ts)
v1.84.0
2026-11-10
•Connected accounts are no longer born 'restricted with zero KYB data' — approval now transmits everything we collect to the payment processor v2 connected account: business phone (contact + business_details), MCC (configuration.merchant.mcc), national business id (CZ→cz_ico, US→us_ein from businessId/ein), address state for US (new optional 'State / province' field — payment processor rejects US addresses without it), person relationship with title (new optional 'Job title'), US SSN last4 (us_ssn_last_4 from nationalIdLast4)
•New optional beneficial-owner questions on the representative step (Job title / Do you own the business? / Ownership % / Other beneficial owners?) — when a sole owner is disclosed, the person is created with relationship { owner, percent_ownership, director, title } and the account receives ownership_declaration + persons_provided { owners, executives, directors } attestations (services/ownerAttestation.ts, pure + unit-tested, never over-attests when other owners exist); Zod schema strips unknown keys so these had to be added explicitly
•Identity verification status semantics: person object for fully-disclosed US smoke account now reports zero outstanding requirements (currently_due/eventually_due/past_due/pending_verification all empty); remaining account-level items reflect fake test data (invalid_tax_id_format EIN) — real data clears in live mode; payment processor test mode only accepts payment processor test bank numbers (routing 110000000) and verifiable test addresses
•Admin onboarding dossier shows Job title and Beneficial owner (Yes — % · sole owner/other owners exist) rows; smoke-onboarding fixture exercises the owner path (fresh account per run)
v1.83.0
2026-11-10
•Fix: approving onboarding while payment processor connected-account creation failed left the merchant ACTIVE with no account and no visible error — 'runestone handlung s.r.o.' hit exactly this (addressCountry stored as 'Czech Republic', payment processor rejected 'Unrecognized enum value'). Country fields (country/addressCountry/bankCountry) now normalize to ISO 3166-1 alpha-2 at write time (400 with a clear error when unresolvable) via new services/countries.ts (ICU DisplayNames + alias table — Czech Republic→CZ, USA/U.S.A.→US, UK/Great Britain→GB, Türkiye→TR, …); payment processor call sites defensively normalize or throw with a clear message; onboarding form now renders all three as country dropdowns (lib/countries.ts, 249 regions)
•Connected accounts are created again — payment processor v2 requires configuration.merchant.capabilities.card_payments whenever recipient stripe_transfers is requested (error surfaced 2026-11-10); card_payments now requested
•IBAN banks no longer send a stray routing_number to payment processor external accounts (caused 'Invalid bic'); routing only for US/CA/JP/AU/NZ/IN/SG/BR/MX/ZA
•Approval now returns the payment processor outcome to the admin UI ({ attempted, created, warnings, warning }) — the onboarding review page shows a red banner with the exact warnings instead of silently succeeding; a stripe_connect_failed admin notification is persisted to the bell panel; re-approving reconciles missing artifacts (listExternalAccounts/listPersons, creates only what's missing — never duplicates)
•Admin ops notifications moved in-app — no external webhook: the four critical events (velocity-spike payout hold, sanctions re-screen FLAGGED, payout failed on both paths, new KYB application) now persist as AdminNotification rows and surface as a bell in the admin header — unread badge, dropdown panel with per-icon event styling, mark-read on click (deeplinks to /admin/onboarding, /admin/merchants, /admin/payouts…), 'mark all read', 45s polling while the tab is visible, empty/skeleton/error states; API: GET /api/admin/notifications?limit=&unread=1, POST /api/admin/notifications/:id/read, POST /api/admin/notifications/read-all (admin/SUPER_ADMIN only)
•Migration 20261110240000_admin_notifications (AdminNotification table, index on readAt+createdAt); ADMIN_OPS_WEBHOOK_URL (v1.81.0) removed — in-app panel replaces it
v1.81.0
2026-11-10
•Admin ops notifications — one Slack- or Discord-compatible incoming webhook (ADMIN_OPS_WEBHOOK_URL) now receives the four critical ops events: velocity-spike payout hold, sanctions re-screen FLAGGED, payout failed (both submit-failure and Airwallex webhook paths) and new KYB application submitted; payload carries both `text` (Slack) and `content` (Discord, 1900-char cap); 5s timeout, never throws, no-op with a warn-log + reason 'ops_webhook_not_configured' when unset (mirrors SMTP posture); unit-tested (payload shape, unset no-op, HTTP 500, network error)
•Fix: merchant applying for onboarding no longer receives the 'Payment recovered' subscription email — new 'application_received' template ('We received your application'), plus a kyb_submitted ops notification deep-linking to /admin/onboarding
v1.80.0
2026-11-10
•Admin onboarding review rebuilt — no more flat table: per-merchant KYB dossier card with grouped sections (Business / Representative / Bank with per-country labels from the ID/bank spec tables, Legal pages + sanctions screen with CLEAR/FLAGGED status and timestamp), flags (W-9 on file/missing for US merchants, payouts-frozen, elevated-risk banner when riskScore ≥ 40), submitted date, platform plan chip
•KYB documents are now clickable in the review UI — they open inline via new admin-only GET /api/admin/onboarding/:id/documents/:index (auth + ADMIN role, basename-sanitized, inline PDF/PNG/JPEG, Cache-Control: private, no-store; uploads/ remains gitignored and never public); upload flow and smoke scripts unchanged
v1.79.0
2026-11-10
•Country-driven bank account fields in the BANK_ACCOUNT step — matches business/personal IDs: US (account + ABA routing + Checking/Savings), GB (8-digit + sort code), CA (transit/institution), AU (BSB), NZ (branch-account-suffix), JP (bank+branch), IN (IFSC), SG, BR (agência), MX (CLABE), ZA (branch code), or IBAN with per-country length hints for 27 IBAN markets (CZ 24, DE 22, FR 27, …) via new lib/bankAccount.ts; accountType only US/CA (server REQUIRED_FOR_SUBMIT enforces conditionally); full numbers stay AES-256-GCM encrypted at rest
•payment processor external account currency now derives from country (EUR for eurozone, CZK/GBP/JPY/INR/… — was hardcoded USD); docs/10-MERCHANT_ONBOARDING.md carries the full table
v1.78.0
2026-11-10
•Country-driven personal ID in the IDENTITY step — the representative's national identifier renders with the local label and format hint for 40 jurisdictions (CZ rodné číslo, US SSN/ITIN, DE Steuer-ID, PL PESEL, GB NINO, JP My Number, IN PAN, BR CPF, MX RFC, …) via new lib/personalId.ts; only the LAST 4 characters are ever collected or stored (nationalIdLast4) — full national IDs never reach our servers; admin review shows the per-country label
•Security: full bank account numbers are now AES-256-GCM encrypted at rest (services/fieldCrypto.ts, PAYOUT_DATA_KEY, fail-fast in production) instead of plaintext in the onboarding blob; stored as accountNumberEnc; decrypt in-memory only when creating the payment processor external account; admin UI never renders the ciphertext; 45 legacy plaintext rows backfilled to encrypted form (scripts/backfill-encrypt-bank-numbers.mts)
v1.77.0
2026-11-10
•Country-driven business ID in merchant onboarding — the BUSINESS_INFO step now renders the registration-number field that matches the merchant's country instead of a US-only 'EIN' for everyone: 41 jurisdictions with local labels and format hints (CZ IČO + DIČ/VAT, DE Steuer-ID, FR SIREN/SIRET, GB Companies House CRN, NL KvK, PL NIP/KRS, JP Hōjin Bangō, IN GSTIN, BR CNPJ, MX RFC, AU ABN, …) from new lib/businessId.ts; US keeps the ein key (flows to payment processor us_ein); non-US collects businessId + optional vatId, stored in the onboarding blob for reviewer/KYB, not pushed as invented payment processor v2 ID types
•Admin onboarding review shows EIN/businessId/vatId with their per-country labels; API BusinessInfoSchema accepts businessId/vatId; docs/10-MERCHANT_ONBOARDING.md carries the full 41-country table (source of truth: apps/web/src/lib/businessId.ts)
v1.76.0
2026-11-10
•Operator identity filled in — legal documents and Trust page now name the real operator: Caelum Mountain LLC, a New Mexico limited liability company registered with the New Mexico Secretary of State (file no. 0008135421, effective 2026-10-07, Ch. 53 Art. 19 NMSA 1978), principal place of business 1209 Mountain Road PL NE, STE R, Albuquerque, NM 87110; footers (home + register) carry the same verification line
•Only public registry data is shown — no EIN, no owner names; governing-law/dispute clauses in the legal template still flagged for counsel review (substance unchanged)
v1.75.1
2026-11-10
•Same-origin client bundle — NEXT_PUBLIC_API_URL removed; all browser API calls go through the nginx/Next proxy (no public host baked into the JS). nginx now proxies /api, /v1 and /v2 straight to Fastify (was: /api double-hop via Next rewrite; /v1 + /v2 returned 404 publicly). /metrics deliberately not proxied
•CSP connect-src tightened (dropped localhost:4000); sitemap/RSS now emit NEXT_PUBLIC_SITE_URL (defaults to the public IP, flip to domain at cutover); deploy/nginx/mor-platform.conf committed as the reference vhost with domain-cutover steps
v1.75.0
2026-11-10
•Sales-tax estimator (/sales-tax-estimator) — public tool: enter annual B2C revenue per jurisdiction (40 flat-rate markets from the same TAX_RATES table the checkout charges, plus a clearly-labelled US blended-average row) and see estimated annual/monthly VAT liability with per-jurisdiction bars; no email required to see the numbers
•Email capture on the estimator — 'Email me this estimate + the remote-seller checklist': one email with the numbers and the registration checklist, no newsletter/drip; leads stored in new TaxEstimatorLead table (migration 20261110230000_tax_estimator_leads), admin-visible at GET /api/admin/tax-estimator/leads and as a leads card on /admin/metrics
•POST /api/tax-estimator/lead (public, always-200 on valid input) captures estimate + per-jurisdiction entries; GET /api/admin/tax-estimator/leads (admin) lists total + 25 most recent
v1.74.0
2026-11-10
•Trust Center (/trust) — public answer to 'what do you actually handle': tax coverage map of the 40 jurisdictions our engine computes at checkout (EU/UK/CH/NOR/AU/NZ/CA/JP/KR/SG/IN/BR/MX/ZA, rates listed, B2B reverse charge, US via payment processor Tax when enabled), compliance summary (payment processor PCI, KYB rescreening, dispute evidence workflow, quarterly remittance + 1099 archive, backups with restore drills, fraud velocity guards), subprocessor table and document links; honest disclaimers (not legal advice; identity fields intentionally pending counsel)
•taxCoverage module (src/lib/taxCoverage.ts) generated from the same TAX_RATES table the checkout uses
v1.73.0
2026-11-10
•/migrate — 'Switch from Paddle, Stripe or Lemon Squeezy in a day': honest split of what migrates in a day (customers, subscriptions, products, links) vs what never moves (card-on-file, old invoices, tax registrations) and why; 4-step playbook with the in-app CSV importers; linked from the /compare deep-dives; added to sitemap
v1.72.0
2026-11-10
•Merchant health card on the dashboard — server-computed 0–100 score with actionable, weighted items (first sale, live subscription/link, 30d refund rate <10%, no open disputes, webhook configured, PRO plan, weekly digest); only the unfinished items are shown with deep links; best-effort — never blocks the dashboard
•GET /api/merchants/me/health-check
v1.71.0
2026-11-10
•Buyer self-service payment-method update — payment processor-backed subscriptions in the portal now show 'Update payment method': creates a payment processor Checkout setup-mode session (card entry on payment processor's hosted page); on completion the webhook (checkout.session.completed, mode=setup) sets the new card as default on the buyer's payment processor subscriptions and clears dunning (RECOVERED), and the buyer returns to the portal with a confirmation banner
•Dunning emails now carry a 7-day signed portal magic link ('Update your payment method') instead of a broken /subscriptions/:id link — the steepest churn drop-off is one click from the email
v1.70.0
2026-11-10
•Usage-based billing — merchants define meters (name, metric, per-unit price) and stream events via POST /v1/usage (new usage:write API key scope; apikeys UI scope list synced); monthly settlement worker bills last month's usage on the 1st into the relevant payment processor subscription as invoice items (flag: USAGE_BILLING_ENABLED, default false = report-only; live payment processor invoice-item path verified end-to-end 2026-11-10 via test clock — invoice item created and cleaned up), idempotent via audit markers, anonymous units never auto-billed; merchant /usage page: meter CRUD, current-month report with per-customer breakdown; UsageMeter/UsageEvent tables (migration 20261110220000_usage_meters)
v1.69.0
2026-11-10
•Subscription migration import — 'Import from CSV' on the subscriptions page (template included, client-side validation with per-row problem flags, skip-invalid option): rows become Customers (upsert by email) + 'manual' Subscription records (amount, interval, status, optional current period end, optional product-name match); PRO-gated like subscriptions; audit-logged (IMPORT_SUBSCRIPTIONS); 200 rows per import
v1.68.0
2026-11-10
•Live fee calculator on /pricing — drag monthly volume and orders/month, see our fee (7% + $0.70 × orders) vs Polar (4% + $0.40), Paddle (5% + $0.50) and payment processor (2.9% + $0.30, processing only) with bars and 'you keep' amounts; average order value derived live; 7-day hold + instant payout note
v1.67.0
2026-11-10
•License keys + signed downloads for digital products — set a download URL and/or toggle 'license keys per sale' on a product; keys (XXXX-XXXX-XXXX-XXXX, unambiguous alphabet) are minted at payment.succeeded and shown on the checkout success page, in the receipt email and in the customer portal; downloads use 30-day HMAC-signed links (/api/pay/download → 302 to the merchant-hosted file)
•Products create/patch accepts licenseKeysEnabled and downloadUrl; portal payments expose a License/Download cell; new LicenseKey table (migration 20261110210000_license_keys)
v1.66.0
2026-11-10
•Merchant weekly digest expanded ('Your week at Caelum Mountain LLC') — revenue + payment count, new customers, MRR snapshot (interval-normalized) with active subscription count, and balance split (available to pay out vs 7-day-hold pending); replaces the previous 3-line digest; formatter unit-tested; still silently not delivered until SMTP is configured
v1.65.0
2026-11-10
•Weekly admin platform-health email — 7-day aggregate emailed to all ADMIN/SUPER_ADMIN users: gross revenue + platform fees, succeeded/failed payment counts, new merchants and merchants with first sale, payouts processed/failed, pending refund requests and refunded volume, open disputes, failed webhook deliveries and velocity holds; new admin_platform_health template (silently not delivered until SMTP is configured); pure formatter unit-tested
v1.64.0
2026-11-10
•Instant payout CTA on the payouts page — the /api/payouts/instant endpoint (5% fee, min $10, atomic reservation) is now visible: fee preview computed live against your available balance (including fee), confirm dialog before submitting, insufficient-balance state disables the button, success/error feedback; standard payouts remain free
v1.63.0
2026-11-10
•Per-competitor comparison pages — /compare/stripe, /compare/paddle and /compare/polar: fee math worked out on $10,000 MRR (100 × $100 orders), side-by-side included-item tables, honest 'pick them when / pick us when' sections with identical data sourcing to the /compare table (no fabricated competitor capabilities); index page links to all three deep dives; sitemap updated
v1.62.0
2026-11-10
•Merchant benchmarking — opt-in, anonymized peer comparison on the analytics page: your 30d revenue, payment count and MRR vs the cohort's p25/median/p75; cohort = opted-in ACTIVE merchants with activity, k-anonymity ≥10 required before any numbers render; no individual merchant values are ever exposed; toggle audit-logged (SET_BENCHMARK_OPT_IN)
•Engineering — Merchant.benchmarkOptIn flag (migration 20261110200000_merchant_benchmark_opt_in); GET /api/merchants/me/benchmark + PUT /api/merchants/me/benchmark-opt-in; benchmark service with unit-tested percentile math
v1.61.0
2026-11-10
•Merchant-level velocity watch — hourly worker compares each merchant's last-hour checkout volume against their trailing-30-day hourly baseline; a spike ≥ 10× baseline (absolute floor 20, tunable via MERCHANT_VELOCITY_MULTIPLE / MERCHANT_VELOCITY_MIN_ABSOLUTE) puts payouts on review hold (isPayoutFrozen), bumps riskScore by 30, writes an AUTO_VELOCITY_HOLD audit log and emails admins; 24h cooldown prevents repeat alerts; hold is reversible by an admin; +5 unit tests
v1.60.0
2026-11-10
•Portal feedback — customers can rate their experience (1–5 stars + optional comment) at the bottom of the customer portal; one entry per customer per 24h (resubmitting updates the previous one); feedback is token-gated, stored in the new PortalFeedback table and visible to the platform team
•Admin Portal feedback page (/admin/feedback) — average rating, star distribution bars and the latest 100 entries with merchant and customer; new GET /api/admin/feedback; portal endpoints GET/POST /api/customers/portal/feedback
v1.59.0
2026-11-10
•Admin Coupons page (/admin/coupons) — list, create and delete payment processor discount coupons from the admin UI: percent or fixed amount off, once/repeating/forever duration, max redemptions, redeem-by date; create/delete are audit-logged; delete removes the coupon from subscriptions currently using it (payment processor behavior) and asks for confirmation first
•Coupon API — GET/POST /api/admin/coupons and DELETE /api/admin/coupons/:id (admin-only, zod-validated; exactly one of percentOff/amountOff, durationInMonths required for repeating, currency required for amountOff); 502 with a clear error when payment processor is unreachable
v1.58.0
2026-11-10
•PostgreSQL 18 migration — SQLite replaced by Postgres 18 @ 127.0.0.1:5432/mor (role mor); baseline migration 20261110110000_init_pg generated from the converged schema; full data copied in FK-safe order; all env files, the Prisma adapter (@prisma/adapter-pg) and the backup cron (pg_dump, verified restore) switched; 108+55 tests + 4 smoke suites green against Postgres
v1.57.0
2026-11-10
•payment processor API 2026-10-28 (endive) invoice shape — invoice.subscription moved to invoice.parent.subscription_details.subscription and current_period_end moved to items.data[0]; the renewal path was previously a silent no-op; verified end-to-end with a payment processor test clock (invoice.paid → renewal Payment SUCCEEDED, period advanced, replayed delivery returns duplicate without double-crediting the merchant balance); +2 unit tests for the new shape resolvers
v1.56.0
2026-11-10
•Velocity guard — 5 checkouts per hour per email/IP returns 429 on checkout and payment-link checkout ( src/services/velocity.ts )
•Payment-link page /pay/<token> — billing toggle for sibling RECURRING prices (public payload exposes prices + priceId; checkout validates the priceId belongs to the same product)
•Success-page upsell — /checkout/success shows up to 2 other purchasable products from the same merchant
•Admin MoR dashboard — 30-day refund-rate column per merchant (red above 10%)
•Refund watchdog, live /status component rows and changelog RSS at /changelog/rss.xml
v1.55.0
2026-11-10
•Save-at-cancel discount — the portal cancel dialog now offers "Stay & save 20% for 3 months": applies a payment processor coupon (save_at_cancel_20_3m, repeating) to the subscription; configurable via SAVE_AT_CANCEL_DISCOUNT_PERCENT/MONTHS; requires a payment processor-backed subscription (400 otherwise)
•Merchant analytics CSV export — MRR, ARPU, churn, at-risk, LTV and cohort metrics download as analytics-export.csv
•Admin MoR dashboard — new KPI "Merchants with first sale" (activated/total merchants + implicit activation rate) from /api/admin/mor-dashboard
v1.54.0
2026-11-10
•Full legal pack — /legal/privacy (data controller roles, data categories, legal bases, processors incl. payment processor/Airwallex and US transfers with SCCs, retention, rights, security), /legal/refund (EU 14-day withdrawal + exceptions, timing, subscriptions, chargebacks) and /legal/cookie (strictly necessary vs optional, local storage, managing preferences) replace the one-paragraph stubs
v1.53.0
2026-11-10
•Terms of Service — /legal/terms is now a full 15-section MoR agreement (parties, service scope, KYC/verification, acceptable use, fees, payouts/reserves/holds, taxes, refunds/chargebacks, IP, liability cap, indemnity, termination, changes, Czech governing law); identity fields are placeholders pending launch review by counsel
v1.52.0
2026-11-10
•Subscriptions page now creates sellable subscriptions — pick product + amount + interval (month/year/week/day); it creates a RECURRING price and a payment processor subscription payment link (copied to clipboard) instead of a bare internal record; subscribers who buy via the link appear in the list via the checkout mirror
•Subscription rows created manually (no providerSubscriptionId) are labeled "manual" so they are distinguishable from real subscribers
v1.51.0
2026-11-10
•Recurring payment links — payment links for RECURRING prices now open a payment processor subscription-mode checkout (previously they silently opened a one-time payment); /pay/<token> shows the billing interval (e.g. USD / year) and a Subscribe button; payment-links dropdown shows the interval next to the price
•Products page — every price chip now has a copy-link button that creates a payment link for that price and copies /pay/<token> to the clipboard (PRO plan); recurring prices show a / monthly · / yearly badge
v1.50.0
2026-11-10
•payment processor-native subscription billing — prices can now be RECURRING (DAY/WEEK/MONTH/YEAR, set on price creation and selectable in the product form); checkout for a recurring price opens a payment processor subscription-mode session instead of a one-time payment
•Webhook mirror — checkout.session.completed creates the local Subscription (providerSubscriptionId, interval-normalized), invoice.paid settles renewal payments into the merchant balance (first invoice skipped to avoid double-counting), invoice.payment_failed flags dunning, customer.subscription.updated/deleted syncs cancel state and period end
•Portal + merchant cancel/pause/resume now sync to payment processor (cancel_at_period_end, pause_collection void/resume) — pausing or canceling in the portal stops invoicing upstream, the hourly resume worker clears pause_collection when the pause expires
•Existing subscription price type RECURRING is now enforced consistently (prices route validates interval for RECURRING prices)
v1.49.0
2026-11-10
•Merchant MRR analytics — new GET /api/merchants/me/mrr: monthly recurring revenue (interval-normalized), ARPU, 30-day churn rate, active/canceling counts and MRR at risk from subscriptions already set to cancel at period end
•Analytics page gained a second KPI row: MRR, ARPU, Churn (30d), MRR at risk
v1.48.0
2026-11-10
•Customer-portal refund requests — the portal payment history now shows a Refund column; customers with a SUCCEEDED payment can request a refund (full remaining refundable amount, optional reason). Requests land as PENDING refunds in the existing admin approval queue and are executed via payment processor on approval — no new money-movement path
•Portal data now includes per-payment refunds so the UI can show "Pending review" / "Refunded" states and hide the request button when nothing is refundable
v1.47.0
2026-11-10
•Checkout now links purchases to a Customer — on checkout.session.completed the payment is attached to a Customer record (email captured by payment processor Checkout, not at session creation), and stripePaymentIntentId is filled in; the Customers page, retention recovery and first-sale analytics now see anonymous buyers
•Abandoned-checkout sweeper also expires anonymous abandoned checkouts — payments with no linked customer now age into FAILED after ~72h like everyone else instead of lingering PENDING forever; reminder emails still require a buyer email
•Customer linking also runs best-effort before the merchant webhook dispatch; failures never block payment processing
v1.46.0
2026-11-10
•First-sale email — the first SUCCEEDED payment for a merchant triggers a "First sale — congratulations" email with the amount, product name and a nudge to set up the payout account (delivered via SMTP; silently not delivered until SMTP is configured, same as other transactional mail)
•Activation nudge — new daily worker sends a one-time "Your first sale is waiting" email to merchants created 14+ days ago with zero SUCCEEDED payments (idempotent via audit log); scheduled daily alongside the other workers
•Engineering — paymentProcessor success path now sends the first-sale email best-effort (never blocks the webhook); unit tests added for first-sale gating
v1.45.0
2026-11-10
•Save-at-cancel flow in the customer portal — clicking Cancel now offers "Pause for 1 month instead" (uses the new pausedUntil pause) alongside "Keep my subscription" and "Cancel anyway"; reduces churn for customers who only needed a break
v1.44.0
2026-11-10
•B2B invoice PDF for one-time payments — new GET /api/customers/portal/payment/:id/invoice.pdf (token-gated): business invoice with merchant, customer, line item, tax and total; the customer portal payment history now has an Invoice link per payment
•Portal token verification extracted to src/services/portalToken.ts (shared HMAC check used by /portal, portal subscription pause/resume/cancel and payment invoice); removed duplicated verification code and restored timing-safe signature comparison everywhere
v1.43.0
2026-11-10
•Pause subscription until date — merchants (/subscriptions) and customers (customer portal) can pause a subscription for 1 week / 1 month / 3 months, or indefinitely; the subscription stores pausedUntil (new migration 20261110092641_subscription_paused_until), resume happens manually or via the new hourly subscription-resume worker once the date passes
•Merchant subscriptions API gained PATCH /api/subscriptions/:id/resume (clear pausedUntil, status ACTIVE); POST portal pause accepts { until } (ISO date or null = indefinite) with validation (future, ≤ ~6 months) via src/services/subscriptionPause.ts (unit-tested)
•Engineering — 150+ unit tests incl. subscription resume worker flow (hourly job flips PAUSED → ACTIVE once pausedUntil passes; smoke-verified); loopback exempt from the auth rate limit so local CI smoke tests stay green; generated Prisma client regenerated and re-committed after the Subscription.pausedUntil field was added
v1.42.0
2026-11-10
•Auto-payout preference — /settings/payout now has an "Automatic payout threshold" card ($100 / $500 / $1,000); stored on the merchant as payoutThreshold via new GET/PUT /api/merchants/me/payout-threshold (preset enum, audit-logged); the weekly payout batch already reads payoutThreshold as the minimum available balance
•Rate limiting fixed behind the proxy — the API now honors X-Forwarded-For (nginx sets it, Next forwards it). Previously all proxied requests shared one 127.0.0.1 bucket and 10 auth attempts in 15 minutes locked out every user
•API hardening — customer-portal token signature comparison now uses timingSafeEqual; api start script runs under tsx (committed generated Prisma client is TypeScript); OpenTelemetry tracing is opt-in (only with OTEL_EXPORTER_OTLP_ENDPOINT) so a missing collector can no longer crash the process
•Incident notifications for /status — subscribe with your email on the status page (double opt-in confirmation email, one-click unsubscribe link in every incident mail); new StatusSubscription model
•Admin incident notify — /admin/metrics has a "Status page — incident notify" card: confirmed-subscriber count, title + message, ConfirmDialog-gated blast to all confirmed subscribers (audit-logged as STATUS_INCIDENT_NOTIFY); POST /api/admin/status/notify, GET /api/admin/status/subscribers
v1.40.0
2026-11-10
•1099 filed-return archive — when a filing status becomes ACCEPTED, the platform snapshots the filing + its source aggregate (payment count, gross, merchant amount, period) to local disk (uploads/1099-archive/<filingId>.json) with a SHA-256 hash; uploads/ is now gitignored (PII); admin can download the evidence JSON per filing (GET /api/admin/tax-1099/filings/:id/archive) and the action is audit-logged
•Quarterly VAT/GST remittance — GET /api/admin/tax-remittance?quarter=YYYY-Qn returns per-country tax collected (rate, region, payments, taxable base, tax) built from TAX_RATES + succeeded payments; new GET /api/admin/tax-remittance.csv (per-quarter file export) and GET /api/admin/tax-remittance/calendar?year= (Q1–Q4 with EU OSS-style due dates); unit-tested (tests/taxRemittance.test.ts)
•Admin Tax Report page — new Quarterly VAT/GST remittance card (quarter picker, due-date chips, per-country table, CSV download) and an Evidence download button on ACCEPTED 1099 filings
v1.39.1
2026-11-10
•Payout failed → merchant email — new payout_failed template: funds are returned to your available balance and you get a link to /settings/payout to fix your bank details; sent on Airwallex payout.failed webhook, weekly batch failure, and admin payout REJECT
•Reconciliation sweeper now runs — the worker (PENDING payments older than 2h re-checked against payment processor, balance credited on success) was already implemented but never scheduled; it now runs every 2 hours
•Maturity worker lag alert — new Prometheus gauge mor_clearing_lag (SUCCEEDED payments past availableAt still uncleared) plus MorClearingLag alert rule in deploy/monitoring/mor-alerts.yml
v1.39.0
2026-11-10
•GDPR Art. 20 data export — GET /api/merchants/me/gdpr-export + "Export my data (JSON)" button in Settings → Danger zone: one-file JSON with profile, payments, payouts, products, customers, subscriptions, refunds, disputes, 1099 filings (webhook secrets excluded)
•GDPR Art. 17 erasure — merchant "Request data deletion" button + admin queue at /admin/deletion-requests (shortcut g x): approve anonymizes PII across user/merchant/customers, zeroes payout-account bank details, webhook payloads and payment metadata, revokes API keys, freezes payouts, sets merchant DELETED — financial ledger retained for tax law (Art. 17(3)(b)); reject with notes; best-effort confirmation email
•W-8BEN e-signature for non-US persons — POST /api/merchants/me/w8ben (mirror of W-9): legal name, residence country, optional FTIN last-4, optional tax treaty country + article; stored alongside W-9 fields; Settings shows W-9 for US merchants and W-8BEN for everyone else; legacy onboarding-blob tax form replaced by the structured flow
•Security — /api/merchants/me no longer returns user.passwordHash / totpSecret / reset tokens to the frontend (user now field-selected)
v1.38.0
2026-11-10
•Security: requireAdmin enforced on /api/admin/merchants/bulk-status and /api/admin/email-digest/run — previously any authenticated merchant could mass-suspend merchants or trigger a platform-wide digest blast
•Payouts hardened — /api/payouts/request and /api/payouts/instant now validate amount (positive integer cents) with Zod; reservation happens in one atomic transaction (conditional decrement + payout create) — concurrent requests can no longer overspend or mint balance via negative amounts
•Double-credit fix — checkout.session.completed and payment_intent.succeeded now claim the payment with one atomic status transition (notIn SUCCEEDED/REFUNDED); only the winning delivery credits the merchant balance and dispatches the merchant webhook
•payment processor webhook idempotency reworked to claim-first (unique eventId) with stale in-flight reclaim (5 min) and claim release on handler failure so payment processor retries reprocess safely; WebhookEvent gained createdAt (migration webhook_event_created_at)
•Refunds made replay-safe end-to-end — admin refund approve is idempotent (already-SUCCEEDED refunds short-circuit), payment processor calls carry idempotency keys (v1 + admin paths), DB commit (refund + payment + balance debit) runs in one transaction, v1-initiated refunds now persist a Refund row and appear in admin tooling
•Merchant self-upgrade removed — POST /api/merchants/me/plan no longer lets merchants assign themselves PRO/ENTERPRISE (upgrades go through /me/upgrade-pro); creators self-service tax form now yields SUBMITTED (VERIFIED is admin-granted) — self-assertion no longer unlocks the payout batch
•Tenant isolation — subscriptions POST validates productId/customerId ownership; plan-change validates productId ownership; dispute status is now an enum (OPEN/SUBMITTED/WON/LOST/UNDER_REVIEW)
•Derived /balance and payout-forecast ledgers fixed — committed payouts now include COMPLETED (Airwallex) and succeeded refunds are subtracted proportionally; Airwallex payout.failed releases amount+fee (not just amount); admin payout REJECTED releases the reservation; refund-approve no longer swallows money-path failures
•Checkout redirect hardening — successUrl/cancelUrl on /api/checkout/session and /v1/checkout/sessions must stay same-origin with WEB_ORIGIN over http(s); anything else falls back to platform defaults (phishing-redirect mitigation)
•Frontend resilience — missing Tailwind tokens added (warning-300/400, danger-300); reset/forgot password rewritten in English (Suspense fix); onboarding completion has a retryable error state; webhook-dlq admin page uses typed API methods (no more silent crash on API errors); tax-reporting shows an error + retry instead of fake empty state; setup checklist surfaces load failures; dead dashboard buttons removed
•Hygiene — i18n dead code deleted (I18nProvider, LanguageToggle, i18n.tsx), legacy gray/red CSS shims removed, DEFAULT_PLATFORM_FEE_PERCENT synced to 7.0 (was 5.0), MIN_PAYOUT_CENTS extracted to fees.ts, payout forecast uses HOLD_DAYS, 1099 eligibility uses shared formTypesFor1099, successUrl validation, dispute evidence link opens the PDF
v1.37.0
2026-11-10
•Admin P&L endpoint + MoR Dashboard panel — GET /api/admin/pnl: platform fee revenue, payment processor processing costs, payout fees, dispute fees ($15 × count) and 1099 filing revenue (sums TAX_1099_FEE_CHARGED audit fees), net margin; rendered as a KPI row above existing totals
•Merchant Health score — GET /api/admin/merchant-health + new /admin/merchant-health page (nav + palette shortcut g h): 0–100 score per merchant (no payments, 45+ days silent, disputes, rejected payouts, riskScore, rejected KYB, frozen payouts), healthy/watch/at-risk tiers, sorted worst-first, filterable
•Payout forecast — GET /api/merchants/me/payout-forecast: pending SUCCEEDED payments bucketed by availableAt window (next 7 days / 8–14 / 15–30 / 31+), bar chart + upcoming total on the merchant /payouts page
•1099 filing status tracking — Tax1099Filing model wired end-to-end: /tax-1099/file now upserts FILED rows per eligible form (MISC + K, split via shared formTypesFor1099), new GET/POST /api/admin/tax-1099/filings (admin list + status override NOT_SENT/FILED/ACCEPTED/REJECTED, audit-logged); filings table in admin Tax Report (inline status select) + merchant /tax-reporting shows own filings and W-9 status
•W-9 e-signature at onboarding/compliance — merchants can sign W-9 in Settings → US tax information (legal name + TIN last-4 only, full TIN never stored); POST /api/merchants/me/w9 sets w9TinLast4/w9SignedAt + isUsTaxpayer, audit-logged (W9_SIGNED)
•Admin support view (read-only) — GET /api/admin/merchants/:id/snapshot + /admin/merchants/[id]/support page: profile, balance, onboarding, metrics (gross/fees/pending/disputes) and last 5 payments; zero mutation surface; every view audit-logged (ADMIN_SUPPORT_VIEW)
•API key rotation — POST /api/apikeys/:id/rotate: mints successor with same name/scopes/mode, old key gets 14-day grace period (rotatedAt set); Rotate button + fresh-key-once display in API Keys page
•Two-factor authentication UI — Settings → Account security: enable/disable TOTP with authenticator secret display + one-time code confirm (backend was already live from v1.36.0); /api/auth/2fa/status|setup|enable|disable wired in the web client
•Annual PRO billing — self-serve upgrade now offers $490/year (two months free) or $49/month; POST /me/upgrade-pro accepts { interval: 'month' | 'year' }, annual payment processor subscription checkout
•Compare page — /compare: honest MoR fee comparison (Caelum Mountain LLC vs Stripe vs Paddle vs Polar) incl. what a processor does not sell you and when we are NOT the right fit; footer + sitemap wired
•Status page incident history — /status now shows an honest 90-day incident history section (linking to changelog for planned maintenance); live health check unchanged
•Docs drift guard — apps/api/scripts/check-api-docs.mjs (npm run docs:check, blocking in CI): every route registered in server.ts must be documented in docs/04-API_REFERENCE.md; missing entries fail the build; npm run docs:inventory regenerates Appendix A (auto-generated route inventory, 185 routes, 0 missing)
•changelog drafting — npm run changelog:draft groups conventional commits since the last changelog version into a RELEASES skeleton (version bump rule: minor when any feat: exists)
•sanctions:refresh npm script — node apps/api/scripts/refresh-sanctions.mjs (dry-run by default, --write to merge OFAC SDN, backup always written)
v1.36.0
2026-11-10
•Admin 2FA (TOTP, RFC 6238) — backend live: /api/auth/2fa/setup|enable|disable|status, login challenge, services/totp.ts with unit tests (retroactive changelog entry — this version shipped without one)
•Decline-code-aware dunning — hard declines (stolen/fraud) stop retries immediately, soft declines retry on business-day backoff with payday snapping; exhaustion after 4 attempts
•Abandoned checkout recovery — hourly worker emails buyers with a fresh 24h checkout link 2–72h after a PENDING checkout, then expires stale sessions; admin trigger POST /api/admin/abandoned-checkout/run
•sanctions list refreshed from official OFAC SDN (real list, replacing placeholder names)
v1.35.0
2026-11-11
•1099 filing flow — admin Tax Report page now has a 1099-MISC/K panel: Download CSV (authenticated via cookie) + 'Charge filing fees' button (ConfirmDialog safety) which charges each eligible US taxpayer $2.99/form from their merchant balance and audit-logs every charge
•tax-1099 bug trio fixed — (1) gross=0 bug: paymentGrossCents now falls back to `amount` when grossAmount is 0/missing, which zeroed every US aggregate; (2) pre-existing literal backslash-n CSV bug producing one-line CSVs; (3) eligibility/extraction logic deduplicated into services/tax1099.ts (shared by both the CSV endpoint and the filing endpoint — they were subtly diverging)
•1099 thresholds corrected — NEC $600 (was ~$2k), 1099-K $20,000 + 200 txns (was ~$20k + 200); unit tests lock in NEC/K rules; CPA verification recommended before filing (threshold approximations noted in code)
•Ledger integrity verified — test charges to sample merchant fully reversed; synthetic 2500-payment merchant and all test artifacts removed
v1.34.0
2026-11-11
•Plan gating consolidated — subscriptions and payment-links WRITEs now require PRO (readable stays open), 403 with 'PRO plan required' error; subscriptions + payment-links pages render upgrade CTAs inline on pro_required; FREE tier is now honest freemium
•TIER_FEATURES synced to reality — analytics is FREE; PRO = apikeys + webhooks + subscriptions + payment-links; ENTERPRISE = * + customDomain
•FX spread (1.5% cross-currency) applied to /api/payouts/request too — deduced from payout, included in totalNeeded; fee persists on Payout.fee (incl. existing 1% payout fee)
v1.33.0
2026-11-11
•Buyer receipts — after checkout.session.completed, buyers get an automatic receipt email (merchant name, amount, reference, MoR notice) — previously only merchant received the recovery email; fewer support/dispute tickets
•Weekly payout batch ops reconciliation email — ops gets a summary after each batch (sent/skipped/failed incl. sanctions HOLDs and total $ sent)
•Sanctions gate in weekly payout batch — merchants with a latest FLAGGED SanctionScreen are skipped before any money moves
•FX spread wired — cross-currency payouts now charge 1.5% markup (payoutFxFeeCents), deducted from the payout amount; same-currency payouts unaffected (unit-tested)
•Self-serve PRO upgrade — settings Upgrade button now creates a real payment processor Checkout subscription session ($49/mo inline price, subscription_data.metadata.purpose=plan_pro_upgrade); webhook flips platformPlan→PRO + status ACTIVE; live-tested E2E in sandbox (checkout completed, webhook 200, plan flipped)
v1.32.0
2026-11-11
•Balance reconciliation card fixed — pending (7-day hold) and paid-out are shown as positive subsets of total earned ('of which ...'), not as minus figures; conservation caption added ('Total earned = pending + paid out + available')
•Analytics verified live — LTV, cohorts, heatmap ($25.00 over 1 active day) and revenue-by-day all read from SUCCEEDED payments only, match DB ground truth
v1.31.0
2026-11-11
•Merchant dashboard KPIs are now real numbers — removed all fabricated trend percentages (+12.5% etc.) and relabeled the cards 1:1 with data: Gross sales (succeeded), Your earnings (net after platform fees — previously shown gross as 'Total revenue'), Available to pay out, Pending 7-day hold, Platform fees paid (succeeded lifetime), Transactions (succeeded only — PENDING no longer inflates gross/counts)
•Backend /api/merchants/dashboard aligned — grossVolume/platformFees/transactionCount now SUCCEEDED-only; new earnings field (sum of merchantAmount over succeeded)
•Payout batch now scheduled weekly (every 7 days) in the API scheduler — runPayoutWorker runs alongside maturity/dunning/rescreen crons; failure is logged and the next run retries
•Payout flow recap (verified): payment processor sweeps to our Airwallex Global Account (dashboard-side), merchants/creators get paid from the Airwallex wallet via createPayout with their registered IBAN/SWIFT/LOCAL payoutAccount — batch requires available ≥ payoutThreshold, taxFormStatus=VERIFIED, isPayoutFrozen=false
v1.29.0
2026-11-11
•Network cost passthrough wired — platformFeeCents now adds a flat $0.10 NETWORK_COST_FEE_CENTS per transaction on top of 7% + $0.60 (3.9%/5.0% custom merchants included); one line, single source of truth
•Landing pricing copy discloses the $0.10 as network cost passthrough; docs (01-OVERVIEW/README/06-ROADMAP/07-FRONTEND_STRATEGY/02-STATUS/12-CHECKOUT/AGENTS.md) updated to '7% + $0.70'
•Fee tests updated — default asserts $0.70 total (700 + 60 + 10 = 770¢), override and zero-override cases updated to match
v1.28.0
2026-11-11
•Dispute fee ($15) now wired end-to-end — on charge.dispute.created the fee is moved from the merchant's available balance into balance.reserved; on dispute.closed won the fee is refunded in full; on lost it is settled (platform keeps it). Audit rows (DISPUTE_FEE_RESERVED/REFUNDED/SETTLED) written to the admin audit log
•Instant settlement fee ($10 min / 5%) already enforced at /api/payouts/instant (verified)
•New services/disputeFees.ts — exact money conservation (available + reserved moved between buckets, never created or destroyed); shortfall (insufficient balance) reserves $0 and logs a warning
v1.27.0
2026-11-11
•Default platform fee raised from 5.5% to 7% (fixed $0.60 unchanged) — all merchants without a custom rate were migrated to 7% (80 merchants updated); custom rates (3.9%, 5.0%) untouched
•Landing, pricing page, login/register proof bullets, header context strip, payments fee tooltip, MoR Dashboard merchants fee tooltips and AGENTS.md/checkout docs updated to 7%
•Register + seed + smoke scripts now always set platformFeePercent explicitly (schema @default left at 5.5 — SQLite cannot ALTER column defaults without table rebuild; app paths are the source of truth)
•Security fix (v1.26.1): merchant PATCH /me could set platformFeePercent to 0 — removed; margin leak plugged, static fee-guard test in suite
v1.26.0
2026-11-11
•Fixed 3 nested route registrations (GET /api/products/, GET /api/customers/, PATCH /api/subscriptions/:id/pause) that returned 404/FST_ERR_INSTANCE_ALREADY_LISTENING at runtime — introduced by an earlier bulk-insert, caught by full end-to-end verification
•Fee math in smoke-payments.mjs + simulate-checkout.ts now uses fees.ts platformFeeCents (single source of truth) instead of a stale 3.9%+50¢ copy
•New static smoke-routes.mjs guard wired into npm test — fails if any handler ever registers a route inside itself again
•Full live verification with real payment processor test mode: public checkout session → payment processor Checkout UI (4242 card) → webhook checkout.session.completed signature-verified → payment SUCCEEDED → merchant balance credited (fee at Demo Store 3.9% merchant rate)
•Full-route audit — 43 routes across public/merchant/admin verified 200 OK with 0 JS errors and 0 application crashes (headless Chromium)
v1.24.0
2026-11-11
•Admin onboarding review queue redesigned — letter-avatar business header, Pending status pill, unified hairline data grid, dedicated action rail (Approve/Reject with semantic colors) on all breakpoints, Shield illustration on empty state
•Admin metrics top-routes table normalized to the shared Table system (tracked uppercase 10px headers, tabular-nums, white/[0.05] row hairlines)
•Platform-wide sweep — every legacy bg-black/40 + border-white/5 surface normalized to the flat surface system (white/[0.02] on white/[0.055] hairlines)
•Provider name removed from merchant-facing UI — Payment collection card (no more 'payment processor Connect'), raw status string replaced with Charges/Payouts/Onboarding-complete status rows
•Merchant-facing tooltips and copy no longer mention the payment provider (env badge, live indicator, fee tooltips, tax-reporting, payment links, checkout page) — policy: merchants never see processor names
v1.22.0
2026-11-11
•Admin dashboard redesigned — Platform overview now shows 5 KPI cards, a 30-day revenue area chart (smoothed, hover tooltips, from /api/admin/stats/daily), a Fee economics panel (take rate, payout coverage, retained after payouts) and a Needs-attention queue linking to /admin/onboarding, /admin/payouts, /admin/webhook-dlq, /admin/refunds
•Admin API client gains statsDaily() wrapper; refresh button on admin overview
v1.21.0
2026-11-11
•Premium redesign phase 1 — art direction reset: near-black page background (#09090e), hairline borders (white/0.055), single flat premium card surface (border rgba(255,255,255,0.055), 14px radius, inner top highlight), all violet gradients removed from surfaces
•Landing redesigned — split hero with built-in dashboard product mock (window chrome, KPI row, area chart, live txn list), editorial stats row, hairline-divided compliance strip, fine feature grid (gap-px hairline cells), numbered how-it-works, hairline pricing table + FAQ, premium CTA band, new footer
•Login + register redesigned — two-column split with brand panel (logo, proof bullets, footer address), plain H1s (no gradient text), flat inputs with white/[0.035] fill + brand focus ring
•Sidebar redesigned — flat #0d0d14 with hairline border-r, 2px inset indigo accent bar + indigo/[0.12] tint on active item (replaces violet gradient fill), quieter section labels, new logo mark (brand→accent gradient, no blur halos)
•Button system — primary is now flat brand-600 with inner highlight + hairline border (no gradient pill), secondary is translucent white hairline, focus ring offsets to near-black
•Table row hover accent — 2px indigo→violet bar grows on row hover (all ui/table rows)
•Revenue-by-day chart upgraded to smoothed Catmull-Rom area+line with gradient fill and hover tooltips
•PENDING-like statuses get a pulsing amber dot in StatusBadge
•Branded empty-state illustrations (rocket/shield/box/key/chart scenes) — dashboard disputes & payments now use bespoke scenes
•Scroll progress bar (1px gradient) on docs pages
v1.18.0
2026-11-11
•Design-token unification: every Tailwind default gray-XXX utility migrated to the declared @theme body-XXX scale (38 files) — no parallel color system remains
•Removed undefined raw button classes (.btn-primary ×2 on settings/upgrade + mor-shield) — both links now use the branded gradient classes (previously rendered unstyled)
•Design-system audit: 0 var() misuses, 0 inline hex styles, 0 duplicate primitives, all async pages have loading/error/empty, all routes 200 OK, compiled CSS verified for new utilities
v1.17.0
2026-11-11
•Icon-collapse sidebar (desktop) in admin + merchant portals - PanelLeft toggle in the sidebar header, persisted to localStorage (mor-sidebar-collapsed), flyout title tooltips on hover, collapsed width 5rem; mobile drawer unchanged
v1.16.0
2026-11-11
•Sparkline upgrade: gradient fill area, draw-in animation (stroke-dashoffset), per-point hover tooltip with $ value
•Revenue heatmap card on Analytics (GitHub-contributions style, 12 weeks, indigo intensity scale, $ totals) — data from merchant payments
•Fixed latent analytics bug: Revenue-by-day bar chart read `d.revenue` on number[] and rendered all-zero bars
•Cohort bars upgraded to indigo→violet gradient fill
•Numeric stability: tabular-nums on all table cell values
•EmptyState default branded SVG illustration (no icon/illustration needed)
•Sidebar active link: subtle indigo gradient + left edge bar + inset highlight (replaces flat violet fill)
•Header context strip — Test/Live badge + Live (payment processor webhook) + Platform fee 5.5% + $0.60 + 7-day hold in one slim bar under the header
•KpiCard cards animate in with animate-rise on mount
v1.14.0
2026-11-11
•Split-view payment detail on xl desktops: click a row → inline sticky panel next to the table (row click); overlay drawer preserved on smaller screens; print view shows the full table
v1.13.0
2026-11-11
•Customers CSV import wizard (email required, name optional; template, client-side parse, validation, POST /api/customers/import) + Import button next to Export CSV
•Payment detail drawer (merchant payments): slide-in panel with full payment breakdown, payment processor net note, receipt PDF link — row click to open
•Danger zone in merchant settings: Stop all webhook deliveries (confirm), Download profile backup (JSON), Request account closure (mailto)
•Command palette preview pane (rich bullet previews per item) + per-item shortcut kbd + Enter opens first match + `/` shortcut; custom g-map support per layout
•? keyboard cheatsheet overlay (ShortcutCheatsheet) — lists all platform shortcuts; wired in admin + merchant layouts
•Environment badge (Test/Live, NEXT_PUBLIC_STRIPE_MODE) in admin + merchant headers
•Undo action toasts (admin merchants: suspend + platform fee change — 6s toast with Undo); Toast + ToastProvider extended with action button support
•Dunning worker aligned with merchant fail path: EXHAUSTED at 4 attempts (was 3), single source of truth services/dunning.ts
v1.8.0
2026-11-10
•Continuous sanctions re-screening worker (daily cron): re-screens ALL merchants (business/legal names + representative names from onboarding) against local sanctions list; weekly window skip; FLAGGED → riskScore +50, AuditLog entry, admin email alert
•SanctionScreen model + migration 20261110004500_continuous_sanctions_rescreen (note: applied manually with `db execute` to dev DB due to pre-existing drift; `prisma migrate deploy` on fresh/prod DBs applies it normally)
•Manual trigger endpoint POST /api/admin/sanctions-rescan/run (admin-only)
•Unit tests for sanctions.ts (clear/flagged/country/name/match cases); CI 58 unit tests green
v1.7.0
2026-11-10
•Merchant API refund endpoint fixed: real payment processor refund (was DB-only status flip); balance debit mirrors charge.refunded webhook; Idempotency-Key now required for checkout/sessions and payments/:id/refund