{"ok":true,"service":"ytf-app","endpoint":"collector-receipts/status","generated_at":"2026-10-25T04:41:49.583Z","recommended_route":"/collectors","companion_endpoints":["/api/cloud-readiness/status","/api/collector-packets/status","/api/collector-digest/status","/api/chat-receipts/status","/api/brief/status"],"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":"receipt_ledger_ready_external_source_receipts_pending","feed":"current","trust":"present","board_kpi":"blocked","board_kpi_allowed":false,"ga4":"not_configured","endpoint_receipts":6,"cloud_source_receipts":2,"cloud_source_receipts_completed":0,"cloud_source_receipts_blocked":0,"cloud_source_receipts_stale":2,"cloud_source_receipts_pending":0,"connector_receipt_freshness_hours":36,"dell_edge_receipts":6,"human_gate_receipts":3,"total_packet_receipts":11,"cloud_can_run_without_desktop":true,"dell_visible_window_required":true,"latest_connector_pass_at":"2026-09-01T04:06:00+06:30"},"endpoint_receipts":[{"receipt_id":"pipeline_status","receipt_type":"cloud_control_endpoint","endpoint":"/api/pipeline/status","checked_at":"2026-10-25T04:41:49.583Z","receipt_state":"checked_current","owner_role":"IT / Data Agent","evidence":"feed=current; trust=present","safe_to_share":true,"source_content_extracted":false,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"collector_packets","receipt_type":"cloud_control_endpoint","endpoint":"/api/collector-packets/status","checked_at":"2026-10-25T04:41:49.583Z","receipt_state":"checked_packet_queue","owner_role":"Drive / Gmail Agent","evidence":"11 packet(s): 2 cloud, 6 Dell, 3 human gate","safe_to_share":true,"source_content_extracted":false,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"collector_digest","receipt_type":"cloud_control_endpoint","endpoint":"/api/collector-digest/status","checked_at":"2026-10-25T04:41:49.583Z","receipt_state":"checked_digest_ready","owner_role":"Scheduled Report Agent","evidence":"YTF collector digest","safe_to_share":true,"source_content_extracted":false,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"cloud_readiness","receipt_type":"cloud_control_endpoint","endpoint":"/api/cloud-readiness/status","checked_at":"2026-10-25T04:41:49.583Z","receipt_state":"cloud_pipeline_ready_with_authority_and_ga_gaps","owner_role":"IT / Data Agent","evidence":"3 ready card(s), 4 attention card(s)","safe_to_share":true,"source_content_extracted":false,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"daily_brief","receipt_type":"cloud_control_endpoint","endpoint":"/api/brief/status","checked_at":"2026-10-25T04:41:49.583Z","receipt_state":"checked_schedule_configured","owner_role":"Scheduled Report Agent","evidence":"brief feed=current; board_kpi=blocked","safe_to_share":true,"source_content_extracted":false,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"analytics_config","receipt_type":"cloud_control_endpoint","endpoint":"/api/analytics-config","checked_at":"2026-10-25T04:41:49.583Z","receipt_state":"checked_ga4_setup_required","owner_role":"IT / Data Agent","evidence":"YTF_GA_MEASUREMENT_ID is not configured in production.","safe_to_share":true,"source_content_extracted":false,"writes_to_operating_record":false,"can_publish_kpi":false}],"cloud_source_receipts":[{"receipt_id":"cloud_gmail","receipt_type":"cloud_source_lane","lane_id":"gmail","source_label":"Gmail operations","queue":"cloud","receipt_state":"stale_metadata_only","freshness":"stale","age_hours":1303.1,"owner_role":"Drive / Gmail Agent","authority_state":"context_only_until_named_operating_record","observed_date":null,"last_external_run_at":"2026-09-01T04:06:00+06:30","input_endpoint":"/api/collector-packets/status","connector":"gmail","query_scope":"company_gmail_formal_lane_30_day_bounded_operations_terms","metadata_result_count":10,"category_hints":["YTF operations","Bilin context","production_claim_shipment_supplier_finance_terms"],"safe_summary":"Last metadata-only pass is older than 36 hours; this is not a current source check.","next_owner_action":"Rerun the bounded connector check and record its verified completion time.","verification_source":"Connected company Gmail metadata preflight; material facts still require a named signed operating record.","source_content_extracted":false,"metadata_only":true,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"cloud_google_drive","receipt_type":"cloud_source_lane","lane_id":"google_drive","source_label":"Google Drive operations","queue":"cloud","receipt_state":"stale_metadata_only","freshness":"stale","age_hours":1449.4,"owner_role":"Document Owner","authority_state":"context_only_until_authoritative_revision_confirmed","observed_date":null,"last_external_run_at":"2026-08-26T01:49:33.795+06:30","input_endpoint":"/api/collector-packets/status","connector":"google_drive","query_scope":"recent_documents_plus_yangon_tyre_keyword_metadata","metadata_result_count":18,"category_hints":["utility_costing","materials_tube_records","sales_costing","production_costing_reports","quality_dqms_historical_docs"],"safe_summary":"Last metadata-only pass is older than 36 hours; this is not a current source check.","next_owner_action":"Rerun the bounded connector check and record its verified completion time.","verification_source":"Connected Google Drive metadata read; content authority remains blocked until the named operating record confirms the fact.","source_content_extracted":false,"metadata_only":true,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false}],"dell_edge_receipts":[{"receipt_id":"dell_edge_onedrive","receipt_type":"dell_edge_source_lane","lane_id":"onedrive","source_label":"OneDrive operations","queue":"dell_edge","receipt_state":"pending_owner_or_edge_review","freshness":"not_applicable","age_hours":null,"owner_role":"IT / Data Agent","authority_state":"metadata_only_until_hydrated_and_mapped","observed_date":null,"last_external_run_at":null,"input_endpoint":"/api/collector-packets/status","connector":null,"query_scope":null,"metadata_result_count":null,"category_hints":[],"safe_summary":"Keep files cloud-only where practical; hydrate only approved candidates and map authority before using content.","next_owner_action":"Keep files cloud-only where practical; hydrate only approved candidates and map authority before using content.","verification_source":"Hydrated content and source owner confirm the operating record before use.","source_content_extracted":false,"metadata_only":false,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"dell_edge_viber_hm_bod","receipt_type":"dell_edge_source_lane","lane_id":"viber_hm_bod","source_label":"Viber · HM / BoD","queue":"dell_edge","receipt_state":"pending_owner_or_edge_review","freshness":"not_applicable","age_hours":null,"owner_role":"Communications Agent","authority_state":"context_only_after_exact_hash_human_approval","observed_date":null,"last_external_run_at":null,"input_endpoint":"/api/collector-packets/status","connector":null,"query_scope":null,"metadata_result_count":null,"category_hints":[],"safe_summary":"Pin the exact HM / BoD lane, keep composer empty, then review only a private preview before any context summary.","next_owner_action":"Pin the exact HM / BoD lane, keep composer empty, then review only a private preview before any context summary.","verification_source":"Human compares the saved private preview with the visible lane and approves unchanged bytes.","source_content_extracted":false,"metadata_only":false,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"dell_edge_viber_ytf_managers","receipt_type":"dell_edge_source_lane","lane_id":"viber_ytf_managers","source_label":"Viber · YTF Managers","queue":"dell_edge","receipt_state":"pending_owner_or_edge_review","freshness":"not_applicable","age_hours":null,"owner_role":"Communications Agent","authority_state":"context_only_after_exact_hash_human_approval","observed_date":null,"last_external_run_at":null,"input_endpoint":"/api/collector-packets/status","connector":null,"query_scope":null,"metadata_result_count":null,"category_hints":[],"safe_summary":"Prepare the exact YTF Managers lane; keep the composer empty; summarize only approved context after review.","next_owner_action":"Prepare the exact YTF Managers lane; keep the composer empty; summarize only approved context after review.","verification_source":"Exact capture hash remains unchanged and human review marks it approved for context-only extraction.","source_content_extracted":false,"metadata_only":false,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"dell_edge_viber_yt_bilin","receipt_type":"dell_edge_source_lane","lane_id":"viber_yt_bilin","source_label":"Viber · YT Bilin","queue":"dell_edge","receipt_state":"pending_owner_or_edge_review","freshness":"not_applicable","age_hours":null,"owner_role":"Communications Agent","authority_state":"context_only_after_exact_hash_human_approval","observed_date":null,"last_external_run_at":null,"input_endpoint":"/api/collector-packets/status","connector":null,"query_scope":null,"metadata_result_count":null,"category_hints":[],"safe_summary":"Recapture or prepare the exact Bilin lane; keep Bilin scope explicit on every candidate action.","next_owner_action":"Recapture or prepare the exact Bilin lane; keep Bilin scope explicit on every candidate action.","verification_source":"Human-approved exact capture plus Bilin scope label on every derived item.","source_content_extracted":false,"metadata_only":false,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"dell_edge_line_bilin_group","receipt_type":"dell_edge_source_lane","lane_id":"line_bilin_group","source_label":"LINE · Bilin group","queue":"dell_edge","receipt_state":"pending_owner_or_edge_review","freshness":"not_applicable","age_hours":null,"owner_role":"Communications Agent","authority_state":"context_only_after_exact_hash_human_approval","observed_date":null,"last_external_run_at":null,"input_endpoint":"/api/collector-packets/status","connector":null,"query_scope":null,"metadata_result_count":null,"category_hints":[],"safe_summary":"Open the Bilin group as its own LINE window, keep the composer empty, and review the exact private preview.","next_owner_action":"Open the Bilin group as its own LINE window, keep the composer empty, and review the exact private preview.","verification_source":"Human-approved exact bytes and explicit Bilin scope on every derived item.","source_content_extracted":false,"metadata_only":false,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"dell_edge_line_junky","receipt_type":"dell_edge_source_lane","lane_id":"line_junky","source_label":"LINE · Junky","queue":"dell_edge","receipt_state":"pending_owner_or_edge_review","freshness":"not_applicable","age_hours":null,"owner_role":"Communications Agent","authority_state":"context_only_after_exact_hash_human_approval","observed_date":null,"last_external_run_at":null,"input_endpoint":"/api/collector-packets/status","connector":null,"query_scope":null,"metadata_result_count":null,"category_hints":[],"safe_summary":"Review the exact Junky private preview if visible and unchanged; route only owner actions, never raw text.","next_owner_action":"Review the exact Junky private preview if visible and unchanged; route only owner actions, never raw text.","verification_source":"Human-approved exact bytes plus owner routing to purchasing, stores, logistics, or finance.","source_content_extracted":false,"metadata_only":false,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false}],"human_gate_receipts":[{"receipt_id":"human_gate_isolution_manager_mode","receipt_type":"human_gate_source_lane","lane_id":"isolution_manager_mode","source_label":"iSolution / iStock manager mode","queue":"human_gate","receipt_state":"pending_owner_or_edge_review","freshness":"not_applicable","age_hours":null,"owner_role":"ERP owner / Stores / Finance","authority_state":"context_only_until_supported_export_and_visible_total_reconciliation","observed_date":null,"last_external_run_at":null,"input_endpoint":"/api/collector-packets/status","connector":null,"query_scope":null,"metadata_result_count":null,"category_hints":[],"safe_summary":"Local iSolution manager-mode review is restoration/reconciliation-only until server access, supported export, visible total, and signed records match.","next_owner_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.","verification_source":"Supported iSolution export plus visible ERP total sample plus signed stores/finance/stock movement record.","source_content_extracted":false,"metadata_only":false,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"human_gate_claim_qa","receipt_type":"human_gate_source_lane","lane_id":"claim_qa","source_label":"Claim QA bridge","queue":"human_gate","receipt_state":"pending_owner_or_edge_review","freshness":"not_applicable","age_hours":null,"owner_role":"Quality Manager","authority_state":"protected_summary_only_after_quality_review","observed_date":null,"last_external_run_at":null,"input_endpoint":"/api/collector-packets/status","connector":null,"query_scope":null,"metadata_result_count":null,"category_hints":[],"safe_summary":"Open Claim QA, verify the protected summary, and route closure work to the quality owner.","next_owner_action":"Open Claim QA, verify the protected summary, and route closure work to the quality owner.","verification_source":"Quality owner verifies protected summary and closure queue before operational use.","source_content_extracted":false,"metadata_only":false,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false},{"receipt_id":"human_gate_source_signoff","receipt_type":"human_gate_source_lane","lane_id":"source_signoff","source_label":"Signed source authority","queue":"human_gate","receipt_state":"pending_owner_or_edge_review","freshness":"not_applicable","age_hours":null,"owner_role":"Production Manager","authority_state":"decision_grade_only_after_signature","observed_date":null,"last_external_run_at":null,"input_endpoint":"/api/collector-packets/status","connector":null,"query_scope":null,"metadata_result_count":null,"category_hints":[],"safe_summary":"Use /signoff to stage the packet, then have the accountable manager record the signed authority.","next_owner_action":"Use /signoff to stage the packet, then have the accountable manager record the signed authority.","verification_source":"Signed source/site/period/totals/reference plus responsible approver.","source_content_extracted":false,"metadata_only":false,"safe_to_share":true,"writes_to_operating_record":false,"can_publish_kpi":false}],"run_receipt_requirements":{"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"]},"copy_safe_receipt_text":"YTF collector receipt ledger — 2026-10-25T04:41:49.583Z.\nControl endpoints checked: 6; cloud source receipts completed: 0; stale: 2; blocked: 0; pending: 0; Dell edge receipts pending: 6; human gate receipts pending: 3.\nFeed current; trust present; board KPI blocked; GA4 not_configured.\nUse completed control receipts as proof that the YTF cloud control plane was checked.\nNo cloud source receipt is completed yet; run bounded connector checks before claiming external source extraction.\n2 cloud source receipt(s) are stale; rerun the connector before calling metadata current.\nNo cloud source receipt is currently blocked; keep all cloud receipts metadata-only and manager-safe.\nDo not treat pending or blocked Gmail, Drive, OneDrive, Viber, LINE, Claim QA, or signoff receipts as extracted source evidence.\nEvery future collector run must return a safe summary, owner role, next owner action, authority state, and privacy check.","next_actions":["Use endpoint_receipts as proof that cloud control endpoints were checked now.","Rerun the stale Gmail/Drive metadata checks; old connector receipts are not evidence of a current source pass.","Keep Gmail receipts metadata-only and manager-safe.","Keep Dell edge receipts manual/private for OneDrive metadata and Viber/LINE visible-window review.","Route human_gate_receipts to Quality Manager or Production Manager; no agent self-approval.","Add YTF_GA_MEASUREMENT_ID in Vercel production before GA4 usage receipts can complete."]}