{
  "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": "Central per-document metadata registry: title (EN/TH), subtitle (EN/TH), group, owner, phase, status, audience, stakeholder tags. Used by the coverage UI, backlog view, and status page to render coherent labels across languages.",
  "purpose_th": "ทะเบียน metadata กลางของเอกสารแต่ละหน้า · ใช้ใน coverage UI, backlog, status page ให้ label สองภาษาตรงกัน",
  "honest_note": "Only entries backed by actual pages in the repo are listed. Fields left blank indicate 'no evidence in-page' rather than 'not applicable'. Keep in sync with document-shell-coverage.json.",
  "documents": {
    "/document-groups.html": {
      "title_en": "Document Groups",
      "title_th": "กลุ่มเอกสาร",
      "subtitle_en": "Audit of every document · 6 main groups · cross-references · shell reference implementation",
      "subtitle_th": "Audit ของเอกสารทั้งหมด · 6 กลุ่มหลัก · อ้างอิงข้ามกลุ่ม · ตัวอย่างการใช้ shell",
      "group": "start",
      "owner": "A",
      "phase": "Batch 6 · v1.0",
      "status": "live · scaffold",
      "audience": ["executive", "developer", "governance", "operator"],
      "stakeholder_tags": ["executive", "product", "governance", "developer"]
    },
    "/planning/document-shell-standard.html": {
      "title_en": "Document Shell Standard",
      "title_th": "มาตรฐาน Document Shell",
      "subtitle_en": "Universal Document Shell v1.0 · 18 sections · sub-tabs 2 modes · body 16pt · notes 14pt",
      "subtitle_th": "มาตรฐาน shell · 18 ส่วน · sub-tabs 2 โหมด · body 16pt · note 14pt",
      "group": "planning",
      "owner": "A",
      "phase": "Batch 6 · v1.0",
      "status": "draft",
      "audience": ["developer", "product"],
      "stakeholder_tags": ["developer", "product"]
    },
    "/planning/document-note-system.html": {
      "title_en": "Document Note System",
      "title_th": "ระบบ Notes / Requirements",
      "subtitle_en": "Per-document note loop · 14-field schema · 8-state lifecycle · AI sweep model · localStorage scaffold",
      "subtitle_th": "ระบบโน้ต/ความต้องการต่อเอกสาร · schema 14 ฟิลด์ · สถานะ 8 แบบ · AI sweep เป็น model · เก็บใน localStorage",
      "group": "planning",
      "owner": "A",
      "phase": "Batch 6 · v1.0",
      "status": "draft",
      "audience": ["developer", "product", "governance"],
      "stakeholder_tags": ["developer", "governance", "product"]
    },
    "/planning/document-access-model.html": {
      "title_en": "Document Access Model",
      "title_th": "โมเดลสิทธิ์",
      "subtitle_en": "User profile + visibility rules · group+doc level · TH/EN labels · browser-local scaffold",
      "subtitle_th": "โปรไฟล์ผู้ใช้ + กฎ visibility · ระดับกลุ่ม/เอกสาร · สองภาษา · เก็บใน browser",
      "group": "planning",
      "owner": "A",
      "phase": "Batch 7 · v1.0",
      "status": "draft",
      "audience": ["governance", "developer", "external"],
      "stakeholder_tags": ["governance", "compliance", "developer"]
    },
    "/planning/document-share-export.html": {
      "title_en": "Document Share · Export",
      "title_th": "แชร์ · ส่งออก",
      "subtitle_en": "PDF via window.print · Web Share API with honest fallback · per-OS capability matrix",
      "subtitle_th": "PDF ผ่าน window.print · Web Share พร้อม fallback · ตารางรองรับต่อ OS",
      "group": "planning",
      "owner": "A",
      "phase": "Batch 7 · v1.0",
      "status": "draft",
      "audience": ["executive", "operator", "product"],
      "stakeholder_tags": ["product", "operations"]
    },
    "/planning/document-auth-backend.html": {
      "title_en": "Document Auth Backend",
      "title_th": "Auth Backend",
      "subtitle_en": "FastAPI local/dev auth · UUID sessions · file-backed users · shell integration with offline fallback",
      "subtitle_th": "Backend auth แบบ local/dev · session UUID · user file-backed · shell ใช้ผลจาก backend พร้อม offline fallback",
      "group": "planning",
      "owner": "A",
      "phase": "Batch 8 · v1.0",
      "status": "draft",
      "audience": ["developer", "governance", "operator"],
      "stakeholder_tags": ["developer", "governance"]
    },
    "/runtime/document-access-service/service.html": {
      "title_en": "Document Access Service · Debug",
      "title_th": "Service · Debug",
      "subtitle_en": "Live inspector of local FastAPI auth · click-to-call endpoints · mode badge",
      "subtitle_th": "หน้า debug · เรียก endpoint · เห็นโหมดปัจจุบัน",
      "group": "runtime",
      "owner": "A",
      "phase": "Batch 8 · v1.0",
      "status": "scaffold",
      "audience": ["developer", "operator"],
      "stakeholder_tags": ["developer", "operations"]
    },
    "/planning/document-shell-coverage.html": {
      "title_en": "Document Shell Coverage",
      "title_th": "แผนที่ Shell Rollout",
      "subtitle_en": "Which documents use the shell · which features enabled · next retrofit candidates",
      "subtitle_th": "เอกสารใดใช้ shell แล้ว · feature ใดเปิดอยู่ · รายการ retrofit ถัดไป",
      "group": "planning",
      "owner": "A",
      "phase": "Batch 9 · v1.0",
      "status": "draft",
      "audience": ["developer", "product", "governance"],
      "stakeholder_tags": ["developer", "product"]
    },
    "/planning/document-note-backlog.html": {
      "title_en": "Document Note Backlog",
      "title_th": "Backlog โน้ต/ความต้องการทั้งระบบ",
      "subtitle_en": "Aggregate view across shelled docs · filter by doc/group/status/priority/stakeholder · browser-local data",
      "subtitle_th": "รวม note จากทุกหน้าที่ใช้ shell · กรองตาม doc/กลุ่ม/สถานะ/ลำดับ/stakeholder · ข้อมูลใน browser",
      "group": "planning",
      "owner": "A",
      "phase": "Batch 9 · v1.0",
      "status": "draft",
      "audience": ["developer", "governance", "product"],
      "stakeholder_tags": ["developer", "governance"]
    },
    "/planning/document-management-status.html": {
      "title_en": "Document Management Status",
      "title_th": "สถานะจัดการเอกสาร",
      "subtitle_en": "Closeout status · what is done · what is conditional · what is deferred · next wave",
      "subtitle_th": "สรุปสถานะปิดงานจัดการเอกสาร · ปิดแล้ว · ผ่านแบบมีเงื่อนไข · ยัง defer · จะทำอะไรต่อ",
      "group": "planning",
      "owner": "A",
      "phase": "Batch 9 · v1.0",
      "status": "draft",
      "audience": ["executive", "product", "developer", "governance", "operator"],
      "stakeholder_tags": ["executive", "product", "governance"]
    },
    "/journey-console.html": {
      "title_en": "Journey Console",
      "title_th": "หน้า Journey",
      "subtitle_en": "Main-console tab 7 · 9 Journey subgroups · executive brief + developer entry",
      "subtitle_th": "แท็บที่ 7 ของหน้าหลัก · 9 กลุ่มย่อย · เริ่มอ่านที่นี่",
      "group": "journey",
      "owner": "A",
      "phase": "Batch 5 · v1.0",
      "status": "live",
      "audience": ["executive", "developer", "product"],
      "stakeholder_tags": ["executive", "product", "developer"]
    }
  },
  "cross_references": {
    "coverage":      "docs/assets/document-shell-coverage.json",
    "related_map":   "docs/assets/document-related-map.json",
    "reading_flow":  "docs/assets/document-reading-flow.json",
    "access_matrix": "docs/assets/access/document_visibility_matrix.json"
  }
}
