Back to the AllSorted website

Changelog

What we shipped, when. Newest first.

Certificate designer correctness and safe template saves

09-09-2026

Certificate design and data

  • Explicit Save and current-layout PDF preview, with failure-safe drafts, guarded

modals, responsive spacing and point-size scaling that matches PDF geometry.

  • Grading and course tag choices share a catalogue. Unsupported or wrong-context

placeholders block new rendering instead of appearing literally on awards.

  • The legacy instructor tag is clearly labelled Club contact. Unrecorded grading

panel names are no longer fabricated in samples; existing panel slots print blank.

  • Course completion dates use the existing shared club timezone (Europe/London),

independent of server timezone. Optional programme/level fields use one explicit course programme and its matching active member enrolment, never global rank pointers. Ambiguous scope is blank; these fields are not course-awarded qualifications.

  • Saved layouts have bounded server validation. Invalid new background types are

rejected. Metadata-only repair of older layouts remains possible. Existing issued certificates and uploaded history are unchanged.

Reliable writes and public rendering

  • Default certificate replacement uses one service-only database transaction;

failed replacements preserve the old default. Concurrent replacements serialize.

  • Archive errors and zero-row updates no longer report success.
  • Draft preview uses effective curriculum permissions and the demo guard. Saved

previews remain staff-readable. No new permissions, sends or feature flags.

  • Public sales content no longer sits behind the global streamed loading boundary.

Existing area-specific app loading screens and authentication gates are retained.

Rollout

  • SQL FIRST: apply supabase/_proposed/certificate-template-default-01.sql,

then run supabase/_verify/certificate-template-default-postflight.sql before deploying the new default-save callers. Missing authority fails closed (503).

  • This is additive and re-applicable; remote application remains owner-controlled.

The original affected QA PDF/background is still required for that specific visual comparison. Synthetic sample proofs do not establish live output.

  • Previous automation-template snapshot SQL remains SQL-first; paid-event

notification recovery retains its separate code-first ordering.

Dependency security correction

  • Replace vulnerable Next.js, Tiptap and Sharp releases with reviewed patched

versions (16.3.3, 3.31.3 and 0.35.4). Next tooling and the complete Tiptap peer family are aligned; strict npm peer checks remain enabled.

  • Patch the remaining moderate sanitizer and ZIP-parser findings with

sanitize-html 2.17.7 and fflate 0.8.3. No audit exceptions or severity changes.

  • The local release checkpoint now runs the same live production dependency

audit as CI, before the longer test/build steps. An unavailable audit service fails the checkpoint rather than claiming a clean dependency tree.

  • This dependency correction requires deployment, but no new SQL, flags,

environment values or provider operations. Existing SQL ordering above remains.

Register rehearsal evidence capture

  • Prevent one concurrent test worker's buffered output from overwriting the

other worker's expected lock rejection. Both writers append; reused logs are cleared only after prior workers have finished. Failed runs print captured worker output before cleanup so the underlying error is visible in CI.

  • Preserve every register locking, rejection and durable-state assertion.

This is test-harness-only: no application, SQL, permissions or payment change.

Guarded insurance requirement activation

08-09-2026

Clearer public sales website

  • Homepage leads with club-owner outcomes, a clear trial/demo choice, shorter

feature summaries and a practical getting-started journey. Sample product data is labelled; no invented customer or time-saving claims.

  • Feature and pricing copy reflects member requirements, requests/approvals,

current communication tools, course development and weekly video limits. Provider charges and specialist activation are distinguished from the published Starter guide; underlying prices and entitlements are unchanged.

  • Shorter mobile club-type choices, theme-aware styling, signup-gated shared

navigation and accessible keyboard/mobile menu handling. Homepage content is server-rendered with existing motion islands; no new dependencies or queries.

  • This sales batch needs a deployment, no SQL, DNS or environment change.

Prior automation authorities retain their separate SQL-first/release gates. See docs/ui/sales-website-review-2026-09-08.md for evidence and open checks.

Immutable automation wording — locally verified, rollout pending

  • New automation runs capture their linked template wording before executing.

