domain: contract
description: 合同 domain 的最小闭环测试。先创建 1 条合同，再修改同一条合同，检查绑定和状态库。
focus_node_types:
  - company
  - project
  - contract
primary_local_ids:
  contract:
    - "92e3de18-354c-4acf-9cb5-58ee55708fbd"
rounds:
  - name: round_1_create
    purpose: 首轮创建合同
    dataset_dir: ${PROJECT_ROOT}/tests/fixtures/auto_sync/datasource/contract/round_1_create
    checks:
      required_bindings:
        contract:
          - "92e3de18-354c-4acf-9cb5-58ee55708fbd"
  - name: round_2_update
    purpose: 第二轮修改合同金额、负责人和签约日期，验证 update
    dataset_dir: ${PROJECT_ROOT}/tests/fixtures/auto_sync/datasource/contract/round_2_update
    changes:
      contract:
        "92e3de18-354c-4acf-9cb5-58ee55708fbd":
          - total_price
          - manager_name
          - manager_phone
          - sign_date
    checks:
      required_bindings:
        contract:
          - "92e3de18-354c-4acf-9cb5-58ee55708fbd"
