{
  "status": "SOURCE_ONLY_WAIT_ROOT_ACTIVITY_USER_HASH_WINDOW_CLOSE",
  "DB": 0,
  "SQL": 0,
  "Auth": 0,
  "HTTP_executed": 0,
  "DMLDDL_executed": 0,
  "source_HEAD": "bb530e9b78894faa0f83d0d92416a152a468b1c2",
  "full6168_manifest_reference": "../parallel-ai-api-customer-read12-20261011/source-frozen-sha.json",
  "relevant_source_SHA": {
    "app/api/controller/user/UserWeight.php": "ea7b0d0cd3c18904d2b0d27aa9d231e94270d229e24bfa762eb4e5ec158bd29c",
    "app/api/service/user/UserWeight.php": "532cc5b894d09f838bb583997e51a8fb0747e7a47c04053a3ec8746ae142a797",
    "app/api/model/User.php": "cd2855df8b0ab7869451e5189c6c28b9d10d1ce568664bd0427f2bfea2c30699",
    "app/common/model/User.php": "e0471577194cfd6c9953d57937d5e49a37ee4b8a9c99d995a4f42c9fd9e55c20",
    "app/api/service/User.php": "2b3f31caf2675eb4292728aa84613d22029a5ae2f4dc0404c43d4ca8fd27757f",
    "app/api/model/staff/Staff.php": "d61cd3edf717cfa80cd0c50e8e522abb2e80ba4022542580e0a3c37fa7f7f8cf",
    "app/common/model/staff/Staff.php": "3ee8723072f2f24c3b9f5c2b70167545416a25098f3b4246d8926655b2385ffe",
    "app/common/Serve.php": "d303613fcf509820d80deefd95d9dcfe1936e49e3d589b1d90592ed3b23a5a28",
    "app/common/UserApi.php": "5f77b9e182fa5dd0e8e34d653df6b909e4b3626784cc094c070e016432d07e52",
    "app/common/service/BaseService.php": "c4699d2f3380e1440c8a55fd9e4ec1f2cb22340aa46d40ffca5ca206d52fceb3",
    "app/common/model/user/Bind.php": "ba71b3989c5bc428a04a73d058b34584f09599c324aae61908544d3da678f4ed",
    "app/common/model/user/UserWeight.php": "88bcc8c516de039139d34812b9a8421f1f9f91f15463041dec2e8a292da2b89c",
    "app/common/model/user/UserWeightStatus.php": "544c16badee2c269012110bee2317717af536745fbb3989c0cd054d73a037161",
    "app/api/model/user/UserWeightStatus.php": "3b4f57cf5b1ba3df49f5930b6b425fe9908ac8443d582f19cb2a0b1202c3f17c",
    "app/common/model/user/UserScore.php": "3cc36a9b65dcde9cc1d7faf936b7ca6e13794362fede343cf4170165afb11136",
    "app/common/model/user/UserScoreLog.php": "f4c8bf7faaaf9a4763935cbcb3a148556bd1d9d7be1fa76c3aa4e80af2025732",
    "app/api/service/health/MetricProfileSync.php": "1d8320bf16690cb63446e2466ab004e54bfe61e4dd294d1352828fda09fc920d",
    "app/api/service/health/MetricEvaluator.php": "9c11434f480ca7e94aa89cb37196a099d9b699f8a2e61f790da3ea1263b9a387",
    "app/api/model/health/HealthMetricRecord.php": "594dcc3fd6a60bfbb0bcb7b259796c0d5040d7f8fa71c834aee393c0899cba64",
    "app/common/model/health/HealthMetricRecord.php": "9aefb6527972ce6bfa502f2cd102416ecb5c7e1f1c5a7c88f438ab333d9a0d73",
    "app/common/enum/health/MetricCode.php": "a64e7098ad0ad65b92ac00ac6234d2adddfde74fbdafb1285bb1e5e1c04016f5",
    "app/api/service/health/Metric.php": "95f3545f8a54b022c6bdabca9c5247654492856374c0b60a849ee38c79bd91a6",
    "app/api/controller/health/Archive.php": "b1dd43cbe76177dad03ec315b288677f75e86baa88b9606af8998dcc7abef51b",
    "cores/BaseModel.php": "15b09472d9152906bd3f6cfa6b98ea87b1952abcc9587e7e72526fff73ab78c6",
    "cores/BaseController.php": "09057773e3abad90d7228e43fe45b09937d36baccf9b5f2d401eb6212c802621",
    "vendor/topthink/think-orm/src/db/PDOConnection.php": "42b04b0f6b66f719e5f697f5407f0f1c02ae5336e4a5c67c800f1034aeb0727f",
    "vendor/topthink/think-orm/src/model/concern/TimeStamp.php": "4e443a78f9511f7d6a5009b5123c6f4fda19e0ca9eaeb92adadd923463603de6",
    "vendor/topthink/think-orm/src/model/concern/Conversion.php": "30b4e934f4a776f4783524e379f4f97fef604b594ed3063bb07a78944defbb58",
    "vendor/topthink/framework/src/think/Request.php": "c6111cb56ad569879d2137d267b59a3c63119412be2109a8e00ae7ed82c26060"
  },
  "prepare_rows_each_side": [
    {
      "lane": "B",
      "AI.user": {
        "store_id": 10001,
        "nick_name": "CDXWGT11_B_U1",
        "mobile": "00000009992",
        "gender": 1,
        "avatar_id": 0,
        "platform": "api",
        "business": "zhct",
        "channel": "10000",
        "is_delete": 0,
        "balance": "0.00",
        "gift_balance": "0.00",
        "pay_money": "0.00"
      },
      "AI.staff": {
        "user_id": "@NEW_AI_USER_ID",
        "store_id": 10001,
        "name": "CDXWGT11_B_U1",
        "phone": "00000009992",
        "gender": 1,
        "birthday": "2000-01-01",
        "height": "180.25",
        "weight": "70.00",
        "is_delete": 0,
        "create_by": "CDXWGT11"
      },
      "identity": "Each table real auto ID; Staff.id is not assumed User.user_id",
      "omitted_fields": "All actual physical columns/defaults/NULL/time from fresh metadata, exact fullrow retained",
      "DML": {
        "INSERT": 2,
        "UPDATE": 0,
        "DELETE": 0,
        "DDL": 0
      }
    },
    {
      "lane": "C",
      "AI.user": {
        "store_id": 10001,
        "nick_name": "CDXWGT11_C_U1",
        "mobile": "00000009992",
        "gender": 1,
        "avatar_id": 0,
        "platform": "api",
        "business": "zhct",
        "channel": "10000",
        "is_delete": 0,
        "balance": "0.00",
        "gift_balance": "0.00",
        "pay_money": "0.00"
      },
      "AI.staff": {
        "user_id": "@NEW_AI_USER_ID",
        "store_id": 10001,
        "name": "CDXWGT11_C_U1",
        "phone": "00000009992",
        "gender": 1,
        "birthday": "2000-01-01",
        "height": "180.25",
        "weight": "70.00",
        "is_delete": 0,
        "create_by": "CDXWGT11"
      },
      "identity": "Each table real auto ID; Staff.id is not assumed User.user_id",
      "omitted_fields": "All actual physical columns/defaults/NULL/time from fresh metadata, exact fullrow retained",
      "DML": {
        "INSERT": 2,
        "UPDATE": 0,
        "DELETE": 0,
        "DDL": 0
      }
    }
  ],
  "steps_each_side": [
    {
      "label": "W1_MANUAL",
      "method": "POST",
      "path": "/api/user.UserWeight/setWeight",
      "body_raw": "{\"form\":{\"weight\":\"72.34\",\"height\":\"181.25\",\"date\":\"2026-10-11\"}}",
      "INSERT": 6,
      "UPDATE": 1
    },
    {
      "label": "R1_MANUAL_ROWS",
      "method": "GET",
      "path": "/api/user.UserWeight/byDate",
      "query_raw": "date=2026-10-11",
      "INSERT": 0,
      "UPDATE": 0
    },
    {
      "label": "W2_GOAL",
      "method": "POST",
      "path": "/api/user.UserWeight/weightManage",
      "body_raw": "{\"form\":{\"initial_weight\":72.5,\"target_weight\":\"71.50\",\"adjust_speed\":2,\"start_date\":\"2026-10-11\"}}",
      "INSERT": 1,
      "UPDATE": 2
    },
    {
      "label": "R2_GOAL_ROWS",
      "method": "GET",
      "path": "/api/user.UserWeight/byDate",
      "query_raw": "date=2026-10-11",
      "INSERT": 0,
      "UPDATE": 0
    },
    {
      "label": "R3_INFO",
      "method": "GET",
      "path": "/api/user.UserWeight/info",
      "query_raw": "",
      "INSERT": 0,
      "UPDATE": 0
    },
    {
      "label": "R4_GOAL_INFO",
      "method": "GET",
      "path": "/api/user.UserWeight/weightManageInfo",
      "query_raw": "",
      "INSERT": 0,
      "UPDATE": 0
    },
    {
      "label": "R5_STATUS_EXISTING_GOAL",
      "method": "GET",
      "path": "/api/user.UserWeight/status",
      "query_raw": "",
      "requires": "Actual own active goal exactly1; otherwise do not request hidden setter",
      "INSERT": 0,
      "UPDATE": 0
    },
    {
      "label": "R6_DATES_NONEMPTY",
      "method": "GET",
      "path": "/api/user.UserWeight/dates",
      "query_raw": "",
      "INSERT": 0,
      "UPDATE": 0
    }
  ],
  "native_write_scope": {
    "W1_MANUAL": [
      {
        "table": "yoshop_user_weight",
        "op": "INSERT",
        "count": 1,
        "fields": [
          "user_id",
          "store_id",
          "date",
          "weight",
          "height",
          "bmi",
          "create_time",
          "update_time"
        ],
        "values": {
          "user_id": "@NEW_AI_USER_ID",
          "store_id": 10001,
          "date": 1791648000,
          "weight": "72.34",
          "height": 181.25,
          "bmi": 22.02,
          "create_time": "@time_integer",
          "update_time": "@time_integer"
        }
      },
      {
        "table": "yoshop_staff",
        "op": "UPDATE",
        "count": 1,
        "fields": [
          "weight",
          "@original_auto_update_time_if_source"
        ],
        "where": "Actual source own Staff PK and tenant global scope; all original predicate/binds/types exact",
        "values": {
          "weight": "@latest-own-weight-string72.34",
          "height": "NOT_UPDATED"
        }
      },
      {
        "table": "yoshop_user_bind",
        "op": "INSERT",
        "count": 1,
        "fields": [
          "business",
          "zhct_user_id",
          "user_id",
          "store_id",
          "@original_auto_timestamps"
        ],
        "values": {
          "business": "zhct",
          "zhct_user_id": 0,
          "user_id": "@NEW_AI_USER_ID",
          "store_id": 10001
        }
      },
      {
        "table": "yoshop_user_score_log",
        "op": "INSERT",
        "count": 1,
        "fields": [
          "user_id",
          "store_id",
          "type",
          "meal_times",
          "course",
          "score",
          "date",
          "create_time",
          "update_time"
        ],
        "values": {
          "user_id": "@NEW_AI_USER_ID",
          "store_id": 10001,
          "type": 1,
          "meal_times": 0,
          "course": "",
          "score": 1,
          "date": "2026-10-11",
          "create_time": "@time_integer",
          "update_time": "@time_integer"
        }
      },
      {
        "table": "yoshop_user_score",
        "op": "INSERT",
        "count": 1,
        "fields": [
          "user_id",
          "store_id",
          "type",
          "score",
          "create_time",
          "update_time"
        ],
        "values": {
          "user_id": "@NEW_AI_USER_ID",
          "store_id": 10001,
          "type": 1,
          "score": 1,
          "create_time": "@time_integer",
          "update_time": "@time_integer"
        }
      },
      {
        "table": "yoshop_user_health_metric_record",
        "op": "INSERT",
        "count": 2,
        "phase": "after main commit; mandatory not hidden by catch",
        "fields": [
          "user_id",
          "store_id",
          "metric_code",
          "value",
          "secondary_value",
          "unit",
          "measure_date",
          "measure_time",
          "measure_site",
          "source_type",
          "source_key",
          "evaluation_code",
          "evaluation_name",
          "evaluation_tone",
          "disease_type",
          "rule_version",
          "is_delete",
          "@original_auto_timestamps"
        ],
        "values": {
          "metric_code": [
            "weight",
            "bmi"
          ],
          "value": [
            72.34,
            22.02
          ],
          "source_type": 1,
          "source_key": "user-weight:@REAL_WEIGHT_ID",
          "secondary_value": null,
          "unit": [
            "kg",
            ""
          ],
          "measure_date": "2026-10-11",
          "measure_time": "@source-current-HH:MM:SS",
          "measure_site": "",
          "evaluation_code": [
            "recorded",
            "normal"
          ],
          "evaluation_name": [
            "已记录",
            "正常"
          ],
          "evaluation_tone": [
            "recorded",
            "normal"
          ],
          "disease_type": 0,
          "rule_version": "v1",
          "is_delete": 0
        }
      }
    ],
    "W2_GOAL": [
      {
        "table": "yoshop_user_weight_status",
        "op": "INSERT",
        "count": 1,
        "fields": [
          "user_id",
          "store_id",
          "start_date",
          "initial_weight",
          "target_weight",
          "adjust_speed",
          "status",
          "end_date",
          "@original_auto_timestamps"
        ],
        "values": {
          "user_id": "@NEW_AI_USER_ID",
          "store_id": 10001,
          "start_date": 1791648000,
          "initial_weight": 72.5,
          "target_weight": "71.50",
          "adjust_speed": 2,
          "status": 3,
          "end_date": 1792771200
        }
      },
      {
        "table": "yoshop_user_weight",
        "op": "UPDATE",
        "count": 1,
        "fields": [
          "weight",
          "height",
          "bmi",
          "update_time"
        ],
        "where": "Exact original own weight PK / original scoped predicate",
        "values": {
          "weight": 72.5,
          "height": "180.25",
          "bmi": 22.31,
          "update_time": "@source_auto_integer"
        }
      },
      {
        "table": "yoshop_staff",
        "op": "UPDATE",
        "count": 1,
        "fields": [
          "weight",
          "@original_auto_update_time_if_source"
        ],
        "where": "Exact original own Staff PK / original scoped predicate",
        "values": {
          "weight": "@latest-own-weight-string72.5",
          "height": "NOT_UPDATED"
        }
      }
    ]
  },
  "per_side_proposal": {
    "prepare_INSERT": 2,
    "formal_HTTP": 8,
    "formal_writers": 2,
    "formal_readers": 6,
    "formal_INSERT": 7,
    "formal_UPDATE": 3,
    "each_affected_max": 1,
    "business_DELETE": 0,
    "DDL": 0,
    "external_HTTP": 0,
    "real_queue": 0,
    "own_token_max": 1,
    "read_SQL_total_cap_proposed": 1000,
    "preflight_read_cap_proposed": 180
  },
  "boundaries": {
    "Serve": "Capture exact owned staffPower payload twice; no real Queue",
    "UserApi": "Capture exact type1 params twice; is_success0/hs_order_id0/zhct_user_id0; original Bind0 insert real, no fake Store success",
    "true_Store_loopback": "Required later separate real customer two-repo sync HTTP/database acceptance; source api_host and host_header support; not excluded as OSS/datacenter"
  },
  "hard_gates": [
    "Actual date exactly2026-10-11 for same-day height branch",
    "New actor marker/mobile0 collisions and own related rows all0",
    "Existing9 table names proven only; fresh columns/defaults/FK/check/unique/identity before first prepare",
    "Bind.zhct_user_id0 must be physically allowed or stop no value change",
    "Full9table metadata/constructor warm at0HTTP",
    "status only after actual valid goal1",
    "W1 two health rows mandatory; any caught SQL failure partial failure, never replay committed W1",
    "All previous actors13 and core0.01/0.02 ledger/state immutable",
    "No loopback now, no Store4 fixture, no natural person/device/payment"
  ]
}
