Back to the AllSorted website

Changelog

What we shipped, when. Newest first.

Membership and class choices together

14-09-2026

Member requests

  • Members choose a membership, eligible classes and any offered Video Review

add-on in one flow, then review and submit their choices together. Staff review covers the member's complete selection. Each family member remains independent.

  • Keeping the current plan preserves its billing and allowance history while

allowing new regular classes to be selected.

  • The optional age and grade restriction setting is preserved from the staff

preview through request creation and is checked again when choices are accepted.

Clear class and billing dates

  • Requests show the class/allowance start separately from the new membership price

start. The selected timetable week is preserved when billing starts later.

  • Existing supported monthly members retain their already-billed period. Approved

changes start on the class date, with the new price at the normal billing boundary. A narrowly verified transition prevents a second opening-period charge.

  • Members without a plan receive an explicit first-charge date or a billing-review

explanation if that date cannot match the requested service start safely.

  • Household/member summaries and email merge tags carry the separate dates.

Keeping a plan explicitly shows that membership and billing are unchanged.

Late responses

  • A late class response can be completed within the same request. Existing valid

selections are retained and checked for eligibility, changed details and capacity.

  • Staff can return choices for correction during review or before a scheduled

change has been applied. Saved answers remain visible and the member confirms again; applied or billed changes are protected from draft cleanup. A first-charge mismatch can be saved for billing review before any service or charge starts.

  • Staff can choose a supported later date. For dated requests, new same-day changes use the next day

as the earliest safe start; previously accepted future changes keep their date. Past attendance and locked registers are preserved.

Unfinished membership and class choices

  • Leaving the request page warns before discarding unfinished combined membership,

class and optional add-on choices, including standalone class requests.

  • One page warning covers all household members. Saving one member does not clear

another member's unfinished choices. Failed or uncertain submissions stay protected.

  • The form's Back/Next steps stay uninterrupted. Refresh and closing the tab use the

browser's native warning where supported. Force-closing a mobile app cannot be reliably intercepted; this does not add draft storage.

  • This warning needs no additional SQL, environment variable or feature activation.

Operator rollout

  • SQL first: use the final generated atomic member-choice package and its matching

source checksums/preflight/postflight after the existing add-on prerequisites. This correction is additive; applied historical source files are unchanged.

  • New RPCs fail closed when unavailable. No new environment key or cron schedule is

required. Feature activation, live SQL and real notification/provider tests remain owner-controlled.

  • New service_start_date and billing_start_date email tags are available. Starter

copy directs members to confirmed dates in the portal; installed/custom templates are preserved. effective_date continues to resolve to the actual service date where known. See the dated changeover operations record for final verification evidence and deployment order.

CI reliability

  • The isolated billing-cycle test installs the current reviewed member-choice and

add-on SQL before exercising invoice generation, collection and settlement.

  • Secret scanning recognises twelve reviewed database-constraint fingerprints in

one verification file. Other values and other files remain subject to scanning.

  • These CI corrections add no production SQL, environment settings or activation.

Membership requests with external billing

  • Members whose existing monthly membership is billed outside AllSorted can

select a replacement membership and regular classes without entering a billing date. The request keeps its configured approval process.

  • The portal and staff review show Handled outside AllSorted. Approved

membership and class changes preserve automatic membership billing being off.

  • Rollout is code first, followed by the new atomic external-billing forward SQL

package and its preflight/postflight. No billing-date backfill, new key or feature activation is needed. See the dated external-billing operations record.

Regular class choices

  • Bookable sessions are excluded from regular class choices in member requests,

matching enrollment. Individual session booking remains available.

  • Options run Monday to Sunday, then by start time. Saved requests recheck session

settings during submission, approval and scheduled application.

  • This correction can be applied with SQL alone, after external-billing09, using

the regular-lessons10 atomic editor and its matching preflight/postflight. No class flags, existing rosters, payments or notifications are changed by the SQL.

Membership speciality lessons and portal weeks

  • Memberships can include speciality lessons with an explicit Yes/No setting.

They count towards the usual regular-class allowance; bookable sessions stay separate. The setting defaults No and is checked in enrollment and member requests.

  • Desktop members can switch class choices between Week and List without losing

their answers. Phones retain a stacked list.

  • What's On adds a weekly timetable at the bottom, with household regular classes,

member-specific sessions/events and the existing booking details.

  • Apply the separate speciality-lessons11 atomic SQL package before this code,

after regular-lessons10. No keys, new scheduled jobs or automatic plan activation. See the dated portal weekly/speciality operations record for verification and rollout.

Clearer member request wording

  • Member requests show membership prices and start dates without references to

external billing systems or internal invoicing processes. Staff review retains the operational billing details. Member confirmations and review buttons use plain wording. Payment amounts, dates and request behaviour are unchanged.

  • This wording update needs no additional SQL or configuration.

