Back to the AllSorted website

Changelog

What we shipped, when. Newest first.

Clearer attendance, referrals and platform billing

30-08-2026

What's new

Member Requests can require staff approval

  • Staff can send a named request to one member, a household or a selected group

asking for a membership choice, household-details check and/or regular-class selection. Progress is tracked as awaiting response, awaiting approval, completed, rejected, cancelled or overdue.

  • Each request can either apply valid changes immediately or hold genuine

changes for authorised staff approval. Confirming that nothing changed completes immediately and does not create unnecessary review work.

  • Reviewers see a dedicated approval list. Rejecting requires a clear reason

which is shown to the member; rejection never changes membership, contact details or regular classes.

  • Member Request automations can notify households when a request is created,

submitted, approved, rejected, completed or overdue. Proposed phone/address values never enter automation or audit payloads and expire after 30 days if they are not reviewed.

  • Automation wording is now frozen when each event occurs instead of being

rebuilt from a later request state. A created notification is emitted once per household request and lists all included action types. Temporary claim failures stay queued for a safe retry, while an unknown provider outcome is held for reconciliation rather than being sent twice.

  • The overdue scan now skips identities already present in the durable outbox,

so more than 500 older requests cannot permanently hide later work. Cron backlog reporting uses an extra-row sentinel and no longer claims the queue is empty merely because one processing page completed.

  • Expiring-membership requests are optional and off by default. When enabled,

they are generated once for the exact membership/end-date cycle and never assume which replacement membership the household wants.

  • Staff approval, member submission and cancellation now share the same

household-first locking order, preventing a simultaneous response and review from deadlocking. One invalid expiring membership is isolated and reported without preventing later clubs or already-queued notifications from running.

  • Retries are now accepted only when the exact action-specific response matches;

changing a plan, contact answer or class list on the same completed/submitted request returns a clear conflict rather than a false success.

  • Class choices are rechecked against the live timetable and the member's class

allocation before approval. Moving a member to another household cancels and removes their name from the old household's outstanding class request.

  • Large request batches now show exact progress rather than stopping at an API

row ceiling. Request history, the approval queue and previous portal decisions have clear Load more controls, while current member actions remain visible.

  • Viewing proposed phone/address changes now creates a privacy-safe audit event;

the audit stores only how many submissions were viewed, never their contents.

  • Apply supabase/_proposed/portal-member-requests-02.sql, then

supabase/_proposed/portal-member-requests-03.sql, after the existing portal household-actions and lesson-capacity authorities, then require PASS from supabase/_verify/portal-member-requests-postflight.sql, before deploying this application code.

Households can resolve membership choices in the portal

  • Staff can offer a household a controlled list of compatible membership plans

instead of assuming which plan they want after a timetable or pricing change.

  • While a response is pending, the portal shows a temporary Action needed

destination with a count, a reminder and separate Choose your membership and Check your household details tasks.

  • The optional data check lets households confirm or correct their phone number

and address. Their portal email stays read-only so a contact-data check cannot silently change a sign-in credential.

  • Staff can see that a response is outstanding and cancel the request without

changing the household's current membership.

  • Apply supabase/_proposed/portal-household-actions-01.sql before using the

staff request. Until it is applied, the portal feature remains hidden and the staff mutation fails closed.

Birthday alerts can use any configured channel

  • Birthday automations now evaluate members who have a date of birth but no

email address.

  • Admin-only Telegram and member SMS actions can still run for those members.
  • An email action without a usable destination is visibly skipped in the run

log and never calls the email provider; other actions continue normally.

Missing-in-action attendance now counts catch-up sessions

  • Choosing a programme narrows which members appear in the report; it no

longer narrows what counts as attendance.

  • A Present or Late mark at any session in the same club—including an ad-hoc

or catch-up class—clears that member from MIA.

  • Ad-hoc sessions can now be attributed to a programme for reporting, while

still counting as club-wide attendance.

Club referral links are self-service

  • Authorised club administrators can create their club's referral code from

the existing Refer a Club settings page.

  • The server always takes the club from the signed-in session; a browser cannot

create or read a code for another tenant.

  • Approved referral credit can now be applied to the club's AllSorted Stripe

customer balance once the SQL authority is installed and the rollout flag is enabled.

  • A retry now reconciles the exact Stripe customer-balance transaction before

