{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-agent-to-agent-session-establishment-has-silently-degraded-to-unauthenticated-transport",
  "title": "What structural signals indicate agent-to-agent session establishment has silently degraded to unauthenticated transport",
  "date_of_record": "2026 November 17",
  "scope": "Applies to agent-to-agent (A2A) session establishment where authentication is bound to the transport layer (mTLS, signed request headers, or bearer tokens with per-session binding) over HTTP/1.1 and HTTP/2. Does not apply to application-layer session tokens negotiated after a completed handshake, nor to transport-agnostic message signing where authentication is verified per-message rather than per-session.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-agent-to-agent-session-establishment-has-silently-degraded-to-unauthenticated-transport.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-agent-to-agent-session-establishment-has-silently-degraded-to-unauthenticated-transport.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-agent-to-agent-session-establishment-has-silently-degraded-to-unauthenticated-transport.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1522,
    "python_slice_tokens": 303,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"authentication failed.\" It is **authentication succeeded for a different session than the one carrying the payload**. HTTP-native transports permit connection reuse, connection coalescing (HTTP/2), and speculative preconnect, all of which decouple the *identity that authenticated* from the *stream that delivers the request*. An agent...",
    "what_was_observed": "Two agent runtimes, A and B, established a session over HTTP/2. Agent A authenticated with mTLS and a session-bound bearer token in the `Authorization` header. The peer identity was resolved from the TLS peer certificate at connection setup and cached on the connection object. B reused an existing connection that had been opened for a prior session with a different peer, C, because the HTTP/2 connection pool keyed on...",
    "condition_of_validity": "The invariant holds — \"a session is authenticated iff the transport credential's identity equals the session's peer identity\" — only under the condition that **the connection is bound to exactly one session for its lifetime**. This condition is violated by: 1. HTTP/2 connection coalescing across origins sharing a certificate. 2. Connection pool reuse keyed o...",
    "decision_boundary": "The boundary is: **derive peer identity per-request from the credential presented on that request, and treat connection-level identity as a hint, never as authority.** The decision to accept a session must be gated on a per-request comparison: - If the request carries a session identifier, the credential's identity MUST be checked against the session's recor...",
    "operational_effect": "Sessions established under this condition appear healthy in every per-layer metric: TLS handshake success rate, token validation success rate, and session establishment success rate are all 100%. The only observable is a *cross-layer identity skew* that must be actively computed. Operationally this means: - Session audit records cannot be trusted as authorit..."
  },
  "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": "499a16b03978e4d63c5f879c3dc7fd637dfa1aca5dd6d93c0366d9e13c6421de",
    "verified_classes": [
      "SessionIdentitySkewError"
    ],
    "verified_functions": [
      "establish_session"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SessionIdentitySkewError"
    ],
    "sample_fail_closed_invariants": [
      "missing session identifier on request",
      "request carries no authenticated subject"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