Monthly Video Review add-ons and clearer member tools

13-09-2026

Mobile member requests

  • Emergency-contact and medical-information editing uses clear, bordered buttons.

Long names, email addresses, medical text and class options wrap within the request cards on small phones, including while editing.

  • Existing household confirmations and club review settings continue to apply.

Timetable changes

  • Filter classes by All, Active, Scheduled, Ending soon or

Expired, alongside day, type, venue and programme. Ending soon means a currently running class ending within the next 30 days. It remains Active through its final date. Expired classes remain separate from archived ones.

  • The status picker fits on phones; wider screens group filters side by side.

Class rows show their start/end dates. Exports use the selected filters.

  • Add and edit class pages share four visible sections: class details, schedule,

who can attend, and places/booking. A summary, clearer switches, contextual trial/booking fields and a persistent save bar help with setup. Capacity is entered once. Existing class-plan editing and stale-save protection remain.

Members page background requests

  • Member rows load their profile when opened, avoiding automatic route

prefetches for every visible row.

  • The static app manifest and its bundled icons can be fetched without a staff session, preventing

browsers receiving a sign-in page where they expect manifest JSON. Protected staff pages and APIs keep their existing authentication checks.

  • No new SQL, environment settings or feature flags are required for these Members page changes.

Membership plan filters

  • Membership plans now have All, Active, Scheduled, Ending soon and Expired

filters, using the same inclusive dates and 30-day window as the timetable. Ending soon and Expired only appear when a non-archived plan matches.

  • Date-aware badges and start/end dates explain each plan's availability on

desktop and mobile. If the last matching plan is removed or updated, its conditional filter disappears and the list returns to All.

  • This is a display change only: existing agreements, prices, billing and

archived-plan controls are unchanged. No SQL or configuration is required.

Filtered member count

  • The Members header now shows only the number matching the current filters,

such as 125 members, without the total including hidden leavers. Search, status and other filters continue to determine that count. An incomplete directory load still displays its warning alongside the filtered loaded count.

  • Display-only change; no SQL or configuration required.

Optional monthly Video Review

  • Clubs can offer Video Review as a monthly extra per member, allow members to

subscribe in the portal, or assign paid or complimentary access from a member's billing panel. Complimentary access can have an end date.

  • Add-ons sit outside membership family discounts and household caps. A £100

capped membership bill plus two £10 add-ons totals £120. Membership-included Video Review does not need another paid add-on.

  • Membership requests include a separate choice for each covered member and

retain the club's approval/effective-date rules. Clubs can also show an optional, unchecked choice during enrolment; it is separate from the joining payment.

  • Paid access starts after confirmed payment and covers the actual paid period.

Cancellation stops future renewals while preserving that paid period. Existing independent grants retain their allowances.

  • Operator rollout: apply add-on core01, billing02, requests03, enrollment04 and

quota05 before code deployment, after the dependencies in the add-on operations record. New offers are off by default. No new environment keys or cron schedule are required. Remote SQL and real payment-provider verification remain pending.

Household directory search

  • Household search runs when Enter is pressed or after three seconds without

typing. Filters and later pages use the submitted search, and a new search begins at the first page. Assignment pickers keep their existing timing.

  • No SQL, environment settings or feature flags are required.

Consistent membership information

  • Household member rows, member membership details and the portal now use the

member's current agreement coverage. A previous enrolment selection no longer replaces an active agreement merely because the club changes billing model.

  • Multiple programmes remain visible. Future memberships show their start date,

and scheduled changes stay separate until applied. Staff can see when a previous selection differs and open the household to review the existing agreements.

  • Billing-model settings explain that changing the setting does not convert or

cancel existing memberships or payments. A failed save keeps the saved setting.

  • Per-member selections show the chosen plan and start date separately. If the

change needs club review, the current agreement stays visible and the pending choice explains that it has not taken effect.

  • No account conversion, invoice changes or payment-provider calls occur during

these reads. The pending-selection display requires the complete member-request membership correction SQL package before code. Existing mismatched records need separate review.

Membership and class requests for each member

  • A membership/class request creates a separate named choice for every selected

member, including members who have no current membership. Siblings sharing a billing agreement choose their own membership, classes and optional Video Review.

  • Approved future changes reserve places and wait until the compatible billing

date. Current coverage stays in place until then. The move changes only that member and reuses a compatible agreement when appropriate.

  • Staff review, rejection, cancellation and household moves handle the pending

choices. Changed prices or membership circumstances require review; affected billing waits instead of charging an outdated selection. Cancelled future requests remove their own unbilled add-ons; approval retries keep the agreed start date. Existing subscriptions and recorded charges are preserved. Older household requests skip overlapping member choices, and expiry requests retry later.

  • Billing uses a complete household snapshot after a member moves. Membership