creating anything. Ambiguous, changed or repeatedly failing credits stop in an operator-review state instead of risking a duplicate or blocking newer referral credits.

  • Platform administrators can now see those held credit applications in the

referral console, including the club, exact credit, amount and hold reason.

  • After checking Stripe, an administrator can either release a proven-absent

credit for a safe retry or record a compensated provider credit as closed. Both outcomes require an evidence note and are revalidated by the database authority before the operation moves.

Simpler AllSorted subscription upgrades

  • Platform administrators can choose a configured plan on the club record;

Stripe customer, subscription and price identifiers are resolved and checked by the server.

  • The upgrade writes the established Starter/Pro/Scale product subscription;

the separate founder/paid/paused/cancelled account lifecycle remains intact.

  • Upgrades take effect immediately with Stripe proration. Downgrades and

currency or billing-interval changes remain deliberately blocked in this workflow.

  • Pricing setup can create and bind the Stripe Product and Price directly when

a plan has not yet been connected.

  • A platform administrator can now reconcile a pending plan change from the

club record. AllSorted reads the exact Stripe item back: an applied change is settled, an unchanged item is safely released, and any third state remains blocked for review.

  • Pricing creation now rejects fractional minor units, non-GBP platform prices

and duplicate current tier/interval rows before creating anything in Stripe.

  • Plan upgrades now update Stripe's billed price and canonical plan metadata in

the same provider request. Subscription webhooks independently verify exactly one Starter, Pro or Scale price line before changing entitlements, so stale metadata or ambiguous base lines are held for reconciliation instead of silently reverting a club's tier. Separate module and vertical add-ons remain independent.

Attendance-report MIA contract simplified

  • Programme filters still narrow which current members are considered, while

attendance recency always comes from every Present or Late club session.

  • The report no longer performs or retains a contradictory programme-specific

attendance calculation after the complete club-wide read-model has loaded.

Deployment note

  • Follow docs/database/platform-growth-billing-deployment-checklist-2026-08-30.md

before deploying this application code: apply the two original SQL units, then supabase/_proposed/platform-referral-credit-reconciliation-02.sql.

  • Keep REFERRAL_STRIPE_CREDITS_ENABLED off until the Stripe test-mode smoke

checks in that checklist pass.

Update — 2026-08-29

29-08-2026

29 August 2026

Clearer automation drafts and publishing

  • Automation builders now show one unambiguous next action. New edits are saved

as a draft first; a complete saved draft then offers Publish automation or Publish changes. A clean live automation simply shows Published, rather than asking the club to save a draft that does not exist.

  • Preview always uses the exact saved version named on screen. It is temporarily

unavailable while there are unsaved edits, and an older preview disappears as soon as the automation changes.

  • Publish readiness now checks trigger conditions and reminder timing as well as

the event and action steps. A blank condition, zero-length reminder or unknown event cannot be made live through either the screen or a direct request.

  • Switching between Simple setup and the Advanced builder preserves the same

draft without falsely reporting an edit. Names are visibly editable, condition controls use appropriate operators and accessible labels, one-day delays read naturally, and Pro Shop triggers have their own category.

  • Every available trigger now has a separate Starts when explanation that

names the exact committed action or scheduled processor which causes it. The membership labels now match their real scope: insurance renewal confirmation, household-plan pause, cancellation scheduling and plan-change confirmation are no longer presented as general member-status changes.

  • Scheduled member-status changes are explicitly described as running only when

the due status step is applied. Saving or cancelling the future schedule does not send a status-changed automation.

  • Household plan-change messages now receive the target plan and the actual

requested effective date (or “next billing period”), rather than the old plan and the date the schedule was created. Pause copy also correctly describes the supplied date as the end of the hold.

Requirement-specific renewal payments

  • Each annual requirement can now choose one collection route: track only,

household invoice, or member portal card payment. A requirement cannot use both invoice and portal card collection, preventing the same renewal from being collected twice.

  • Clubs can name the paid state and choose a compact colour and icon for it.

The same accessible badge is shown in Settings, the staff member profile and the member portal, so labels such as Insurance paid — awaiting processing or Licence paid refer to the exact requirement rather than a generic member-wide flag.

  • Payment evidence is now keyed by requirement UUID, member and renewal cycle.

