{
  "as_of": "2026-07-26",
  "counts": {
    "blocked": 5,
    "deferred": 3,
    "open": 2,
    "resolved": 16,
    "total": 26
  },
  "gaps": [
    {
      "area": "originating requirements",
      "evidence": [
        "evidence/requirements/controlling-requirements.md",
        "evidence/requirements/controlling-requirements.sha256",
        "release-assurance/implementation-traceability.json"
      ],
      "id": "IMP-GAP-001",
      "next_action": "Freeze these hashes with the release-candidate commit and do not rewrite the source record.",
      "release_effect": "none-before-freeze",
      "status": "resolved",
      "summary": "The originating implementation clauses and subsequent decisions previously existed only as paraphrases."
    },
    {
      "area": "research evidence",
      "evidence": [
        "research/whole-law-okf-research/integrity.json",
        "research/Legislation-govuk Claude 4.8 run.docx",
        "research/claude-4.8-evaluation-transcript.md"
      ],
      "id": "IMP-GAP-002",
      "next_action": "Retain original hashes and bind the exact candidate in the final evidence manifest.",
      "release_effect": "none-before-freeze",
      "status": "resolved",
      "summary": "The 24-file research package and Claude evaluation are present as immutable evidence with a separate normalized transcript."
    },
    {
      "area": "YAML-LD conformance",
      "evidence": [
        "whole-law/assurance/yaml-ld-conformance.json"
      ],
      "id": "IMP-GAP-003",
      "next_action": "Retain the three unsupported Extended Profile cases as informative limitations unless the implementation elects to support that optional profile.",
      "release_effect": "none-for-core-profile",
      "status": "resolved",
      "summary": "All 53 normative tests pass; three of five informative Extended Profile tests remain unsupported and are not represented as normative failures."
    },
    {
      "area": "ontology competency",
      "evidence": [
        "whole-law/assurance/competency-question-results.json"
      ],
      "id": "IMP-GAP-004",
      "next_action": "Bind the ten passing ASK results to the frozen candidate.",
      "release_effect": "none-before-freeze",
      "status": "resolved",
      "summary": "Ten executable ontology competency questions pass against the authored examples."
    },
    {
      "area": "semantic validation",
      "evidence": [
        "whole-law/ontology/shapes.ttl",
        "whole-law/assurance/semantic-conformance.json",
        "scripts/run_semantic_conformance.py",
        "scripts/check_whole_law_okf.py"
      ],
      "id": "IMP-GAP-005",
      "next_action": "Retain the receipt and its bound semantic, shape, vocabulary, schema and row-inventory digests through release-candidate freeze and promotion.",
      "release_effect": "none-before-freeze",
      "status": "resolved",
      "summary": "The complete authored and generated two-node semantic descriptor graphs pass SHACL and RDF equivalence, while all 906,754 core/provider relationship rows pass their JSON contracts; the receipt explicitly records that the 365,786 works are not materialised as RDF."
    },
    {
      "area": "namespace",
      "evidence": [
        "whole-law/ontology/context.jsonld",
        "whole-law/ontology/standards.json",
        "whole-law/governance/architecture-decisions/ADR-016-namespace-migration.md"
      ],
      "id": "IMP-GAP-006",
      "next_action": "Create a namespace-migration release only after a suitable government domain is selected.",
      "release_effect": "explicitly-accepted-deferment",
      "status": "deferred",
      "summary": "The repository-controlled namespace is in use; migration to a permanent government domain was explicitly deferred."
    },
    {
      "area": "source acquisition",
      "evidence": [
        "whole-law/acquisition/current/observed-access-comparison.json",
        "whole-law/acquisition/current/source-constraint-ledger.json",
        "whole-law/acquisition/replacements/current/evidence-reference.json",
        "whole-law/acquisition/replacements/supplements/20260726T010545Z-c0f5a003/evidence-reference.json",
        "whole-law/assurance/source-acquisition-gate-20260726.json"
      ],
      "id": "IMP-GAP-007",
      "next_action": "Retain all four immutable acquisition archives and their exact route-level lineage through release freeze. Improve the 67 partial, conditional or restricted corpus denominators when official enumerations become available, without reopening the acquisition-assurance decision.",
      "release_effect": "none-before-freeze-declared-coverage-limitations-retained",
      "status": "resolved",
      "summary": "The base run and three immutable replacement attempts provide frozen evidence for all 105 effective public-intended GET routes: 101 are reachable and four are declared restricted. Seventy of 72 sources and all 36 source classes have reachable observations. GATE-04 passes with declared constraints; only five of 72 source records are complete against an official enumeration, so 67 coverage limitations remain explicit."
    },
    {
      "area": "official effects reconciliation",
      "evidence": [
        "bundle/data/effects/reconciliation.json",
        "whole-law/assurance/effects-live-reconciliation-20260726.json"
      ],
      "id": "IMP-GAP-008",
      "next_action": "Retain the immutable archive and receipt through promotion and keep inaccessible routes visibly distinct in Explorer.",
      "release_effect": "none-before-ui-acceptance",
      "status": "resolved",
      "summary": "A post-build latest-entry check is bound to the effects chunk and records 16 agreements and six consistently inaccessible routes without claiming a full recrawl."
    },
    {
      "area": "model-assisted enrichment",
      "evidence": [
        "enrichment/model-assisted-v1-independent-audit.json",
        "whole-law/assurance/enrichment-v2-independent-audit-20260726.json",
        "bundle/enrichment/codex-assisted-v3/accepted-manifest.json",
        "enrichment/codex-assisted-v3/reviewer-task-receipt.json",
        "whole-law/assurance/enrichment-v3-independent-audit-20260726.json"
      ],
      "id": "IMP-GAP-009",
      "next_action": "Retain the rejected v1 and independently audited v2 publications as immutable historical evidence, and preserve the active v3 generator, reviewer, terminal-outcome, accepted-assertion and audit bindings through release promotion.",
      "release_effect": "none-before-freeze",
      "status": "resolved",
      "summary": "Historical v1 output remains rejected and the independently audited 22,299-assertion v2 publication remains preserved. The active governed v3 audit reconstructs all 365,786 terminal outcomes and all 56,479 independently reviewed accepted assertions with no active v1 output."
    },
    {
      "area": "evaluation gold evidence",
      "evidence": [
        "whole-law/evaluation/README.md",
        "whole-law/evaluation/release-questions.json",
        "whole-law/evaluation/executions/eval-76d593e3295063f2cbe5/verification.json",
        "whole-law/evaluation/executions/eval-76d593e3295063f2cbe5/integrity.json"
      ],
      "id": "IMP-GAP-010",
      "next_action": "Preserve the explicit distinction between the independently verified corpus-navigation gold suite and the retained non-gold broad legal prompts; do not present the navigation score as legal-answer correctness.",
      "release_effect": "resolved-for-corpus-navigation-GATE-11; no-legal-answer-assurance-claimed",
      "status": "resolved",
      "summary": "All 415 release questions now have independently reconstructed immutable corpus-navigation evidence, propositions, near-miss rules, temporal context and citations. Broad legal prompts remain non-gold context and no legal-answer correctness claim is made."
    },
    {
      "area": "evaluation execution",
      "evidence": [
        "whole-law/evaluation/README.md",
        "whole-law/evaluation/executions/eval-76d593e3295063f2cbe5/results.json",
        "whole-law/evaluation/executions/eval-76d593e3295063f2cbe5/scores.json",
        "whole-law/evaluation/executions/eval-76d593e3295063f2cbe5/challenge-discovery-calibration.json",
        "whole-law/evaluation/executions/eval-76d593e3295063f2cbe5/challenge-pass-1.json",
        "whole-law/evaluation/executions/eval-76d593e3295063f2cbe5/challenge-pass-2.json"
      ],
      "id": "IMP-GAP-011",
      "next_action": "Bind this immutable evaluation execution into the final candidate and retain its corpus-navigation-only assurance boundary.",
      "release_effect": "resolved-for-GATE-11",
      "status": "resolved",
      "summary": "The 415-answer release execution has zero hard failures, 100% schema-valid and citation-resolvable answers, a 100/100 minimum critical-family score, and two disjoint challenge passes with zero critical modes and 0% new categories."
    },
    {
      "area": "browser, accessibility and performance",
      "evidence": [
        "release-assurance/release-gates.json"
      ],
      "id": "IMP-GAP-012",
      "next_action": "Run and bind fresh Chrome, Firefox and WebKit acceptance against immutable Explorer v0.9.2 commit acf23958aa1ce11ec52c41313649b20d24f17609 and the exact frozen Core 0.3 Legislation revision, descriptors and complete inventory. Retain separate public, clean-reproduction and release gates.",
      "release_effect": "blocks-GATE-07-and-GATE-08",
      "status": "blocked",
      "summary": "Historical consumer and mutable-candidate evidence remains preserved. The active v0.5.0 candidate pins immutable Explorer v0.9.2, tag object 9b583053719259f5962fe7b4bce392420e1b9db7, protected CI 45552712413 and Pages 45556087556. Its 199,260,836-byte ZIP, 858,245,120-byte TAR, 11,328-file inventory and 67-file application tree have independent exact-byte checks and fresh producer observations. Candidate-specific release-bound runtime, accessibility and performance acceptance remains pending; consumer archive identity does not establish those gates."
    },
    {
      "area": "public access and links",
      "evidence": [
        "scripts/check_internal_links.py",
        "release-assurance/release-gates.json"
      ],
      "id": "IMP-GAP-013",
      "next_action": "After deployment, crawl Pages, raw, archive and compatibility routes unauthenticated and bind the results.",
      "release_effect": "blocks-GATE-09",
      "status": "blocked",
      "summary": "Local link validation exists, but deployed public entry-point validation is externally closable only after exact freeze, immutable RC publication and deployment."
    },
    {
      "area": "YAML-LD HTTP media type",
      "evidence": [
        "docs/effects-and-enrichment.md",
        "whole-law/ontology/standards.json"
      ],
      "id": "IMP-GAP-014",
      "next_action": "Serve application/ld+yaml after migration to a suitable host; retain JSON-LD and download fallbacks.",
      "release_effect": "declared-hosting-exception",
      "status": "deferred",
      "summary": "GitHub Pages serves YAML-LD as application/octet-stream and must not be described as transport-conformant."
    },
    {
      "area": "clean-room reproduction",
      "evidence": [
        "release-assurance/release-policy.json"
      ],
      "id": "IMP-GAP-015",
      "next_action": "Run clean-clone generation with pinned dependencies and compare semantic and byte digests.",
      "release_effect": "blocks-GATE-06",
      "status": "blocked",
      "summary": "A reproduction contract exists, but clean-room execution and exact archive-byte evidence are externally closable only after exact freeze."
    },
    {
      "area": "security assurance",
      "evidence": [
        "release-assurance/release-gates.json"
      ],
      "id": "IMP-GAP-016",
      "next_action": "Run the security scan only after the exact release candidate is frozen.",
      "release_effect": "blocks-GATE-10-after-freeze",
      "status": "blocked",
      "summary": "The earlier security scan targeted a mutable, incomplete implementation and cannot seal the final candidate. Exact-candidate secret, dependency, content and supply-chain assurance is externally closable only after exact freeze."
    },
    {
      "area": "release and promotion",
      "evidence": [
        "release-assurance/release-policy.json",
        "release-assurance/release-gates.json"
      ],
      "id": "IMP-GAP-017",
      "next_action": "Freeze the validated Legislation candidate once, create and publish its immutable archive, deploy it, run the post-RC checks and promote identical digests through the external finalization workflow.",
      "release_effect": "blocks-external-release-and-GATE-13-after-freeze",
      "status": "blocked",
      "summary": "No exact Legislation candidate has been frozen, archived, deployed or promoted. These release and promotion obligations are externally closable only after exact freeze; embedded GATE-12 is already complete and is not blocked by this record."
    },
    {
      "area": "external assurance",
      "evidence": [
        "research/whole-law-okf-research/adversarial-audit.json",
        "whole-law/evaluation/README.md"
      ],
      "id": "IMP-GAP-018",
      "next_action": "Commission qualified legal-practitioner, accessibility-expert or third-party assurance separately if required.",
      "release_effect": "must-remain-explicit",
      "status": "open",
      "summary": "No internal result is represented as qualified practitioner, accessibility-expert or third-party legal assurance."
    },
    {
      "area": "licence and access escalation",
      "evidence": [
        "whole-law/acquisition/current/source-constraint-ledger.json"
      ],
      "id": "IMP-GAP-019",
      "next_action": "Carry every triggered constraint, owner, mitigation and escalation state into the final report.",
      "release_effect": "internal-escalation-required",
      "status": "open",
      "summary": "Fair-use, licence, authentication, availability and related constraints remain visible rather than silently reducing prototype scope."
    },
    {
      "area": "GitHub operation",
      "evidence": [
        "AGENTS.md",
        "release-assurance/github-operation-environment.json"
      ],
      "id": "IMP-GAP-020",
      "next_action": "Retain the outside-sandbox authentication rule and credential-safe receipt; repeat the safe check if a later sandboxed GitHub operation fails.",
      "release_effect": "procedural",
      "status": "resolved",
      "summary": "Repository policy distinguishes restricted-sandbox failures from credential state, and an outside-sandbox check verified the active chris-page-gov login and a passing authenticated PR operation without recording the token."
    },
    {
      "area": "Codex task-surface execution metadata",
      "evidence": [
        "AGENTS.md",
        "bundle/enrichment/codex-assisted-v3/run.json",
        "enrichment/codex-assisted-v3/reviewer-task-receipt.json",
        "whole-law/assurance/enrichment-v3-independent-audit-20260726.json"
      ],
      "id": "IMP-GAP-021",
      "next_action": "Retain the unavailable fields explicitly in every governed Codex run and final cost report; bind all metadata the task surface does expose, and never infer deployment identity, sampling parameters, subscription usage, weekly-allowance consumption or task-surface token billing.",
      "release_effect": "declared-nonblocking-task-surface-limitation",
      "status": "resolved",
      "summary": "The Codex task surface does not expose its exact underlying deployment identifier, sampling parameters, subscription or weekly-allowance consumption, or billable task-surface token usage. D-13 selects Codex without an API key or direct API calls, so this is an explicitly declared nonblocking observability limitation rather than a missing paid-run prerequisite. The accepted v3 run records zero API calls, zero API input/output tokens and exactly USD 0 / GBP 0 direct OpenAI API spend; total economic cost is not claimed to be zero."
    },
    {
      "area": "legal entity model coverage",
      "evidence": [
        "whole-law/assurance/entity-model-coverage-assessment-20260726.json",
        "release-assurance/implementation-traceability.json"
      ],
      "id": "IMP-GAP-022",
      "next_action": "Future child bundles may acquire independently counted expression, provision, case, court, organisation, publication, jurisdiction and temporal-state inventories without changing or overstating the v0.4.0 federation catalogue.",
      "release_effect": "accepted-federation-population-boundary",
      "status": "deferred",
      "summary": "The semantic contract represents every named class at the approved catalogue/schema grain. Complete population of every future source-family child bundle is explicitly outside the v0.4.0 federation claim."
    },
    {
      "area": "Codex calibration thresholds and optional direct API profile",
      "evidence": [
        "enrichment/codex-assisted-v3/calibration.json",
        "bundle/enrichment/codex-assisted-v3/calibration-result.json",
        "enrichment/codex-assisted-v3/reviewer-task-receipt.json",
        "whole-law/assurance/enrichment-v3-independent-audit-20260726.json",
        "enrichment/codex-assisted-v2-calibration.json",
        "enrichment/model-assisted-calibration-manifest-v1.json",
        "enrichment/model-assisted-paid-governance-v1.json",
        "release-assurance/implementation-traceability.json"
      ],
      "id": "IMP-GAP-023",
      "next_action": "Preserve the independently accepted Codex calibration result and the D-13 supersession through freeze and promotion. Retain direct-API priced-model comparison and configured paid-model escalation solely as an optional future profile requiring a new explicit user decision.",
      "release_effect": "resolved-current-Codex-calibration; direct-API-profile-superseded-by-D-13",
      "status": "resolved",
      "summary": "The governed v3 fixed calibration set passed with 100% output-contract schema validity, 100% fixed-set precision and 100% evidence support, and the separate reviewer plus deterministic auditor accepted it. D-13 supersedes P05-02's direct-API priced-model selection and configured paid-model escalation for the current no-API implementation; P05-02 therefore has terminal superseded closure without discarding the completed calibration evidence."
    },
    {
      "area": "model enrichment input evidence",
      "evidence": [
        "bundle/enrichment/codex-assisted-v3/run.json",
        "bundle/enrichment/codex-assisted-v3/coverage.json",
        "bundle/enrichment/codex-assisted-v3/terminal-outcome-manifest.json",
        "bundle/enrichment/codex-assisted-v3/accepted-manifest.json",
        "whole-law/assurance/model-assisted-input-eligibility-20260726.json",
        "whole-law/assurance/enrichment-v3-independent-audit-20260726.json",
        "release-assurance/implementation-traceability.json"
      ],
      "id": "IMP-GAP-024",
      "next_action": "Retain the per-work terminal outcomes and explicit field-evaluation evidence on refresh. If frozen CLML becomes available in a later snapshot, process it as new evidence rather than rewriting this immutable abstention record.",
      "release_effect": "resolved-for-v3-snapshot",
      "status": "resolved",
      "summary": "The v3 run attempted all 365,786 works and emitted exactly one integrity-bound terminal outcome for each: 28,635 works produced supported candidates and 337,151 truthfully abstained without a supported candidate. It did not fabricate CLML evidence where no frozen body was available. Independent review and audit accepted 56,479 assertions."
    },
    {
      "area": "independent model review",
      "evidence": [
        "enrichment/codex-assisted-v3/reviewer-prompt.md",
        "enrichment/codex-assisted-v3/review-policy.json",
        "enrichment/codex-assisted-v3/reviewer-task-receipt.json",
        "bundle/enrichment/codex-assisted-v3/review-verdict-manifest.json",
        "whole-law/assurance/enrichment-v3-independent-audit-20260726.json",
        "release-assurance/implementation-traceability.json"
      ],
      "id": "IMP-GAP-025",
      "next_action": "Preserve reviewer/generator task separation, prompt and material hashes, one-to-one verdict coverage and deterministic reconstruction on every refresh. Continue to declare the exact Codex deployment identity unavailable and do not present this as qualified legal assurance.",
      "release_effect": "resolved-for-v3-snapshot",
      "status": "resolved",
      "summary": "A separately tasked Codex semantic reviewer, bound to a distinct prompt and review policy, accepted the corrected R3 materials without editing the source. The verdict manifest contains one verdict for every one of 56,479 proposed assertions, and the independent deterministic auditor reconstructed all outcomes with zero errors. Exact deployment identity remains a declared nonblocking limitation."
    },
    {
      "area": "final Codex cost and secret-safe release evidence",
      "evidence": [
        "AGENTS.md",
        "bundle/enrichment/codex-assisted-v3/run.json",
        "bundle/enrichment/codex-assisted-v3/accepted-manifest.json",
        "whole-law/assurance/enrichment-v3-independent-audit-20260726.json",
        "release-assurance/implementation-traceability.json",
        "scripts/build_release_assurance.py",
        "tests/test_release_assurance.py"
      ],
      "id": "IMP-GAP-026",
      "next_action": "Preserve the accepted v3 denominator, exact zero direct-API cost receipt and unavailable/unmetered Codex service fields through freeze and promotion. Bind exact-candidate secret assurance separately under external GATE-10.",
      "release_effect": "resolved-by-D-13; exact-candidate-secret-scan-remains-external-GATE-10",
      "status": "resolved",
      "summary": "D-13 supersedes P05-06's direct-API paid-stage preflight and cap mechanics for the selected no-API route. The accepted v3 evidence records 56,479 accepted assertions, zero API calls and API input/output tokens, exact USD 0 / GBP 0 direct API spend, USD 0 cost per accepted assertion, exchange-rate non-applicability and unavailable/unmetered Codex service fields; no API key was required or used. P05-06 therefore has terminal superseded closure, while exact-frozen-candidate secret scanning remains a separate external GATE-10 obligation."
    }
  ],
  "scope_note": "This implementation gap register supplements, but does not modify, the immutable 28-record research gap register. Resolved means the named implementation omission has evidence; it does not mean the release is complete.",
  "schema": "okf-implementation-gap-register.v1",
  "source_research_gap_register": {
    "path": "research/whole-law-okf-research/gap-register.json",
    "records": 28
  }
}
