Project Log

Khadija's Learning System

A running record of what changed in the tracker, the placement test, and the plan itself. Newest first.

Updated 19 Jul 2026 7 entries

Open actions

Log

19 Jul 2026 Build

This page

Set up a permanent link for project updates. Build changes and plan revisions get posted here, newest first, so there's one place to check rather than digging through chat history.

The link never changes — it updates in place.

19 Jul 2026 Build

Moved to a real database — Cloudflare D1

The tracker went from device-local storage to a proper backend. Her tablet, your phone and any laptop now see the same records.

It stays offline-first, which matters at the mosque: entries save locally with no signal and push automatically when the connection returns. The pill in the top right shows Saved, Saving or Offline.

Sync merges rather than overwrites, so two devices used offline at the same time both keep their entries. Access is a single family passcode with a 90-day session, so she isn't typing it daily.

Verified against a live database: unauthenticated requests are refused, forged session cookies are rejected, resending data creates no duplicates, and an entry written while offline reached the server on reconnect.

Whenever the front end changes, bump CACHE in sw.js. Skip it and already-installed devices keep serving the old cached version, so changes appear to do nothing. Not needed for API changes.
19 Jul 2026 Build

Ready to host on Cloudflare Pages

Packaged the app for the free tier: installable to her tablet's home screen with its own icon, opens full-screen, and works with no internet.

Added strict security headers so nothing third-party can ever run in an app she uses daily, and a noindex tag so it won't appear in search results.

19 Jul 2026 Revised

Placement test rebuilt with a proper upper range

The first version had only five questions above Year 6 — so for a child already working ahead, it couldn't tell Year 6 from Year 8. The result would have hinged on a single question.

Now 50 questions spread across Years 4 to 8, and the placement logic was checked against five simulated ability levels to confirm it actually discriminates. Every numeric answer in the key was machine-verified.

The report names every topic she missed — that list becomes the teaching plan.

19 Jul 2026 Plan

Hifz tracking rebuilt around her actual madrasah book

Seeing the Manchester Central Mosque Academy book corrected several assumptions. The most important: her madrasah says dhor, not manzil. The app and the plan documents now use her terminology throughout.

Also added, to match the book exactly:

  • A mistakes count for each stream separately, as the book's M columns do
  • The teacher's daily points, replacing invented ones
  • Days absent, teacher comments, and the weekly view laid out like the book page so you can check the two match before signing
  • The juz tracker from the back of the book — started, completed, total days
  • The madrasah's own Memorisation Timescale Chart, alongside a projection adjusted for the 10 juz she's already done, since their chart assumes starting from zero

Entry is now one daily record rather than three separate logs — under a minute each evening.

19 Jul 2026 Build

First tracker app

Hifz logging with a 30-juz health map, maths logging against a GCSE countdown, a reading shelf, and a Chase-style quiz engine with four banks — prophets and Islamic history, world history, general knowledge, and generated mental maths.

The juz map is the part that earns its keep: it colours all 30 juz by recent mistakes, and shows in pale purple any juz she's memorised but never logged revision for. That decay is invisible in a paper book.

19 Jul 2026 Plan

The plan, in five documents

Weekly rhythm, hifz system, the 23-month GCSE maths roadmap to June 2028, and reading and enrichment.

The capacity analysis produced two findings worth repeating. Weekday evenings are unavailable — she wakes at 05:30 and must sleep by 20:00, so anything after 19:30 comes out of her sleep, and tired sabaq costs more than the maths gains.

And the mosque car journeys are what makes the plan fit: 50 minutes each way, five days a week, currently empty. Without them the maths hours don't add up to a GCSE.

The standing risk: dhor is the bottleneck, not sabaq. One hour a week against 10 juz means each juz is revisited roughly every ten weeks — too slow for retention. Dhor in the car home would turn that into a two-week cycle at no cost to the schedule.