Multiple programmes and multiple annual requirements therefore keep separate paid and processed states. Replays return the original record instead of creating a second payment state.

  • Portal-card setup now derives its Stripe idempotency identity from the durable

renewal token, not the browser's event label. The two legacy labels therefore resolve to one PaymentIntent, and an existing different provider pointer is never overwritten.

  • Staff processing and provider settlement now take the same requirement,

member and cycle fence before any row lock. An offline action racing a card settlement cannot deadlock or poison webhook retries: the payment is attached to the one durable record and a late arrival is marked for reconciliation without reviving a cancelled or refunded renewal.

  • The member portal now lists all applicable annual requirements, shows whether

each is club-managed, invoiced or payable online, and only opens card payment inside that requirement's own renewal window. Staff can process a paid renewal or record an approved offline renewal from the member profile.

  • Requirement automations can select an exact requirement from a named list and

receive its UUID, programme scope, collection method and paid-status label. Existing insurance-renewal automations remain supported during migration.

  • Existing published automations that used the old contains operator on

status, Direct Debit, gender or bulk-opt-out fields continue to execute. New drafts retain the stricter operator choices. The requirement event-key cutover also recognises the former key, preventing a first-deploy duplicate renewal message.

Faster complete CI evidence

  • Full CI and the security gate now execute against the proposed PR merge and

can still be repeated manually, but no longer rerun after that same merge reaches main. Superseded commits on one PR are cancelled automatically. Releases must use Create a merge commit; direct pushes, squash merges and rebase merges are outside this evidence contract.

  • Database rehearsals remain mandatory on every pull request, but now run as

two exact, isolated rehearsal shards while the database test class runs on a third fresh stack. All 29 rehearsals still execute exactly once.

  • Fast template restores now hand the stack back after one authenticated,

JSON-validated clubs table read. Full resets and fallback resets retain the five-consecutive-green restart gate. This removes repeated idle waits without weakening the restart-race protection.

Role-specific requirements and member references

  • Annual requirements can now apply to every member or to selected club member

types. Programme and member-type scopes work together, so clubs can separately track student insurance, instructor insurance, DBS checks, first-aid courses and volunteer credentials without showing or charging the wrong people.

  • A requirement can define one labelled member reference, such as **British

Taekwondo membership number**. Staff maintain the value against that exact member and requirement; it is not stored in a shared or ambiguous member field.

  • Staff can correct a recorded expiry date, last-renewed date or reference value

from the member profile. This correction does not create a payment, invoice, renewal ledger entry or automation event; Mark renewed remains a separate, explicit action.

  • The Members screen can filter by an exact requirement and its Not recorded,

Valid, Expiring or Expired state, then sort the selected requirement by its recorded date. Applicability is calculated from the same programme and member- type rule used by the portal, nightly engine, attendance blocking and owner actions.

  • Editing an existing annual requirement now opens a focused page instead of

expanding the full editor inside the settings list. A consistent top-right Back to annual requirements action returns to the matrix; quick creation and presets remain available from the matrix.

  • Requirement cards keep their complete programme and member-type scope visible

on narrow screens instead of truncating the applicability rule.

Member types on registers

  • Club-defined member types can identify which people may appear as lesson

leaders or helpers. Register setup reads those definitions from the same tenant-scoped authority used by Settings, so labels such as Coach, Instructor or Volunteer are not hard-coded and another club's people cannot appear.

  • The register continues to support the previous leader/helper setup while the

newer member-type directory is being deployed. Once the SQL authority is present, the richer role labels and choices are returned in the same setup snapshot without an extra browser request.

Programme-specific trial journeys

  • Trial configuration now has its own Trial Settings destination instead of

being mixed into Club Details. The club keeps one main public trial link, and can also copy a programme link that opens with that programme selected.

  • Each programme can inherit the club defaults or define its own booking status,

audience, wording, confirmation copy, accent colour and visual style. A club with several active programmes asks the visitor what they want to try before showing suitable classes; a class-specific link derives its programme where possible.

  • Trial questions now use the versioned Form Builder. Clubs can publish one

club-wide Trial form and override it for an exact programme without replacing the capacity, closure, guardian-consent or booking authority underneath it.

  • Opening questions from Trial Settings now carries an explicit club or