caps still apply to memberships, while optional add-ons remain outside the cap.

  • Operator rollout: apply the atomic member-request membership correction SQL

package after the Video Review add-on prerequisites and before this app. Run its preflight and postflight and retain all four final authorities together. No new keys, flags, pricing policies or cron schedules are required. This does not migrate a club's existing agreements just by changing billing model.

Guided automations and member details checks

12-09-2026

Cover coach setup correction

  • Fixed cover coach invitations and role changes being blocked after installing

the private automation scan table. The readiness check now recognises that specific table only while its ownership, RLS, lack of client access and lack of inheritance remain intact. Other cover coach restrictions are unchanged.

  • SQL-only correction: run the cover-coach-private-scan-readiness preflight,

apply cover-coach-private-scan-readiness-04.sql, then run its postflight. No application deployment, environment change or feature flag is required.

CI database startup

  • Reserve the disposable database ports before CI dependency and image downloads

can allocate them to temporary client connections. Existing runner port reservations are preserved, and database failures now record socket ownership and the allocation settings. This addresses the port-binding failure in PR #98; it requires no application settings or SQL changes.

Seven more automation starts

  • Invoice overdue, attendance check-in, incomplete registers, course completion,

course inactivity, published grading results and effective household plan changes now publish and run. The audience preview uses their same source rules.

  • Repeated scans and republishing do not resend the same occurrence. Current

eligibility is checked again after waits and immediately before delivery; transiently failed waits retain their original resume point when retried.

  • Register reminders email the assigned coach and can notify configured club

administrators. Both builders show the destination clearly and filter actions that cannot safely use that source. Keep follow-ups inside these automations; child-flow enrolment is unavailable for these seven starts.

  • A private, durable scan cursor makes progress across large audiences and

non-matching members. The new scheduled job appears in Admin Health.

  • SQL before deployment: run automation-recipe-scan-state-00-preflight.sql,

automation-recipe-scan-state-01.sql, then automation-recipe-scan-state-02-postflight.sql. Existing settings still control delivery; no new flags are introduced. See docs/ops/automation-seven-triggers-2026-09-12.md for timing and rollout details.

Member emergency and medical details

  • A member request to check details now includes each household member's

emergency contact and medical information, with a separate confirmation for each section. Members can enter corrections directly in the request.

  • Corrections follow the request's existing approval setting. Unchanged details

complete immediately; review-mode corrections remain pending until an authorised reviewer approves them. Staff can compare current and requested values. Review requires request-review, profile-edit and medical-view access.

  • Private staff medical notes remain separate. Stale replies cannot overwrite

newer details, and sensitive proposed values are removed after a decision.

  • SQL before deployment: apply member-request-safety-details-01.sql after

its read-only preflight, then run its read-only postflight. Existing historical member-request v3 SQL is required. No new environment variables or flags.

Annual renewal reminders

  • Member Status is now a selection in both automation builders. Is any of

supports Active or Paused in one condition. Existing stored values remain visible for review; legacy lists continue to require every condition.

  • Annual requirement reminders offer Online renewal paid · Yes/No, scoped

to the specific member, requirement and renewal cycle. This uses portal-card renewal records; it does not claim to resolve invoice payment status.

  • An unpaid reminder rechecks current status, requirement eligibility, cycle

and payment before subsequent steps and retries. Paid-pending-processing and completed renewals stop unpaid reminders. Failed reads cannot count as unpaid.

  • Expires in exactly (days) supports precise 30-day and 15-day email wording.

Set the requirement renewal window to at least the first reminder offset. Exact-day sends skip missed days; within-window reminders remain available.

  • Paused members receive annual reminders only when explicitly selected in an

entry Status condition. Existing unfiltered automations keep their audience.

  • Paused members can start or continue online requirement renewals without

restarting membership billing. Leavers remain unable to start renewals.

  • Fixed email-step condition dropdowns reverting to Status when choosing a

specific annual requirement, due date or renewal-paid condition. Changing from multiple statuses to a single status now clears the old combined value.

A clearer automation builder

  • Creating a trigger, flow or recipe opens its builder and shows clear creating

and opening feedback. Creation stays locked while the editor loads, with a direct Open builder link to the saved draft and no duplicate creation.

  • Choose trigger starts with category cards and counts. Browse one category

at a time, search across every category, or choose View all triggers.

  • Simple setup now follows one sequence: when it starts, conditions and actions.

The trigger catalogue opens only when choosing or changing a trigger.

  • Uses the app’s standard cards, buttons and header, with clearer text and a

single action list. Templates, message previews, tests and version history remain available without filling the screen.

  • Incomplete checks stay visible; successful checks and the summary can be

expanded. Draft, preview and publish controls keep their existing safeguards.

  • Adding an action places it before a final Stop so it can run, and opens the