Retries and delayed steps use that content, including when the live template has been edited/deleted. Inline wording remains pinned by automation version.

  • Current consent, recipient ownership, sender identity and private action-link

checks are retained. Historical runs without original evidence need review; they do not silently substitute today's template. No old sends are replayed.

  • Content is deduplicated per club/revision outside frequently updated audit

payloads. Terminal-run snapshots have bounded 90-day retention; active delayed flows keep their originals. Cleanup cannot prune another club's evidence. Delivery/payment history is unchanged.

  • Shared member enrichment remains once per event, while each definition gets

its own captured wording. Older automation fixtures now model the snapshot RPC with every existing assertion retained and the actual adapter under test.

  • SQL first, then code: automation-template-snapshots-01.sql plus its

postflight. The local full release checkpoint passes (17,778 tests, TypeScript, security scans, lint without errors and production build); the separate SQL rehearsal passes with tenant/retention and two-session race proofs. No remote SQL, deployment or live sends performed.

Automation reliability, bounded reads and capability clarity

  • Paid event reconciliation gains an atomic confirmation-notification handoff.

Recovery is separate from charging; uncertain dispatches require review rather than blind resend. No historical backfill or automatic replay of old notices.

  • Automation health shows legacy/builder sending ownership, unavailable or

partial reads, and notification recovery references. Failed lookups no longer imply an all-clear; provider acceptance is not device delivery.

  • Execution loads only referenced templates/flows and shares member enrichment

within one event, never across requests or clubs. Builder options have scoped server search/pagination with explicit errors and retained selections.

  • Editors, compilation, publication and runtime share kind-specific action

availability. Flows support email/wait/stop; unfinished actions are labelled not yet available. Existing drafts and club flags are not rewritten.

  • Deployment: this handoff requires code first, then the additive

event-paid-notifications-01.sql and its read-only postflight. Existing pending authorities keep their separately documented order. See the automation reliability runbook. No new feature flag; timezone expansion remains deferred.

Automation email links and truthful personalisation

  • Trial booking, rescheduling and reminder emails resolve booking-specific

cancellation/reschedule links from existing private authorities immediately before sending. Current club/contact/state and credential hash are checked; unavailable required links fail visibly instead of sending broken content.

  • Retries restore original allowlisted event facts and the saved inline message,

including preview text, while rechecking current recipient/action state. Already successful or uncertain sends keep their existing duplicate protections.

  • Event payment confirmed is a distinct builder trigger with paid-invoice PDF

access. Event booked keeps its original pre-payment timing. Existing drafts are not published or rewritten; move invoice-bearing confirmations to the new trigger after reviewing club intent. No historical send replay.

  • Optional unavailable renewal buttons are omitted without removing instructions.

Email skins use the same trusted unsubscribe URL as the standard footer/header. Booking buttons render as trusted markup; member values remain escaped, including single-quoted attributes. Inbox-preview tags now resolve too.

  • Publication checks unsupported email action links using one batched, same-club

template read. Existing versions receive warnings; sample previews no longer promise real links are valid. Test-recipient redirects cannot expose actual member action credentials.

  • Reuses the existing compiler/renderer and removes the second template lookup

during default email dispatch. Booking/invoice reads run only for used links.

  • This batch requires a deployment, no new SQL or feature flag. It reuses the

existing canonical site URL configuration. Previously prepared enrolment, staff-authority and push-health SQL ordering remains unchanged. No remote SQL, provider sends, production flag changes or deployment performed here.

  • Paid-event notices remain best-effort on settlement; a durable notification

handoff is separately recommended, not claimed implemented. Full coverage and live-proof limits: docs/testing/automation-email-merge-tags-remediation-2026-09-08.md.

Staff access security and six-box MFA

  • Owner reports supplying the PWA VAPID values and enabling the production flag

for the next deployment. This is configuration readiness, not verified push delivery; members still opt in per device. No secret values are stored here.

  • Staff grant/change/remove now uses one transactional, service-only authority.