programme scope. An inherited programme starts an independent programme form family; it cannot silently retarget or replace the published club default.

  • Programme trial links and preview/copy actions remain fully readable and

tappable on narrow screens, including long public URLs.

  • Public and staff bookings durably record the chosen programme. Shared classes

require an explicit programme choice in multi-programme clubs, and enrolment invitations inherit that attribution without using email as identity or guessing from a programme name.

  • Disabling online trials for one programme removes only that programme from the

public chooser. Historic bookings remain readable and rescheduling preserves their programme rather than silently moving them across programme boundaries.

  • Member types now use durable keys with editable display labels. Renames are

reflected in member profiles, filters and exports; archived types remain readable for existing assignments and settings warn when requirements still target them.

  • Requirements can be exported for selected members and selected requirement

definitions as CSV or Excel. The export is tenant-scoped, formula-safe, size-bounded and withheld unless its durable safeguarding audit succeeds.

  • Existing legacy credential configuration remains editable from Member Types

while clubs move tracking to Annual Requirements, avoiding a headless or destructive evidence migration.

Deployment note

  • The automation-builder UI work itself needs no environment or feature-flag

change. The requirement-specific payment state is SQL-first: apply configurable-credential-renewal-01.sql, then requirement-renewal-authority-01.sql, before deploying its application code.

  • Role-specific requirement targeting and editable references are also SQL-first:

apply member-type-directory-01.sql after its register-snapshot prerequisite, then apply requirement-member-types-and-details-01.sql after the renewal authority and review its four-boolean postflight before deploying the follow-on code.

  • After configuring Creative Ways' exact insurance requirement, the owner may

run requirement-renewal-legacy-insurance-backfill.sql with that requirement's UUID. The script never guesses by name and ends with a legacy/canonical census for review.

  • After applying the renewal authority, capture the fresh production function

census before refreshing the production authority manifest; unapplied functions must never be represented as already live.

  • No new environment variable or feature flag is required for requirements.
  • Programme-specific Trial Settings are SQL-first: after the existing form-

lifecycle and trial-pause authorities, apply trial-program-settings-01.sql and require every row in trial-program-settings-postflight.sql to pass before deploying callers of book_trial_booking_v5 and move_trial_booking_v5. No new environment variable or feature flag is required.

Update — 2026-08-28

28-08-2026

28 August 2026

Safer member links

  • Portal sign-in and account-activation links now open a confirmation page

without consuming the one-time credential. The credential is used only when the member deliberately continues, preventing email security scanners from invalidating a valid link before the member opens it.

  • Confirmation pages prevent caching and referrer leakage, and malformed,

expired or replayed credentials still fail closed.

More predictable learning pathways

  • Opening a member's learning pathway is now read-only. Any LMS completion

synchronization is performed through an explicit protected write, while the page still updates automatically when it detects that the recorded pathway and completed course evidence differ.

  • Portal course purchases, packages and progress writes now honour the active

member's module, programme and current-stage access before payment or progress state is created. Existing subscriptions remain visible when access changes so a household can still manage or cancel them, including archived packages that remain billable. New and temporarily paused members now use the same canonical status rules as the rest of the member portal.

  • Demo clubs can continue to view published forms without creating persistent

responses, members, activity or automation records.

Clearer feature access and assessment controls

  • Smart Planning and Video Reviews are now enforced by the server as well as

hidden in the interface when a club does not have the module.

  • The Register page now hides its lesson-plan card when Smart Planning is not

enabled, so it no longer advertises an action the server will refuse.

  • Assessment scoring now combines colour with cross, warning and check icons,

accessible names and selected-state announcements. Touch controls remain comfortably sized, while the desktop matrix stays compact.

  • Form Builder dialogs now trap keyboard focus correctly. Smart Planning's

mobile steps show overflow cues and keep the active step in view, member lists sort consistently by surname, and several small mobile actions have larger tap targets.

More truthful public and operational states

  • Returning from GoCardless no longer claims that setup succeeded before the

provider webhook confirms it.

  • The enrolment-complete screen now proves the completed enrolment from the

server before showing success, and no longer places member names or internal identifiers in its URL.

  • Active clubs are redirected away from the suspended-billing screen, and a