new action for setup. Existing action order and saved definitions are unchanged.

AND / OR condition groups

  • Fixed Current member status = Paused in plain AND annual-reminder rules.

Explicit paused selections now work consistently with grouped rules, including after waits and on retries. Current status, cycle and payment are rechecked before provider delivery; paid renewals and failed reads still block sending.

  • A conditional Stop now ends the sequence only when its conditions match.

When they do not match, execution skips Stop and considers the next action, matching the audience preview. A Stop with no conditions still always stops.

  • Choose Match all (AND) or Match any (OR) for entry conditions and each

action's conditions in Simple setup and the Advanced builder. Add bordered groups for mixed rules, such as (Active OR Paused) AND renewal unpaid.

  • Each group has its own AND/OR choice. One group level keeps the rules readable;

empty groups can be saved as drafts but must be completed or removed to publish.

  • Saved definitions, mode switches, summaries, search, simulation and audience

checks preserve the same grouping. Existing flat condition lists retain AND.

  • Execution checks entry and action rules separately, including waits, retries

and final checks before sending. Historical event facts retain their original values, while current status/payment checks refresh. A failed current read blocks sending even when another OR branch would match.

  • Paused annual-reminder recipients must be explicitly included by a successful

branch. Original-cycle eligibility, tenant checks, consent and duplicate-send protection continue to apply independently of the selected rules.

  • Grouped runs save bounded condition facts in the existing run payload. A resumed

or retried grouped run missing its trusted version-matched snapshot fails closed. No SQL migration or new environment setting is needed. Deploy compatible code to all execution workers before publishing grouped definitions; older workers cannot execute the new definition shape.

Club recipes and current conditions

  • New Trigger → Use a recipe provides fifteen editable starting points for

renewals, member requests, trials, new members, events, shop collection, attendance, invoices, registers, courses, grading and membership changes.

  • Select programmes, classes, venues, plans, events, products, courses and

campaigns by name. New conditions cover current status, age, recorded attendance, trial enrolment/future bookings, event booking/payment and whether a shop order still awaits collection.

  • Current-record conditions are checked before actions, after waits and again

before provider dispatch. A failed read remains retryable; a proven resolved condition suppresses the action. Older event-status conditions keep their original meaning.

  • Event reminders retain the exact booking identity, including timed reminders.

Queued older reminders may resolve only an unambiguous same-club booking for the original event and member.

  • Seven additional starts are local audience trials only: overdue invoice,

attendance check-in, unfinished register, published grading result, course completion/inactivity and effective household plan change. Their readers and conditions are implemented; production scheduling and publishing remain off.

Guided setup and audience review

  • Four compartments guide setup: **When it starts → Conditions → Actions →

Review audience**. Return to any section without losing edits. Both builder modes retain unfinished reminder timing and visibly flag unsupported fields.

  • Stronger section borders, tinted headers and coloured action icons make the

sequence easier to scan. Text-labelled Edit, Done and Continue controls replace disclosure arrows in Simple setup.

  • Check audience reads current club records without sending, queuing,

publishing or saving. Campaign preparation retains the public-demo fence. Its scrollable modal lists matching members/records, intended recipients, email/SMS/Telegram channels, household/personal/staff destinations and condition results. Supporting explanation is collapsible.

  • Counts describe a bounded sample of existing records, not a guaranteed send

queue. Delayed actions are checked against today's data and rechecked later. Changing the setup invalidates the old preview. No email addresses, phone numbers, credentials or action links are returned to the browser.

  • Member-request push remains one initial alert per request. Email follow-up is

optional and independently checks whether the request remains unresolved.

Deployment and setup

This batch requires the member-details and recipe scan SQL listed above before deployment. No new environment keys or feature flags are introduced. The audience readers require the existing canonical schema; missing prerequisites fail as unavailable. Local Docker schema repairs and trial limits are recorded in docs/automation/16-club-recipe-local-trials.md and the QA evidence document. Existing execution/delivery gates still apply. No live automation is created or enabled. Configure Annual requirement due with a specific requirement, Active or Paused, Online renewal paid = No and an exact 30-day entry date. Add a 15-day wait and an exact 15-day condition on the second email.

Cover coach access and member notification repairs

11-09-2026

Cover coach

  • Owners can assign Cover coach through the existing staff settings. The role

can mark today's member and trial attendance, complete and lock registers, view health information from today's register, and file accident reports.

  • Cover coaches use the same Allsorted navigation, register layout, attendance

cards, health panel and session-team controls as other staff, with only Registers and Accident Forms in navigation. They can record who coached or helped and add/remove ad-hoc catch-up attendees. The role retains a fixed permission ceiling. General member records, finances, staff settings, register unlocking and safeguarding history remain outside its duties. Custom permission denials continue to apply when custom RBAC is enabled.

  • Each member's register row now opens their saved emergency contact name,

