{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-federated-task-graph-edge-has-silently-violated-data-residency-policy-when-the-peer-agent-s-capability-declaration",
  "title": "How does an instance detect that a federated task-graph edge has silently violated data-residency policy when the peer agent's capability declaration is honest but its execution substrate is not",
  "date_of_record": "2026 November 23",
  "scope": "Applies to cross-organization agent federation where a task graph is decomposed across trust domains and each peer advertises capabilities via a negotiated schema (e.g., A2A-style capability cards, MCP tool manifests). Does not apply to single-tenant deployments where all agents share one execution substrate and one policy authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-task-graph-edge-has-silently-violated-data-residency-policy-when-the-peer-agent-s-capability-declaration.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-task-graph-edge-has-silently-violated-data-residency-policy-when-the-peer-agent-s-capability-declaration.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-task-graph-edge-has-silently-violated-data-residency-policy-when-the-peer-agent-s-capability-declaration.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1510,
    "python_slice_tokens": 271,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a lying peer. It is a **truthful capability declaration bound to a misrepresented execution substrate**. Agent B declares `data_residency: {allowed: [\"EU\"], enforced_by: \"substrate\"}` — and it is telling the truth: its *runtime* enforces EU-only execution. But the task graph routed a sub-task to Agent B whose *tool call* delegated to a thi...",
    "what_was_observed": "A three-party federation: Org A (orchestrator, EU), Org B (retrieval agent, EU-declared), Org C (embedding agent, US-declared and correctly excluded from the graph). During negotiation, A's policy engine rejected C and built a graph `A → B → {B.local_store, B.embedder}`. B's capability card declared `substrate_region: EU` and `outbound_tools: [local_store, embedder]`. The graph validated. At execution, B's `embedder`...",
    "condition_of_validity": "The residency invariant holds **only if** the negotiated graph's policy check is applied to the *transitive runtime call closure*, not the *declared node set*. Concretely, the following must all be true for a federation edge to carry a residency warrant: 1. Every node's capability card must declare not just `outbound_tools` but each tool's `runtime_binding` ...",
    "decision_boundary": "An instance must treat a peer's residency declaration as **insufficient for warrant propagation** — i.e., it may not extend its own residency guarantee downstream — when any of the following hold: - The peer's capability card lists tools without `runtime_binding` regions, **or** lists a fallback chain whose regions are not a subset of the graph's allowed reg...",
    "operational_effect": "Federations that skip closure enumeration exhibit a characteristic failure signature: **zero policy exceptions, zero negotiation rejections, and a residency violation discovered only by external audit.** The liability attribution problem follows directly — A's orchestrator logged a valid warrant, B's substrate logged a valid local enforcement, and the actual..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "cec205436169b2f8799c51775942c281ac42cb6795a3f66f5307c11d262b4a67",
    "verified_classes": [
      "ResidencyWarrantError",
      "RuntimeBinding",
      "CapabilityCard"
    ],
    "verified_functions": [
      "validate_edge_warrant",
      "dispatch"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ResidencyWarrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