future trial end is no longer described as an expired trial.

  • Email health no longer reports “ready” when the Resend domain check is

unavailable or the domain still needs attention.

Faster, safer staff data loading

  • Returning to the Households directory now restores the last same-club result immediately and

refreshes it in the background. If that refresh fails, the previous result stays visibly marked as older instead of disappearing or looking current.

  • Once the accompanying Household read-model SQL is applied, large Household directories load in

exact server pages instead of transferring the whole club at once. Search, filters, summary counts and both member-assignment pickers remain complete across every page; malformed or failed reads show as unavailable rather than an empty family list.

  • Member directory refreshes now update one stable same-club cache entry instead of retaining a

separate whole-directory payload after every profile edit. Confirmed member and household changes continue to request fresh server data, and switching clubs still clears the session cache.

  • The public website now lives at /, while signed-in club operations have a

dedicated /dashboard address. Sign-in, onboarding and staff navigation all use the same destination without adding a second navigation shell.

  • Staff startup now uses one guarded server snapshot for club access, role,

modules, terminology and shared reference data instead of a browser fan-out. Explicit club switching remains separately authorised.

  • Dashboard membership, programme-lens membership, Today, attention and

contactability data now revalidate through one guarded request. Selected programmes are proved against the signed-in club and incomplete lens reads fail closed; optional failures stay visibly unavailable and cannot erase a valid core dashboard or appear as reassuring zeroes.

  • Member profiles now make one initial snapshot request instead of immediately

invalidating it and requesting the same data again. Saves and other explicit changes still refresh from the server.

  • The dashboard now waits for shared club reference data before calculating its

figures, and an older club or programme request can no longer replace the latest view if it finishes late.

  • Dashboard figures are now committed to their exact club and programme before

they can be shown, so switching context cannot briefly display the previous club's totals. Failed reference or dashboard reads stop loading with a clear unavailable message; same-club last-known-good figures remain visibly marked instead of being replaced or cached as believable zeroes.

  • Register setup now starts its independent staff, lesson, rank and event reads

together. A failed core read now stops with a retryable unavailable message instead of looking like an empty register; the optional staff picker remains non-blocking.

  • Public marketing effects and authenticated staff navigation now load only on

the screens that use them. Once the signed-out home view is resolved, its text is independent of the decorative 3D download; reduced-motion visitors do not download that scene, and background-tab safeguards remain in place.

  • The signed-out landing page now keeps a page-shaped fallback while its

separate marketing bundle loads, rather than briefly becoming blank.

  • Register, calendar and event opening states now use their matching page

skeletons, making progress clear without briefly showing an empty screen.

More trustworthy high-volume totals

  • Member, finance, product-sales, feedback, SMS and portal reports now load every

available page instead of silently stopping at the database API's first 1,000 rows.

  • If a report reaches its deliberate high-volume safety ceiling, it now shows as

unavailable rather than presenting a believable but incomplete total. The member directory keeps its existing clearly labelled partial-list mode and disables exports until the complete directory can be loaded.

  • Dashboard and household fallback reads, today's attendance totals and member portal-access

history now recover records beyond the first database page. Communications adoption uses exact counts, and Class Pulse labels stay club-bound and complete.

  • A failed Class Pulse refresh now removes the cached tile instead of leaving an older score

looking current.

  • Once the accompanying database unit is applied, external-event lists, SMS reply badges and the

dashboard attendance chart use live grouped reads instead of transferring histories or issuing repeated count requests. The existing complete reads remain available automatically until then.

  • Staff pages with several permission-sensitive panels now resolve one fresh, request-local

permission snapshot instead of re-reading the same club and override settings for every panel. Search, Action Centre and external-event detail responses also expose anonymous server phase timings for performance diagnosis without including club, staff or member identifiers.

  • Course audience saves validate all selected programmes in one club-scoped read, pathway lists

batch their entitlement checks, and grading snapshots batch rank ownership and assessor lookups. All three paths still fail closed when an authority read is unavailable.

  • Large pathway/course entitlement lists and grading snapshots now page through every source row.