relationship and phone number, with tap-to-call. Cover coaches can use this from today's register, including after locking, without opening the full member profile. Missing contacts and unavailable reads are shown separately. This read-only addition needs no additional SQL.

  • Accident drafts and submission are protected against concurrent saves. Cover

coaches can file reports without arbitrary email, Telegram or PDF download controls. Authorized safeguarding staff retain access to the saved report.

  • Server and database boundaries enforce the restriction independently of the

visible navigation. Assignment fails closed until the complete SQL protection is installed and its catalogue checks pass.

Member request tracking

  • A member profile's Actions → Communication & Portal → Request member action

opens the existing request dialog with that member selected. It includes the same choices, preview and advisory email/push check. Changing member or club closes the draft. Existing server permissions and request handling apply; this shortcut needs no new SQL or configuration.

  • Member Requests now separates Outstanding, Completed and Archive. Outstanding

is the default; unanswered and awaiting-review work stays visible.

  • Finished requests can be archived and restored without deleting their history,

cancelling changes or sending another notification. Rejected and cancelled requests keep their original outcome counts.

  • Each tab is filtered before pagination. Loading failures stay distinct from

empty lists, and delayed responses cannot replace a newer tab selection.

  • Apply the additive member-request-batch-archive-01.sql and its matching

postflight before deploying this follow-up. The earlier notification SQL and completed £39 accounting repair must not be replayed. See docs/database/member-request-batch-archive-2026-09-11.md.

  • Live read-only diagnosis found invalid deployed push signing configuration and

no installed member-request email automations. These require separate owner configuration and activation; the archive SQL does not resolve them. See docs/ops/member-request-notification-check-2026-09-11.md.

Before creating a member request

  • Check choices now includes an email and push setup summary. It distinguishes

configured, missing, paused and unavailable checks without changing whether a valid request can be created. No acknowledgement is required.

  • Email advice checks published new-request automations and current sending

switches; push advice checks server signing configuration. Neither confirms recipient delivery. Contacts, automation rules, device permissions and quiet hours still apply.

  • Failed or slow optional checks remain informational. This addition needs no

new SQL, flags, credentials or schedule changes.

Member portal notifications

  • Invalid or mismatched push signing keys are identified before delivery work is

claimed. Platform push health now reports the configuration problem.

  • An installed device using an older signing key offers an explicit repair.

Failed repair/removal shows checked registration state and safe error guidance; blocked browser permission does not retire an existing registration.

  • An owned, unrevoked device's authenticated status check refreshes activity at

most daily, preventing active devices aging out solely because they have not subscribed again. Consent, preferences and revoked devices are preserved.

  • Member requests send only their initial push alert, once per request batch on

each registered device. Completion, approval, rejection and overdue events no longer generate request pushes; email automation events remain unchanged. Quiet hours, consent and existing duplicate prevention still apply. This policy requires the new initial-request SQL; provider acceptance is not proof of display. Other notification categories retain their current rules.

Owner rollout

  • Cover register parity follow-up — SQL FIRST: apply only the new

cover-coach-register-team-03.sql, then run its matching team postflight before deploying this follow-up. The owner already reported the original Cover authority postflight PASS; do not replay the earlier release bundles. See docs/database/cover-coach-register-parity-2026-09-11.md.

  • SQL FIRST: apply cover-coach-authority-01.sql, then

cover-coach-trial-attendance-02.sql, and run cover-coach-authority-postflight.sql before deploying and assigning the role. Existing register/activity authorities and accident-report-status-01.sql are prerequisites. See docs/database/cover-coach-rollout-2026-09-11.md for the full order and hashes.

  • Apply portal-notifications-activity-01.sql after the existing portal push and

member-services bundles; verify with its activity postflight. It preserves the current RPC signature and can precede the matching code deployment.

  • No feature flags, signing keys, schedules or provider settings are changed by

this release. SQL application and the final fresh-request device test remain owner operations. The reported missed 18:00 notification still requires the read-only deployment/device diagnosis in docs/ops/member-push-investigation-2026-09-11.md.

  • A separately reviewed owner operation can record one verified historical

renewal payment left pending before frozen checkout evidence was introduced. Its exact transaction and read-only postflight must be run by the owner; delayed payment notifications are skipped and credential processing stays in the normal staff workflow. See docs/ops/requirement-payment-owner-repair-2026-09-11.md.

Club-branded member PWA

  • Signed-in member portal installs use Club name Portal and the saved club

logo, including Apple's home-screen title/icon. Logos are fitted into square PNGs without cropping, with safe padding for masked icons. Primary logos use the app's dark background so white transparent artwork stays visible. Clubs without a usable uploaded logo receive a generic portal icon.

  • Push notifications use the club name/logo and a fixed category message;

