# Research VN Cron Prompt Orchestrate the static Vietnam Tourism Policy Pipeline on board 'research-hub'. ## FULL CONTEXT This research compares Vietnam vs Thailand institutional development for tourism using 7 strategic pillars: 1. Policy & Institutions — autonomy and financial mechanism. 2. Data & Tech — real-time data system (TAT vs VNAT). 3. Human Resources — quantity and quality, specialized training vs vocational skills. 4. Infrastructure — connectivity and support facilities. 5. Promotion & Marketing — integrated strategy vs fragmented events. 6. Community & Sustainability — CBT and ecosystem resilience. 7. Resources & Identity — tourism products. ## QUANTITATIVE BENCHMARKING MATRIX Required for 2022 to 2025: • annual international arrivals • annual domestic arrivals • T&T GDP and revenue share • nearest available total T&T employment for 2024 or 2025 • nearest available total rooms for 2024 or 2025 • average spending per international visitor 2022 to 2025 • number of national tourism promotion and marketing strategies • tourism promotion budget ## FOLDER POLICY • /opt/ai-os/products/ceo/content/research/tourism_benchmarking/sources/ for raw sources • /opt/ai-os/products/ceo/content/research/tourism_benchmarking/analysis/ for pillar analysis • /opt/ai-os/products/ceo/content/research/tourism_benchmarking/master_reports/ for Vietnam_tourism_policy.md, Thailand_tourism_policy.md, master report, and index.md ## SOURCE POLICY • NotebookLM is the trusted core corpus for the first pass. • Phase 1 only consolidates trusted corpus material and records gaps; it does NOT blindly download notebook files. • Phase 2 may expand outward only if Phase 1/2/3 surfaces explicit gaps, conflicts, or missing metrics. • Do not waste effort downloading NotebookLM files again unless archival or citation requires it. ## PROGRESS TRACKING A file `/opt/ai-os/products/ceo/content/research/tourism_benchmarking/processed_sources_vn.json` tracks which sources have been analyzed across loops. • Format: `{"processed_ids": ["id1", ...], "last_batch": ["id1", ...], "loop_count": 3}` • If file does not exist, start with first 10 available sources. • Phase 1 reads this file to find next batch; Phase 5 updates it after loop completion. ## PHASE ROUTING RULE Do NOT hardcode task IDs. Match the current card by PHASE NAME and assignee role, then operate only on that phase. ## PHASE DESCRIPTIONS ### Phase 1 — Scoping & Data Sync • **Assignee:** r-and-d • **Task:** Thực hiện batch 10 nguồn/lượt. Dựa trên master_tourism_vn.md. Đối chiếu dữ liệu 7 trụ cột. Flag điểm nghẽn. Nếu thấy tài liệu tham chiếu chưa download được, lưu references và thực hiện tối đa 10 search loops để tìm kiếm sâu. • **Progress tracking:** Đọc processed_sources_vn.json để xác định 10 nguồn kế tiếp. Lấy 10 source ID chưa có trong processed_ids từ danh sách NotebookLM. Lưu 10 ID này vào last_batch. Nếu chưa có file, tạo mới và lấy 10 source đầu tiên. • **Output:** /opt/ai-os/products/ceo/content/research/tourism_benchmarking/sources/ • **Telegram:** Research start ### Phase 2 — RAG Analysis & Deep Finding • **Assignee:** r-and-d • **Task:** Dùng các nguồn đã đồng bộ và phân tích ở Phase 1, phân tích sâu trụ cột được giao. Dùng Vision/OCR đọc tài liệu mới tìm thấy. Đúc kết Findings & Highlights quan trọng dựa trên mục tiêu nghiên cứu. • **Scope control:** Chỉ query đúng 10 source ID từ last_batch trong processed_sources_vn.json. Dùng `nlm notebook query --source-ids` với đúng 10 ID đó. Không query toàn bộ notebook. Ghi kết quả phân tích vào Vietnam_tourism_policy.md với tiêu đề phân biệt theo loop_count. • **Policy Coherence Test:** Compare number of stated objectives vs available execution resources; flag any agenda overload or sequencing gaps. • **Output:** /opt/ai-os/products/ceo/content/research/tourism_benchmarking/master_reports/Vietnam_tourism_policy.md • **Telegram:** Task 2 Findings delivered at Vietnam_tourism_policy.md (url) ### Phase 3 — Critique • **Assignee:** grill-qa • **Task:** Review findings của Phase 2. Phản biện tính logic của 7 trụ cột. Grill QA critique từng dòng logic. • **Telegram:** brief summary on what need to update ### Phase 4 — Synthesis & Reporting • **Assignee:** writers • **Personality:** policy researcher • **Language:** Vietnamese only • **Task:** Tổng hợp các insights sau review. Cập nhật & bổ sung vào Vietnam_tourism_policy.md. Nếu có ý tưởng/hướng nghiên cứu mới, thêm vào file index để tiếp tục mở rộng. • **Writing structure:** Use Claim → Evidence → Inference → Citation (APA 7) in every section. Avoid generic summaries; each paragraph must advance a specific argument tied to the research thesis. • **Core thesis to answer:** Evaluate whether Vietnam's tourism policy is coherent or over-dispersed across too many objectives relative to its implementation capacity. Identify which priorities are core vs secondary and where the policy stack shows dispersion. • **Pre-loop note:** This phase is a pre-loop handoff for the next research cycle. • **Output:** /opt/ai-os/products/ceo/content/research/tourism_benchmarking/master_reports/Vietnam_tourism_policy.md • **Telegram:** brief summary on what has been updated & Vietnam_tourism_policy.md (url) + hướng nghiên cứu mới (nếu có) & index file link ### Phase 5 — Master Update & QA Gate • **Assignee:** grill-qa • **Task:** Integrity Check (APA 7 in-text citations + References section required, không dấu gạch nối trong văn xuôi Việt). Cập nhật Vietnam_tourism_policy.md và /master_reports/index.md nếu có hướng nghiên cứu mới. • **Progress update:** Gộp last_batch vào processed_ids trong processed_sources_vn.json, tăng loop_count lên 1, clear last_batch. Ghi lại file. Điều này đảm bảo vòng sau Phase 1 sẽ lấy 10 nguồn mới tiếp theo. • **Pre-loop note:** Kết quả của Phase 5 là tiền đề cho vòng cron search tiếp theo. • **Output:** /opt/ai-os/products/ceo/content/research/tourism_benchmarking/master_reports/index.md • **Telegram:** Link Vietnam_tourism_policy.md (url) ## MANDATORY TELEGRAM REPORTING After EACH phase completes, send a Telegram message to thread 12 with concise Vietnamese summary, Policy Researcher tone, and clickable Tailscale Funnel link to the relevant report. ## EXECUTION RULES • Inspect the board and operate only on the next phase that should advance. • Do not create duplicate tasks. • Phase 1: one 10-source batch only, save under /sources/, then report. • Phase 2: write findings to /master_reports/Vietnam_tourism_policy.md, send Telegram. • Phase 3: critique logic of all 7 pillars. • Phase 4: synthesize, update Vietnam_tourism_policy.md and /master_reports/index.md if needed. • Phase 5: integrity check (APA, no dashes in VN prose), update progress file, report link. • Keep task 1 blocked until cron intentionally releases it. • No auto-decompose. • If all tasks on the board for this pipeline are done/archived, initiate next research loop by creating a fresh set of 5 tasks following the phase descriptions above. Each loop processes a new batch of 10 sources tracked via processed_sources_vn.json. • Workdir: /opt/ai-os/products/ceo/content/research.