Failed reads/writes cannot report success, resurrect removed primary-club access or delete a global staff identity. Target-club custom permissions, elevated-role and concurrent last-owner protections remain enforced.

  • Club administrators no longer receive account recovery credentials or an

MFA-reset action. Invitations share the sign-in page; new staff request their own private setup email. Lost-authenticator removal requires verified support, as approved by the owner. Existing email-code sign-in remains available.

  • Staff sign-in and MFA setup use six numeric boxes, keyboard/paste/autofill,

green success and a short red error shake. Reduced motion disables animation; synchronous submission guards prevent duplicate verification requests.

  • SQL FIRST: apply staff-membership-authority-01.sql and its postflight

before this deployment. No new flag/environment key. Existing enrolment SQL-first work is still required; no already-applied migration was edited. See docs/database/staff-security-rollout-2026-09-08.md.

One deployment for the email correction and insurance handover

  • The Creative Ways insurance cutover now has an exact-club, audited, two-stage

owner SQL procedure and independent checker. After the compatible code is deployed, link the already-copied requirement with collection paused, review old Stripe checkouts/in-flight requests, then enable canonical renewals.

  • An already-issued insurance requirement token now respects the current

requirement's payment pause before any Stripe checkout is created. Missing or uncertain configuration fails closed; other requirements remain unchanged.

  • The temporary pause changes the collection mode, portal renewal and linked

credential-automation setting together to respect existing constraints. Enable restores them; no automation draft is published or message sent.

  • Copied expiry dates/numbers, staff corrections, historical payment references

and legacy records are preserved. Replays do not double-activate or repause a completed handover. £39, the 30-day window and staff payment-processing task stay unchanged. Red/amber requirements indicators remain in the same release.

  • Post-deploy owner operation, not automatic migration: see the 8 September

insurance activation runbook. SQL cannot establish Stripe state. Defaults refuse activation until the owner supplies deployment/provider review inputs. Do not delete old payment records or the mapping to bypass a refusal.

  • No additional environment variable, feature flag or second deployment is

required. The previously verified binding-table preparation remains a prerequisite; already-applied SQL/editor bundles are not rewritten.

  • CI's existing requirement-renewal rehearsal now includes the disposable

insurance copy/activation proof, including an observed concurrent-enable race and unchanged financial history; no extra runner is introduced.

Owner-approved three-record exception

  • Additive owner SQL can complete Creative Ways' already-linked/paused handover

without replaying the three specifically approved old attempts. All payment history and canonical member information remain intact.

  • The audit records Stripe state as unverified and the owner's accepted

residual risk, not invented cancellation or in-flight-drain evidence. Genuine late provider events still follow normal reconciliation.

  • Exact identity, configuration and additional-payment checks refuse changed

circumstances. The separate postflight distinguishes this exception from provider-confirmed completion. No already-applied SQL is edited, no reminders are published, and the compatible live application needs no redeployment.

  • Owner instructions: docs/database/insurance-legacy-exception-runbook-2026-09-08.md.

Renewal checkout and QA corrections

  • Renewal checkout resumes its stored Stripe attempt after exact identity and

amount checks, avoiding changed-parameter retries under the old key. Paid, processing or uncertain attempts do not create replacement charges.

  • Portal payment fields follow light/dark theme tokens. Requirements now have

amber due-soon and red expired payment-attention counts, independent of push.

  • Dashboard dates use the club calendar day. Dashboard, reports and inbox share

the same MIA window, new-member grace and club-wide attendance recency.

  • Register deep-links wait for the correct day/setup data; old day rosters are

hidden during loading. Membership and public-join controls gain proper labels.

  • Email domain inspection distinguishes sending-only credentials from delivery

failure without broadening provider permissions; unrelated domains are not reported as the configured sender's verified domain.

  • These code corrections need a deployment, no additional migration SQL.

Push remains off until the owner supplies/activates the PWA environment settings. Those settings can be included in the same deployment.

  • Existing QA certificate-layout findings still require the actual stored

template/background evidence; no issued certificate is silently regenerated. See docs/testing/qa-remediation-2026-09-08.md for coverage and remaining proof.