member names, request answers and private details stay out of the lock screen. Consent, quiet hours, the existing app identity and subscriptions are retained.

  • Apply the additive portal-notifications-branding-01.sql and run its matching

postflight before deploying for branded notifications. Existing code accepts the SQL; new code preserves generic delivery if the optional lookup is missing or unavailable. No key rotation, feature-flag change or old SQL replay.

  • Existing installed icon/name updates depend on the device. If an iPhone retains

the old branding, add the portal to the home screen again after signing in and enable/repair notifications on the new installation; test using a fresh request.

Staff password setup

  • New staff now receive the private password-setup email directly from Auth after

their club access is confirmed. Existing active accounts keep the ordinary sign-in invitation. Staff management never sees a recovery credential or stores it in the club's email history. Provider acceptance is labelled Setup email requested, with failures and uncertain sends shown separately.

  • Password setup stays on its own page before authenticator onboarding. It

consumes each email link once, supports opening the direct invitation on another device, and preserves the correct verifier when several browser reset requests are outstanding. Missing/expired links cannot reuse another account's existing session to show the form.

  • Staff who already enrolled an authenticator can verify it on the password form.

Password saves and reset-email requests resist rapid repeat submissions. Password success remains visible if the support-status update is unavailable.

  • No additional onboarding SQL or flags. Auth SMTP, the exact callback allowlist

and the shared recovery email template need owner review. A ready template and Craig's recovery steps are in docs/ops/staff-onboarding-2026-09-11.md.

Installed portal hint and one request alert

  • The home-screen hint stays hidden in the installed app. Already added also

hides it persistently in a browser tab; blocked browser storage does not break the portal. Safari cannot reliably discover its separate home-screen install.

  • Before deploying this follow-up, apply

portal-notifications-initial-request-01.sql after the historical member notification bundles, then run its matching postflight. Do not replay older bundles afterward. See docs/database/portal-initial-request-2026-09-11.md.

  • Child-only portal devices are not part of this release. Existing trusted

devices and additional email access remain household-wide.

Payment reliability — renewal, refund and recovery safeguards

10-09-2026

Renewal safeguards

  • An elapsed renewal link no longer automatically expires the unresolved payment

attempt and opens another collectible attempt for the same requirement cycle. Older expired attempts, including missing provider references, are held for review too.

  • New attempts freeze the original Stripe account, mode, currency and request.

Concurrent offline processing blocks a stale first checkout; genuine late payment evidence still reconciles. Token and canonical ledger settle together.

  • Confirmation checks the returned payment object, club, purpose, exact pence

amount and amount received. It cannot replace a different saved payment ID.

  • A zero-row settlement update now requires an exact paid re-read. Pending,

expired, mismatched and unavailable rows do not produce a success message.

Shop duplicate-checkout safeguards

  • Shop checkout uses a durable request key and canonical basket. Repeated

requests, tabs and lost responses resolve to the original unresolved order, rather than reserving stock or creating another payment.

  • Order, line snapshots, stock reservations and key aliases commit together.

A proven stock refusal remains editable; unknown results stay held. Cancelled orders need confirmed payment/stock closure before a new purchase is allowed.

  • The portal retains only opaque, contact-scoped checkout identity. Unknown,

processing, review and refund states are explicit, including after refresh; delayed card confirmation no longer claims bank authorisation. Status checks find the exact owned order even outside the latest 50 orders.

  • Existing Complete payment uses the original intent/account/mode. Review,

expiry, ownership and payment-state changes are rechecked after provider waits; unresolved attempts cannot become another checkout. Explicit declines retain the existing same-intent correction path.

  • This adds one reviewed SQL unit, pro-shop-checkout-claim-01.sql. Deploy the

caller, drain old checkout handlers, then apply its SQL and postflight. New checkout fails closed until that authority exists; historical order reads remain available with conservative closure status. No remote change was made.

Refund safeguards

  • Older partial-refund events cannot lower cumulative invoice or shop refund

totals. The guard is on the database update itself, including concurrent calls.

  • Course refund redelivery repairs a failed entitlement revocation. Revocation

is limited to the original payment and purchase source; later purchases and other sources of access are not selected. Refund-before-success delivery is retained as refunded rather than granting access on a later success event.

Payment return and status screens

  • Saved enrolment and course attempts restore a read-only status instead of

restarting a blank purchase. Course returns restore the selected household member only after checking the authenticated household roster.

  • Pending, review, payment received/access repair and recorded refunds have

distinct wording. Original quote/currency and a local reference are retained.

  • Historical event payments without a recorded original currency no longer

acquire today's club currency or an assumed GBP quote. Their recorded payment status remains visible without inventing a monetary amount.

  • Stripe redirect secrets and status hints are removed from the URL and never

