← Console · หน้าหลัก
Console/ Planning/ Document Management Status
RESOLVING…
Coverage → Backlog →

Document Management Status

Closeout status · what is done · what is conditional · what is deferred · next wave · end-to-end view of the Document Management line after Batch 9
Status report · รายงานสถานะ Live Batch 9 · closeout Planning A-owned

Access · สิทธิ์

Overview · ภาพรวม

This is the closeout status report for the Document Management line after Batch 9. It names, in plain language, which pieces are done, which passed with conditions, and which remain deferred — so no one has to guess.

รายงานสถานะการปิดสายงาน Document Management หลัง Batch 9 · ชัดเจนว่าส่วนใดปิดแล้ว · ส่วนใดผ่านแบบมีเงื่อนไข · ส่วนใดยังเลื่อน · เพื่อไม่ต้องเดา

Key Point · ประเด็น

Shell foundation done. Notes loop + access model + auth backend live at local/dev. Legacy retrofit still pending as progressive waves.
โครง shell เสร็จ · notes loop + access model + auth backend ใช้งานแบบ local/dev ได้ · การย้ายหน้าเดิมมาใช้ shell ยังเดินเป็น wave ถัดไป

Nothing here claims production. Everything marked "done" means done at scaffold / local-dev / browser-local level. Honest.
ไม่มีที่ไหน claim production · "done" ทุกที่หมายถึงสำเร็จที่ระดับ scaffold / local-dev / browser-local · ซื่อสัตย์

Summary · สรุป

Document Management grew across Batches 6–9: Batch 6 gave the shell + notes loop + 6-group audit; Batch 7 added access · share · i18n · stakeholder; Batch 8 shipped a real FastAPI auth backend (local/dev) with shell integration; Batch 9 adds the coverage map, aggregate backlog view, metadata/reading-flow registries, and this status page. Ten documents now use the shell. Everything else keeps its legacy styling on purpose — retrofits happen in waves.

Document Management พัฒนาใน Batch 6-9: Batch 6 ได้ shell + notes + 6 กลุ่ม · Batch 7 เพิ่ม access/share/i18n/stakeholder · Batch 8 ได้ backend FastAPI จริงระดับ local/dev · Batch 9 เพิ่ม coverage map · aggregate backlog · registries · status page · ปัจจุบัน 10 เอกสารใช้ shell · ที่เหลือยังคงสไตล์เดิมตามแผน · ย้ายมาเป็น wave

Closeout matrix · ตารางสถานะ

Piece · ส่วนงาน
State · สถานะ
Notes · หมายเหตุ
Universal Document Shell v1.2
CSS + JS · 18+ section families · sub-tabs 2 modes
Done
Live. Used by 10 A-owned documents. Legacy pages still untouched. · ใช้งานจริง · 10 หน้า · หน้าเดิมไม่แตะ
Document grouping
6 groups · cross-refs · visibility matrix
Done
Start / Knowledge / Planning / Runtime / Operations / Journey with authoritative group→doc map.
Notes loop (per-doc)
14-field schema · 8 states · 2 sort modes
Conditional
Works per shelled doc. Storage = localStorage only. · ใช้งานต่อหน้า · เก็บใน browser เท่านั้น
Aggregate notes backlog
All docs · filter/sort · counters
Done (scaffold)
Browser-scoped. Reads local ds.notes:*. No server aggregation. · เก็บในเครื่องเท่านั้น
Access model (profiles + visibility)
5 visibility states · group+doc rules
Done
Browser-local by default; backend-backed when service runs.
Auth backend (FastAPI local/dev)
7 endpoints · UUID sessions · file-backed users
Conditional
Real backend path · not production. No password · no TLS. Offline fallback honest. · ไม่ใช่ production
Access enforcement on target pages
7 pages + 3 new = 10 enforced
Conditional
UI-layer only · URLs still shareable externally · server doesn't gate HTML delivery.
Export / Share normalization
Print/PDF · Web Share · clipboard fallback
Done
Consistent affordance on all 10 shelled docs. Per-OS capability matrix documented.
TH/EN shell labels
Central dictionary · shell-layer only
Done (shell layer)
Groups/sections/statuses/actions/filters/stakeholder all bilingual. Page body not auto-translated.
Stakeholder filter
Multi-select · persists in localStorage
Conditional
UI-local only. Wired into backlog aggregate. Not enforcement. · กรองที่ UI เท่านั้น
Metadata + Related + Reading-Flow registries
3 JSON files
Done
Static, curated, consumed by coverage + backlog UIs.
Shell coverage map (Batch 9)
Who uses shell, what features, next candidates
Done
Static registry · no auto-crawl. Updated by hand on every wave.
Legacy retrofit · wave 2 (Batch 10)
4 planning pages · bridge retrofit only
Conditional
ff-batch-4-readiness · admin-batch-4-readiness · runtime-continuation-batch-1 · cross-runtime-integration · added sticky back-to-console bar + print/copy · bodies unchanged. Status = partial.
Legacy retrofit (remaining)
10+ planning · 15+ runtime · 30+ KB
Deferred
Wave-by-wave. KB pages require B coordination.
Notes backend (Batch 11)
FastAPI · port 8091 · file-backed
Done (scaffold)
7 endpoints (health / create / list / patch / delete / aggregate / by-doc). Single-writer file-backed store. Shell + backlog read backend-first with localStorage fallback.
Auth hardening (Batch 12)
HMAC-signed sessions · exp · revocation
Done (scaffold)
Tokens signed HMAC-SHA256 with exp claim · per-process random signing key · disabled-user lockout · logout revokes · still no password (deferred).
Server-side gating (Batch 12)
/api/access/gate envelope + stub HTML
Conditional
Envelope-level only. Server does NOT intercept HTML delivery. 14 shelled pages consume the gate on load and replace body when blocked. Legacy pages still unreachable to gating.
Server-side notes persistence
Deferred
Batch 10+ · schema is server-ready already.
Real authentication (password/OAuth/SSO)
Deferred
Batch 10+ · current backend accepts any known email · no password.
Server-side content gating
Deferred
HTML delivery currently does not depend on access state. Shell masks only.
AI periodic sweep (real scheduler)
Deferred
Model documented (10 checks). No cron yet.
Audit trail on visibility decisions
Deferred
Server logs stdout only. No structured audit sink.
KB content retrofit (B-owned)
Deferred
Requires B-session coordination. Shell can apply at presentation layer only.