Enrolment checkout alignment

  • Public enrolment uses the same semantic Stripe appearance, 16px hosted inputs

and guarded payment button as the renewal flow. Existing connected-account payment-method rules stay shared; wallets still depend on Stripe registration and an eligible browser/device, not PWA notification settings.

  • Public/staff enrolment freezes its first exact provider request and resumes

a durably recorded Stripe attempt. Changed labels, emails or available methods cannot alter a retry under the original key. Paid, processing, cancelled, mismatched or unknown old attempts never silently become replacement charges.

  • This additional enrolment work does require SQL FIRST, unlike the earlier

QA-only corrections above: apply enrollment-stripe-checkout-01.sql, then its read-only postflight, before deploying these routes. Existing preparation functions and settlement decisions are untouched; old prepared operations remain review-required, not automatically adopted. No live payment is cancelled, replayed, migrated or marked paid by the SQL.

  • Reuses the existing staff-enrolment CI rehearsal, including real local JWT

denials and three observed concurrency races; no additional CI runner.

  • Runbook: docs/database/enrollment-stripe-checkout-rollout-2026-09-08.md.

Staff privacy, clearer roles and portal push health

  • Staff directory security details now require effective account-management

permission. Ordinary directory reads no longer call Auth or invitation history.

  • Invitations offer Read-only directly and default to it; Coach / Staff wording

reflects operational access. Role and row actions follow server-calculated permissions, including demo blocking and owner-only elevated changes.

  • Staff editing and removal use shared, busy-locked modals with duplicate and

Enter-key protection, retained error feedback and club-only removal wording.

  • Platform health distinguishes push configuration, registered devices, recent

processing, suppression, provider acceptance, expired/rate-limited and uncertain outcomes. Keys and contacts stay private; acceptance is not device delivery.

  • Apply portal-notifications-health-01.sql and its postflight for the new health

summary. No new flags or sends. Preserve the preceding staff-authority SQL-first rollout; see docs/database/staff-directory-push-health-rollout-2026-09-08.md.

Safer SMS reply forwarding and Telegram retries

07-09-2026

Two-run database installation for this release

  • The pending member-services, Courses and sender changes can now be installed

with one SQL Editor apply file and one independent checker: 14 unchanged source units, nine postflight sections and one atomic apply transaction.

  • Commit and CI gates check the generated files against their sources. The

existing local/CI rehearsal proves double-apply, rollback on a late failure and rejection of a broken final authority, without adding another runner.

  • This does not repeat the completed insurance data copy, rerun old rollout

authorities, activate payment handovers or enable notifications. SQL still precedes application deployment; see the 7 September consolidated release note.

SMS and Telegram reply forwarding

  • An SMS owner-forward failure no longer closes the inbound webhook as a

success. The gateway can redeliver it; the existing per-recipient delivery ledger prevents accepted or uncertain Telegram sends being repeated.

  • SMS and Telegram replies now distinguish a definite recipient failure from a

different recipient's uncertain delivery, so a partial failure is not lost.

  • SMS receipt evidence records why forwarding was skipped (for example, no bot,

no enabled owner recipient, consent keyword or no prior outbound message).

  • Rejected SMS webhook authentication now records a fixed, rate-limited reason

in server logs. Keys, signatures, timestamps, contact identifiers and message contents are never logged. Signature verification and its five-minute replay window remain enforced; this diagnoses the phone's 401 rather than bypassing it.

  • This correction adds no SQL migration, environment variable or feature flag.

Existing provider-receipt and delivery-outcome SQL remains a prerequisite. It does not replay historic messages or change production configuration.

Creative Ways' live device/webhook setup remains subject to read-only diagnosis and an owner-operated end-to-end test. Local tests do not establish physical SMS receipt or Telegram delivery.

The missing temporary checkout's member-services and forwarding changes were recovered into a permanent checkout. The separate member-services SQL-first rollout remains required; see the 7 September recovery evidence report for the fresh checks, rather than treating earlier temporary logs as current proof.

Club email senders and replies

  • Immediate, scheduled and attachment email now share one tenant-bound sender