Grading attendance is grouped in the database when the optional read model is available and is otherwise folded exactly one page at a time, removing the former lifetime-history ceiling without keeping the full history in memory. A failed page returns unavailable instead of a plausible but incomplete roster, syllabus, score, attendance or grading history.

  • SMS dashboard totals now use a fixed-window keyset walk, so new webhook rows cannot shift pages

while a request is running. Only displayed contacts are name-enriched, recent content is limited to staff with the content-view permission, and segment figures are explicitly labelled as retained-body estimates rather than complete historical billing totals.

  • Once the accompanying read-model SQL is applied, the SMS operational dashboard computes its

fixed-window totals inside PostgreSQL and returns only bounded summaries plus 25 recent rows; message history is no longer transferred to the application for aggregation. The weekly attendance read model now also proves the requesting staff member belongs to the session club.

Safer switching and fresher programme lists

  • Switching clubs now waits for the server to confirm access before changing

anything in the browser. A rejected or interrupted switch leaves the current club intact; a confirmed switch clears cached member, register, dashboard and API snapshots before a fresh page is shown. Other open tabs follow the same confirmed club and sign-out boundary.

  • A browser without a remembered club now chooses the same primary membership

in the page gate and every protected action. The next successful startup restores the secure club cookie automatically, while an unreadable membership never falls back to a potentially different club.

  • Staff and member-portal sign-out now reports failures honestly, clears every

local identity cache only at the appropriate authority boundary, and prevents data from the previous account remaining mounted after expiry or a new login.

  • Cross-tab sign-out and club switching now purge caches even when a tab is still

bootstrapping or parked on a portal URL. Old in-flight VAT-policy reads cannot repopulate a newly signed-in club's cache, and ordinary non-session 401 errors no longer sign every tab out.

  • A confirmed member-portal login now clears household caches in every other

portal tab before reloading it, and page caches are scoped to the confirmed club and household instead of a shared pre-authenticated bucket.

  • A temporary reference-data failure no longer replaces known ranks, lessons or

membership plans with believable empty lists. The last confirmed same-club data remains available while the refresh is reported as unavailable.

  • Fresh reference data from staff startup now updates an already-mounted screen

immediately through the same club-scoped cache, without polling or another network request.

  • Programme member lists are invalidated after confirmed membership changes, so

moving or adding a member is reflected without waiting for the cache timeout.

  • Returning to a browser tab now coalesces its focus and visibility signals into

one member-profile refresh, avoiding a duplicate background request while keeping explicit post-save refreshes authoritative.

  • After membership is established, independent club-suspension, role and module

authority reads now start together. Every deny and unavailable outcome remains fail-closed; only the avoidable network waiting time has been removed.

  • The local performance journey now records each completed route immediately and

retains an explicitly incomplete report if the suite reaches its time limit, so a slow run no longer discards all earlier evidence.

  • The remaining browser-native confirmation and alert pop-ups have been replaced

with the accessible AllSorted confirmation and toast surfaces. Consequential actions now state exactly what will happen, rapid duplicate confirmations fail closed, and settings errors no longer freeze the whole browser tab.

  • Scenario names and rich-text links now use accessible AllSorted forms instead

of browser prompts. Link editing keeps safe web, email, telephone, page and section links available, with unsafe protocols rejected before insertion.

  • Confirmations opened from another modal now use the correct nested layer.

Supported actions can run inside the confirmation, keeping failures visible and retryable instead of closing before the operation result is known.

  • Once the second optional live read-model unit is applied, dashboard finance,

programme revenue, Product Sales and Portal Analytics calculate complete live totals inside PostgreSQL instead of transferring invoice, order, session and page-view histories into the application. Browser permissions and club scope are unchanged, integer-pence money remains authoritative, and each caller keeps its complete fallback until the SQL is available.

  • Product Sales date ranges now include the entire final UTC day, including

sub-second orders in its last second, instead of stopping at exactly 23:59:59.

  • Product Sales now keeps historical orders for a renamed product or variant in

one rollup, identified by its immutable catalogue ID and labelled with its current catalogue name. Deleted catalogue items retain a deterministic order snapshot label, so money and unit totals remain complete without duplicate rows after a rename.

  • The optional finance, programme revenue, Product Sales and Portal Analytics

database read models now validate the server-derived staff identity against the selected club as well as accepting only the service role. Their original club-only overloads are removed, direct foreign actors are denied, and every JSON result is bounded before it can reach the application.

  • Portal activity analytics now accepts only bounded member-portal pathnames,