Waves · ลำดับรอบที่ผ่านมา

WaveTheme · ธีมCommit · คอมมิต
Batch 6Document shell v1.0 + per-doc notes + 6-group audit0f15c4d
Batch 7Access · Share · i18n · Stakeholder filteradd77ae
Batch 8Real FastAPI auth backend + enforcement on 7 pagesea5f297
Batch 9Coverage map · backlog aggregate · registries · status pagec92d14f
Batch 10Wave-2 retrofit bridge on 4 planning pages(this commit)
Batch 11Notes backend (FastAPI · file-backed · port 8091)(this commit)
Batch 12Auth hardening (HMAC signed sessions) + server gating envelope(this commit)

Reading flow · ลำดับอ่าน

Read before · อ่านก่อน

Next · รอบถัดไป

The Document Management line is closed at scaffold level. The logical next steps, ranked by user impact:

  1. Wave 2 retrofit — pick 3–5 high-traffic legacy planning pages and bring them onto the shell (candidates in the coverage map). · ย้ายหน้า planning สำคัญ 3–5 หน้า
  2. Server-side notes persistence — a small Postgres/SQLite-backed service that consumes the same 14-field schema. · เก็บ notes ฝั่ง server
  3. Real authentication — password or passkey or OAuth, replacing the Batch 8 mock. · auth จริง
  4. Server-side content gating — HTML delivery gated by access state, not just shell masking. · บังคับสิทธิ์จริงฝั่ง server
  5. KB coordination — align with Session B on whether KB body content adopts the shell presentation layer (without changing substance). · ประสาน B

Checklist · หลัง wave

  • ☑ Shell v1.2 shipped
  • ☑ Per-doc notes loop (browser-local)
  • ☑ Aggregate notes backlog (browser-local)
  • ☑ Access model + visibility matrix
  • ☑ FastAPI auth backend (local/dev) with 7 endpoints
  • ☑ 10 pages enforce access state
  • ☑ Normalized share/export across shelled pages
  • ☑ TH/EN shell dictionary covers groups/sections/statuses/actions/filters
  • ☑ Stakeholder multi-select filter
  • ☑ Shell coverage map + next-retrofit candidates
  • ☑ Metadata / related / reading-flow registries
  • ☐ Legacy page retrofit (ongoing in waves)
  • ☐ Server-side notes persistence
  • ☐ Real authentication
  • ☐ Server-side content gating
  • ☐ AI periodic sweep scheduler

Notes · โน้ต

Honest state: localStorage only · browser-scoped.