{
  "status": "passed",
  "exitCode": 0,
  "passed": 107,
  "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.SupplierLineIngressIntegrationTest --tests com.sit.spay4.LineVendorDepositIngressIntegrationTest --rerun --offline --console=plain",
  "commandNote": "#613 任務分支乾淨 HEAD 7cbed23a8 以同一 command 執行：2 classes 94 cases，0 failures／0 errors／0 skipped；JUnit XML 保留於 artifacts。；#640 HOUSE 移出 Deposit 派單池、OGP 建單以 agentCardId 指定卡（DepositAssignmentOrchestratorImpl／ExternalDepositOrderServiceImpl 等，測試改以指定卡建 HOUSE 單）後，依 G27 常設授權於 #640 卡乾淨 HEAD a36654902 以 scripts/rerun-evidence.mjs 重跑同一 command（stdin /dev/null）：2 classes 94 cases，0 failures／errors／skipped，依 JUnit XML 更新 classes 計數、sourceVersion／inputs（approved-by #640）；status／scope 不變；#713 新增銀行回報餘額案例並新增 LineIngressLog 的餘額 WARN（SupplierLineIngressIntegrationTest.java、LineVendorDepositIngressIntegrationTest.java、LineIngressLog.java 為 input）後，依 G27 常設授權於 #713 卡乾淨 HEAD cdcc9d87b 以 scripts/rerun-evidence.mjs 重跑同一 command（stdin /dev/null）：2 classes 106 cases，0 failures／errors／skipped，依 JUnit XML 更新 classes 計數、sourceVersion／inputs（approved-by #713）；status／scope 不變；#713 補 Supply Channel replay 案例後，依 G27 常設授權於 #713 卡乾淨 HEAD 904fcc1f3 以 scripts/rerun-evidence.mjs 重跑同一 command（stdin /dev/null）：2 classes 107 cases，0 failures／errors／skipped，依 JUnit XML 更新 classes 計數、sourceVersion／inputs（approved-by #713）；status／scope 不變；#956 HOUSE Card 單筆 Deposit 上下限（0 表示不限制）後，依 G27 常設授權於乾淨 HEAD 8ff005a1a 以 scripts/rerun-evidence.mjs 重跑同一 command（stdin /dev/null）：107 tests，0 failures／errors／skipped，exit 0（approved-by #956）；status／scope 不變",
  "sourceVersion": "8ff005a1ab9e72524b7438aae1659168f73e30e1",
  "issue": "#613",
  "scope": [
    "supplier-line-ingress"
  ],
  "coverage": [
    "normal",
    "denied",
    "failure",
    "boundary"
  ],
  "coverageNotes": {
    "normal": "POST /v2/external/transactions：Supplier credential 寫 Supply Channel evidence 並解析 exact Channel（SupplierLineIngressIntegrationTest#supplierCredentialWritesSupplyChannelEvidenceAndResolvesExactChannel）；Agent credential 走 HOUSE evidence，空 payer 只保存不 amount-only 結算、masked receiver／payer 依 scoped rules（LineVendorDepositIngressIntegrationTest#emptyPayerCommitsImmutableEvidenceWithoutAmountOnlySettlement、#maskedReceiverAndPayerUseScopedRulesAndPreserveOriginalFacts）；新路徑可用、退役路徑 404（#newPathAcceptsRetiredPathIsNotFoundAndRetiredCanonicalSignatureIsMismatch）",
    "denied": "API key 同時存在 Agent 與 Supplier credential 表 401 並記 log（不含 key）；同 credential 內 nonce 重用拒絕（SupplierLineIngressIntegrationTest#apiKeyFoundInBothCredentialTablesIs401AndLoggedWithoutTheKey、#sameNonceIsScopedPerCredentialTableButReplayWithinOneCredentialIsRejected）；payload 不能控制 Agent namespace、退役 canonical 簽章 mismatch（LineVendorDepositIngressIntegrationTest#lineAgentNamespaceCannotBeControlledByPayloadOrAnotherAgentHouse、#rawHmacTimestampNonceAndOwnerMetadataRemainServerAuthoritative）",
    "failure": "receiver 缺漏或多候選時 evidence 保留、Channel 為 null 並寫 WARN（SupplierLineIngressIntegrationTest#missingOrAmbiguousReceiverKeepsEvidenceWithNullChannel）；同 provider transaction 重送不重存、payload 改變 409（#replayedProviderTransactionIsNotDuplicatedAndChangedPayloadConflicts）；並發重送與衝突只有一筆金融效果、raw 不可變，raw 與完整敏感資料不進 response／audit／log（LineVendorDepositIngressIntegrationTest#concurrentLineReplayAndConflictHaveOneFinancialEffectAndImmutableRaw、#ingressRawAndFullSensitiveFactsNeverLeakToResponseAuditLogsOrGeneralProjection）",
    "boundary": "masked receiver 只經全域 fuzzy rules 解析、fuzzy 多筆命中維持 null（SupplierLineIngressIntegrationTest#maskedReceiverResolvesOnlyThroughGlobalFuzzyRulesAndAmbiguousFuzzyHitsStayNull）；nonce 依 credential 表分 scope（#sameNonceIsScopedPerCredentialTableButReplayWithinOneCredentialIsRejected）；matching time limit 到期停止自動匹配、反向匹配與 bounded recovery（LineVendorDepositIngressIntegrationTest#matchingTimeLimitKeepsExhaustedReceiptUnmatchedOutOfRecoveryAndReverseMatchableInsideWindow、#matchingTimeLimitExpiryStopsAutoMatchButManualMatchSettles、#missingMatchingTimeLimitKeepsPendingReviewAfterThirdRetry、#signedIllegalUtf8AndOversizeRawCannotProduceEvidence）"
  },
  "classes": [
    {
      "class": "com.sit.spay4.SupplierLineIngressIntegrationTest",
      "tests": 10,
      "failures": 0,
      "errors": 0,
      "skipped": 0
    },
    {
      "class": "com.sit.spay4.LineVendorDepositIngressIntegrationTest",
      "tests": 97,
      "failures": 0,
      "errors": 0,
      "skipped": 0
    }
  ],
  "artifacts": "/var/tmp/deliver-713/rerun/supplier-line-ingress-verification",
  "limitations": "本機 isolated Docker MySQL focused 驗收（含 slow），非 fixed-SHA 全套回歸。LINE 廠商以合成 fixture 簽章，真實廠商聯測屬 #465；Supply Channel evidence 的自動匹配結算由 supply-transaction 與 #430 receive 報告涵蓋。",
  "inputs": {
    "spay4-bo/src/test/java/com/sit/spay4/SupplierLineIngressIntegrationTest.java": "d30beb193b0bc3e1d6147c46fc5d91c5704f7170dbbefc6bfa2f8ab647f619b4",
    "spay4-bo/src/test/java/com/sit/spay4/LineVendorDepositIngressIntegrationTest.java": "5ae346caac6bfbdafaca514ff50c68db8cfb3b73dfef564900fb95225f2c33ef",
    "spay4-bo/src/main/java/com/sit/spay4/supply/controller/HouseIngressController.java": "90229350e7f322e183e03aac78b153f56d17217fb92c837a33c8fa652a7eafee",
    "spay4-bo/src/main/java/com/sit/spay4/security/impl/HouseIngressAuthenticationServiceImpl.java": "fc9198cfacbf5aedf1443fe13ef6428d8ea92ffc1a404251b780b2c4e178f330",
    "spay4-bo/src/main/java/com/sit/spay4/supply/service/impl/SupplyChannelIngressServiceImpl.java": "1ef9a701b0be529b6f6c83de41f33f973095942dafd4a86df0185a3b18828ac1",
    "spay4-bo/src/main/java/com/sit/spay4/supply/service/impl/LineIngressLog.java": "9cb591bf9dcd238cbdea057d1696b7f560b7d175fd56e0a3ff9c56c0c8062ee4"
  }
}
