Naalya Handbook

Audit record

Pinned revisions, what this pass checked, and the backlog for the next pass on the same handbook.

This page is the provenance for the 11 November 2026 handbook pass. Later passes should replace the SHA table when they re-read the repositories, and move finished backlog rows into the history section.

Behavioural claims in the Platform section and in the pages that pass corrected cite these revisions unless a paragraph says otherwise. Older API, Hub, and website pages were not re-verified line by line. Where they still disagree with this record, trust the code at the SHA below and fix the page.

Revisions

RepositoryBranchRoleSHACommit time (UTC)Subject
dev-handbookmainBase this branch started from20f16982aea4911b1e1e87a11975ea03375c5a7f2026-11-11 18:29Merge pull request #12
Naalya-APIstagingEarlier 13 November pin. Paragraphs that still name this SHA were not re-opened.9991a5c7bc43aba704aa484d4b23298e8c4de9062026-11-13 11:04Merge PR #636, typed answers on Rover questions
Naalya-APIstagingTip of staging at 23:02 UTC. Replica paragraphs were read here. GitHub names this branch the default. That is not a deploy.fbb63d5178bcfe171292daebb19b6cbdac025a442026-11-13 23:02Merge PR #637, several API copies
Naalya-APImainProduction branch named in Railway config. Unchanged since the 11 November pinb256209c143a2870795edf347d72993e4a0352b62026-11-10 19:23Merge PR #635 from staging, “release: prod release”
Education-HubstagingEarlier 13 November pin. Paragraphs that still name this SHA were not re-opened.c7143aa1e1ee84775012fbd3b05c37023142902b2026-11-13 11:04Merge PR #443, guest application download and print
Education-HubstagingTip of staging at 23:03 UTC. The editor server label was read here. GitHub names this branch the default. That is not a deploy.9e84f4c33d5f1a9b9ae84bd7f1e66635985040732026-11-13 23:03Merge PR #444, editor server label
Education-HubmainProduction branch named in Railway config. Unchanged since the 11 November pin24747bba86101ca5fc9a664ff6f165f7926352952026-11-10 16:40Merge PR #442 from staging, “release: prod release”
Naalya-WebsitemainDefault branch, protected. Files were read here.d96eec937d68d801c4b0f22ac45ac83e85c1c1292026-10-31 23:01Merge PR #145, teaching-aid voice
Naalya-WebsitestagingBehind main. Not used for this audit.393023ef1a9c4b7a2861d1a9f537b4bdc3fe59d92026-07-13 11:47“Sync staging with main”