and Portal Analytics displays Unknown for a legacy household with no name rather than discarding the complete database aggregate.

Clearer authority failures

  • The Action Centre now returns a retryable unavailable response when custom

permission settings cannot be read, rather than silently showing a narrower and believable feed. Capability-gated routes use the same fail-closed rule.

  • Existing safeguarding-lead resolution remains intentional: omitted options

resolve the caller's real club setting, while an explicit false value still denies safeguarding-only access.

  • Multiple entitlement sources now agree across single-resource and batched

checks: any valid, unexpired grant allows access; a lapsed row cannot mask a current grant.

Deployment note

  • The optional live-query-read-models-01.sql unit now contains five

actor-bound, service-role-only grouped reads, one locked internal helper and an explicit dependency preflight. External-event entry counts validate the authenticated staff actor as well as event ownership. Apply the unit only through the owner checklist, then require the read-only 6/6 postflight. All application callers retain exact fallbacks, so no feature flag is needed.

  • The optional live-query-read-models-02.sql unit contains four additional

actor-bound, service-role-only report aggregates. Apply it through the owner checklist and require the read-only 4/4 postflight. Application-first and SQL-first are both safe because all four routes reject malformed results and retain complete fallbacks; no feature flag is required.

  • Register setup now arrives in one bounded request, current attendance is

counted in PostgreSQL rather than downloaded to the browser, and realtime bursts coalesce into one final refresh without rebuilding the subscription after each tap. Attendance marking now validates the club, occurrence, lifecycle, lock, programme and package-usage choice in one transaction with deterministic mark-versus-seal ordering; legitimate multi-club staff are accepted through their selected-club access row.

  • register-performance-authorities-01.sql is migration-first. Apply it and

require the read-only 7/7 postflight before deploying its three new route callers; no production SQL or feature switch is performed by the application.

  • Register removal and sealing now share the same occurrence fence, including

after the final low-level attendance revokes. Live attendance failures show an explicit unavailable state instead of leaving an old count looking current, while an unavailable or oversized optional coach list no longer blocks the lesson, rank and event setup needed to use the register.

  • Register package usage again follows the conservative roster rule for any

matching booking history, and malformed recurring lessons with no weekday no longer pass occurrence checks unless they have an exact dated make-up pin. Different-member taps can proceed together, while sealing still waits for all in-flight changes. If the optional coach list cannot refresh, the register now says so without blocking attendance.

Update — 2026-08-27

27-08-2026

27 August 2026

Clearer, more reliable staff setup

  • Invite staff now opens in a focused, accessible dialog instead of

expanding inside the staff list.

  • Staff password links now recover correctly whether Supabase supplies a URL

token, a PKCE code or establishes the recovery session before the page loads.

  • Opening a recovery link is no longer presented as an active account. The

staff list distinguishes Invite pending, Setup started, Setup complete and historical Access used states, and setup links can be resent until password completion is recorded.

More trustworthy registers and event records

  • A sealed register now keeps the exact member record that was submitted. Later

class assignments or membership-status changes no longer alter the displayed official register or its expected count.

  • When an official register is unlocked for correction, its recorded attendance

rows remain visible even if a member has since paused or left; resealing then preserves those facts alongside any newly expected members.

  • Draft events clearly remain drafts and cannot accept members until published.

General events no longer show or store grading targets, while grading events keep each member's explicitly selected target rank.

  • Grading-event rosters now load their promotion steps through the protected

server record, keeping the dashboard and award workflow in agreement.

  • Automatic register closure can now be enabled for one reviewed club at a

time. The platform-wide switch alone cannot close registers for clubs that have not explicitly joined the pilot.

Clearer payment operations

  • Platform Health now distinguishes a reconciliation run that is active,

unfinished, stale, failed, or returned an HTTP error. Failed runs show the persisted category counts and a safe operator reason without displaying raw provider errors or personal/payment details.

Clearer member and import editing

  • Member profile edits send only the fields that changed, so clearing one value

cannot accidentally overwrite unrelated information.

  • A member can now be moved back to “No program”, and class editing keeps its

save controls clear of the floating member-actions button.

  • Data Import reports grading counts from the correct member scope and explains

