Skip to content

LLM Wiki

This folder is operational knowledge for future AI sessions. It summarises durable project contracts and workflows. It must not duplicate all source content.

Entry Points

  • mkdocs.yml: site structure and navigation.
  • docs/sources.md: source register.
  • docs/evidence-matrix.md: claim-to-source evidence tracking.
  • docs/evidence-validation-queue.md: open evidence gaps and source targets.
  • docs/knowledge-base/modules/dmedc-nhs-app-overview.md: topic overview.
  • docs/knowledge-base/modules/nhs-app-service-overview.md: NHS App public service framing.
  • docs/knowledge-base/modules/nhs-app-core-national-services-and-roadmap.md: core/national service baseline, architecture routes, business-case value, and roadmap direction.
  • docs/knowledge-base/modules/nhs-app-service-architecture.md: NHS App service-layer architecture diagrams.
  • docs/knowledge-base/modules/component-architecture.md: architecture routing page.
  • docs/knowledge-base/modules/interface-and-assurance-layer.md: lower implementation routes, supplier interfaces, onboarding, testing, and assurance checks.
  • docs/knowledge-base/modules/spine-services.md: Spine and Spine Secure Proxy (SSP) context.
  • docs/knowledge-base/modules/primary-care-registration-management.md: Primary Care Registration Management (PCRM) service role, Defence Medical Services (DMS) scope, Personal Demographics Service (PDS) / GP2GP relationship, NHAIS GP Links interface, and Defence Primary Healthcare (DPHC) registration boundary.
  • docs/knowledge-base/modules/gp-connect-patient-facing-apis.md: GP Connect PFS boundary.
  • docs/knowledge-base/modules/dmedc-dphc-context.md: Defence Medical Command (DMedC) / DPHC context.
  • docs/knowledge-base/modules/armed-forces-covenant-reports.md: annual-report evidence strand for DPHC/NHS continuity and the 2024 NHS App appointment sub-case.
  • docs/knowledge-base/modules/adoption-continuation-use.md: continuation and/or adoption.
  • docs/knowledge-base/modules/nhs-app-adoption-implementation.md: phased adoption and implementation roadmap, including initial provision, Secondary healthcare (SHC) appointments, Defence Medical Information Capability Programme (DMICP) Primary healthcare (PHC) appointment visibility, DMICP PHC appointment management, clinical correspondence, test results, and later CORTISONE patient-data routes.
  • docs/knowledge-base/modules/irtbp-evidence-brief.md: capability-based human synthesis for the DMedC NHS App IRTB(P).
  • docs/knowledge-base/modules/irtbp-construction.md: IRTB(P) page, annex, writing, evidence, and assurance rules.
  • docs/knowledge-base/modules/irtbp-version-history.md: per-version reading, comparisons and AI review briefs for immutable Word, recovered Git and working text snapshots.
  • docs/assets/irtbp-versions/index.json: machine-readable index linking to the complete immutable text records; use scripts/irtbp_history.py to list, read, compare, capture and verify them.
  • docs/knowledge-base/modules/defence-digital-content-and-writing-standard.md: MOD/GOV.UK content, accessibility, acronym, terminology, link, and security-marking rules for the rendered wiki and staffed paper.
  • docs/llm-wiki/irtbp.md: concise machine-readable IRTB(P) build contract.
  • docs/log.md: research log.
  • docs/llm-wiki/starter-instruction.md: reusable starter instruction.
  • src/generated/llmWikiKnowledge.generated.ts: generated Markdown index.

Commands

npm run kb:update
npm run check
npm run verify
npm run check:mkdocs
npm run check:graphify

npm run check covers design linting, presentation-rule unit tests, and generated-index freshness. npm run verify adds strict MkDocs and Graphify freshness. Use npm run kb:code-index only when Graphify is unavailable, and record that limitation in docs/log.md.