On 11 November 2026, main on the API and the Hub was the merge of the then-current staging, and a root listing of each pair matched. On 13 November 2026 staging moved (API PR #636, Hub PR #443) and main stayed at the 10 November release commits, so the trees are no longer the same pair. That is not a live deploy check. See Environments. File reads for this pass used the default branch (staging for API and Hub, main for the website) unless a paragraph names another ref. The website main commit is unchanged since 31 October 2026. The compare a5dff0c2..9991a5c7 changes six worker files: the three staff prompts, ask-user.tool.ts, its spec, and pip.graph.ts. Those are the files behind Adding a local tool. The compare d2d5fe33..c7143aa1 changes the applicant page, its test, the two staff navbars, the print frame, the referral share surface, and the application preview query. Those are the files behind Admissions and recruitment and the navbar paragraph on Portal routes. Every other file cited by a handbook page is identical at the two commits. A paragraph that still names a5dff0c2 or d2d5fe33 was not re-opened line by line in this pass. Because those cited files did not change, the older pin still describes them.

On the evening of 13 November 2026, API PR #637 merged into staging at fbb63d5178bcfe171292daebb19b6cbdac025a44. Hub PR #444 merged into staging at 9e84f4c33d5f1a9b9ae84bd7f1e6663598504073. The paragraphs on Several copies, and the sentences that name those commits, were read there. On 14 November 2026 those two tips were unchanged through 09:05 GMT, and website main was unchanged at d96eec937d68d801c4b0f22ac45ac83e85c1c129. editor-table-menu.tsx and toolbar/font-size-input.tsx were read at the Hub pin. assertValidTiptapContent, editor-schema.ts, and SchemeGovernanceService were read at the API pin. The published @hocuspocus/extension-redis@4.5.0 package source was read from the unpacked tarball. A GitHub compare of production main against those default-branch tips, and of website staging against website main, is below. That compare is not a deploy check. LessonPlanningAccessService, SigningChainService, the lesson-plan and record services’ access calls, toolbar/use-toolbar-state.ts, toolbar/toolbar-state.ts, chrome/bar-parts.tsx, and chrome/presence-cluster.tsx were read at those pins. AssignRoleClassLimitDto, the lesson-plan, record, approval, and share services, the raw audit surface, the four Hub query hooks, and the document-editor toolbar, caret, and print files were read at those pins. cursor-pagination.ts, ScopeLevel, the student, guardian, and guest list services, and the lesson-plan and record-of-work controllers were read at the API pin. The audit panel, assign-role surface, exam-details panel, question card, timetable day-plan and holiday surfaces, and DocumentEditor were read at the Hub pin. The school and campus folder entries, useSchoolHubPages, the role detail page, the audit and people tables, the staff Roles tab, useCampusHubPages, timetable manage, and the scheme, plan, record, and exam editors were read at the Hub pin. People list controllers, assignRole, scheme get and update, timetable get and release, and CBT create and publish were re-read at the API pin. pnpm-lock.yaml resolves @hocuspocus/extension-redis@4.5.0. The package source is not in the commit. The revision table above stays the pin for pages that were not re-opened. Production main was not re-read. Neither merge was watched as a deploy.

Access: the GitHub integration used for the audit could read all four repositories. The cloud agent’s gh credential could read dev-handbook only (Repository not found for the other three). That limitation did not block the read.

On 14 November 2026 at 12:45 GMT, API PR #638 had merged into staging at a30a88580 and Hub PR #445 at b4655217. Both add a Stop for a running Rover turn, and the API also upgrades LangChain (@langchain/core 1.4, @langchain/langgraph 1.7, deepagents 1.16) and pins zod to 4.6.7. The stop route, turn-stop.ts, ChatStreamService.requestStop, and the Hub composer, stream hook, and transcript mapper were read there and written up on What happens on a chat turn. Other pages keep their earlier pins.

At 13:10 GMT the API staging tip was 11a2c8720 (PR #639). It quietens successful calls to five high-traffic routes, adds OTEL_DETAILED_TRACING, and runs prefill jobs 15 at a time. Those files were read there and written up on Error handling and logging and Lesson planning.

On 20 November 2026 the API staging tip was f57b8103547bf5f3a33214e2c814a2e3c1bf1cc0 (merge of PR #662, 04:24 UTC) and the Hub staging tip was 40067f22f8c47874bde85c8bc19369b7db246257 (merge of PR #461, 04:39 UTC). Website main was still d96eec937d68d801c4b0f22ac45ac83e85c1c129, with no commits since 14 November 2026. SchoolController was re-read at the API tip and matches School settings. There is one page for those routes. A draft "My school" page never reached main, nothing links to it, and src/start.ts only redirects a markdown-preferred request, so no second address was added. school.service.ts was not re-opened. The WhatsApp wait, the superseded reply, and the background-piece save were read at the API tip and written on Queues and messaging and Chat threads and files. The class day-plan switch and the own-lesson panel were read from Hub commits 697267fc78 and b0abcdc36e and written on Timetable. Those files were not opened again at the Hub tip. Later the same day, folder teaching, document and deck playbooks, knowledge-base cards, proposal previews, operator school create, suspend, and impersonate, the clinic webhook body, the timetable service, and the Rover job routes were written from that API tip. No commits landed on the API, Hub, website, or handbook default branches between 17:30 UTC and the 19:47 pass. At 20:55 GMT those tips were still unchanged since 18:30 UTC. Lesson create, one-week changes, and lesson context were written on Timetable. At 21:51 GMT the same tips were still unchanged. The Rover announce processor and the job RPC handlers were written on Chat threads and files. At 22:46 GMT those tips were still unchanged since 16:00 UTC. provisionStaffUser was read at the API tip and written on School operations. At 23:46 GMT the same tips were still unchanged. The staff one-time-code service was read there too. On 22 November 2026 Hub staging moved to 7d078e35d6ee086f043455b0cdf882a7fde293c0 (merge of PR #462). Download progress for a file preview is on Chat threads and files. Other Hub screens were not re-opened. No host was requested. On 24 November 2026 Hub staging moved to fb4a140c (PR #464), and at 03:57 GMT Hub main moved to b791c665 (PR #465), the same tree. Word and audio previews are on Chat threads and files. A merge to main is not a running deploy.

No application repository was modified. No deploy was run. No host was requested over HTTP. Commands in the new pages are unexecuted unless a page says otherwise. On 14 November 2026 the Railway control plane was read for the Naalya-API replica count. That read did not request a school host, and no variable value was copied into this handbook.

Evidence index

Paths are in the repository named in the first column. Symbols are the ones the pages rely on.

TopicWhere it is implementedHandbook page
API apps and prefixNaalya-API nest-cli.json, apps/server/src/main.ts bootstrapSystem overview, Architecture
Env schema and example filelibs/shared/src/config/env.config.ts envSchema, .env.example, Taskfile.yml task envGetting Started, Config & Environment
Several API copiesinstance.ts, collab-sync.extension.ts, pip-request.store.ts, shared-throttler.module.ts, .railway/environments.ts apiReplicas, and @hocuspocus/extension-redis@4.5.0 src/Redis.ts, package-source-inspected from the published tarball, not runtime-tested. Hub editor label at 9e84f4c3Several copies
Compose servicesdocker-compose.yaml, docker-compose.dev.yamlGetting Started
Auth, 401/403/404apps/server/src/app/auth/* guards, JwtStrategyAuthentication
Magic link and OTPMagicAuthController, MagicLinkService, OtpAuthController, LoginOtpServiceAuthentication
Permission pairsRESOURCE_CONFIGS, isValidPermission, AbilityFactoryService platform-admin branchPermission registry
EnquiriesEnquiryController, EnquiryLinkController, EnquiryStatsQueryDtoEnquiries
ask_user typed answercreateAskUserTool default forceOther: true; Pip passes falseAdding a local tool
TemplatesTemplateController, PlatformTemplateController, TemplateServiceTemplates
User record routesUserController, UpdateUserDto, assertCanDeleteUserUser lifecycle
Records retentionRecordsRetentionService, CronJob.RecordsRetentionSecurity, Operations
Railway secret names.railway/variables.ts preserve, infra/README.mdWhere They Live
Paginationlibs/shared/src/database/pagination/ CursorPaginationQueryDto, CursorPaginatedResultHTTP surface
Error bodyAllExceptionsFilter, ErrorResponseDtoHTTP surface
Controller prefixes@Controller on apps/server and apps/ehrHTTP surface
WebhooksSocialConnectionWebhookController, TeamsInboundController, NaalyaEhrWebhookController, SchoolPayInboundWebhookController, MicrosoftSyncController.webhook, EHR webhook-signature.tsHTTP surface, Security, SchoolPay inbound
SchoolPay inbound and pullSchoolPayInboundService, SchoolPayInboxController, CronJob.SyncSchoolPayTransactionsSchoolPay inbound
Ability branchesAbilityFactoryService.buildAbility student, guardian, and staff casesThe ability
Teams message purgeTeamsMessagePurgeService RETENTION_DAYS 90, column sent_atSecurity
Railway redeploy taskTaskfile.yml task redeploy-railway, scripts/redeploy-railway-services.shGetting Started
Hub portal layoutsEducation-Hub student/route.tsx, guardian/route.tsx, staff-hub/school/route.tsx, staff-hub/campus.$campusId/route.tsx, canAccessCampusPortal routes
CBT HTTPCbtStudentController, CbtExaminationController, CbtExaminationStreamController, CbtQuestionControllerCBT operations
Grading HTTPAssessmentController, AssessmentScoreController, GradingConfigController, GradingTemplatesControllerGrading operations
Payment item and transactionsPaymentItemController, TransactionControllerPayment item and transaction operations
Notification types and inboxNotificationType, NotificationControllerSending a notification, The inbox
Staff scopeapplyStaffAbilities, CAMPUS_SCOPE_FIELD, isSchoolOnlyGrantScoping rules
SchoolPay scheduleCRON_SYNC_SCHOOL_PAY default 0 0 * * *, CronProcessor, LedgerProcessor pullAllSchoolPay inbound
Report cardsReportCardController, ReportStatus, ReportAccessService, releasedAt on approve and recall, ReleaseTermReportsSweep, ReportCardReleaseService.queueRenders, config, template, and remarks servicesReports
Payment settlement, receipt, and fee displayLedgerProcessor SETTLE_PAYMENT, LedgerSettlementService.settle, PaymentReceivedNotifier, LedgerStaffAlerts.paymentReceived, LedgerService.getAccount, Hub AccountPagePayment item and transaction operations
Admission audience and fee itemApplicationAudienceResolver, PaymentItemService.findAdmissionFeeItemAdmission payments
CBT student attemptCbtAttemptService.submit, finalize, startOrResume, saveAnswer, CbtStudentAccessService.assertEligibleStudent runtime
Library borrow, desk, and catalogueLibraryBorrowerService, LibraryDeskService, LibraryCatalogueService, Hub LibraryFilesBrowserLibrary
Device pairingDevicePairingService.exchange, DevicePairingStoreDevice pairing
SubjectsSubjectService.create, align, remove, SubjectClassService.assignToStream, CurriculumControllerSubjects
ElectionsElectionService, position and candidate services, assertPositionEligible, Hub ballotElections
CombinationsCombinationService.validateSubjectsCombinations
Timetable release and weekTimetableService.release, listMine, TimetableContextService.context, Hub WeekLessonsGrid, lesson-details.panel.tsxTimetable
School calendarSchoolCalendarEventService.changeDay, SchoolCalendarOutlookService.syncEvent, Hub SchoolCalendarList, SchoolEventDialogSchool calendar
Student resultsStudentResultsService.resultsForStudent results
School reportsensureRun, planTermly, runMonthly, runTermly, generate, collectors, SchoolReportPainterService.paintSchool reports
Website public pagesAdmissions, contact, three campus bodies, landing, about, leadership, updates, blog, education hub, FAQ, LugaziAdmissionFormPublic pages
Notification links read this passHub src/lib/notifications/notification-link.tsTimetable, Reports, Library
Notification channelsNOTIFICATION_CHANNELS, normalizePhoneE164, profile whatsapp_number lookup, notificationLinkChannels, Sending a notification
Hub routes and sessionEducation-Hub src/routes/**, api.instance.tsAuthentication, Getting Started
Website routes and formsNaalya-Website app/routes.ts, submitEnquiry, form-submission.tsThe API client, Forms
Railway branch mapping.railway/environments.ts, Hub .railway/railway.tsEnvironments

Coverage

AreaThis passStill open
Writing rulesNew page, matched to the site’s real front matterNone for the rules themselves
Cross-repo architectureNew explanation with a diagramClinic web app is a separate repository (naalya-ehr was visible in search) and was not audited
Local setupCorrected API, Hub, and website getting-started where they were falseFull click-through of task setup was not run
ConfigurationExample file vs schema called out, with defaults that were readA complete key-by-key table of all cron expressions and every EHR key’s example value is still shorter than the schema
Auth and permissionsMagic-link and OTP operations, five global guards, registry of 46 resources, student/guardian/staff buildAbility branches, applyStaffAbilities, campus, department, class-teacher, class-limit, and subject scope mapsSystem-role seed grants not re-read. How each scope helper builds the CASL condition was not re-read
HTTP referencePrefix map, settlement, getAccount, report cards, library, device pairing, elections, timetable and the lesson panel, calendar including syncEvent, student results, school reports, combinations, subjects, curriculum list, class offerings, admission letters and unlinkDTO field lists a page says were not copied. No committed schools-API OpenAPI file
Hub product routesLayout gates, account display, pay screens, the lesson panel, the campus bursary tables, and the public guardian-card check at /$reference/g/$tokenNo browser session
WebsiteThe 25 manifest entries were counted from app/routes.ts at main d96eec93. Settings, terms, privacy, the seven legacy redirects, and /naalya-ai/* were opened. Terms and privacy are placeholder pages, not a checked policyThe education-hub page draws “Offered”, which is not an API status. GitHub compare of staging 393023ef to main d96eec93 is ahead by 132 commits and behind by 0, with 172 files. Those documented routes are the main tree. This is not a running-host check
TestsRunners and workflow names recordedSuites were not executed. API CI does not run pnpm test in the workflows that were listed
DeployCommitted Railway and Docker config described as configLive deploy state unverified. Website container host unknown
RunbooksBoot, infra, migrations, empty APINo alert catalogue, no escalation contacts
SecurityImplemented controls, known gaps, the 365-day audit/notification delete, Teams purge at 90 days on sent_at, SchoolPay SHA-256 of password concatenated with the receiptNo legal review. The purge and the webhook were not executed
PaymentsSchoolPay inbound, settlement, the payer receipt, the receipt email and WhatsApp text, the staff alert, payLedgerAccount, and the Hub pay and transactions screens. Admit is blocked only when bursary is on and a raised charge is unpaidsettle does not set a retry count. The add in applyOutcome does not set attempts. The email enqueue also sets no attempts
Microsoft syncWebhook and the four developer-role methods match MicrosoftSyncControllerSubscription entity, renewal delays, and enqueueNotification were not re-read this pass
NotificationsChannel table, every Hub link case, and the recipients for records, ledger, library, schemes, lesson plans, admissions, notices, academic reports, year enrolment, and school-report readyTitles other than scheme return and record return stay unquoted. A few earlier emitters (class teacher, enquiry, welcome, payment received) were seen only at the call
CBT and gradingAccess exceptions, start, save, submit, lazy expiry, gradeObjectiveAnswer, and AssessmentGradeSyncService. A student submit does not write the gradebookWhich controller method calls which grading access method was not re-proved one by one
Report cardsStatus machine, the approval snapshot, guardian notice only when releasedAt has passed, recall clears releasedAt, sweep then queueRenders, config, template preview, remarks apply, REPORT_CARD_LAYOUTS, the two landscape layouts, and assertReportYearIsCurrent. findAll uses narrowScope and then isReportInScope for staff. It does not call scopeFilterThe student and guardian releasedAt condition was not re-proved inside findAll. narrowScope was not re-opened

Directory inventory

This is a map of apps/server/src/app at a5dff0c208d5193c274d3d1f87787b55344d5d30, the Hub route groups already listed on Portal routes, and app/routes.ts on the website at d96eec937d68d801c4b0f22ac45ac83e85c1c129. Covered means a handbook page describes a reader task from that code. Partial means a page names the area and leaves a named file unread. Missing means no task page. It is not a method-by-method audit.

API directoryMappingHandbook
auth, roleCovered for magic link, OTP, ability branches, and scope mapsAuthentication, The ability
cbt, grading, gradePartial. Access, start, save, submit, objective grading, gradebook sync, void, reopen, and finalise are written. Question generation, extraction, CSV import, the brief and apply steps, and the Hub AI menu are on Generate and import questions, read at fbb63d51 and 9e84f4c3CBT operations, Student runtime
payment-gateway, payment-item, transaction, ledgerPartial. Callback, settlement, the payer receipt, payLedgerAccount, the Hub pay screens, recordManualPayment, verifyPayment, listDefaulters, and the bursary tables are writtenPayments
notification, emailPartial. Channels, inbox, every Hub destination, and the emitter families on that page are written. Most titles are not quotedWhere a notification opens
reportPartial. Status, the approval snapshot, recall, release sweep, config, templates, remarks, and both landscape layouts are written. findAll, findOne, and scopeFilter were read at fbb63d51. findAll filters staff rows with isReportInScope and does not call scopeFilterReports
libraryPartial. Borrower, desk, catalogue, labels, loans, settings, device modes, and the term report are writtenLibrary
electionCovered for publish, eligibility, the ballot screens, and position and candidate writes. The DTO field lists were not copiedElections
timetablePartial. Release, listMine, the week grid, the lesson panel, and the week-folder upload are written. TimetableService, TimetableLessonService, and TimetableContextService were read at f57b8103, including days off, lesson create, one-week changes, and context. STUDENT_PLACEMENTS_SQL was not opened. The author, year-lock, and storage-full sentences are on FilesTimetable
school-calendarPartial. Create, edit and the routine split, changeDay, the roles list, the list, SchoolEventDialog, and Outlook syncEvent are written. Edit and roles were read at fbb63d51School calendar
student-resultsCovered for the release gate and the guardian mismatch. The Hub results screen was already on the portal pageStudent results
school-reportPartial. Create, retry, download, generate, collectors, commentary refusal, the painter, and the daily tick are written. The prompt text and the skeleton’s section picker are not copiedSchool reports
enquiryPartial. Public create, staff status and reply, the WhatsApp verify and resend paths, and the stats methods are on EnquiriesEnquiries
enrollmentPartial. Staff create, guardian enrol, the generic status patch, confirm, the Hub Manage menu and End screen, swapSubject, and updateStream are on EnrollmentEnrollment
classroomPartial. Roster, grade read, subject-teacher grade save, gradebook, the Hub stream sections, getMatrix, the Scores cards, and Save scores are on ClassroomClassroom
classPartial. Create, the settings rename form, soft delete, the stream routes, and getNextClass are on Classes and streams. The delete dialog says streams go too; the service method does not delete them. Class analytics is on AnalyticsClasses and streams
templatePartial. The Tiptap allowlist, the 1 MiB cap, the school and platform route tables, and the school Templates screen are on TemplatesTemplates
userPartial. Profile shape, suspend, access codes, the four UserController methods, findAllUsers, findWithProfile, and updateUser are on Users and profilesUsers and profiles
audit-logPartial. The decorator, the worker, and the list refusals are on AuditingAuditing
notice-boardCovered for create, update, publish, unpublish, delete, the feed, and reach. Create title and description have no maximum length. Publish stores scheduled and the sweep sendsNotice board
feedbackPartial. Create, list, one row, the screenshot URL, and delete, including the service strings, are on FeedbackFeedback
knowledge-basePartial. Create stores the submitted string unchecked. The controller does not call hybridSearch. hybridSearch, the chunk SQL, Rover, the applicant tool, and the social RPC were read at fbb63d51Knowledge base
analyticsPartial. The controller, AnalyticsService, class getAnalytics, the four profile methods, academic and teaching getAnalytics, and the enquiry, application, and audit analytics methods are on AnalyticsAnalytics
api-keyPartial. Prefix, hash-at-rest, the guard, the management routes, and mint are on API tokens. mint was read at fbb63d51API tokens
realtimePartial. Channel grant, the observer refusals, the subscription JWT (expiresIn: '1d'), and the three Centrifugo JSON files (no token-lifetime key) are on How realtime worksRealtime
academic-yearCovered. Create, set-current, lock, unlock, open and close enrolment, start-current, and delete protection, with every refusal, are on Locking and lifecycle, read at fbb63d51. A deleted year number can be created again. Delete protection counts sixteen tablesLocking and lifecycle
termPartial. Create, set-current, toggleField, the form’s string date check, dayOf as a local calendar day, the lock refusal, and the timetable delete block are on Create an academic year. The release button is not on the terms tabCreate an academic year
microsoft-syncPartial. Consent, the webhook, the role-guard string, the Graph refusals, the registry entity, and renewal are written. Renewal re-adds the job under the id of the job that is running, which BullMQ ignores, so the chain probably stops after one renewal. Inferred from code at fbb63d51, not observedMicrosoft 365 sync
applicationCovered for submit fields, approve, admit, the fee gate, findAdmissionFeeItem, ApplicationAudienceResolver, letters, link, and unlink. Guest Download and Print on a non-draft application are on Admissions and recruitmentAdmissions
campus, school, tenants, departmentPartial. Multi-tenancy and campus scope are written. Create, the add panel, the membership panel, and delete are on Manage departments. CampusController and CampusService are on Campuses, read at fbb63d51, including the three delete refusals and the admission letter. SchoolController and SchoolService are on School settings. The service was read at fbb63d51. The controller was re-read at f57b8103 on 20 November 2026. Operator create, suspend, activate, and impersonate, and the login and refresh refusals, are on School operations, read at f57b8103. provisionStaffUser was read there too: no password hash and no welcome mail. LoginOtpService was read at the same tip. A school request matches that school only. loginWithOtp was not openedMulti-tenancy, School settings
naalya-ai, public-ai, ai-thread, ai-thread-filePartial. ask_user forceOther is on Adding a local tool. The eleven one-shot helpers on NaalyaAiController and the worker's MicroAiController are on AI helpers on staff screens, read at fbb63d51. The AI system pages' file paths and symbols were checked against fbb63d51 and all resolve. public-ai is on The website chat assistant, read at fbb63d51 and website d96eec93. ai-thread and ai-thread-file are on Chat threads and files, read at fbb63d51. Reset hard-deletes, although its OpenAPI text says soft delete. Prose claims on the older AI pages were not re-read. The scheme prefill agent was read at staging da48a190 and matches main b2fc729. The lesson-plan prefill agent was notAI system
whatsapp-alert, whatsapp-template, teamsPartial. Number lookup, the template save and reset rules, the five Teams kinds, the settings tab’s three alerts, and Teams Rover’s jobs, prompts, and tools are on Channels. Inbound POST /teams/messages is public. An unknown bot is not found before the SDK handler. The token check is on that same page. The purge remains on SecurityChannels
combinationCovered for create, replace, and the enrolment lockCombinations
subjectCovered for create, kind, alignment, the combination lock, class and stream offering, and the level refusalSubjects
device-pairingCovered for token, exchange, session TTL, the session guard, the four phone command types, and /deviceDevice pairing
curriculumCovered for the list and the single-subject read. An unknown group is not rejected in the controllerSubjects
staff-files, storage, archivePartial. List, rename, move, delete, folders, the lesson upload checks, STORAGE_FULL, storage upload, and findOneFor are written. Rover folder details, teachRover, and save_rover_file / update_rover_file are on Files, read at f57b8103. ArchiveService returns the Nest scaffold sentences and writes no rowFiles
feature-flag, health, address, short-link, guardian-card, referral, ncdc-documents, collab, social-connection, microsoft-calendar, microsoft-drive, microsoft-provisioning, platform, dev, providersPartial. Flags, health, addresses, short links, and the operator platform routes are written. Referrals are on Referrals, both controllers and the earning, payout, and setting services read at fbb63d51. dev mounts only when NODE_ENV is development. Providers have no controller. The boot seed reads SUPERADMIN_EMAILS and signs those operators in by email OTP. Client payloads were not copied. Health was not probedSchool operations
lesson-file-index, pip-document, lesson-planningCovered for ask, stop, undo, the thirty-minute hold, searchFiles, Rover’s searchForStaff tool, scheme get and update, the lesson-plan and record controllers, the plan, record, approval, and share services, LessonPlanningAccessService, SigningChainService, assertValidTiptapContent, and SchemeGovernanceService. A scheme draft's week count, the one empty-week send-back, and Pip's plain-text say were read at staging da48a190 and match main b2fc729Lesson planning

The Hub route listing on Portal routes was walked again at c7143aa1: student (11 children beside route.tsx), guardian (the files in that table), guest (index.tsx, jobs.$vacancyId.tsx, route.tsx, and the eight folders), platform (hub.tsx, operators.tsx, system-health.tsx, route.tsx, and curriculum, feedback, schools), staff school (the same named children, plus a folder admissions_), staff campus (the same named children, plus hub.tsx and route.tsx), and beside them pay.$reference.tsx, exam-check.$examinationId.tsx, and exam-room.$attemptId.tsx. staff-hub itself still has account/, no-campus.tsx, and select-campus.tsx and no route.tsx. A listed folder is not an opened screen. No nested route-file total is claimed. Opened at the new Hub pin beyond that listing: the applicant Download and Print buttons, the two staff navbars, assessment-score-matrix.tsx, and PickElective.

Website app/routes.ts has 25 entries, classified from the manifest: 14 content routes (/, /about, /admissions, /education-hub, /leadership, three campus paths, /contact-us, /settings, /updates, /blog/:postSlug, /terms, /privacy), eight legacy 301s (/lugazi-campus, /lugazi-about-us, /namugongo-campus, /namugongo-about-us, /bweyogerere-campus, /bweyogerere-about-us, /about-us, /admission), the /naalya-ai/* 301, and two routes with no page (/api/form-submission, /sitemap.xml). Terms and privacy render a “still preparing” sentence. That is not a checked policy. staging was not cited. The link-check page count is not this 25, and neither number is proof that every screen was exercised.

apps/server/src/app has 71 directories and this inventory names all 71. A search for @Controller under that tree returned 136 controller files and one test file. Every named directory except email, collab, providers, and lesson-file-index contains at least one of those files. lesson-file-index is the RPC on Lesson planning. providers has no controller. email and collab had no controller file in that search. A file name is where the interface lives. It is not a method list. A row whose mapping says the controller was not re-opened is still partial. dev is mounted only in development. platform is the operator routes on School operations. The webhook under tenants is apps/server/src/app/tenants/naalya/ehr/naalya-ehr-webhook.controller.ts. Its body, signature check, and link-job problem strings are on HTTP surface, read at f57b8103. The clinic client calls were not opened. naalya-ehr stays out of scope.

Backlog

The earlier numbered list on this page is finished. Those items are in History. What is still open:

  1. Not runtime-tested: browsers editing one document across two API servers, and a full Pip run started on one server and stopped or undone from another. The *.e2e-spec.ts files do not cover those, and they were not run. A Railway control-plane read on 14 November 2026 reported staging Naalya-API as 2/2 online and production as one replica, online. That is the replica count. It is not those two checks, and the deployment record did not include a git SHA. Merged into staging is not the same as a document edited across both copies.
  2. The secrets yaml is a placeholder name only. docker-compose.dev.yaml names infra/<env>/secrets.<env>.yaml. At fbb63d51, infra/staging/ and infra/prod/ list a Centrifugo JSON and railway.yaml, and no secrets yaml. The only Redis URLs in git are the local placeholders on Where they live. Do not invent a hosted address. The published @hocuspocus/extension-redis@4.5.0 source was read. It was not run against Redis. CollabService still has no distinct refusal for opening a document while Redis is down. A failed query toasts “Something went wrong” from query.provider.tsx, except 401, 403, network, timeout, a silent query, and a disabled feature.
  3. Production main was compared in both directions, not checked on a host. API fbb63d51...b256209c lists 27 commits and an empty file list. Hub 9e84f4c3...24747bba lists 20 commits and an empty file list. Twenty-five API commits and all 20 Hub commits are release: prod release merges of staging. The other two API commits are the Teams Rover hotfix 41c6281204 and its merge d7203b90c8. The empty file list means the production-main tip matches the merge base. The prompts were read at fbb63d51. Website compare 393023ef...d96eec93 is status ahead, 132 commits, behind_by 0, 172 files. naalya-ehr stays out of scope. The tenants webhook body is on HTTP surface. The clinic limiter is an in-memory map and was read at fbb63d51. mint is written. API PR #637 does not change RealtimeTokenService. The Teams token check is the Channels page from PR #30. This branch does not repeat it.
  4. The renewal code was re-read on 29 November 2026 at API staging ed0e56f8 and is the same on API main d0fbb403. scheduleRenewal still re-adds renew-{subscriptionId} with no removeOnComplete. Whether a second renewal is queued was not checked on a host. See Webhooks and subscriptions. If the chain stops, the fix belongs in Naalya-API, not here.
  5. Operator school create, suspend, and impersonate, the clinic webhook body, the timetable services, the Rover job controller, service, worker, announce processor, and RPC handlers, provisionStaffUser, and LoginOtpService are written. deck_pack.py, deck_qa.py, the installed font list in print-html, and the text of edu-hub-guide and ug-education-system were not opened. The clinic client, STUDENT_PLACEMENTS_SQL, ChatResumeDto, getInterruptStatus, slugify, generateSlug, isTempEmail, and loginWithOtp were not opened.

History

DateWhat changed
29 November 2026, reconcileAPI default branch is staging ed0e56f87083d7d10466b61b97948f7e855c1c03. supervisor.agent.ts was re-read there. The main chat, small talk, and the slide reader still use openai.apiKey. Main-chat maxRetries is 8. Small talk is 0. The slide reader sets none. A search of that tree finds no OPENROUTER_API_KEY. That file is not in compare 6bfb9f6b...d0fbb403 or d0fbb403...ed0e56f8. Production workerReplicas is 2. roverJobsPerWorker is 100 on staging and 50 on production. RoverJobProcessor uses 5 when ROVER_JOB_CONCURRENCY is missing or not a number. Deployment was not verified.
29 November 2026Graph subscription renewal re-read at API staging ed0e56f87083d7d10466b61b97948f7e855c1c03. The service, the processor, and app.module.ts are not in the 36-file compare with API main d0fbb403, so both branches have this code. The second renewal is still inferred from the duplicate job id. /queues was not opened. The spec was read and not run.
29 November 2026, 02:17 GMTAPI staging ed0e56f87083d7d10466b61b97948f7e855c1c03 (merge of PR #686). Tree 0d0a514f. API main is still d0fbb403. Microsoft sign-in refuses a soft-deleted account with 403 This account was removed. Ask the school office for help. and an ACCESS deny. It does not call Graph, create a user, or restore the row. Not on main. A merge to staging is not a running deploy. The test was not run.
28 November 2026, 20:25 GMTAPI staging f371dda879fe5933e8970847dfc3af1803c95a58 (merge of PR #689). Tree 2a78480a. API main is still d0fbb403. Assigning a role calls assertCanGrant on the role's stored permissions, so the assigner must hold every permission in it. Giving yourself a role still needs manage on all. Not on main. A merge to staging is not a running deploy. The new test was not run.
28 November 2026, 08:24 GMTAPI staging 99a853f47c0f8efa3a28f2f1cc1682bd48d26823 (merge of PR #687). Tree 684f91ea. API main is still d0fbb403. A background Rover piece passes durability: 'exit', so the checkpoint put is once at the end. A chat turn does not pass durability. An interrupt mid-run is still stored and can be resumed. Not on main. No load was measured. A merge to staging is not a running deploy. The tests were not run.
28 November 2026, 08:19 GMTAPI staging 6308a8a1053694b8f123bad29c69aec400b8c1ec (merge of PR #683). Tree 5570ac816a7bf2d1b990d87e93d9957091154a69. API main is still d0fbb403. The request pipe on the server and the EHR app drops fields a DTO does not declare. List options that name columns must be bare names. A user entity's JSON omits passwordHash and microsoftSub. Creating a campus payment gateway checks the campus is in the caller's school. A role or department permission can only be granted by someone who holds it. Assigning a role that includes manage on all, or assigning any role to yourself, needs the caller to hold manage on all. A deactivated account is refused when a token is minted, including refresh. Login, register, the public payment lookup, and the payment prompt can return 429. Thirty wrong sign-in codes in 24 hours is also 429. Log lines mask a key that ends in secret. No migration and no new environment variable. Not on main. A merge to staging is not a running deploy. The tests were not run.
28 November 2026, 08:17 GMTHub staging 7d3ca557 (merge of PR #478). Same tree c0ab43b2 as commit 791072df. Hub main is still 4000c140. A missing route chunk reloads the page once and shows nothing while that reload starts. The same message again shows RootError. Not on main. A merge to staging is not a running deploy. The test was not run.
27 November 2026, 07:51 GMTHub main 4000c140 (merge of PR #476). Same tree 6588a7b8 as staging 0836a1e4. Compare 2dd88361...4000c140 is 37 files. It includes the staff profile photo, the scheme-invite screens, the campus schemes list, networkMode: 'always' on the query client, and the Microsoft choice on Sign out?. Deployment was not verified. No screen was opened.
27 November 2026, 05:54 GMTAPI main d0fbb403 (merge of PR #684). Same tree b5541dbd as staging cbad7b4a, so PR #682 is on main. Production workerReplicas is 2. The staging block stays at 1. apiReplicas stays 2. The same tree includes the staff photo routes (PR #678, released by #679) and the scheme-invite move, the path-id Not found. answer, and the department-member cursor (PR #680, released by #681). Compare 6bfb9f6b...d0fbb403 is 23 files. The tests in that compare were not run. A merge to main is not a running deploy. No host was checked.
25 November 2026, 05:00 GMTHub main 2dd88361 (merge of PR #468). Same tree e599c26b as staging 413b5cfe. Compare 413b5cfe...2dd88361 changes no files, so Hub main includes PR #466 (add an event on My calendar) and PR #467 (invite a teacher to a scheme group, and Question for staff). The PR description names #466 only. API main is still 6bfb9f6b and already has the Outlook write routes. Deployment was not verified. No screen was opened.
25 November 2026, 04:29 GMTAPI main 6bfb9f6b (merge of PR #677). Same tree c02ff456 as staging 0d611c96, so PR #676 is on main. Compare d229592a...6bfb9f6b is 78 files and does not include the calendar write files. createCalendarEvent is still in microsoft-calendar.controller.ts. The controller body was not re-read. Deployment was not verified. No host was checked.
24 November 2026, 06:02 GMTAPI main d229592a (merge of PR #674). Same tree 756fd3e8 as staging a4562f1e, so PR #673 is on main. Rover's chat, small talk, and slide reader call OpenAI. OPENROUTER_API_KEY, completeOutputFetch, and ReasoningRetryMiddleware are gone. The calendar write routes are unchanged. Deployment was not verified. No host was checked.
24 November 2026, 05:59 GMTAPI staging a4562f1e (merge of PR #673). main is still 8e9ff08f. Staging sends Rover's chat, small talk, and slide reader back to OpenAI and drops OPENROUTER_API_KEY. completeOutputFetch and ReasoningRetryMiddleware are removed. The calendar files are not in that compare. Detail is on the Rover pages. The PR description reports a hand rollback of the production worker. That was not verified. A merge to staging is not a running deploy.
24 November 2026, 05:21 GMTAPI main 8e9ff08f (merge of PR #672). Same tree 624d99f9 as staging bde0dc13, so the personal Outlook event writes are on main. A missing write consent is 409 calendar_write_not_allowed. The write scope is Calendars.ReadWrite. Compare 54dd54f1...8e9ff08f does not change worker copies. The OpenRouter return on the same tree is recorded on the Rover pages. Deployment was not verified. No host was checked.
24 November 2026, 05:12 GMTAPI staging bde0dc13 (merge of PR #671). main is still 54dd54f1. Staff can add, change, and delete events on their main Outlook calendar. Writes go to Graph, not the Hub database. A missing write consent is 409 calendar_write_not_allowed. The OpenRouter return on the same commit is recorded on the Rover pages. Source-inspected. No request was sent. A merge to staging is not a running deploy.
24 November 2026, 03:57 GMTAPI main 54dd54f1 (merge of PR #670). Same tree as staging d795a12b. Production workerReplicas is 3. The staging block stays at 1. Compare a888ae35...54dd54f1 is that one line. A merge to main is not a running deploy. No host was checked.
24 November 2026, 03:57 GMTHub main b791c665 (merge of PR #465). Same tree as staging fb4a140c. Word and audio previews, the extra picture, text, and video types, and Train Rover closing after a successful save are on main. The Subjects card only adds self-start. The compare has no environment file. A merge to main is not a running deploy.
24 November 2026, 03:45 GMTHub staging fb4a140c (merge of PR #464). Word and audio previews, extra picture, text, and video types, and Train Rover closing after a successful save. .xlsx and .doc still say "Preview not available". The Subjects card only adds self-start. Hub main is still 1fd1a034. Not a deploy.
24 November 2026, 03:40 GMTAPI staging d795a12b (merge of PR #669). .railway/environments.ts sets the production workerReplicas to 3. The staging block stays at 1. main is still a888ae35, so the handbook counts stay at 2. No Railway config run was listed. Not a deploy.
23 November 2026, 19:44 GMTAPI main a888ae35 (merge of PR #668). It shares a tree with staging b0a3d7eb, so PR #667 is on main. Rover's chat, small talk, and slide reader call OpenAI. OPENROUTER_API_KEY is not in the schema. Railway Config run 45252018549 finished apply-production. The logs were not opened. A merge to main is not a running deploy.
23 November 2026, 18:49 GMTAPI staging b0a3d7eb (merge of PR #667). main is still b2fc729e and still has the OpenRouter clients from 11319c8. Staging sends Rover's chat, small talk, and slide reader to OpenAI, drops OPENROUTER_API_KEY from the schema, sets the main chat client to 6 retries, and writes ROVER_JOB_CONCURRENCY as 100 on staging and 50 in the production block. A background co-worker drops mutating tools except save.lesson_material, and drops propose. An all-zero afterId is the first page. read_file drops long embedded data. preview_document allows one preview per document. Source-inspected. No request was sent and no host was checked. A merge to staging is not a running deploy.
23 November 2026, 03:19 GMTAPI main b2fc729e (merge of PR #666). It promotes only PR #665. The tree matches staging da48a190. Compare 11319c8...b2fc729 is those seven files. A merge to main is not a running deploy.
23 November 2026, 03:02 GMTAPI staging da48a190 (merge of PR #665). main is still 11319c8. A scheme draft is told the term's week count, sent back once when most counted rows are empty, and failed with The draft came back with empty weeks rather than saved. Pip in a document shows a plain-text reply, cut to 120 characters. No draft was run and no screen was opened.
22 November 2026, 15:19 GMTHub staging 7d078e35 (merge of PR #462). A file preview shows "Downloading" plus a percent when Content-Length is known, and a spinner when it is not. Chat files, kept staff files, and lesson-planning files share that path. No file was opened in a browser. API staging was not re-read for this change.
20 November 2026, 23:46 GMTSame tips: API f57b8103, Hub 40067f22, website d96eec93. No commits on those default branches, or handbook main, since 16:00 UTC. A new school's admin signs in with a school-scoped one-time code. No school id matches only a platform admin. Schema defaults are 15 minutes, 30 seconds, and 10 tries. An unset operator-domain list falls back to chowbea.com. loginWithOtp was not opened.
20 November 2026, 22:46 GMTSame tips: API f57b8103, Hub 40067f22, website d96eec93. No commits on those default branches, or handbook main, since 16:00 UTC. A new school's first admin is active staff with no password hash and no welcome mail. The method comment says they sign in by staff OTP. The OTP handler was not re-opened.
20 November 2026, 21:51 GMTSame tips: API f57b8103, Hub 40067f22, website d96eec93. No commits on those default branches since 18:30 UTC. A refused Rover brief is settled on the server. Announce waits when the chat is busy, and otherwise sends untold notes as STAFF_CHAT_ANNOUNCE. getInterruptStatus was not opened.
20 November 2026, 20:55 GMTSame tips: API f57b8103, Hub 40067f22, website d96eec93. No commits on those default branches since 18:30 UTC. Lesson create, choices, one-week skip and move, and lesson context are on Timetable. A copy does not take days off or one-week changes. STUDENT_PLACEMENTS_SQL was not opened.
20 November 2026, 19:47 GMTSame tips: API f57b8103, Hub 40067f22, website d96eec93. No commits on those default branches since 17:30 UTC. Operator create, suspend, activate, and impersonate, plus the suspended-school login and refresh refusals, are on School operations. The clinic webhook body and link-job problem strings are on HTTP surface. TimetableService was re-read and still matches, with days off added. Rover job list, answer, stop, retry, and open are on Chat threads. The announce processor and the job RPC handlers were not opened.
20 November 2026, 18:51 GMTSame tips: API f57b8103, Hub 40067f22, website d96eec93. No commits on those default branches since 16:30 UTC. Document and deck skills are playbooks, except check_slide, which is code. Knowledge-base cards, the Rover-folder screen, and files-panel proposals are on the API pages. deck_pack.py and deck_qa.py were not opened.
20 November 2026, 17:51 GMTSame tips: API f57b8103, Hub 40067f22, website d96eec93. A chat keep lands in personal. The Rover folder is a separate keep, with facts or format, subject and class ids, and a note. save_rover_file and update_rover_file are on Files. The handler does not check that the person asked. Design skills, knowledge-base cards, proposal previews, and the Hub folder screens were not opened.
20 November 2026API staging f57b8103 and Hub staging 40067f22. Website main still d96eec93. One School settings page. The controller matches it. A WhatsApp message waits 8 seconds, and a newer text drops the earlier reply. A background piece saves its own file or fails with No file was made, and propose refuses. A class week shows one day plan at a time. Someone else's lesson shows details only. Folder teaching, designs, knowledge-base cards, and proposal previews were not opened.
14 November 2026, report listSame pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. findAll applies narrowScope, then isReportInScope for a staff caller. It does not call scopeFilter. listForTool does. findOne refuses a staff caller outside that scope with You are not the class teacher of this report.
14 November 2026, after PR #19 mergedSame pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. Handbook main is 633b2c2, which includes PRs #19 and #33. content/docs/api/cbt/question-generation.mdx is on that tip and is listed in the CBT group, which the School features folder includes. content/docs/api/ai-system/chat-threads.mdx is on that tip. The two-server browser and Pip checks are still not runtime-tested.
14 November 2026, after PR #15 mergedSame default-branch pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. Handbook main is merge 8a06e05, which includes PRs #17 through #30. A Railway control-plane read reported staging Naalya-API 2/2 online and production one replica, online. The two-server browser and Pip checks are not runtime-tested. The secrets yaml is a comment name. infra/staging and infra/prod list no secrets file. Website 393023ef...d96eec93 is ahead by 132, behind by 0, 172 files. The Teams token check stays on the Channels page from PR #30.
14 November 2026, 09:05 GMTSame default-branch pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. The reverse compare names 27 API commits and 20 Hub commits on production main. Twenty-five API commits and all 20 Hub commits are release merges. The other two are the Teams Rover hotfix and its merge. Both reverse file lists are empty, so the production-main tip matches the merge base. Teams Rover’s jobs, silence rules, and tools are on Channels. Source-inspected. No chat was sent.
14 November 2026, 08:00 GMTSame default-branch pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. The table menu and the 8 to 96 font-size field are on Portal routes. assertValidTiptapContent rejects a non-document, a root other than doc, a node without a string type, unknown nodes or marks, and a body over 1,048,576 bytes. Scheme governance defaults to heads-only, with lesson-plan approval off. The published Redis extension 4.5.0 was read from its tarball: a failed subscribe or publish fails the load, and the quorum lock error skips later store hooks. Package source only. API and Hub main diverge from those tips. The several-copies files, the typed Rover answer, guest download and print, the staff navbar, and the editor server label are on the staging side of that compare. Website staging 393023ef is 132 commits behind main. None of this is a deploy check.
14 November 2026, 07:00 GMTSame pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. Lesson-plan routes have no permission decorator. LessonPlanningAccessService is the gate: teaching for writes, then a share, then a class teacher on a published or approved document, then a scoped read at any status. Lesson plans sign off through the subject department. Schemes and records use the signing chain. The toolbar state, sync dot, and presence menu are on Portal routes.
14 November 2026, 06:00 GMTSame pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. A class limit is a class id and optional stream ids. Raw audit shows Entry, Actor, Request, Context, Before, and After, and skips diff and changes. Role, timetable, exam, and question hooks name their keys and invalidation. The hook files do not toast. A failed query toasts “Something went wrong”, except 401, 403, network, timeout, a silent query, and a disabled feature. Create exam invalidates the list only. Lesson plans have no permission decorator and no assertCanAccess. Unpublish sets draft from every non-draft status. Record force-approve refuses the author. The editor toolbar, caret, and print files are on Portal routes.
14 November 2026, 05:00 GMTSame pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. cursorPaginate throws This list does not support filters when filters has no allow-list, defaults a missing limit to 10, and caps at 100. ScopeLevel is school, campus, department, and subject. Student, guardian, and guest list services pass no filterFields. Lesson-plan methods have no permission decorator. Record desk and force-approve do. The audit panel, assign surface, question card, exam-details edit, day-plan and holiday surfaces, and DocumentEditor are on Portal routes.
14 November 2026, 04:00 GMTSame pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. Audit columns and cursor, the seven people tables, the staff Roles tab, campus hub cards, timetable manage, and the scheme, plan, record, and exam editors are on Portal routes. People list routes, assignRole throws that Swagger omits, scheme get and update, timetable get returning null, and CBT create not checking durationMinutes are on the API pages. list forwards audit filters. exportCsv throws This list does not support filters.
14 November 2026, 03:00 GMTSame pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. School and campus folder entries, useSchoolHubPages, and the role detail page are on Portal routes. The referrals card is omitted because that hook does not read the referrals flag. pnpm-lock.yaml resolves @hocuspocus/extension-redis@4.5.0. The package source is not in the commit.
14 November 2026, 02:00 GMTSame pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. Enquiry stats match the Enquiries page. Application total and byStatus ignore the date window. Audit analytics groups a null decision as unset and caps actions and resource types at ten. The Centrifugo JSON, compose, Dockerfile, and Railway files set no token lifetime. The secrets yaml named in the compose comment is not in the tree. School hub, Service Health, Directory Sync, API Keys, and the roles list are on Portal routes.
14 November 2026, backlog hourSame pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. Academic and teaching getAnalytics, including the empty year, the term filters, and when name lists are omitted. The remaining analytics area tabs and their client sums. The subscription JWT is expiresIn: '1d'. A collab open logs Collab connection opened and has no distinct Redis-down refusal in CollabService. The extension package stays unread.
13 November 2026, backlog hourSame pins: API fbb63d51, Hub 9e84f4c3, website d96eec93. Student, staff, guardian, and guest getAnalytics, and the school and campus analytics screens. hybridSearch binds c.school_id, copies visibility onto chunks, and takes a campus id. service.instance.id is RAILWAY_REPLICA_ID or a UUID. The clinic API-key limiter is an in-memory map of 60 per key. The subscription-lifetime gap stays. Other nested Hub screens stay unread.
13 November 2026, after PR #13 mergedThe replica notes were not in the merge. They are cherry-picked onto a branch from handbook main. staging is still the GitHub default branch of the API and the Hub, and fbb63d51 and 9e84f4c3 are still those tips. That is not a deploy. Inventory rows now match the pages PR #13 already wrote. mint was read at fbb63d51. Several copies now has a flow diagram and a prose equivalent. Scheme and record-of-work approval await liveContent. Website main stays d96eec93. The subscription-lifetime gap stays.
13 November 2026, replica passAPI PR #637 at fbb63d51 and Hub PR #444 at 9e84f4c3. Redis is required at boot for the server, worker, and audit apps. Collab uses the Hocuspocus Redis extension 4.5.0 plus collab:signal. Pip ownership, stop, undo, and the 60 second sweep are written. Six sharedThrottler modules and the API-key window count in Redis. X-Served-By and the log replica field are the replica name. apiReplicas is 2 on staging and 1 on production in source. The two-server specs need Redis and were not run. Browsers and a full Pip run across two servers remain a staging check. Older pins stay on paragraphs that were not re-opened.
13 November 2026, second passCompared a5dff0c2..9991a5c7 (six worker files) and d2d5fe33..c7143aa1 (applicant print, navbars, print frame, share surface, preview query). Re-walked the signed-in route folders at c7143aa1. swapSubject and updateStream, including the combination rewrite that can fail after the stream is saved. Score-matrix save, enquiry stats, class analytics, user list and update, and the school Templates screen. Audit list refusals, feedback service strings, knowledge-base content stored unchecked, API-key revoke, realtime grants, and the Microsoft sync role and Graph refusals. Older pins stay on paragraphs whose cited files did not change.
13 November 2026API staging 9991a5c7 (PR #636) and Hub staging c7143aa1 (PR #443). Production main pins unchanged, so the earlier identical-tree note no longer holds. Rover and staff ask_user force a typed box on option questions. Pip keeps forceOther: false. Guest download and print on a non-draft application, and the staff navbar hides theme, Rover, and the Admin Hub badge below md. Template and user route tables. getMatrix and the Scores cards. Swap route and PickElective. Enquiry stats query fields, including the campus no-op comment. Website main unchanged at d96eec93.
11 November 2026, twenty-sixth passStudent Manage menu, guardian enrol, and the generic enrolment status patch. Term dayOf keeps the date prefix as a local day. Enquiry staff status and reply, and the WhatsApp link clock. Classroom access, including grade save as the subject teacher, and the Hub stream sections. Source heads rechecked and unchanged.
11 November 2026, twenty-fifth passThe student enrol wizard, staff create and confirm, and the class settings rename form. School New Year, campus start, and the overview and list tabs. Term toggleField and the form’s string date check. Inbound Teams is not treated as open just because the route is @Public. Public enquiry create fields were re-read. Source heads rechecked and unchanged.
11 November 2026, twenty-fourth passClass and stream create, update, and soft delete, including elective limits and the classes page. Campus term create, set-current, lock refusal, and the timetable delete block, with the terms tab. Year controllers require ACADEMIC_YEAR. Notice create has no title maximum. Inbound Teams refuses an unknown bot before the SDK handler. The SDK package was not opened. Source heads rechecked and unchanged.
11 November 2026, twenty-third passDepartment add and membership panels, with the member routes and the member default. Notice composer and the publish, unpublish, and reach service. WhatsApp template save and reset, and the Teams settings tab against the five message kinds. Archive service is the Nest scaffold. The lumped directory row is split by domain. Source heads rechecked and unchanged.
11 November 2026, twenty-second passDepartment create form and the members table. Staff notice board at /staff-hub/school/notice-board, including the publish confirm that is wider than the sweep. Platform seed is SUPERADMIN_EMAILS and email OTP, with no address copied. Hub groups and all 25 website routes classified. 136 controller files located. email, collab, providers, and lesson-file-index have none. Naming a directory is not a verification. Application revisions unchanged.
11 November 2026, twenty-first passScheme, lesson-plan, admission, notice, academic-report, year-enrolment, and school-report recipients. Bell cases that the channel list never uses, and the staff-to-guardian notice link, are marked as what the code does. Department list and settings buttons. Platform routes, the development-only module, and provider clients with no controller. Website settings, terms, privacy, seven legacy redirects, and the AI 301. The manifest has 25 entries. All 71 API directories are named. Application revisions unchanged.
11 November 2026, twentieth passEvery Hub notification destination, including a null click. Record return tells the submitter and does not undo the return. Ledger audiences and the library borrower notices. Rover’s searchForStaff tool. 71 API directories listed. 68 are named in the inventory. dev, platform, and providers are not. Application revisions unchanged.
11 November 2026, nineteenth passDepartment create, membership, and delete refusals. Feature evaluation and the guard message. Health summary versus the detailed probe. Address Address not found and unused permission helper. Short-link resolve. Pip undo holds one manager for thirty minutes. searchFiles calls searchFolder and then the week scope. findOneFor hides a forbidden row as not found. Drive delete does not name a recycle bin. Application revisions unchanged.
11 November 2026, eighteenth passstorage.findOne throws Storage record not found. Referral check runs from both approve and admit. assertReportYearIsCurrent requires a year id and an enrolment, then checks the lock. It does not test that the year is current. landscape_executive and landscape_matrix print A4 landscape. Agenda stops before the 31st item. A Drive name clash names the file or folder. Application revisions unchanged.
11 November 2026, seventeenth passPip ask, stop, and undo. Lesson-file search scope, including the empty-index note. NCDC create, discard, delete, and index. Social connect, pause, and the return path. Drive and calendar consent failures. Microsoft provisioning create and delete. The public guardian-card page. parseDocumentName. Application revisions unchanged.
11 November 2026, sixteenth passBursary account, SchoolPay inbox, and transaction tables. recordManualPayment, verifyPayment, and listDefaulters, including maker-checker, charge checks, and who counts as a defaulter. Staff folders. Public guardian-card verification, including the shared 404. Referral earning on settle, waiver, credit, and admit. CollabAuthService.authenticate. Application revisions unchanged.
11 November 2026, fifteenth passCampus bursary accounts, raise fees, record payment, defaulters, payment items, and the SchoolPay inbox screen. Staff-file list, rename, move, and delete, with the Hub’s 100 MB check kept apart from the API author and year checks. Feature flags, health, addresses, short links, guardian cards, referrals, NCDC documents, the collab socket, social accounts, and Microsoft Drive, calendar, and provisioning. Application revisions unchanged.
11 November 2026, fourteenth passThe lesson side panel, including a failed context request that looks like a day outside the term, and the week-folder upload through confirm. Curriculum list and get. Class and stream offering, including the level sentence and the hard delete. Outlook syncEvent: feature off only removes existing copies, one mailbox failure does not stop the rest, routines are repeating meetings. Application revisions unchanged.
11 November 2026, thirteenth passHub pay and transactions screens, including a child’s fees. payLedgerAccount accepts allocations, an amount, or both. Approval writes the report-card snapshot and tells guardians only when the release instant has passed. gradeObjectiveAnswer and the gradebook sync. The receipt email attaches receipt- plus the reference. WhatsApp sends the payment template, or the default when a saved body is unusable. Application revisions unchanged.
11 November 2026, twelfth passApplicationAudienceResolver owns an application when userId matches. A missing resolver throws. findAdmissionFeeItem returns null when nothing matches, and submit still succeeds. Admit stays blocked only when bursary is on and a raised charge is unpaid. CBT start, save, and submit, including the in_progress claim. The payer receipt and the separate staff alert. Application revisions unchanged.
11 November 2026, eleventh passAdmission required fields, letter delivery, and unlink. The fee blocks admit only when bursary is on and a charge is unpaid. The user guide no longer says admit accepts a submitted application. Phone /device lifecycle and the four command wire values. Library term report. Education-hub illustration versus API statuses. FAQ fallback. Commentary refusal rules, without the prompt. Application revisions unchanged.
11 November 2026, tenth passSchool-report collectors and the painter’s reader check. Library labels, loans, and settings. Device session guard, student photo, and the Hub QR. Curriculum subject not found. Lugazi, Bweyogerere, home, about, leadership, updates, and the enquiry form. Admission statuses corrected to approved then admitted. The fee gates admit, not submit. Cron defaults stay 0 0 * * *. Application revisions unchanged.
11 November 2026, ninth passSubject create, kind, and alignment. Library catalogue edits and the copy-state refusals. Device pairing token, GETDEL exchange, and session TTLs. Timetable context. SchoolEventDialog. School-report generate and the daily tick (0 0 * * * UTC). Namugongo campus page and a blog post. Application revisions unchanged.
11 November 2026, eighth passElection position and candidate services, including Only draft elections can be edited against the decorator. Library phone Pair a phone first. amountOwed is Math.max(0, balance). Combinations: three principals, subsidiaries, and the enrolment lock. Application revisions unchanged.
11 November 2026, seventh passAfter PR #10 merged (f536040), desk lend and return, LibraryFilesBrowser, getAccount balance maths, election eligibility and the ballot screens, timetable listMine and WeekLessonsGrid, calendar changeDay and SchoolCalendarList, student results, school reports, admissions and contact pages, and REPORT_CARD_LAYOUTS. recall is the method that clears releasedAt. Application revisions unchanged.
11 November 2026, sixth passLibrary borrow, elections, timetable release, school calendar, settlement through SETTLE_PAYMENT and AccountPage, report-card releasedAt and the release sweep. Directory inventory of API modules, Hub groups, and website routes. Revisions unchanged.
11 November 2026, fifth passReport-card status machine replaces the old isPublished page. Scheme-of-work return replaces the fictional notification sample. Channel matrix and WhatsApp number lookup. CBT void, reopen, and access exceptions. Grading access exceptions. Callback and manual registry failure. SchoolPay cron enqueues pullAll. Scope-field maps. Hub account, campus picker, and child fees. Revisions unchanged.
11 November 2026, fourth passCBT, grading, payment-item, and ad-hoc transaction operation tables. Notification inbox operation ids. ACADEMIC_REPORT_RETURNED is not in the enum. applyStaffAbilities, the campus-scope map, canAccessCampus, and CRON_SYNC_SCHOOL_PAY default 0 0 * * * UTC. Hub payments, grades redirect, student results, and bursary index. Revisions unchanged: API a5dff0c208d5193c274d3d1f87787b55344d5d30, Hub d2d5fe3365d8fb858d18b9a29bc8a7e1b042f06d.
11 November 2026, third passReplaced the student ability sample that used Resource.ACADEMIC_REPORT. Documented SchoolPay inbound, the 90-day Teams purge on sent_at, task redeploy-railway, Microsoft sync operations, and Hub student, guardian, and staff layout gates. Corrected the gateway list and the claim that a missing campus credential falls back to a hardcoded map.
11 November 2026, second passAPI and Hub root trees match at the pinned SHAs. Magic link, OTP, enquiry operations, permission registry, records retention, and the Railway preserve() secret flow. Corrected the five-guard chain, the guest layout, and the removed secrets YAML.
11 November 2026First source-verified pass: writing standard, platform section, HTTP surface, and corrections to setup, auth, and the website client.

On this page