| Item | Detail |
|---|---|
| Document reference | JHC-REG-03 |
| Version | 0.1 |
| Status | Draft for review · Internal |
| Prepared | 27 October 2026 |
| Baseline (previous documentation) | docs/RATE_GUIDE.md (Stage 4), docs/QUOTATION_GUIDE.md (Stage 7), docs/SCHEDULE_SOURCES_GUIDE.md (Stage 8), UAT_CHECKLIST.md (Stages 9–10), AI_STAFF_GUIDE.md (AI-1). These files are kept unchanged |
| Version documented | Portal 0.3.0, commit 4d7b861 plus uncommitted working-tree changes of 27 Oct 2026 |
Table 1: Revision history
| Version | Date | Change | By |
|---|---|---|---|
| 0.1 | 27 Oct 2026 | First register | Prepared with Claude (AI assistant) for JHC review |
1. How this was checked
Inspected on 27 October 2026: the git history, the working tree, the database migrations (roles, permissions and status rules read from a database built from them), the page routes, the existing documents, the decision log, the progress and test reports, and the running portal in the TEST set-up (screenshot capture run).
2. Register
Table 2: Upgrades since the previous documentation and their impact
| # | Upgrade / change | Evidence | Affected role | Affected procedure | Screenshot / diagram updated | Verification status |
|---|---|---|---|---|---|---|
| 1 | JHC answers Q1 and Q3: Sales manager role; approval by a superior, never the preparer; approved payment terms | Commit f8e8e9d; DECISIONS D-077 | Sales, Sales manager, Admin | STF-13, STF-14, ADM-01, SOP-02 approval matrix | stf-14-approver-view, stf-14-returned, adm-03-roles, FLOW-06, FLOW-08 | A |
| 2 | Stage 8 schedule sources and JHC-entered sailings | Commit 1965f15 | Customer, Operations, Admin | CUS-06 to CUS-09, STF-07, ADM-07 | cus-06/07/08/09, stf-07-jhc-sailing-form, adm-08-schedule-sources, FLOW-03 | A (stand-in providers) / C (live) |
| 3 | Free test sources: AeroDataBox, monthly call caps, stop dates | Commit 8fe5c4f | Admin | ADM-07 | adm-08-schedule-sources | A (stand-ins) / C (live) |
| 4 | Customer response to quotations: Indicate acceptance / Decline, once, while valid | Commit 6d9776e; D-089 | Customer, Sales | CUS-21, CUS-22, STF-16 | cus-21-respond, cus-22-result, stf-16-response, FLOW-12 | A |
| 5 | Operational measures on the staff Overview | Commit 6d9776e | Managers, staff | STF-02, SOP-01 §9 | stf-02-measures | A |
| 6 | Pilot tooling: /health, pilot commands, file backup | Commit 6d9776e; PILOT_DEPLOYMENT.md | Technical owner | ADM Part B | — | A (development) / restore not verified |
| 7 | Readiness fixes: live mode by default when connected; demo catalogue loading hidden in live mode; HTTPS header | Commit 7b9fd5f | Admin, technical owner | ADM Part B | — | A (unit test) |
| 8 | AI-1: staff enquiry assistant, missing-information check (no AI), AI settings, usage limits, emergency stop | Commit 4d7b861; D-101–D-110 | Staff, Admin | STF-05, STF-19, ADM-08, AI-01, AI-02 | stf-05-missing-info, ai-02-staff-draft, adm-09-ai-settings, FLOW-09 | B (practice assistant) / C (live) |
| 9 | AI-2: customer "Describe your requirement" assistant; separate customer switch in AI settings | Working tree (uncommitted); D-111–D-114 | Customer, Admin | CUS-15, AI-03, ADM-08 | ai-01-customer-describe, ai-01-customer-review, adm-09-ai-settings | B (not committed; practice only) |
| 10 | Stage 11 database updates applied to the development Supabase project; 74/74 access checks | npm run db:migrate, npm run db:verify on 27 Oct 2026 | Technical owner | ADM Part B | — | A |
| 11 | Visual updates in progress (home page, staff overview, design tokens, icons) from another work stream | Working tree (uncommitted, not part of this documentation task) | All | CUS-01, STF-02 | cus-01-home, stf-02-overview | B: may change; recapture before issue (G-26) |
| 12 | Enquiry form: the AI card sits above the ordinary form; the ordinary form is unchanged | Working tree (uncommitted) | Customer | CUS-12 to CUS-16 | cus-13-, cus-14- | B |
| 13 | Help lines on form fields moved from above the box to under it, so side-by-side fields line up; customer header slimmer; Help contents list and all diagrams redrawn | Working tree (uncommitted), 27 Oct 2026 | All | None (wording unchanged) | Screenshots show help lines above boxes and the taller header: recapture before issue; all 14 diagrams redrawn | B: checked on the public pages; staff pages not viewed |
3. Discrepancies found between code, documents and behaviour
Table 3: Discrepancies
| # | Where | Finding | Action taken |
|---|---|---|---|
| D1 | README.md | Says "Current status: Stage 7 complete"; Stages 8–11 have been added since | Recorded only (not changed by this task) |
| D2 | ENQUIRY_QUOTATION_WORKFLOW.md §3 | A "proposed for Stage 7" lifecycle (Assigned, Awaiting Approval, Quotation Sent, Expired as enquiry statuses) differs from what was built (six enquiry statuses; approval states belong to quotation versions) | Manuals follow the built rules (STATE-01, FLOW-08) |
| D3 | docs/RATE_GUIDE.md | Calls the menu "Pricing → Rate cards"; the menu item is now Rate management (the page heading still reads "Rate cards") | Manuals use Rate management |
| D4 | UAT_CHECKLIST.md 1.2 | Says "Settings → Business settings"; the menu item is Settings, which opens Business settings | Manuals name both |
| D5 | Capture run | Publishing a new fictional "Extra stop" rate without a route was refused: it overlapped the demo rate DEMO-R016. Correct behaviour | Example rate given its own route; refusal documented in JHC-UG-08 |