used as evidence that a payment succeeded. Failed status reads do not expose another Pay button or claim a safe failure.

  • Course cards with retained purchases link to payment status rather than Buy.
  • Moving between payment links, invoices, courses or staff entry contexts clears

the previous checkout before the new details load, including its amount, reference and payment form. Failed reads cannot redisplay the prior checkout.

  • Invoice and external-entry return screens restore collection/refund/review

state through existing authorised reads. Processing invoices do not revert to an overdue Pay screen on reload. Confirmed refunds, pending refunds and failed refunds remain distinct.

  • Staff external-entry return context is checked against the session club and

effective financial capability before showing an invoice status. Old/used public credentials do not gain new permissions.

  • New same-attempt continuation buttons and used-event-link financial receipts

remain paused for explicit approval. Existing first-payment actions and credential expiry/consumption rules are unchanged.

  • This return batch adds no SQL or environment setting. The wider payment wave

below still needs its separately reviewed SQL rollout and provider checks.

Operational boundary

  • Portal renewals distinguish processing, recorded payment and review, retaining

the member/requirement return context without treating a URL as payment proof. Renewal notification handoffs are durable, including members without email.

  • Course payment/access reconciliation and exact shop stock release are atomic;

shop recovery does not automatically cancel actionable provider payments. GoCardless uses current payment observations with stale-reader protection.

  • Independent cron lanes now continue despite failures elsewhere, retaining

truthful per-lane counters. Base SaaS subscription webhooks observe current provider state instead of applying obsolete event snapshots.

  • Course creation uncertainty retains its pending attempt; empty provider search

is no longer treated as proof that another payment can be started.

  • Course checkout now freezes its original Stripe account, mode, quote and exact

request atomically before provider creation. Exact same-key retry is bounded to 23 hours; older uncertainty remains review-only. Account changes cannot silently create a replacement charge. Failed identity attachment retains the original attempt and withholds checkout rather than cancelling or deleting it.

  • Course recovery reads the original account and verifies the original charge

and refund outcomes before repairing purchased access. Existing paid/refunded local finalisers can recover without today's Stripe connection. Historical failed/deleted rows do not silently close review findings; this is not a scan of every already-paid historical purchase for missing refund events.

  • Portal invoice history retains original currencies and refund labels. External

event review responses are not presented as confirmed entry success.

  • Standalone invoice results distinguish full and partial refunds from paid and

zero-balance invoices; terminal invoices no longer advertise card checkout. Platform checkout returns show a neutral hint until server billing state loads.

  • Event checkout freezes the original account and quote through confirmation,

invoice and refund recovery. Unknown legacy attempts remain on hold.

  • Eligible GoCardless notifications now have atomic per-engine handoffs and

independent recovery. Stale queued notices are suppressed; unknown delivery attempts require review. Missing-webhook financial discovery stays silent.

  • Ambiguous shop reservation responses now report unavailable rather than

incorrectly claiming that an item is out of stock.

  • Enrolment processing, payment-received/finalisation and refund-review responses

now show a neutral hold instead of a retryable payment error. Further collection is blocked in the current view; explicit card/field failures remain retryable. The later return batch above restores its saved state on refresh as well.

  • Waitlist checkout now distinguishes refund pending, review and confirmed

outcomes. Processing/unknown results remove Pay; a known payment can be checked again without reconfirming it. Unknown responses without a payment reference offer contact guidance only. No unsupported no-charge or automatic-refund claim.

  • The owner approved retained course attempts and equivalent atomic safety

assertions in place of obsolete delete/cancel-on-uncertainty mechanics. The focused course/shop corrections are integrated. The local release checkpoint passed: 18,569 tests, three pre-existing skips, audit/types/scanners/lint/build; the critical pack passed 500 tests and the new return-browser pack passed 118 synthetic groups. Details are recorded in the payment remediation ledger. Remote CI has not run for this local correction wave. This is not closure of the full payment audit: retained legacy/provider cases, the permission-gated additions above and real provider/device checks remain.

  • Eleven additive SQL units and postflights are prepared; all remote application

is pending. Nine require reviewed SQL before matching callers; event checkout and shop checkout claims instead need code-first, old-handler drain, then SQL windows. Old event links remain review-only; do not combine those two units into the pre-deployment bundle.

  • Eight disposable payment rehearsals are included in CI. No new environment

setting, activation, charge, refund, cancellation or real message was performed.

  • The live £39 renewal has not been modified or retried. Its current provider

outcome and webhook delivery evidence are still required from the owner.

Dependency maintenance and platform tooling

  • Dependency generation now keeps the PostCSS security override aligned with its

direct version. The updated dependency tree includes Supabase compatibility fixes and reviewed Next/Sentry security expectations. Fresh production and development dependency audits report no advisories.

  • Refreshed staff sessions retain all cookie chunks and cache-prevention headers