that mapped class assignments begin immediately.

Planning and navigation polish

  • Smart Planning watch lists count people once, using their highest-priority

concern, instead of counting the same person once per tag.

  • Setup and Smart Planning timetable links now open the current Timetable

settings tab.

  • The lesson timer's exit control remains clickable above the full-screen timer

surface.

Safer AI pilots

  • Smart Planning and Communications writing assistants now stay hidden and

inaccessible unless the platform switches are on and the active club has been explicitly opted in.

  • A club-setting read failure leaves the assistants unavailable and never

reaches the AI provider, so a deployment or database problem cannot silently widen a pilot to other clubs.

Update — 2026-08-25

25-08-2026

25 August 2026

Safer consent, drafts and account changes

  • Club-wide Telegram invitations now respect both Telegram and bulk-email

opt-outs. Suppressed members are skipped before any invitation token or message is created.

  • Old child incident and health drafts no longer survive beyond their seven-day

privacy window when read through the current draft format.

  • Sensitive club identity, reply-to and payment-currency changes now require an

active account and create both application and database forensic evidence.

  • Portal sign-in links are consumed through hash-only storage, so the database

no longer needs to retain usable bearer credentials.

Recoverable payment choices

  • A declined card attempt no longer permanently blocks later invoice collection.

Its exact provider evidence remains recorded while the billing schedule moves forward once.

  • An abandoned, unconfirmed card form can be released before a member switches

to Direct Debit or staff issue a credit note. Processing, successful or uncertain provider states remain blocked for review.

  • GoCardless Success+ retries stay pending until the provider reaches a terminal

outcome, avoiding a second local collection attempt while GoCardless is still retrying the first payment.

  • Nightly Direct Debit collection now safely releases an exact abandoned card

form before collecting, and checks the live GoCardless payment before replacing any earlier failed attempt.

Complete local page-scenario environment

  • Local QA now has a generated catalogue for all 143 application page

templates, including the durable states, actor boundaries, failure cases and end-to-end process branches that can change each page's result.

  • The scenario seed combines the rich multi-vertical club with separate new,

empty, demo, suspended, paused and cancelled clubs plus owner, coach, read-only and platform-administrator personas.

  • Trial-one/trial-two outcomes, event lifecycles, task reminder evidence,

automation states and unsent communication drafts are available as named synthetic fixtures. Loading, race, invalid-token and real-provider cases are honestly labelled for fault automation or separately approved sandbox tests.

  • The seed is hard-gated to loopback Supabase, preserves an existing rich club

unless a destructive reset is explicitly requested, and cannot enable sends or payment collection.

Responsive interface polish

  • Shared dialogs, navigation drawers, menus and the command palette now stay

within short desktop and narrow mobile viewports, own their internal scroll, trap keyboard focus and return focus to the opening control.

  • Repeating-event cancellation, staff trial booking and member editing now use

the same accessible dialog behaviour and cannot be dismissed mid-save.

  • Destructive series choices and assessment invitations now have synchronous

action guards, preventing rapid taps from dispatching the same work twice.

  • Smart Planning filters and programme controls, report selectors, event forms,

student actions and public enrolment controls now wrap cleanly at 320 pixels and use reachable mobile touch targets.

  • Page shells no longer subtract a fixed viewport height beneath variable

banners, preventing the bottom of long screens from being clipped.

  • The visual QA matrix now documents desktop, tablet and four phone sizes plus

long-copy, keyboard, modal, loading/error and reduced-motion checks.

  • Calendar search, grading/event actions and member-editing dialogs now share

the same named, focus-contained and save-locked interaction pattern.

  • Certificate-template fields can be selected, positioned and removed by

keyboard, while certificate downloads recover when a browser blocks a new tab.

  • Segmented page filters now use one keyboard stop with Arrow, Home and End

navigation, matching their visual radio-group behaviour.

  • Assessment comments and invitations now use bounded, save-locked dialogs;

student-video playback and telestrator controls remain reachable on the narrowest supported phones.

  • Calendar closures and member form-link delivery cannot be dismissed while a

request is unsettled. Form links list active programmes without archived progression-system duplicates.

  • No-payment enrolment and Stripe-dashboard actions now recover cleanly when a

browser blocks an asynchronously opened tab.