{
  "title": "Meaningful DeFi checks in isolated Guard policy-engine fixtures",
  "executedOn": "2026-11-13",
  "sourceRevision": "76e5ca2895bc6c363ab316566ad9ef1258cd91ea",
  "method": "Ran four existing focused policy-engine tests using Vitest 4.1.9. Tests supplied decoded calls, mocked address-book and policy results, and prepared successful simulation outcomes. Assertions checked assurance, verdict and limit flags. No transaction was signed or broadcast.",
  "observedRun": {
    "testFilesPassed": 1,
    "testsPassed": 4,
    "testsSkipped": 83,
    "totalTestsInFile": 87,
    "durationMilliseconds": 920,
    "exitCode": 0
  },
  "cases": [
    {
      "case": "Supported supply with the Safe as beneficiary",
      "input": {
        "action": "Aave-style supply",
        "amountBaseUnits": "1000",
        "beneficiary": "The fixture Safe itself",
        "decode": "Full, supplied",
        "simulation": "Successful, supplied",
        "addressBook": "Mocked supported supply action"
      },
      "expected": { "assurance": "HIGH", "verdict": "GREEN" },
      "observed": { "assurance": "HIGH", "verdict": "GREEN", "assertions": "Passed" }
    },
    {
      "case": "Supported supply with another beneficiary",
      "input": {
        "action": "Aave-style supply",
        "amountBaseUnits": "1000",
        "beneficiary": "A different dummy address",
        "decode": "Full, supplied",
        "simulation": "Successful, supplied",
        "addressBook": "Mocked supported supply action"
      },
      "expected": { "assurance": "MEDIUM", "verdict": "AMBER", "reason": "Aave supply beneficiary is not the Safe" },
      "observed": { "assurance": "MEDIUM", "verdict": "AMBER", "reason": "Aave supply beneficiary is not the Safe", "assertions": "Passed" }
    },
    {
      "case": "Known-token transfer without explicit policy promotion",
      "input": {
        "action": "Known-token transfer",
        "amountBaseUnits": "1000",
        "decode": "Full, supplied",
        "simulation": "Successful, supplied",
        "policyPromotion": "Absent"
      },
      "expected": { "assurance": "MEDIUM", "verdict": "AMBER" },
      "observed": { "assurance": "MEDIUM", "verdict": "AMBER", "reason": "transaction class is not explicitly green-eligible", "assertions": "Passed" }
    },
    {
      "case": "Transfer exceeds the matched policy rule cap",
      "input": {
        "action": "Known-token transfer with a mocked matching allow rule",
        "maximumOutflowUsd": 10000,
        "estimatedOutflowUsd": 20000,
        "estimateReliability": "Reliable, supplied",
        "simulation": "Successful, supplied"
      },
      "expected": { "verdict": "AMBER", "ruleLimitCheck": "Failed", "greenPromotion": "Absent" },
      "observed": { "verdict": "AMBER", "ruleLimitCheck": "Failed", "greenPromotion": "Absent", "assertions": "Passed" }
    }
  ],
  "limits": [
    "These are existing isolated engine fixtures, not a live DeFi experiment or end-to-end signing test.",
    "The two supply examples are separate existing fixtures with comparable inputs, not an exhaustive mutation test.",
    "Raw base-unit amounts are not human token quantities.",
    "Decoding, simulation results, address-book entries and some policy information were supplied or mocked.",
    "No live RPC, live simulation provider, hardware-wallet display, browser capture, customer policy editor, policy-change authorization or KMS signing was tested.",
    "Passing fixtures do not establish availability of the upcoming customer offchain spending-policy workflow or arbitrary cumulative budgets.",
    "An optional co-signer controls its own signature; its refusal does not block a separately sufficient quorum of the other owners.",
    "The public descriptions omit internal policy names and do not identify a customer or imply an endorsement."
  ]
}