across redirects and authority errors. Authentication and MFA decisions remain unchanged. Background API audit writes use a bounded runtime lifetime.

  • CI uses current pinned action releases and rejects artifact digest mismatches.

Existing test lanes and payment rehearsals are preserved. Routine action updates are grouped for review. The bundle-analysis command now uses native Turbopack analysis, and unused legacy packages have been removed.

  • These changes add no SQL, environment setting or activation requirement. The

payment rollout above remains unchanged; GitHub CI and live provider checks still need their own evidence after publication. The dependency and technology report records the investigation, corrections and verification limits.

Student loading and development checks

  • The student directory loads profile code when a member is selected, with a

visible loading state. Direct profile links and directory refreshes are retained.

  • CI reports development-tool advisories alongside the existing production audit

gate and saves dashboard/student initial JavaScript measurements.

  • Local development and CI share Node 24 and npm 11.11.0 configuration. The owner

confirmed that Vercel is configured for Node 24; no deployment setting was changed.

  • Required browser checks exercise session cookie refresh and redirect retention.

The pinned Supabase installer is updated after an isolated local rehearsal, keeping the same CLI and all payment rehearsal commands.

  • These improvements add no remote SQL, payment action or feature activation.

The payment rollout order and pending-renewal safeguards above remain in force.

Payment SQL handoff

  • The eleven pending payment SQL units are now available as two complete SQL

editor files with verification included: nine units before deployment, then event and shop checkout after the matching code is deployed and both old handlers have drained. See docs/database/payment-reliability-bundles-2026-09-10.md.

  • Each phase rolls back as a whole on failure. The first phase refuses to run

after the second so it cannot replace newer shop checkout protections.

  • Payment logic and historical payment data are preserved. The owner still

applies remote SQL; no remote application or feature activation occurred.

Staff payment review and Stripe configuration

  • Settings → Payments now looks up a saved requirement payment by REQ reference

or Stripe payment ID, showing the member, requirement and renewal period. Effective billing.state.view controls reads; the new auditable billing.payment.reconcile capability controls recording verified evidence.

  • The recovery action checks the original frozen account, exact amount and

payment identity, charge/refund history and current renewal cycle before using existing atomic settlement. It creates no payment and does not process credentials. Legacy, conflicting, refunded or disputed attempts stay held. Existing durable follow-up work can later send ordinary notifications.

  • Additive requirement-payment-reference-lookup-01.sql and its postflight must

be owner-applied before the new lookup is usable. This is a separate read RPC and two indexes; do not rerun the earlier predeploy bundle after postdeploy.

  • Platform Health has an explicit super-admin-only read-only Stripe diagnostic:

account, event coverage, version and configuration gaps. Feed scope, signing secrets and actual delivery remain separately verified. Optional expected account IDs and the exact URL override are documented in the operations guide.

  • A bounded requirement recovery cron runs every 15 minutes after deployment;

broad provider discovery stays daily. Fresh charge/refund proof also protects that existing recovery path. No remote SQL, deployment, provider configuration, payment, replay or notification was performed as part of the local changes.

Additional Stripe lifecycle and refund accounting safeguards

  • Platform invoice payment failures and required customer actions now refresh

current subscription state through the existing ordered observer. Delayed failure events cannot directly overwrite a recovered subscription.

  • Refund-created and refund-updated events wake only exact existing refund

operations. Current PI/charge/refund evidence is required before generic invoice finalization. Unknown dashboard refunds are not adopted as operations.

  • A new atomic invoice observer prevents cumulative webhook totals and refund

finalization from counting the same money twice. A shared generic finalizer hold retains ambiguous historical/second-refund cases until observation succeeds. Existing external-event authority and subject cancellation policy are preserved.

  • The additive generic-invoice-refund-observation-01.sql and its postflight are

SQL-first. Deploy matching code and drain old handlers before subscribing to the extra events (Connect target 12, Platform target 17). Never repeat a refund to clear an accounting hold. Existing Reconcile cannot create missing observation.

  • Charge IDs are opaque, including PayByBank py_ IDs. Exact account, amount,

payment, captured and refund checks remain required for renewal recovery.

  • The owner-authorised Ardent Edge Connect and Platform destinations were created

separately from local development. New secrets were owner-saved, but a later signing-secret exposure requires rotation before release; see the operator handoff. No push, deployment, remote SQL, charge, refund or real send occurred.

  • Final local release verification on 2026-09-11 passed 18,965 tests with three

pre-existing skips, both TypeScript checks, zero production advisories, all scanners and production build. Lint retained zero errors/1,264 warnings. Critical verification passed 511 tests; the copied refund SQL passed 37 isolated checks. Remote CI, SQL and deployed provider verification remain separate.