resolver. A failed club lookup stops delivery with a safe, visible error; it no longer silently sends club content as AllSorted without a reply address.

  • Club email uses the club name (or its existing sender-name override) and

Club Details email as Reply-To. The sending address stays on the verified platform domain. Explicit platform account mail keeps platform branding.

  • Communications final checks show From and Replies go to, with an explicit

warning if the configured platform reply fallback is being used. Deliverability also checks club sender readiness rather than reporting domain-only readiness.

  • Outbox and scheduled-recipient ledgers retain the resolved sender before a

provider attempt. Failed/missing evidence writes block delivery. Preparation failures use the existing bounded retry path instead of claiming a time-budget continuation. No old sender is guessed or backfilled from current settings.

  • SQL before code: apply the new additive

club-email-sender-identity-01.sql, then its postflight. Existing rollout bundles have not been rewritten. No new env variable, flag, inbox, reply handling service or DNS change is introduced. Replies go to the chosen email mailbox; the member portal remains read-only correspondence.

Email sender lookup correction

  • Removed a nonexistent clubs.address column from both sender projections.

It caused valid club sender settings to be rejected before provider dispatch, leaving email jobs waiting on the existing bounded retry schedule.

  • The selected columns now have a compile-time schema check. Regression tests

simulate returned PostgreSQL unknown-column errors, including the optional legacy sender-name fallback, instead of always returning the fixture data.

  • Club identity, Reply-To validation, consent checks, tenant scope and delivery

idempotency remain enforced. No new SQL, environment variable or flag is required for this correction. It does not reset or replay queued messages.

Member Requirements insurance transition — pending activation

  • The Member Requirements summary and modal rows now show red for an expired

requirement, otherwise amber when one expires within 30 days (including today and day 30). Missing dates stay neutral and explicit; they never claim green. This display window does not change payment eligibility or attendance rules.

  • For an explicitly mapped club, the profile action opens the same Member

Requirements modal as the card. The old insurance editor is hidden and the server refuses stale-tab edits/imports into retired insurance fields.

  • Existing insurance read models and saved merge tags resolve the mapped

requirement's current date, exact membership-number field and current paid cycle. Register rows keep their original selected fields. Programme and member type restrictions remain combined; failed canonical reads never revive old data.

  • Mapped clubs no longer produce legacy insurance Action Centre entries or

mirror canonical payments into the old member paid flag. Requirement payment tasks and generic events retain their existing idempotent processing.

  • Deployment boundary: the binding-table preparation has already been

applied, but Creative Ways has not been activated. Deploy and verify the compatible code before a separately reviewed, owner-applied activation. Existing payment records and late-settlement handlers are retained; this change does not cancel charges, publish automations, send messages or move additional member data. No new environment variable or feature flag.

Course progress across the club

  • Courses now has a Progress tab: filter by member, course, programme and

recorded progress, with an optional past/future-access and archived-course view.

  • Desktop uses a member-by-course matrix with the member column kept visible

while scrolling. Mobile uses expandable member cards. Course headings focus the view on that course; errors provide retry rather than showing an empty list.

  • One server-scoped database read returns each 25-member / eight-course window

and exact matching counts. Duplicate access sources count once. Programme filters use formal programme enrolments, not timetable rosters.

  • This is recorded learning progress, not an access grant or a new certificate

decision. Existing enrolments, learning, assessments and certificates are unchanged. Practical-development and assessor sign-off remain a separate stage.

  • SQL before code: apply the additive course-progress-overview-01.sql and

its read-only postflight. No new environment variable or feature flag. The new read requires the existing Courses module and effective course-view permission.

Optional course development and assessment — local, not yet released

  • Course setup now supports versioned practical-session minimums, grouped

competencies, staff-verified learning and an optional final conversation. Learner details in Courses → Progress support dated evidence, audited corrections, development actions and authorised staff sign-off.

  • Existing learners retain their earlier requirements; future grants use the

published version. Changing a learner's version is explicit and is refused after practical evidence or completion. Referenced learning and quizzes are preserved; later editions use new learning items rather than rewriting them.

  • Server-side completion requires every enabled condition. Final decisions,

