{
  "status": "passed",
  "exitCode": 0,
  "passed": 6,
  "skipped": 0,
  "failures": 0,
  "errors": 0,
  "command": "SPAY4_TESTCONTAINERS_ENABLED=true SPAY4_SLOW_TESTS_ENABLED=true bash scripts/run-docker-tests.sh :spay4-bo:test --tests com.sit.spay4.SchemaFoundationFreshInventoryIntegrationTest --tests com.sit.spay4.WithdrawalFreshSeedIntegrationTest --rerun --offline --console=plain",
  "commandNote": "#697 card worktree 乾淨 HEAD 3f8123b40 重跑（G27 常設授權；stdin /dev/null；原報告 #617 於 44e9ed917），BUILD SUCCESSFUL；兩 class 共 6 cases，0 failures／errors／skipped。沿用既有測試，四類情境皆已涵蓋，未補測試。",
  "sourceVersion": "3f8123b40a4add73140249529ae63a5f8fea59af",
  "issue": "#617",
  "scope": [
    "schema-foundation"
  ],
  "coverage": [
    "normal",
    "denied",
    "failure",
    "boundary"
  ],
  "coverageNotes": {
    "normal": "fresh ddl.sql 的 BASE TABLE 與 sql/V4/README.md 的 13 段 inventory（14 Core＋37 Domain＋Overview 2／Withdrawal 1／Notification 2／HOUSE balance 1／BO alert 1／Payment Account limit 1／Supply Channel 5／Supply Channel daily quota 2／Supply Channel transaction 1／Channel report 1／Payment Account identity history 1）聯集 69 relations 精確相同、無重複、無非 BASE TABLE（SchemaFoundationFreshInventoryIntegrationTest#freshDdlRelationInventoryExactlyMatchesReadmeBaselineAndOverlays）；data.sql read-back 為 14 Currency、34 TH 啟用 Bank、4 system_config、system-scope admin Role／User，seed 欄位 creator／modifier 皆為 SPAY4_DATA_SEED，其餘 relation 為空（#managedSeedReadBackMatchesOneTimeDataSqlDeclaration、WithdrawalFreshSeedIntegrationTest）。",
    "denied": "一次性 data.sql 重跑於第一個 INSERT（currency）被 PRIMARY 拒絕，訊息含 statement #2 與 Duplicate entry，read-back 與第一次相同（SchemaFoundationFreshInventoryIntegrationTest#rerunOfOneTimeSeedIsRejectedAndLeavesFirstReadBackUnchanged）。",
    "failure": "無效 bootstrap session variable（帳號大寫）使最後 INSERT 因 account NOT NULL 失敗，整份 seed transaction rollback、所有 relation 為空（#invalidBootstrapSessionVariableRollsBackEveryEarlierSeedStatement）。",
    "boundary": "fresh DDL 無 FOREIGN KEY／CHECK constraint、routine、trigger、event，全部 InnoDB，未執行 data.sql 時所有 relation 為空（#freshDdlKeepsLogicalRelationsWithoutDatabaseForeignKeysChecksOrHiddenObjects）；logical relation 由 service guard 維護。"
  },
  "classes": [
    {
      "class": "com.sit.spay4.SchemaFoundationFreshInventoryIntegrationTest",
      "tests": 5,
      "failures": 0,
      "errors": 0,
      "skipped": 0
    },
    {
      "class": "com.sit.spay4.WithdrawalFreshSeedIntegrationTest",
      "tests": 1,
      "failures": 0,
      "errors": 0,
      "skipped": 0
    }
  ],
  "artifacts": "/var/tmp/deliver-617/junit-44e9ed917",
  "limitations": "本機 isolated Docker MySQL（Testcontainers）focused 驗收（含 slow），非 fixed-SHA 全套回歸；批次統一回歸由 coordinator 執行。只驗版本化來源：target schema／seed read-back、DBA／Operator 審核與執行屬 Operator，未驗證；inventory 不證明 runtime-ready。規格仍有未決問題，維持「尚未確認」，不在本單定案；無 spay4 runtime 實作切片，後端維持「證據待核對」，不因本報告升級。失敗分支是 MySQL 拒絕 SQL script，沒有應用程式 WARN log 可斷言，改以 exception 訊息與 rollback 後 read-back 斷言。inputs 比照 #398 只列測試來源；ddl.sql／data.sql／README.md 指紋另列 schemaInputs（feature 未提升、不進已驗證 gate）。",
  "inputs": {
    "spay4-bo/src/test/java/com/sit/spay4/SchemaFoundationFreshInventoryIntegrationTest.java": "eddcf73427707ffe4715c4036738906c6a657115ca5db12d030466566779973c",
    "spay4-bo/src/test/java/com/sit/spay4/WithdrawalFreshSeedIntegrationTest.java": "82c856435fa4d8d767fceb91730080885e6de62f188a8ce234c8d454170629e3"
  },
  "schemaInputs": {
    "sql/V4/ddl.sql": "8c8855d6b8ebaff3ef5b8ec769e471be5d62b3914868e80be3b407821d66a8e9",
    "sql/V4/data.sql": "64dcb8ea1a1cf2c3fc01334af819a821ece2cc85569397e14ed6241ae8a9aa1e",
    "sql/V4/README.md": "a04854d0e5a1cc7e66c3683d202a300519c5474b4f36c8f241ff8c2c18e7a72a"
  }
}
