Scheme packs

Add, update, or retire a scheme without a code change. GG IFA v6 is the pack this quarter loads.

GG IFA v6 JSON

Screen still to build — follow the specification

Replace this page with the real screen. The process is the Word procedure named above (docs/word-sops/ or docs/qps-internal/). Scheme checklist rows come from the JSON pack, not from this component. The quality bar is the checklist exemplar.

What you have to work out

The hard parts, not the obvious ones

  1. 1Each approved scheme version is one JSON document: control points, catalogues, and owner text.
  2. 2PostgreSQL holds the scheme-version record and which methodology justifies which control points. Those rows use the same control-point id as the JSON.
  3. 3An in-progress audit pins the version it started on. Owner checklist text stays verbatim.
  4. 4The five packs are Smart FV, GFS FV, QMS/RMS/PHU, Smart FO, and Smart PPM.

Source forms

  • GG IFA v6 JSON

Word procedures live in docs/word-sops/. Scheme packs live in docs/schemes/gg-ifa-v6/ and are imported as JSON. Internal manuals live in docs/qps-internal/.

Before you start

  • Use the kit in src/components/ui. Do not restyle in place.
  • Cite the SOP form on the screen via PageHeader’s sop prop.
  • Add mock data to src/data/mock.ts, matching the types in src/lib/types.ts.
  • Set state: 'exemplar' on your area in src/lib/nav.ts when it is done, so the sidebar stops showing todo.