{
  "status": "ROOT_AUTHORIZED_5_PURE_READ_SOURCE_LOCKED",
  "source_manifest": "work/2026-09-28-smart-canteen-dm8-poc/matrix-integration/AI_RUNTIME_SOURCE_20261011_1230.json",
  "source_files": 6169,
  "actual_git_HEAD": "b46722ab46bfa4ad7eedbbfd5d500b0109aaaabc",
  "HEAD_note": "Root local commit changes identity, not1230 file bytes; preserve original freeze artifact and no pull/reset",
  "limits": {
    "methods": 5,
    "HTTP_per_side_max": 5,
    "prepare": 0,
    "DMLDDL": 0,
    "business_txn": 0,
    "real_outside": 0,
    "queue": 0,
    "SQL_per_side": 600,
    "preflight": 160,
    "native_B": 80,
    "native_C": 140,
    "token_per_side": 1
  },
  "runtime": "/tmp/cdx-ai-customer-fast5-read-20261011",
  "ports": {
    "B": 19041,
    "C": 19042,
    "collision_checked": false
  },
  "actor_preferred": {
    "B": 44676,
    "C": 1836,
    "tenant": 10001,
    "proof": "sealed final-weight-read/preflight-read.json user_fullrows + fresh own User/Staff relation; never confuse AI UID with Store ID"
  },
  "actor_fallback_if_original_scope_drift_before_token": {
    "B": 46918,
    "C": 1933,
    "proof": "sealed read4/AI-baseline.json exact fake own actor"
  },
  "connection_scope": {
    "AI": "local code.env.local development or dm127/5238AIZHCT_APP",
    "ZHCT": "local code.env.local development secondary or dm127/5237ZHCT_APP, not external datacenter"
  },
  "metadata_tables": {
    "AI": [
      "yoshop_user",
      "yoshop_staff",
      "yoshop_user_oauth",
      "yoshop_store",
      "yoshop_store_setting",
      "yoshop_upload_file",
      "yoshop_sign_action",
      "yoshop_sign_address"
    ],
    "ZHCT": [
      "ydy_user",
      "ydy_measurement_session",
      "ydy_health_record",
      "ydy_staff"
    ]
  },
  "metadata_shapes": "Original getFields only SHOW FULL COLUMNS / two exact USER_TAB_COLUMNS, USER_CONSTRAINTS+USER_CONS_COLUMNS SELECTs / exact SP_TABLEDEF bound approved schema+frozen table; no dynamic schema/arbitrary CALL",
  "parameter_resolver": "BeforeHTTP pick old exact marked actor or source-proved fallback; choose one source type (prefer1 treadmill, else2 strength, else3 elliptical/bicycle) using existing own yingjiduo valid sessions; from/to latest own session date, otherwise2026-10-11 empty-only; rankCurrent period4/sort0 uses original2026year; published SignID minimum existing store10001/is_delete0/status1, no activity fixture, absent skip Sign HTTP",
  "cases": [
    {
      "label": "SPORTS_RECORD",
      "method": "GET",
      "path": "/api/yingjiduo.Sports/record",
      "params": {
        "userId": "@ownAIUID",
        "type": "@oneChosenType",
        "pageNum": 1,
        "pageSize": 5,
        "from": "@selectedDay",
        "to": "@selectedDay"
      },
      "body_raw": "",
      "tables": [
        "ZHCT.measurement_session",
        "ZHCT.health_record"
      ],
      "writes": 0,
      "oracle": "Source session filters/paging/order + metric projection all fields/types; empty only labelled limited"
    },
    {
      "label": "SPORTS_TOTAL",
      "method": "GET",
      "path": "/api/yingjiduo.Sports/total",
      "params": {
        "userId": "@ownAIUID",
        "type": "@oneChosenType"
      },
      "body_raw": "",
      "tables": [
        "ZHCT.measurement_session",
        "ZHCT.health_record"
      ],
      "writes": 0,
      "oracle": "Source alltime duration/calories/distance/number from independent original rows; original custom code int10000/success stringtrue"
    },
    {
      "label": "RANK_CURRENT",
      "method": "GET",
      "path": "/api/yingjiduo.Rank/current",
      "params": {
        "userId": "@ownAIUID",
        "type": "@oneChosenType",
        "period": 4,
        "sort": 0
      },
      "body_raw": "",
      "tables": [
        "ZHCT.measurement_session",
        "ZHCT.health_record",
        "ZHCT.staff"
      ],
      "writes": 0,
      "oracle": "Independent year activity_duration groups, actual LEFTJOIN staff multiplicity/MAX name, own int value/having greater count/rank; source code string10000/userId string"
    },
    {
      "label": "RANK_BY_DATE",
      "method": "GET",
      "path": "/api/yingjiduo.Rank/byDate",
      "params": {
        "from": "@selectedDay",
        "to": "@selectedDay",
        "type": "@oneChosenType"
      },
      "body_raw": "",
      "tables": [
        "ZHCT.measurement_session",
        "ZHCT.health_record",
        "ZHCT.staff"
      ],
      "writes": 0,
      "oracle": "Independent day groups descending duration and complete rank rows; detect unspecified equal-value ties and preserve limitation, no set-equality laundering"
    },
    {
      "label": "SIGN_DETAIL",
      "method": "GET",
      "path": "/api/Sign/detail",
      "params": {
        "signId": "@existingPublishedID"
      },
      "body_raw": "",
      "tables": [
        "AI.sign_action",
        "AI.sign_address",
        "AI.upload_file"
      ],
      "writes": 0,
      "oracle": "All本侧physical columns in source order minus API hidden fields, original date getters, full addressList and exact referenced image URLs; no QR generation/sdk called; absent existing published row means no HTTP for thispath"
    }
  ],
  "global_rank_data_scope": "Only source vendor yingjiduo/selected device group and2026year or selectedday plus own alltime sports totals; staff reads only related AIIDs from those records, no fullglobalStaff guard/claim",
  "protection": "Exact authenticated ownAI rows and previous ownnew9/funds/10marked Scale remain; large hashes only before/after for approved related measurement domain; perHTTP small scope oracle. Global changed domain stops affected rank path, continues other source-reviewed pure reads, no retries",
  "exclusions_pending_special_scope": {
    "Bank.relatedUsers/currentLoginUser": "migrateLegacyRelation can write",
    "Healthkit.status/summary": "token refresh writes and Huawei HTTP",
    "H5.bills/detail/payResult": "expired bill hidden writes or real bank query",
    "Passport.mpWxEnterpriseOptions": "static enum only, no businessDB, not counted",
    "terminal.Analysis.score": "actual writer",
    "true_Store_user_sync": "separate source plan, no write/Bind0 patch; existing Department natural write/Bind0 promotion risks remain"
  }
}
