{"ok":true,"service":"ytf-app","endpoint":"cloud-readiness/status","generated_at":"2026-10-25T04:08:34.131Z","recommended_route":"/pipeline","companion_routes":["/collectors","/brief","/analytics","/authority","/signoff"],"data_contract":{"raw_messages":false,"raw_email":false,"raw_file_paths":false,"credentials":false,"customer_identity":false,"claim_contents":false,"chat_text":false,"personal_contact":false,"local_chat_database_extraction":false,"autonomous_chat_send":false,"erp_writeback":false,"claim_closure":false,"agent_self_approval":false,"board_kpi_auto_publication":false,"permission_change":false},"summary":{"state":"cloud_pipeline_ready_with_authority_and_ga_gaps","feed":"current","trust":"present","board_kpi":"blocked","board_kpi_allowed":false,"ga4":"not_configured","ga4_enabled":false,"schedule":"configured","source_inbox":"context_inbox_ready_for_manager_routing","total_packets":11,"cloud_packets":2,"dell_packets":6,"human_gate_packets":3,"cloud_can_run_without_desktop":true,"dell_visible_window_required":true,"readiness_cards":7,"ready_cards":3,"attention_cards":4},"readiness_cards":[{"id":"ga4_connection","label":"Google Analytics connection","owner_role":"IT / Data Agent","state":"setup_required","ready_to_run":false,"route":"/analytics","api":"/api/analytics-config","evidence":"Measurement ID is not configured in production.","next_action":"Add YTF_GA_MEASUREMENT_ID in Vercel production, then redeploy."},{"id":"scheduled_digest","label":"Scheduled report and digest packet","owner_role":"Scheduled Report Agent","state":"ready","ready_to_run":true,"route":"/brief","api":"/api/brief/status","evidence":"3 cloud schedule job(s); digest endpoint collector-digest/status.","next_action":"Use /api/brief/status plus /api/collector-digest/status for share-safe daily handoff; do not scrape the desktop."},{"id":"cloud_collectors","label":"Cloud collectors","owner_role":"Drive / Gmail Agent","state":"ready_for_bounded_run","ready_to_run":true,"route":"/collectors","api":"/api/collector-packets/status","evidence":"2 cloud packet(s), 11 total packet(s).","next_action":"Run cloud packets first for Gmail and Google Drive bounded deltas; output owner actions only."},{"id":"dell_edge","label":"Dell edge review","owner_role":"Communications Agent + IT / Data Agent","state":"visible_window_review_required","ready_to_run":false,"route":"/collectors","api":"/api/collector-packets/status","evidence":"6 Dell packet(s); visible-window chat review remains manual/private.","next_action":"Use the Dell only for OneDrive metadata/offload checks and exact Viber/LINE visible-window review with empty composers."},{"id":"isolution_manager_mode","label":"iSolution / iStock manager mode","owner_role":"ERP owner / Stores / Finance","state":"blocked_server_export_reconciliation_required","ready_to_run":false,"route":"/packets#packet-builder","api":"/api/source-packets/status#local_packet_builder","evidence":"A read-only local BI Reports check on 20 October showed Disconnected to Server and no controlled export. The earlier Login-window observation is historical; staff work remains Not reported.","next_action":"Use one leader session only; run safe preflight/healthcheck, request vendor/server restoration, then reconcile one controlled export before KPI, stock, finance, or Board use."},{"id":"authority_gate","label":"Signed authority gate","owner_role":"Production Manager / Quality Manager","state":"blocked","ready_to_run":false,"route":"/authority","api":"/api/source-authority/status","evidence":"Feed=current; trust=present; board_kpi=blocked.","next_action":"Stage signed source/site/scope/period/totals/reference/approver in /signoff before KPI publication."},{"id":"cloud_health","label":"Cloud health and source freshness","owner_role":"IT / Data Agent","state":"ready_for_review","ready_to_run":true,"route":"/pipeline","api":"/api/pipeline/status","evidence":"7.3h feed age; 35 source diagnostic(s).","next_action":"Keep GitHub/Vercel smoke and feed refresh green; use receipts instead of desktop memory."}],"automation_plan":[{"id":"cloud_daily_digest","cadence":"Daily 07:30 Asia/Yangon","authority":"github_actions_or_cloud_scheduler","input_endpoints":["/api/brief/status","/api/collector-digest/status"],"output":"Copy-safe team/manager handoff with nulls for unavailable facts.","ready_to_run":true},{"id":"source_packet_router","cadence":"Every feed refresh or manual manager request","authority":"cloud_connector_agent","input_endpoints":["/api/collector-packets/status","/api/source-rotation/status"],"output":"2 cloud packet(s) routed before Dell work.","ready_to_run":true},{"id":"ga4_usage_review","cadence":"Weekly after GA4 is configured","authority":"it_data_agent","input_endpoints":["/api/analytics-config","/analytics"],"output":"Page/surface usage review for simplifying manager UX.","ready_to_run":false},{"id":"dell_edge_visible_window_review","cadence":"Manual/on-demand only","authority":"human_visible_window_review","input_endpoints":["/api/collector-packets/status"],"output":"Private review candidates only; no raw chat publication and no automated sending.","ready_to_run":false}],"run_receipt_template":{"required_fields":["run_id","run_started_at","run_finished_at","actor","source_lane","input_endpoint","safe_summary","owner_role","next_owner_action","authority_state","privacy_checked"],"allowed_summary_fields":["source_lane","owner_role","site_scope","observed_date","authority_state","safe_summary","next_owner_action","verification_source"],"must_stay_null_until_verified":["board_kpi_value","plant_kpi_value","claim_closed_count","erp_quantity","customer_identity","chat_text","email_body","private_file_path"],"forbidden_actions":["autonomous chat sending","local Viber/LINE database extraction","raw evidence publication","ERP writeback","claim closure","board KPI publication without signed source authority","agent self-approval"]},"cheap_agent_contract":{"principle":"cloud_first_dell_edge_only","preferred_runtime_order":["Cloud scheduled reports and Vercel/GitHub checks","Cloud connector summaries for Gmail and Google Drive","Local lightweight/Ollama summarization only after exact private human approval","Codex computer use only for visible-window setup, UI inspection, or one-time review"],"cloud_can_run_without_dell":true,"dell_must_stay_light":true,"ga4_usage_available":false,"no_desktop_memory_dependency":true},"source_rotation_endpoint":"/api/source-rotation/status","packet_endpoint":"/api/collector-packets/status","digest_endpoint":"/api/collector-digest/status","brief_endpoint":"/api/brief/status","next_actions":["Run cloud collector packets before any Dell edge work.","Add YTF_GA_MEASUREMENT_ID in Vercel production, redeploy, then confirm /api/analytics-config is configured.","Keep board/plant KPI blocked until /signoff captures signed source authority.","Use run_receipt_template for every scheduled job or cheap agent handoff.","Keep iSolution in manager-mode restoration only until supported export and signed stores or finance records reconcile.","Keep Viber and LINE exact visible-window review private; do not extract local message stores or send messages."]}