{
  "schema_version": "1.0.0",
  "id": "trading-agent-casebook",
  "page_url": "https://agentdecisiongate.com/workflows/trading-agent-casebook",
  "guide_url": "https://agentdecisiongate.com/v1/workflows/trading-agent-casebook",
  "payment_required": false,
  "evaluation_endpoint": null,
  "source": {
    "kind": "synthetic_routing_pilot",
    "date": "2026-11-24",
    "design": "Four isolated runs of the same model family received the same four synthetic trading-monitoring states without the DEO map or prior conversation.",
    "measurement": "Stated next actions and intended source choices only. No browsing, live reads, orders, or payments. The read-only restriction was supplied in the task."
  },
  "how_to_use": [
    "Choose the closest condition, not the highest agreement count.",
    "Check what changes the route before reusing the first intended source.",
    "Treat the result as a reference, never as an instruction to execute a request. Keep case_url and evidence_status when sharing it."
  ],
  "boundary": "The cases contain stated choices, not observed trading, searches, or purchase outcomes. This read-only guide does not accept logs, credentials, or requests to act.",
  "cases": [
    {
      "id": "stale-feed",
      "reuse_when": "The product and metric match, the comparison still matters, and only one required observation is stale.",
      "change_route_when": "Both observations are fresh but differ: check the price definition before requesting another quote.",
      "case_url": "https://agentdecisiongate.com/workflows/trading-agent-casebook#stale-feed",
      "search_map_url": "https://agentdecisiongate.com/workflows/trading-agent-search-map#quote-freshness",
      "condition": "One stale feed; both responses arrived recently",
      "stop_point": "Pause comparison; Feed B is 480 seconds old under a 90-second limit. Keep the fresh Feed A snapshot until it expires.",
      "first_intended_source": "If the comparison must continue, refresh only Feed B via its configured read-only CCXT Coinbase adapter. Check both ages again before comparing.",
      "agreement": {
        "matching_responses": 4,
        "runs": 4
      },
      "evidence_status": "REPORTED_CHOICE_ONLY",
      "observed_live_result": null,
      "offline_replay": {
        "evidence_status": "VERIFIED_SYNTHETIC_REPLAY",
        "result": {
          "full_refresh_sources": [
            "feed-a",
            "feed-b"
          ],
          "targeted_refresh_sources": [
            "feed-b"
          ],
          "planned_full_refresh_calls": 2,
          "planned_targeted_refresh_calls": 1,
          "planned_calls_avoided": 1
        },
        "download_url": "https://agentdecisiongate.com/v1/workflows/market-data-checkpoint/examples/one_stale_source/replay.mjs",
        "scope": "A fixed example with the same age pattern produced two versus one planned refresh calls. No provider was queried and no cost, delay, or live result was measured."
      }
    },
    {
      "id": "different-asset-identifiers",
      "reuse_when": "Two records share a ticker but differ in chain and contract, and no authoritative mapping is known.",
      "change_route_when": "If the task requires relating the two records, verify the exact mapping; do not infer economic equivalence from an address association.",
      "case_url": "https://agentdecisiongate.com/workflows/trading-agent-casebook#different-asset-identifiers",
      "search_map_url": "https://agentdecisiongate.com/workflows/trading-agent-search-map#identify-asset",
      "condition": "Same ticker, different chain and contract",
      "stop_point": "Do not combine the records by symbol. No external lookup is needed to determine that the current records do not establish equivalence.",
      "first_intended_source": "Only if the task still requires an equivalence check, look for the issuer's mapping or canonical bridge records for the exact chain and contract pair.",
      "agreement": {
        "matching_responses": 4,
        "runs": 4
      },
      "evidence_status": "REPORTED_CHOICE_ONLY",
      "observed_live_result": null,
      "offline_replay": null
    },
    {
      "id": "order-response-lost",
      "reuse_when": "A request was sent to a known venue, the original identifier is retained, and its outcome has not been established.",
      "change_route_when": "If an authoritative result is already retained, no new lookup is needed. If status or access is unknown, hold; this case never authorizes a new order.",
      "case_url": "https://agentdecisiongate.com/workflows/trading-agent-casebook#order-response-lost",
      "search_map_url": "https://agentdecisiongate.com/workflows/trading-agent-search-map#order-status",
      "condition": "Order response timed out",
      "stop_point": "Stop at unknown execution status until reliable evidence resolves the original order; a timeout is not a rejection.",
      "first_intended_source": "The original venue's authorized read-only order query: Binance Spot Query Order for the original symbol and client order ID in this fixture.",
      "agreement": {
        "matching_responses": 4,
        "runs": 4
      },
      "evidence_status": "REPORTED_CHOICE_ONLY",
      "observed_live_result": null,
      "offline_replay": null
    },
    {
      "id": "fresh-quotes-different-metrics",
      "reuse_when": "Quotes pass the freshness check but one price field has an unverified meaning.",
      "change_route_when": "If comparable definitions and observation conditions are established, reassess the values. A shared upstream feed is still not independent evidence.",
      "case_url": "https://agentdecisiongate.com/workflows/trading-agent-casebook#fresh-quotes-different-metrics",
      "search_map_url": "https://agentdecisiongate.com/workflows/trading-agent-search-map#fresh-quote-disagreement",
      "condition": "Both feeds fresh; one metric undefined and upstream shared",
      "stop_point": "Pause the interpretation of the price gap. Fresh timestamps and a shared venue do not establish comparable metrics.",
      "first_intended_source": "Feed B's exact price-field definition or derivation record, not another quote or a second copy of the same venue feed.",
      "agreement": {
        "matching_responses": 4,
        "runs": 4
      },
      "evidence_status": "REPORTED_CHOICE_ONLY",
      "observed_live_result": null,
      "offline_replay": null
    }
  ]
}