IA Governance กฎมาตรฐาน naming · path · owner · portal hierarchy · live vs shell policy · change control

Governance · v1.0
A-owned reference · คุมโครงสร้างหน้าและการตั้งชื่อเพื่อไม่ให้ console drift. ถ้า B เปลี่ยน route/path ของ /kb/* · A update link only · ห้าม reinterpret B contracts. JSON machine-readable: ia-governance.json

Hard Rules กฎแข็ง · ห้ามฝ่าฝืน

Naming Rules คำสงวน · ใช้กับอะไร · ห้ามใช้กับอะไร

Term Reserved For Do NOT Use For Valid Example Invalid Example
DashboardReal dashboard experience with charts, filters, drilldown, interactive analyticsContainer/umbrella groups · folder labels · abstract landing pages/kb/dashboard.html (17 real dashboards spec)Calling the Operations Portal a Dashboard
OperationsUmbrella name for the operational/runtime-adjacent group on main consoleIndividual dashboards · single tools · single contractsMain button Operations/operations-portal.html/kb/operations.html (B does not own this naming)
PortalGroup landing pages that fan out to multiple related sub-entriesA single page of content · a single contract viewerOperations Portal · Feature Portal · Stakeholder PortalCalling a single contract page a 'Portal'
PlanningRFC / design / field mapping / implementation scope (A-owned)Live runtime · production data · admin plane/planning/feature-flags.html/planning/live-dashboard.html (no live data)
RuntimePreview · debug · scaffolding · implementation-facing (A-owned, not prod)B-owned spec viewers · canonical contracts · marketing pages/runtime/feature-flags/ (registry + simulator)Claiming /runtime/* is production
KBB-owned knowledge · contract · shell · spec viewerA runtime · A admin plane · A planning RFC/kb/dashboard.html · /kb/cases.html · /kb/lexicon.html/kb/admin-control-plane.html
AppFuture user-facing A-owned application runtime (production)Planning docs · spec viewersFuture: /app/wizard//app/ for planning RFCs
AdminFuture admin plane A-owned runtime (approvals · audit · sign-off)Public-facing contentFuture: /admin/approvals//admin/ used for demos
OpsFuture operational tooling (flag flips · deploys · incident)B-owned KB · planning docsFuture: /ops/flags//ops/ for marketing

Path Rules path ไหนใช้กับอะไร · owner คือใคร

Path Owner Purpose May Contain Must NOT Contain Current State
/AMain console (executive entry)6 top-level buttons (soft cap 8)Per-module crowding · runtime admin UILive · 6 btns
/operations-portal.htmlASub-portal · dashboards/cases/generate/tenant/planning5 sub-entries · Live/Shell labelsLive runtime · write operationsShell · 5 Shell
/links · /hub · /portal · /ai-content-dashboardALegacy A-owned surfacesLive content or legacy demosNew content unless reviewedLive
/kb/*BKnowledge · contracts · spec viewers · shellsKB HTML · data JSON · kb.js / kb.cssA runtime · A admin · A-defined flagsPhase 12 closed · 87 docs
/planning/*ARFC · design · field mappingDesign HTML · ER · API sketch · sequence flowsLive data · production runtime · admin opsv0.2 · 10 pages
/runtime/*ARuntime preview · debug · scaffoldingRegistry JSON · schemas · simulator HTMLProduction traffic · admin flip UIPhase 1 · feature-flags
/app/* (future)AUser-facing production runtimeReal product · real data · real authPlanning docs · spec viewersNot yet
/admin/* (future)AAdmin plane runtimeApproval queue · sign-off · audit viewer · tenant mgmtPublic-facing contentNot yet · planned
/ops/* (future)AOperational tooling · flag flips · incidentsFlag admin UI · deploy kanban · rollbackPlanning docs · spec viewersNot yet

Owner Matrix surface · owner · purpose · can link to · must not contain

Surface Owner Purpose Can Link To Must NOT Contain Note
Main Console (docs/index.html)AExecutive entry · 6 top-level gateways/kb/* · /planning/* · /runtime/* · /operations-portal.html · legacy A pagesPer-runtime sub-buttons · live admin controls · B-owned structureKeep small · collapse into Portal
Operations PortalASub-portal landing · 5 sub-entries/kb/dashboard · /kb/cases · /kb/generated · /kb/enterprise-upload · /planning/Write ops · live admin flipLink-only layer
KB (/kb/*)BCanonical knowledge · contractsother /kb/*A runtime · A admin · A naming reused as labelsA links only
Planning (/planning/*)ARFC · design · mapping · scope/kb/* (ref) · /runtime/* (impl pointer) · /operations-portal.htmlLive data fetch · production runtime · write opsB refs via anchor only
Runtime (/runtime/*)ADebug · scaffolding · registry · simulator/planning/* (spec) · /kb/* (contract ref)Production traffic · admin flip UI5-status binding vocab
Future /app/*AUser-facing production runtime/api/*Planning docs · spec viewersFF gate + Admin CP req
Future /admin/*AAdmin plane · approvals · audit · tenant mgmt/ops/* · /api/admin/*Public content · /kb/* editing UIAll writes gated
Future /ops/*AOperational tooling · flag flips · deploys/admin/* · /api/admin/* · /runtime/* (read-only)B-owned content · public marketingAdmin-tier · audit-logged

Portal Hierarchy ตัวอย่างโครงสร้างปัจจุบัน

/ (Main Console · A-owned) ├── Links → /links.html [Live] A ├── Hub → /hub.html [Live] A ├── Portal → /portal.html [Live] A ├── Merchant → /ai-content-dashboard [Live] A ├── Knowledge → /kb/ [Live] B └── Operations → /operations-portal.html [Shell] A │ ├── Dashboard → /kb/dashboard.html [Shell] B ├── Cases → /kb/cases.html [Shell] B ├── Generate → /kb/generated.html [Shell] B ├── Tenant → /kb/enterprise-upload.html [Shell] B └── Planning → /planning/ [Shell] A │ ├── 5 runtime planning pages (dashboard · cases · generate · tenant · wizard) ├── 4 cross-cutting pages (admin · flags · hints · signal) └── IA governance (this page) /runtime/ (A-owned implementation preview) └── feature-flags/ ← Phase 1 · registry live · evaluator not bound

Live vs Shell vs Soon Policy เมื่อไรใช้ป้ายไหน

Live · criteria

  • Backed by real runtime + real data
  • Tested in staging at minimum
  • Feature flag exists and is ≥internal for the linked surface
  • No production claim beyond actual rollout stage

Current examples: Links · Hub · Portal · Merchant · Knowledge

Shell · criteria

  • Contract viewer · RFC · planning · spec page
  • No runtime bound OR flag still draft/internal
  • No production traffic uses it
  • Honest note on page

Current examples: Operations (main) · Dashboard · Cases · Generate · Tenant · Planning

Soon · criteria

  • Route placeholder · target page does not exist yet
  • Clear ETA or blocked-by citation
  • Do not link if target 404s · keep as disabled card

Current examples: (none)

Rules

  • Every button on main console OR sub-portal MUST carry exactly one of: Live / Shell / Soon
  • Never promote Shell → Live without feature-flag evidence + approval ref
  • If Shell has partial runtime (e.g. registry live · evaluator not bound) · stay Shell at button · honest note inside explains detail
  • Page-internal binding uses 5-status vocab: live / mock / mapped-not-bound / placeholder / derived (see /planning/ binding legend)

Change Control เมื่อมีการเปลี่ยนแปลง

Scenario 1 · B renames a /kb/* route

Example: B renames /kb/cases.html/kb/case-board.html

  • ✅ Update the href in operations-portal.html + any planning/runtime anchor
  • ✅ Do NOT rename A-owned labels to match (A label naming is A-governed)
  • ✅ Add SYNC.md entry noting the sync
  • ❌ Never edit the B page itself
  • ❌ Never duplicate B content into A
  • ❌ Never reinterpret what the renamed page does

Scenario 2 · New business need wants a new top-level button

  • ✅ FIRST · check if fits an existing Portal (collapse inside sub-portal)
  • ✅ If genuinely new umbrella · propose Portal name per naming_rules
  • ✅ Add governance entry here · update owner_matrix · path_rules · hierarchy examples
  • ✅ Only then edit docs/index.html
  • ❌ Never add top-level without governance review
  • ❌ Never use reserved terms (Dashboard · KB · Admin · Ops) as a label for unrelated content

Scenario 3 · Deprecation

  • Mark with Soon badge + deprecation notice for 1 release cycle
  • Remove only after stakeholder review
  • Keep redirect or 410 Gone
  • Append SYNC entry

Soft Caps ขอบเขตจำนวน · เกินต้องทบทวน

8
Main console top-level
6
Sub-portal entries
10
Planning pages per pack
3
Runtime phase deliverables per batch

Soft · exceed with justification + governance review · not a hard block

JSON Source machine-readable version

Full structured source at ia-governance.json · use this for CI linting or automation that needs to check IA rules.

IA Governance · v1.0 · Session A · A-owned · honest · link-only to B ← Planning hub · Operations Portal ↗