{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-s-semantic-convention-baggage-is-dropped-at-a-federated-agent-hop-boundary",
  "title": "What happens when an instance's semantic-convention baggage is dropped at a federated agent hop boundary",
  "date_of_record": "2026 November 21",
  "scope": "Applies to multi-hop agent systems where an originating instance stamps semantic-convention attributes (trace context, tenant, authorization scope, model lineage, prompt-injection taint flags) into a request envelope that is re-serialized by an intermediate agent before forwarding to a downstream peer. Does not apply to single-hop direct calls, nor to hops where the transport preserves an opaque byte-for-byte envelope.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-semantic-convention-baggage-is-dropped-at-a-federated-agent-hop-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-semantic-convention-baggage-is-dropped-at-a-federated-agent-hop-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-semantic-convention-baggage-is-dropped-at-a-federated-agent-hop-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1645,
    "python_slice_tokens": 220,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an intermediate agent can do with an inbound request envelope: **relay** it or **reconstruct** it. Relaying means the intermediate agent passes the original serialized context (W3C Trace Context `traceparent`, OpenTelemetry baggage, plus GenAI semantic-convention keys like `gen_ai.request.model`, `gen_ai.usage.inpu...",
    "what_was_observed": "A three-hop federated chain: `planner → executor → auditor`. The planner stamped the envelope with `agent.taint=external_document` (a flag set because the planner had ingested a user-supplied PDF) and `agent.tenant=acme`. The executor's tool schema for `call_auditor` modeled only `{task, payload, trace_id}`. It read the inbound envelope, produced a natural-language plan, and invoked `call_auditor` with a freshly cons...",
    "condition_of_validity": "The invariant that *must* hold is: **any semantic-convention key present on the inbound envelope is either (a) present and byte-identical on the outbound envelope, or (b) the hop fails closed with an explicit `BaggagePropagationError`.** There is no valid third state where a key is silently absent. This invariant is only enforceable when the intermediate age...",
    "decision_boundary": "The decision boundary is whether the intermediate hop is permitted to *interpret* baggage or only to *carry* it. Interpretation is the trap: the moment an intermediate agent's model is allowed to decide which keys matter, propagation becomes a reasoning task subject to context-window truncation (long inbound envelopes get summarized, dropping trailing keys),...",
    "operational_effect": "The operational consequence is that trust and tenancy boundaries become **hop-count-dependent and non-deterministic**. A two-hop chain may be safe; a three-hop chain leaks. A chain that passes through a schema-strict intermediate is safe; the same chain through an LLM-reasoning intermediate leaks on some runs. This makes the failure invisible to per-hop test..."
  },
  "matched_failure_symptoms": [
    "SECRET_OR_PII_LEAK_IN_LOGS"
  ],
  "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": "8770f05e9a41a22512488bd016557d1a9dffc5732073e1b6aaa91d1bd559fce6",
    "verified_classes": [
      "BaggagePropagationError",
      "Envelope"
    ],
    "verified_functions": [
      "forward_hop",
      "receive_hop"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "BaggagePropagationError"
    ],
    "sample_fail_closed_invariants": [
      "agent.taint absent on wire; refusing to assume untainted"
    ],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
