{
  "tool_id": "art-569-muni-arbitrage-spending-exception-checker",
  "tool_version": "1.0.0",
  "display_name": "Muni Arbitrage Spending-Exception Checker",
  "mcp_name": "check_muni_arbitrage_spending_exception",
  "mandate_type": "compliance_control",
  "wave": 93,
  "gpu": false,
  "url": "https://ainumbers.co/chaingraph/art-569-muni-arbitrage-spending-exception-checker.html",
  "description": "Tests whether a tax-exempt bond issue's declared expenditure schedule satisfies one of the three IRC section 148 arbitrage-rebate spending exceptions under Treas. Reg. section 1.148-7: the 6-month exception (100% spent by 6 months, or 95%/12mo with reasonable retainage), the 18-month exception (15%/6mo, 60%/12mo, 100%/18mo, or 95%/18mo plus 100%/30mo with reasonable retainage), or the 24-month construction exception (10%/6mo, 45%/12mo, 75%/18mo, 100%/24mo, or 95%/24mo plus 100%/36mo with reasonable retainage). Whether reasonable retainage is elected is always a caller-declared boolean, never assumed. A caller-declared de minimis amount, capped at the lesser of 3% of gross proceeds or $150,000, may be applied against the required spend at every milestone; an out-of-cap declaration is rejected rather than clamped. Each milestone date is computed calendar-wise from the issue date and receives its own verdict: MET when cumulative spending as of that date reached the required amount, FAILED when the date has passed without reaching it, or PENDING when the milestone date is still in the future relative to the caller-declared evaluation date. Overall exception status is FAILED if any milestone failed, PENDING if none failed but one or more are still pending, and MET only when every milestone has been met. Scope is deliberately narrow: this checks the spending-exception milestone tests only and does not compute the future-value arbitrage rebate itself, which is a separate tool. Clause: IRC section 148; Treas. Reg. section 1.148-7; IRS Pub 5271. Not tax advice.",
  "input_schema_ref": "chaingraph/art-569-muni-arbitrage-spending-exception-checker.html#manifest",
  "consumes": [],
  "feeds": [],
  "status": "live",
  "conformance_fixtures": true,
  "compute_capability": "server",
  "compute_images": [
    {
      "system": "sha256-source",
      "image_id": "sha256:51f687ecec3fb71291c2dad098f4e0e98618a92218f75eaf7610890d75034ed3",
      "valid_from": "2026-07-10"
    },
    {
      "system": "risc0",
      "image_id": "sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6",
      "valid_from": "2026-08-07"
    }
  ],
  "export_capability": [
    "json"
  ],
  "compute_proof_ready": "ready",
  "deferred_reason": "New shard; awaiting the async GPU proving queue (S18 steady-state).",
  "compute_proof": {
    "type": "ZkVmReceipt",
    "system": "risc0",
    "receiptFormat": "groth16-bn254",
    "imageId": "sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6",
    "seal": "IRblidQKsiiaQPPJ7ZwRU7cnXx5BD5OkpULif4sPr/0fXH+44AbfltmbIaJxS1OIBjU4Qa27Xgu6m94gEFxWXy6oefI6DCkcl2+YX73XyvbKslFBamEKyXUZygjrhW/3C815nXoyWvvbxPaLWgyGonT3bocHkSd2yQSoRVzuxZEgrZdZ8orUwJSy0KYJUtwVYwzTi6Y50tL+RSGbfAORQC4TdjKrf/exlwPrMLfSFfWOFvZTm1eJkY/06NAwMQG2IHOprCdmfph5jxHYsDfhpNGfKVCK1pxo9083NfgqJ88Y8N97P5GpQ/5+I2Ou69bmXQbZ9q+x9A0YIIL6IsFlwg==",
    "journal": {
      "chaingraph_version": "0.4.0",
      "kernel_digest": "sha256:51f687ecec3fb71291c2dad098f4e0e98618a92218f75eaf7610890d75034ed3",
      "output": {
        "as_of_date": "2026-12-01",
        "clause_note": "IRC section 148 (Arbitrage); Treas. Reg. section 1.148-7 (Spending exceptions to the rebate requirement), specifically -7(c) 6-month, -7(d) 18-month, and -7(e) 24-month (construction) schedules including their reasonable-retainage variants; IRS Pub 5271 (Tax Exempt Bonds: Arbitrage Rebate compliance overview). Not tax advice -- confirm current text and facts with qualified bond counsel.",
        "de_minimis_cap_minor": 15000000,
        "de_minimis_minor": null,
        "decision": {
          "execution_state": "ran",
          "gate_policy": "auto_pass",
          "reason": null
        },
        "elected_exception": "6_MONTH",
        "gross_proceeds_minor": 10000000000,
        "issue_date": "2026-01-15",
        "milestones": [
          {
            "cumulative_spent_minor": 10000000000,
            "milestone_date": "2026-07-15",
            "months_after_issue_date": 6,
            "required_gross_minor": 10000000000,
            "required_minor": 10000000000,
            "required_pct": 100,
            "verdict": "MET"
          }
        ],
        "overall_status": "MET",
        "reasonable_retainage": false,
        "rejected_inputs": [],
        "scope_note": "Tests ONLY whether the issue satisfies the elected spending exception milestone schedule under Treas. Reg. section 1.148-7. Does not compute the future-value arbitrage rebate; that is a separate, not-yet-built tool. Meeting a milestone means only what the cited regulation says it means.",
        "total_expenditures_minor": 10000000000
      }
    }
  }
}
