{
  "schema": "xlink.app.internal_test_evidence_pack.v1",
  "production_go": false,
  "phase": "internal_team_sandbox_p204",
  "owner": "XLink Ops",
  "public_note": "Internal sandbox evidence templates only. Do not place passwords, tokens, wallet secrets, private keys, database URLs, raw device identifiers, or production credentials in this file.",
  "evidence_required_fields": [
    "report_date",
    "build_version",
    "platform",
    "device_label",
    "account_label",
    "network",
    "operation_path",
    "expected",
    "actual",
    "timestamp",
    "screenshot_or_video",
    "can_reproduce",
    "linked_issue_id",
    "receipt_or_trace_ref",
    "regression_result"
  ],
  "connected_device_snapshot": {
    "captured_at": "2026-07-06T20:00:00+08:00",
    "ios": {
      "status": "connected",
      "device_label": "iPhone 17 Pro Max",
      "identifier_policy": "redacted_in_public_artifacts",
      "app_name": "XLINK",
      "bundle_id": "zone.xlink.app",
      "version_observed": "2.0.0",
      "test_state": "online_manual_smoke"
    },
    "android": {
      "status": "connected",
      "device_label": "Infinix X6876",
      "identifier_policy": "redacted_in_public_artifacts",
      "package_name": "zone.xlink.app",
      "version_observed": "2.0.0",
      "test_state": "online_manual_smoke"
    }
  },
  "first_day_daily_report_sample": {
    "report_date": "2026-07-06",
    "build_version": "Android 2.0.0 / iOS local signed build",
    "aws_api_health": "Go",
    "im_xmq_health": "Go",
    "backup_status": "Go",
    "tester_count": 2,
    "device_count": 2,
    "new_issues": 0,
    "s0_open": 0,
    "s1_open": 0,
    "fixed_today": 0,
    "regression_passed": 0,
    "regression_failed": 0,
    "next_build_decision": "Hold",
    "hold_reasons": ["await first full internal tester round"]
  },
  "blank_issue_template": {
    "csv_url": "/internal-test-issue-template.csv",
    "issue_id_format": "XLINK-IT-YYYYMMDD-###",
    "initial_status": "new",
    "severity_values": ["S0", "S1", "S2", "S3"],
    "status_values": [
      "new",
      "triaged",
      "fixing",
      "fixed_pending_regression",
      "verified",
      "deferred",
      "wont_fix"
    ]
  },
  "regression_batch_record_template": {
    "batch_id": "REG-YYYYMMDD-###",
    "owner": "XLink QA",
    "must_include": [
      "same_account",
      "opposite_platform",
      "restart_app",
      "live_api_health",
      "im_xmq_receipt_or_trace"
    ],
    "records": [
      {
        "case_id": "auth_login",
        "platforms": ["ios", "android"],
        "expected": "login succeeds and identity matches current account",
        "result": "pending",
        "evidence_ref": ""
      },
      {
        "case_id": "direct_chat",
        "platforms": ["ios_to_android", "android_to_ios"],
        "expected": "message appears in chat detail and conversation list with correct unread state",
        "result": "pending",
        "evidence_ref": ""
      },
      {
        "case_id": "delete_conversation",
        "platforms": ["ios", "android"],
        "expected": "local deletion does not replay old messages; new messages recreate the conversation",
        "result": "pending",
        "evidence_ref": ""
      },
      {
        "case_id": "group_chat_foundation",
        "platforms": ["ios", "android"],
        "expected": "group creation, member list, group message, and unread cursor stay consistent",
        "result": "pending",
        "evidence_ref": ""
      }
    ]
  },
  "daily_closeout_template": {
    "required_sections": [
      "summary",
      "device_matrix",
      "api_health",
      "im_xmq_health",
      "new_issues",
      "fixed_items",
      "regression_result",
      "next_build_decision",
      "hold_reasons",
      "tomorrow_scope"
    ],
    "next_build_go_requires": [
      "s0_open == 0",
      "s1_open == 0",
      "aws_api_health == Go",
      "im_xmq_health == Go",
      "backup_status == Go",
      "regression_failed == 0",
      "no cross-account identity leak",
      "no repeated app crash"
    ]
  },
  "runtime_evidence_refs": {
    "aws_health": "http://54.169.3.137/api/health",
    "tester_manifest": "/tester-manifest.json",
    "release_status": "/release-status.json",
    "checklist": "/internal-test-checklist.json",
    "feedback_ledger": "/internal-test-feedback-ledger.json",
    "daily_cadence": "/internal-test-daily-cadence.json"
  },
  "release_gates": {
    "internal_test_evidence_pack": "Go",
    "internal_test_daily_cadence": "Go",
    "internal_test_feedback_ledger": "Go",
    "managed_sql": "Hold",
    "productionGo": false,
    "paynex_mutation": "Hold",
    "wallet_signing": "Hold",
    "mainnet_write": "Hold",
    "auto_cashflow": "Hold"
  }
}