corrections and certificate claims are serialised. Private assessor notes are omitted from the member portal; only explicitly shared feedback appears.

  • Versioned certificates retain their course/template snapshot, stable number

and create-only storage path. Staff can recover a missing certificate without re-completing the course or overwriting an issued PDF. Existing course certificate templates and private storage are reused.

  • Owner-approved erasure: permanently deleting a member removes their course

evidence and assessment history. Archiving preserves it. Certificate files are transactionally queued for retryable cleanup after a 15-minute render grace; the existing safeguarding and financial-retention policy is unchanged. The new course data is also included in staff subject-access exports.

  • SQL before code: the additional course-development-01.sql and

course-development-certificates-01.sql, course-member-erasure-01.sql and their final postflight are required, alongside the earlier progress-overview unit. No new environment variable, feature flag, automatic attendance credit, AI assessment or public certificate verification is introduced.

Member requests, household caps and optional portal notifications

06-09-2026

Member services — household caps, request communications and portal alerts

  • Member-request automations gain editable draft starters and readable request,

campaign and programme filters. Verified membership-administration messages use the essential-mail path; ordinary marketing retains its consent rules. Retries recheck current request state and contact ownership. Email/SMS steps can explicitly retain a private portal copy; Telegram cannot.

  • Household pricing gains an optional combined cap across selected membership

plans/programmes, after existing discounts and agreement caps and before VAT. Caps apply only to matching periods/currency and aligned billing dates; negotiated overrides and non-membership charges are excluded. Existing behaviour stays unchanged unless an owner schedules a future rule. Previously prepared snapshots and external provider collections are not repriced.

  • Portal push gains a member-only invitation, explicit browser permission,

category choices, quiet hours, contact-bound devices and generic lock-screen messages. Requests, shared timetable messages, renewal reminders and reviewed videos are derived from current records. Email remains independent. A provider acceptance is not described as device delivery, and ambiguous sends do not automatically replay. Unsupported bulk push jobs no longer report “sent”.

  • Deployment requires reviewed additive SQL before code. No remote SQL,

per-club activation, provider migration or live notification has been performed. PORTAL_PUSH_ENABLED defaults off. The old Pulse/test fan-out additionally requires PORTAL_LEGACY_PUSH_ENABLED; leave it unset/off. Configuring the new VAPID keys must not activate the old unbound subscription list.

See the member-services implementation plan and release checklist for exact verification results and owner-only rollout steps. Local verify:release and verify:critical pass; the separate disposable database class passes all 32 files, and the consolidated SQL apply/reapply/checker has executed successfully. Mobile, tablet and desktop component checks passed with synthetic context. This does not certify production deployment, real member authentication or delivery to a physical device; those require the owner-run opt-in QA checks after rollout.

Membership changeovers and family pricing

05-09-2026

What's new

Rollout bundle freshness — commit and CI protection

  • Relevant SQL, rollout-bundle or generator changes now trigger the existing

bundle consistency check before commit. Missing/stale bundles fail closed with a manual regeneration instruction; the guard never writes SQL.

  • CI runs the same file-only check once in the existing lint job, with no new

runner, Docker startup or database access. Local release checks retain it too.

  • Recorded the owner's completed page-evidence rollout results (11/11, 6/6,

16/16) and the boundary for new additive corrections to applied SQL. The separate household-billing handover SQL is still pending. This process-only correction itself requires no SQL application, ENV setting or feature flag.

Household pricing and invoice handover — opt-in, SQL first

  • Added and tested a shared calculation contract for highest-price-first,

joining-order, existing per-agreement or no family-tier discounts, with an optional programme boundary. Each membership keeps its own discount table.

  • Settings → Memberships now has household pricing, before/after previews and

a separately confirmed monthly invoice handover. Installation changes no billing rules. Mandates, joining dates and payment history are retained.

  • Creative Ways uses Xero invoices, not GoCardless subscriptions. The owner must

stop external collection before activating a handover. Provider history, retries and local billing state are checked before future anchors are set.

  • Frozen period evidence and atomic writes prevent partial household bills

