{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "version": "2026.1",
  "policy_name": "FreeExile Combat Room Access Control Matrix",
  "confidentiality_levels": {
    "PUBLIC_INTERNAL": {
      "level": 1,
      "description": "Toàn thể nhân sự và sub-agents được đọc. Ban tổ chức/chủ trì được ghi.",
      "default_read": "all",
      "default_write": "organizer_only"
    },
    "DEPT_INTERNAL": {
      "level": 2,
      "description": "Nhân sự phòng ban toàn quyền. Các phòng ban khác được đọc để học hỏi.",
      "default_read": "all",
      "default_write": "dept_members_only"
    },
    "CROSS_DEPT": {
      "level": 3,
      "description": "Các bên liên quan cùng ghi. Toàn công ty được đọc để bảo đảm tính minh bạch.",
      "default_read": "all",
      "default_write": "stakeholders_only"
    },
    "CONFIDENTIAL_EXECUTIVE": {
      "level": 4,
      "description": "Chỉ Ban Giám Đốc (BOD/Producer/CISO) được đọc và ghi.",
      "default_read": ["studio_producer", "ceo", "ciso_agent"],
      "default_write": ["studio_producer", "ceo"]
    },
    "INCIDENT_WAR_ROOM": {
      "level": 5,
      "description": "Tác chiến sự cố nóng. Đội ứng cứu khẩn cấp ghi. Công khai bài học sau khi fix.",
      "default_read": "all_after_resolution",
      "default_write": ["ciso_agent", "server_systems_architect", "studio_producer"]
    }
  },
  "directory_rules": {
    "00_executive": {
      "allowed_confidentiality": ["CONFIDENTIAL_EXECUTIVE"],
      "owners": ["studio_producer", "ceo"],
      "readers": ["studio_producer", "ceo", "ciso_agent"]
    },
    "01_all_hands": {
      "allowed_confidentiality": ["PUBLIC_INTERNAL"],
      "owners": ["studio_producer", "lead_documentation_architect"],
      "readers": ["all"]
    },
    "02_cross_dept": {
      "allowed_confidentiality": ["CROSS_DEPT", "PUBLIC_INTERNAL"],
      "owners": ["meeting_chair", "lead_documentation_architect"],
      "readers": ["all"]
    },
    "03_incidents_war_room": {
      "allowed_confidentiality": ["INCIDENT_WAR_ROOM", "PUBLIC_INTERNAL"],
      "owners": ["ciso_agent", "server_systems_architect", "studio_producer"],
      "readers": ["all"]
    },
    "04_departments/game_design": {
      "allowed_confidentiality": ["DEPT_INTERNAL", "PUBLIC_INTERNAL"],
      "owners": ["lead_systems_designer", "poe2_game_designer"],
      "readers": ["all"]
    },
    "04_departments/engineering_server": {
      "allowed_confidentiality": ["DEPT_INTERNAL", "PUBLIC_INTERNAL"],
      "owners": ["server_systems_architect"],
      "readers": ["all"]
    },
    "04_departments/engineering_client": {
      "allowed_confidentiality": ["DEPT_INTERNAL", "PUBLIC_INTERNAL"],
      "owners": ["ios_client_engineer", "web_client_engineer"],
      "readers": ["all"]
    },
    "04_departments/art_and_audio": {
      "allowed_confidentiality": ["DEPT_INTERNAL", "PUBLIC_INTERNAL"],
      "owners": ["art_ui_director", "sound_audio_designer"],
      "readers": ["all"]
    },
    "04_departments/security_anti_cheat": {
      "allowed_confidentiality": ["DEPT_INTERNAL", "CONFIDENTIAL_EXECUTIVE", "PUBLIC_INTERNAL"],
      "owners": ["ciso_agent", "blue_team_guardian", "anti_dupe_economic_auditor"],
      "readers": ["all"]
    },
    "04_departments/qa_testing": {
      "allowed_confidentiality": ["DEPT_INTERNAL", "PUBLIC_INTERNAL"],
      "owners": ["qa_stress_tester"],
      "readers": ["all"]
    },
    "04_departments/localization_and_docs": {
      "allowed_confidentiality": ["DEPT_INTERNAL", "PUBLIC_INTERNAL"],
      "owners": ["lead_documentation_architect", "localization_lead"],
      "readers": ["all"]
    }
  }
}
