Implementation Planning Pack แพ็กเอกสาร planning สำหรับ 5 runtime + 4 cross-cutting · Session A · A-owned · v0.2

เอกสาร planning ระดับ RFC · ยังไม่ bind runtime · v0.2 เพิ่ม ER diagrams · API sketches · sequence flows · binding-status column ทุกหน้า. อ่าน docs/kb/data/session_a_handoff.json เป็น contract แล้ว map ไป A-side runtime surface ที่ต้อง build.

Planning · v0.2
ไม่ใช่ runtime · ไม่มี code จริง · ไม่มี production deploy · ทุกหน้าเป็น design doc + diagrams + field map + API sketch. Runtime จริงต้องผ่าน per-item human approval ตาม session_a_handoff.hard_rules ก่อนลงมือ · ไม่แตะ B-owned files (docs/kb/*).
Binding status legend: livebacked by real data · tested mockhardcoded sample response mapped-not-boundschema known · no impl yet placeholderstub · awaiting design derivedcomputed from other fields

5 Runtime Targets เป้าหมาย runtime ที่ pair กับ B-shell routes

01 · Dashboard Runtime

Dashboard แดชบอร์ด · ศูนย์ติดตาม intelligence

17 dashboards · 6 tab axes · 13 chart types · time intelligence · personal preset · cross-filter. Runtime ต้อง build query pipeline + chart renderer + preset storage.
B-shell: /kb/dashboard Contract: v12E Depends on: Feature flags
02 · Cases Runtime

Cases เคส · daily queue + case portal

Case schema (27 fields) · 6 creation modes · 7 view modes · 11 lifecycle statuses · 07:00 possible-case queue · 4h review SLA · AI 12-stage pipeline.
B-shell: /kb/cases + /kb/case-portal Contract: v12E Depends on: Alerting + SLA
03 · Generate Runtime

Generate แกลเลอรี AI · audit + promotion

AI-authored asset registry (SUB-1) · 8 review statuses · 4-stage promotion (T5→T4/T3/T2) · review queue · sign-off capture · diff view. ไม่ใช่เครื่องสร้างใหม่.
B-shell: /kb/generated Contract: v12F Depends on: Approval matrix
04 · Tenant Runtime

Tenant ผู้เช่า · upload + hybrid intake

Enterprise upload (13 source origins · 4 unit modes · 9-stage pipeline · coverage score · conflict matrix) + Hybrid Intake Workspace (8 panels · shared state · multi-user).
B-shell: /kb/enterprise-upload + /kb/intake-workspace Contract: v12F Depends on: Tenant registry + Flags
05 · Wizard Runtime

Wizard Premium Wizard · 8-step personal view

8 steps × trilingual · 4 approval gates · output = personal KB-view bundle (ไม่ใช่ tenant) · AI suggestion + faithfulness floor + PII scan · sensitive-surface escalation.
B-shell: /kb/wizard Contract: v12F Depends on: Auth + Upload + AI

Cross-cutting Planning Pages รายการ cross-cutting · 4 หน้าใหม่ใน v0.2

IA Governance + Operations A-owned references · structure · discipline · recovery

10 · IA Governance

Governance ระบอบ IA · คุมโครงสร้าง console / portal / path / owner

กฎมาตรฐาน naming · path rules · owner matrix · portal hierarchy · Live/Shell/Soon policy · change control · soft caps. JSON: ia-governance.json.
Reserved words: Dashboard · Operations · Portal · Planning · Runtime · KB
11 · Terminal Recovery

Recovery คู่มือเรียก Claude · iTerm / tmux · reload · machine reboot

Operational runbook · first-time start · reattach · after-reboot recovery · source-of-truth priority (git → SYNC → README → changelog → resume → tmux) · 9 Q&A scenarios · bilingual TH+EN.
Use when: start of day · dropped session · fresh iTerm · reboot
12 · Index Portal · v2.0 dual search

Index ดัชนี · Title Search + Full-Text Search · 216 entries

Human document discovery · two search boxes (Title + Full-Text) · Google-like syntax (phrases, -exclude, AND-by-default) · tabs · filters · snippet results · tree hierarchy.
Source: index-catalog.json + appendix-catalog.json + fulltext-index.json
13 · Discovery Audit

Discovery Audit บันทึกการ sweep · reindex · coverage · gap fixes

System-wide audit report · surfaces scanned · entries added · searchability gaps closed · 17-term verification matrix · full-text coverage breakdown.
Source: discovery-audit.json
14 · Runtime Continuation · Batch 1

Runtime Continuation Batch 1 Phase 12F handoff → 5 A-owned runtime scaffolds · mapping + A/B boundary

Consolidated plan for Wizard · Enterprise Upload · Intake Workspace · Generated Assets · Daily 07:00 Queue runtime scaffolds. Contract-bound previews · no mutation paths · deferred items listed.
Scaffolds: /runtime/{wizard, enterprise-upload, intake-workspace, generated-assets, daily-queue}/

Other Cross-cutting (deferred) รายการอื่นๆ ที่หลายตัวพึ่ง · ไม่ได้ทำใน v0.2

Auth + Session

  • JWT RS256 + tier claim
  • tenant context · per-request
  • required by Wizard + Tenant + Cases sign-off
  • referenced in every v0.2 page; standalone doc deferred

Device / Layout Standards

  • mobile · tablet · desktop · kiosk · booth-display matrix
  • Layout templates: dashboard-heavy · wizard-flow · intake · case-portal
  • CLAUDE.md VIEWPORT_ADAPTATION_STANDARD_v4 (missing)
  • hand-device-layout-interaction · deferred to v0.3

73 → 84 services

  • 11 proposed SVC-* per handoff · per-service approval
  • A writes to services.json (A-owned channel)
  • B mirrors after
  • hand-73-to-84-services · handled per-service outside pack

How to Read a Planning Page วิธีอ่าน

Session A · Planning Pack v0.2 · 5 runtime + 4 cross-cutting · 0 production claims ← Back to Console