being collected. Mid-cycle changes use next-boundary pricing plus a separately reviewed top-up, not the old one-plan automatic adjustment.

  • Member profiles label standard plan prices rather than showing the obsolete

single-agreement discount estimate when shared household pricing applies.

  • Apply household-family-pricing-01/02 and household-billing-handover-01, then

their postflight before deployment. No new ENV or flags. See docs/plans/household-family-pricing-policy-2026-09-05.md for the rollout.

Member requirement reports and dashboard warnings

  • Reports now has a Member requirements group with an overview and individual

requirement reports. The owner-approved Legacy Insurance report is removed; old report bookmarks and saved favourites open Member Requirements instead.

  • Reports and the dashboard share the same canonical requirement read model.

Expired, due in 0–30 days, due in 31–60 days, not recorded and paid-awaiting- processing are distinct. Programme enrolment AND member-type scope apply. The old inline dashboard insurance counters are removed to avoid stale, competing warnings. This does not retire the separate Action Centre producer.

  • Choose a requirement, filter/search its members, open their profile or use

the existing permission-checked, audited CSV/XLSX requirements export (including custom fields). Dashboard counts link to the exact requirement/status report.

  • The 60-day warning does not open payment early: the configured renewal window

remains authoritative (30 days for Creative Ways). No automatic message, payment, new task or historical record change is triggered by these reports.

  • No new SQL, environment setting or feature flag for this reporting change.

Payment-routing activation and other pre-existing SQL-first work remain separate. Legacy scheduled reports/renewals/data-quality readers and payment compatibility are not claimed as retired by removing this report page.

Member requirements and review counts

  • Requirement creation explains that member fields come next, with a

“Create & add member fields” button and a direct field-editor link when editing. The two saves remain separate. “Renewal opens” now explains the same window controls member renewal eligibility and reminders.

  • Member profiles have a compact Member requirements tile opening the applicable

requirements in the existing dialog/edit/renew workflow. Mobile rows wrap and edit dialogs cannot be dismissed during a save. Legacy Insurance remains visible until its payment and writer cutover is verified.

  • Member Requests navigation shows a badge only for positive totals awaiting

staff approval. Totals are capability-guarded, scoped to the current club and fetched only while navigation is open. No contact records are fetched for it.

  • Owner-specific Creative Ways expiry/Membership Number copy was applied and

verified by the owner: 165 exact matches each, with legacy records retained. Payment cutover was not performed. Do not retire old links/settings or automations on the strength of the data copy alone. See the dated testing note.

  • These UI/count changes require no new SQL, environment variable or flag.

Insurance payment transition preparation — not activated

  • Owner confirmed the three old Creative Ways attempts were already resolved.

Keep their records unchanged and do not put those members on hold.

  • Prepared an explicit, owner-controlled requirement/field binding. When

activated after approval, legacy renewal entry points will use the generic exact-requirement/cycle checks and old uncycled checkout links will direct members to Member Requirements. Existing settlement handlers remain intact.

  • The old profile Insurance tile is replaced only for server-confirmed mapped

clubs. Other clubs retain the existing tile; loading errors fail closed.

  • The additive empty binding table has a local apply/reapply/grants/tenant

rehearsal and read-only postflight. No activation SQL is ready yet. The owner has instead requested canonical reports and dashboard readers; automatic canonical-to-legacy synchronisation is not approved or installed. Remaining legacy readers still need a controlled transition. No clearing triggers were added. Prepare SQL, compatible deployment and reviewed activation are separate steps; do not infer a live payment switch from the earlier successful data copy.

Dated Member Requests and optional class restrictions

  • Membership editors now include optional start and expiry dates for choices in

Member Requests. For example, an old plan ending 30 September is not offered for a 1 October change, while a new 1 October plan can be selected in advance. The current membership remains visible as context. Existing payments are not cancelled, and public sign-up visibility still uses Show on enrolment.

  • Regular-class requests have an optional “Apply age and level restrictions”

