{
  "schema_version": "1.0",
  "baseline": "A-document-management-closeout-v1",
  "phase": "Batch 9 · closeout wave",
  "updated_at": "2026-04-20",
  "owner": "session_a",
  "purpose_en": "Authoritative registry of which console documents use the Universal Document Shell, which have notes/access/export/glossary/reading-flow/checklist/references, and per-document rollout status. This is a STATIC registry maintained by hand; it does NOT crawl the filesystem. Coverage counts reflect reality as of updated_at.",
  "purpose_th": "ทะเบียนว่าเอกสารใดใช้ Universal Document Shell แล้วบ้าง · แต่ละ feature เปิดหรือยัง · เป็นทะเบียน static ที่ดูแลด้วยมือ · ไม่ได้ crawl filesystem",
  "honest_note": "Coverage is 10 / ~100+ HTML surfaces. Legacy pages are not retrofitted. Fields set to false are honest omissions — do not set true without matching evidence in the page HTML.",
  "feature_fields": {
    "shell_enabled":    "Page links document-shell.css + document-shell.js and sets class='ds-page'",
    "notes_enabled":    "Page has data-ds-notes section",
    "access_enforced":  "Page is included in document_visibility_matrix.json document_map and receives backend decisions when backend is reachable",
    "export_enabled":   "Page offers data-ds-action='print' + 'copy-link' + 'share' in the topbar",
    "glossary":         "Page has a .ds-section--glossary or equivalent term list",
    "checklist":        "Page has a .ds-section--checklist or equivalent action list",
    "references":       "Page has a .ds-section--references with external/internal links",
    "reading_flow":     "Page has before/next reading block or panel",
    "metadata_in_registry": "Entry exists in docs/assets/document-metadata-registry.json"
  },
  "status_values": {
    "retrofitted":      "Page fully adopts the shell · set of features enabled",
    "partial":          "Page uses some shell classes or carries legacy layout alongside shell insets",
    "legacy":           "Original presentation · not using the shell",
    "not-included":     "Page deliberately outside shell scope (e.g. tourist demo, gate shim)"
  },
  "groups_covered": ["start", "knowledge", "planning", "runtime", "operations", "journey"],
  "coverage_counts": {
    "total_documents_in_registry": 36,
    "shell_enabled": 10,
    "notes_enabled": 10,
    "access_enforced": 10,
    "export_enabled": 14,
    "glossary": 4,
    "checklist": 9,
    "references": 14,
    "reading_flow": 3,
    "partial": 4,
    "legacy": 22,
    "not_included": 2
  },
  "documents": [
    {
      "doc_id": "/index.html",
      "group": "start",
      "label_en": "Main Console",
      "label_th": "หน้าหลัก",
      "status": "not-included",
      "shell_enabled": false,
      "notes_enabled": false,
      "access_enforced": false,
      "export_enabled": false,
      "glossary": false, "checklist": false, "references": false, "reading_flow": false,
      "metadata_in_registry": false,
      "rationale": "Top-level portal · uses its own inline styling · not a document page."
    },
    {
      "doc_id": "/operations-portal.html",
      "group": "start",
      "label_en": "Operations Portal",
      "label_th": "ศูนย์ปฏิบัติการ",
      "status": "not-included",
      "shell_enabled": false,
      "notes_enabled": false,
      "access_enforced": false,
      "export_enabled": false,
      "glossary": false, "checklist": false, "references": false, "reading_flow": false,
      "metadata_in_registry": false,
      "rationale": "Portal-style surface · intentionally kept legacy for fast linking · shell not applied."
    },
    {
      "doc_id": "/journey-console.html",
      "group": "journey",
      "label_en": "Journey Console",
      "label_th": "หน้า Journey",
      "status": "partial",
      "shell_enabled": false,
      "notes_enabled": false,
      "access_enforced": false,
      "export_enabled": false,
      "glossary": false, "checklist": false, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "rationale": "Custom hub layout · retrofit pending."
    },
    {
      "doc_id": "/document-groups.html",
      "group": "start",
      "label_en": "Document Groups",
      "label_th": "กลุ่มเอกสาร",
      "status": "retrofitted",
      "shell_enabled": true,
      "notes_enabled": true,
      "access_enforced": true,
      "export_enabled": true,
      "glossary": true, "checklist": true, "references": true, "reading_flow": true,
      "metadata_in_registry": true,
      "wave": "Batch 6"
    },
    {
      "doc_id": "/planning/document-shell-standard.html",
      "group": "planning",
      "label_en": "Document Shell Standard",
      "label_th": "มาตรฐาน Shell",
      "status": "retrofitted",
      "shell_enabled": true,
      "notes_enabled": true,
      "access_enforced": true,
      "export_enabled": true,
      "glossary": true, "checklist": true, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 6"
    },
    {
      "doc_id": "/planning/document-note-system.html",
      "group": "planning",
      "label_en": "Document Note System",
      "label_th": "ระบบโน้ต",
      "status": "retrofitted",
      "shell_enabled": true,
      "notes_enabled": true,
      "access_enforced": true,
      "export_enabled": true,
      "glossary": true, "checklist": true, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 6"
    },
    {
      "doc_id": "/planning/document-access-model.html",
      "group": "planning",
      "label_en": "Document Access Model",
      "label_th": "โมเดลสิทธิ์",
      "status": "retrofitted",
      "shell_enabled": true,
      "notes_enabled": true,
      "access_enforced": true,
      "export_enabled": true,
      "glossary": false, "checklist": true, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 7"
    },
    {
      "doc_id": "/planning/document-share-export.html",
      "group": "planning",
      "label_en": "Document Share · Export",
      "label_th": "แชร์ · ส่งออก",
      "status": "retrofitted",
      "shell_enabled": true,
      "notes_enabled": true,
      "access_enforced": true,
      "export_enabled": true,
      "glossary": false, "checklist": true, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 7"
    },
    {
      "doc_id": "/planning/document-auth-backend.html",
      "group": "planning",
      "label_en": "Document Auth Backend",
      "label_th": "Auth Backend",
      "status": "retrofitted",
      "shell_enabled": true,
      "notes_enabled": true,
      "access_enforced": true,
      "export_enabled": true,
      "glossary": false, "checklist": true, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 8"
    },
    {
      "doc_id": "/runtime/document-access-service/service.html",
      "group": "runtime",
      "label_en": "Document Access Service · Debug",
      "label_th": "Service · Debug",
      "status": "retrofitted",
      "shell_enabled": true,
      "notes_enabled": false,
      "access_enforced": true,
      "export_enabled": true,
      "glossary": false, "checklist": false, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 8"
    },
    {
      "doc_id": "/planning/document-shell-coverage.html",
      "group": "planning",
      "label_en": "Document Shell Coverage",
      "label_th": "แผนที่ Shell",
      "status": "retrofitted",
      "shell_enabled": true,
      "notes_enabled": true,
      "access_enforced": true,
      "export_enabled": true,
      "glossary": false, "checklist": true, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 9"
    },
    {
      "doc_id": "/planning/document-note-backlog.html",
      "group": "planning",
      "label_en": "Document Note Backlog",
      "label_th": "Backlog โน้ต",
      "status": "retrofitted",
      "shell_enabled": true,
      "notes_enabled": true,
      "access_enforced": true,
      "export_enabled": true,
      "glossary": false, "checklist": true, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 9"
    },
    {
      "doc_id": "/planning/document-management-status.html",
      "group": "planning",
      "label_en": "Document Management Status",
      "label_th": "สถานะจัดการเอกสาร",
      "status": "retrofitted",
      "shell_enabled": true,
      "notes_enabled": true,
      "access_enforced": true,
      "export_enabled": true,
      "glossary": false, "checklist": true, "references": true, "reading_flow": true,
      "metadata_in_registry": true,
      "wave": "Batch 9"
    },
    {
      "doc_id": "/planning/feature-flags-phase-2b.html",
      "group": "planning",
      "label_en": "FF Phase 2b",
      "label_th": "FF 2b",
      "status": "legacy"
    },
    {
      "doc_id": "/planning/feature-flags-phase-2b-plus.html",
      "group": "planning",
      "label_en": "FF Phase 2b+",
      "label_th": "FF 2b+",
      "status": "legacy"
    },
    {
      "doc_id": "/planning/feature-flags-batch-4-readiness.html",
      "group": "planning",
      "label_en": "FF Batch 4 Readiness",
      "label_th": "FF Batch 4",
      "status": "partial",
      "shell_enabled": false,
      "notes_enabled": false,
      "access_enforced": false,
      "export_enabled": true,
      "glossary": false, "checklist": true, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 10 bridge",
      "rationale": "Sticky back-to-console + print/copy buttons injected; body preserved. Full retrofit still pending."
    },
    {
      "doc_id": "/planning/admin-control-plane-phase-2b.html",
      "group": "planning",
      "label_en": "Admin Control Plane 2b",
      "label_th": "Admin 2b",
      "status": "legacy"
    },
    {
      "doc_id": "/planning/admin-control-plane-batch-4-readiness.html",
      "group": "planning",
      "label_en": "Admin Batch 4 Readiness",
      "label_th": "Admin Batch 4",
      "status": "partial",
      "shell_enabled": false,
      "notes_enabled": false,
      "access_enforced": false,
      "export_enabled": true,
      "glossary": false, "checklist": true, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 10 bridge"
    },
    {
      "doc_id": "/planning/cross-runtime-integration.html",
      "group": "planning",
      "label_en": "Cross-Runtime Integration",
      "label_th": "เชื่อม runtime",
      "status": "partial",
      "shell_enabled": false,
      "notes_enabled": false,
      "access_enforced": false,
      "export_enabled": true,
      "glossary": false, "checklist": false, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 10 bridge"
    },
    {
      "doc_id": "/planning/runtime-continuation-batch-1.html",
      "group": "planning",
      "label_en": "Runtime Continuation Batch 1",
      "label_th": "Batch 1 planning",
      "status": "partial",
      "shell_enabled": false,
      "notes_enabled": false,
      "access_enforced": false,
      "export_enabled": true,
      "glossary": false, "checklist": false, "references": true, "reading_flow": false,
      "metadata_in_registry": true,
      "wave": "Batch 10 bridge"
    },
    {
      "doc_id": "/planning/ia-governance.html",
      "group": "planning",
      "label_en": "IA Governance",
      "label_th": "กฎ IA",
      "status": "legacy"
    },
    {
      "doc_id": "/planning/discovery-audit.html",
      "group": "planning",
      "label_en": "Discovery Audit",
      "label_th": "ตรวจสอบการค้นหา",
      "status": "legacy"
    },
    {
      "doc_id": "/runtime/wizard/index.html",
      "group": "runtime",
      "label_en": "Wizard runtime",
      "label_th": "Wizard",
      "status": "legacy"
    },
    {
      "doc_id": "/runtime/enterprise-upload/index.html",
      "group": "runtime",
      "label_en": "Enterprise Upload",
      "label_th": "อัปโหลดองค์กร",
      "status": "legacy"
    },
    {
      "doc_id": "/runtime/intake-workspace/index.html",
      "group": "runtime",
      "label_en": "Intake Workspace",
      "label_th": "Workspace",
      "status": "legacy"
    },
    {
      "doc_id": "/runtime/generated-assets/index.html",
      "group": "runtime",
      "label_en": "Generated Assets",
      "label_th": "ของที่ AI สร้าง",
      "status": "legacy"
    },
    {
      "doc_id": "/runtime/daily-queue/index.html",
      "group": "runtime",
      "label_en": "Daily 07:00 Queue",
      "label_th": "คิวประจำวัน 07:00",
      "status": "legacy"
    },
    {
      "doc_id": "/runtime/feature-flags-service/phase-2b.html",
      "group": "runtime",
      "label_en": "FF Service · Phase 2b",
      "label_th": "FF service 2b",
      "status": "legacy"
    },
    {
      "doc_id": "/runtime/feature-flags-service/phase-2b-plus.html",
      "group": "runtime",
      "label_en": "FF Service · Phase 2b+",
      "label_th": "FF service 2b+",
      "status": "legacy"
    },
    {
      "doc_id": "/runtime/admin-control-plane-service/phase-2b.html",
      "group": "runtime",
      "label_en": "Admin Service · 2b",
      "label_th": "Admin service 2b",
      "status": "legacy"
    },
    {
      "doc_id": "/kb/phase-overview-1a-12f.html",
      "group": "knowledge",
      "label_en": "Phase Overview 1A–12F",
      "label_th": "Overview 1A–12F",
      "status": "legacy",
      "owner_note": "B-owned substance · retrofit requires B coordination"
    },
    {
      "doc_id": "/kb/journey-intelligence-system.html",
      "group": "journey",
      "label_en": "Journey Intelligence System",
      "label_th": "ระบบ Journey IQ",
      "status": "legacy",
      "owner_note": "B-owned substance"
    },
    {
      "doc_id": "/kb/index.html",
      "group": "knowledge",
      "label_en": "KB Portal · home",
      "label_th": "KB หน้าหลัก",
      "status": "legacy",
      "owner_note": "B-owned substance"
    },
    {
      "doc_id": "/kb/atlas.html",
      "group": "knowledge",
      "label_en": "Atlas",
      "label_th": "Atlas",
      "status": "legacy",
      "owner_note": "B-owned"
    },
    {
      "doc_id": "/kb/dashboard.html",
      "group": "journey",
      "label_en": "Dashboard Intelligence",
      "label_th": "Dashboard IQ",
      "status": "legacy",
      "owner_note": "B-owned"
    },
    {
      "doc_id": "/kb/nerve-center.html",
      "group": "knowledge",
      "label_en": "Nerve Center",
      "label_th": "Nerve Center",
      "status": "legacy",
      "owner_note": "B-owned"
    }
  ],
  "next_retrofit_candidates": [
    {
      "doc_id": "/planning/runtime-continuation-batch-1.html",
      "rationale_en": "Canonical planning doc referenced by many runtime scaffolds · high re-read frequency",
      "estimated_risk": "low · self-contained · A-owned"
    },
    {
      "doc_id": "/planning/cross-runtime-integration.html",
      "rationale_en": "Connects admin + FF narrative · good candidate for reading-flow",
      "estimated_risk": "medium · has custom diagrams"
    },
    {
      "doc_id": "/planning/feature-flags-batch-4-readiness.html",
      "rationale_en": "Recent · already Batch-4 structured · likely easiest conversion",
      "estimated_risk": "medium"
    },
    {
      "doc_id": "/planning/admin-control-plane-batch-4-readiness.html",
      "rationale_en": "Mirror of FF Batch 4 · same risk profile",
      "estimated_risk": "medium"
    },
    {
      "doc_id": "/planning/ia-governance.html",
      "rationale_en": "Governance metadata · belongs on shell for bilingual + access",
      "estimated_risk": "medium"
    }
  ],
  "non_goals_this_wave": [
    "Auto-crawl of actual filesystem state",
    "Automatic HTML rewriter that retrofits legacy pages",
    "B-owned KB substance edits",
    "Coverage enforcement in CI",
    "Server-side coverage API"
  ],
  "cross_references": {
    "metadata_registry":    "docs/assets/document-metadata-registry.json",
    "related_map":          "docs/assets/document-related-map.json",
    "reading_flow":         "docs/assets/document-reading-flow.json",
    "coverage_ui":          "docs/planning/document-shell-coverage.html",
    "note_backlog":         "docs/planning/document-note-backlog.html",
    "status_page":          "docs/planning/document-management-status.html",
    "shell_standard":       "docs/planning/document-shell-standard.html",
    "access_matrix":        "docs/assets/access/document_visibility_matrix.json"
  }
}