checkbox, off by default. Unrestricted classes still appear; configured bounds are checked against the member's age on the change date and recorded level. Approval and delayed application recheck changed eligibility atomically.

  • Each membership group shows its programme. Formal programme compatibility is

retained and legacy-only plans cannot cross into a different lens. Household details remain a single household-wide check.

  • SQL before this code: apply member-request-choice-policy-01.sql, then

member-request-choice-policy-02.sql, then its read-only postflight. No new env or flag. These are separate from the already-applied page-evidence rollout.

Choose an amount off for additional family members

  • Membership family pricing now has three distinct choices: percentage off,

amount off in the club's currency, or a fixed final price. For example, £5 off a £30 standard price gives £25; if the standard price becomes £40, it gives £35.

  • Amount-off values are validated on the server and stored as integer minor

units. The editor, member price previews and household-agreement invoice calculation use the same contract. Existing percentage, fixed final-price and legacy fixed-discount records retain their meaning.

  • Only the final tier is labelled “+”, making 2nd, 3rd and 4th+ clearer. Switching

discount modes cannot save hidden values from another mode. Blank, negative and above-standard-price deductions are rejected before a plan write.

  • Per-member discounts still apply within one membership agreement, before

pro-rata, its family cap and agreement overrides. Existing issued invoices are not rewritten. Highest-price-first discounts across different plans are a separate requested extension, pending confirmation of the discount rule; they are not claimed as implemented here.

Amount-off deployment notes

  • No new SQL migration, environment variable, feature flag or provider call is

needed for the amount-off pricing addition. The existing text/JSONB pricing columns are reused. Read-only pricing censuses and the generated Stage A preflight now recognise the new shape. This does not require repeating the already-applied rollout SQL.

  • Deploy all amount-off readers together before using this mode. Do not roll

back to code that predates it while amount-off plans are in use: older pricing code does not understand this type. Any downgrade requires an owner-reviewed pricing conversion first. No live plan has been changed by this development.

Clearer member requests

  • Each portal task keeps its own heading: membership choice, household details

and regular-class selection. The shared campaign reason appears once above its related tasks, rather than replacing every task heading.

  • Member Requests is now in the Members navigation group. The competing desktop

shortcut is removed from the crowded member-count toolbar; selection-based request creation remains available.

  • Approval cards show current household phone/address alongside the requested

values. Before values use amber and requested values green, with text headings so colour is not the only distinction. Failed current-detail reads cannot appear as empty data or be approved from an incomplete comparison.

  • The readiness step is labelled Check choices and explains its purpose:

compatible options, duplicates and skipped requests. Its checks and separate create confirmation remain intact.

  • These presentation and guarded-read changes require no SQL or new flag.

The subsequent dated-choice and optional restriction extension is described above and does require its two new SQL units before deployment. Its dates govern request choices, not cancellation of existing billing.

Contact-specific portal previews and accurate SMS history

  • Opening the member portal from a staff profile now offers the household’s

currently authorised portal contacts. Staff explicitly choose when there is more than one; a member email alone does not grant access. Missing contacts are explained rather than replaced with a synthetic login.

  • The preview banner identifies the actual contact being viewed. Message copies

remain private to that contact, and staff previews still do not mark messages as read or change contact preferences.

  • SMS audit mirrors no longer appear a second time under Email provider history.

Gateway-accepted SMS rows awaiting a receipt count as accepted, not delivered.

  • These corrections need no SQL, environment variables or feature flags. Deploy

the picker and route together; the POST now requires an explicit contact. Close any old preview and reopen it after deployment. No messages were resent, backfilled or changed. Unrelated pending SQL in this workstream still retains its own deployment ordering.

Insurance cutover handoff

  • Added an exact-club, read-only reminder/payment census and a staged cutover

checklist. The census is rehearsed on synthetic local data; it does not copy data again, activate payment routing or change any reminder.

  • The checklist explicitly records the remaining legacy readers, saved-template

compatibility and old staff editor entry point. These must be resolved before activation. Live acceptance remains after deployment as requested by the owner.

  • Mixed-plan highest-price-first billing is opt-in through the workflow above;

existing per-agreement amounts do not silently change.