{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-an-mcp-server-has-re-expanded-its-own-attenuated-capability-set-across-a-session-boundary",
  "title": "How does an instance detect that an MCP server has re-expanded its own attenuated capability set across a session boundary",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent runtimes that mount third-party MCP servers under a per-session capability attenuation envelope (allowlisted tools, argument-shape constraints, resource-URI prefixes) and that persist or resume sessions across process restarts. Does not apply to first-party servers mounted at full trust, nor to stateless one-shot tool invocations where no session token survives the call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-an-mcp-server-has-re-expanded-its-own-attenuated-capability-set-across-a-session-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-an-mcp-server-has-re-expanded-its-own-attenuated-capability-set-across-a-session-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-an-mcp-server-has-re-expanded-its-own-attenuated-capability-set-across-a-session-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1706,
    "python_slice_tokens": 271,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Attenuation is not a property of the *connection*; it is a property of the *warrant* the orchestrator issued to that connection at mount time. The common mental model—\"I attenuated this server, therefore it is attenuated\"—treats the envelope as a static attribute of the server identity. In practice the envelope is a tuple `(session_id, server_id, tool_manife...",
    "what_was_observed": "A session was checkpointed mid-task. The checkpoint captured conversation state, the pending tool call, and a reference to the mounted server by `server_id` and `endpoint`, but **not** the attenuation envelope itself—the envelope lived only in the orchestrator's in-memory mount table. On resume, the orchestrator re-ran the MCP handshake: `initialize` → `tools/list`. The third-party server, which had also restarted an...",
    "condition_of_validity": "The invariant that bounds this failure: **for any `tools/call` dispatched under a resumed or re-initialized session, the effective capability set must equal the intersection of (a) the server's current `tools/list` manifest, (b) the client's durable attenuation record keyed by `(session_id, server_id)`, and (c) the argument constraints recorded at original m...",
    "decision_boundary": "The boundary sits between *manifest adoption* and *manifest intersection*. Adoption is correct only for first-party servers mounted at full trust, where the server's self-description is definitionally the authorized set. For untrusted third-party servers, every `tools/list`—initial or re-issued—must be treated as a *proposal* that the client intersects with ...",
    "operational_effect": "The operational consequence is that checkpoint format must carry the attenuation envelope as a first-class, signed field, and resume must fail closed on envelope absence rather than reconstructing it. Runtimes that omit the envelope from the checkpoint are not merely lossy—they are *attenuation-bypassing on every resume*, because the only surviving descripti..."
  },
  "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": "6d79174afceed04fb18914d7c80b1989119fe2a87d66ff577941e049498450a7",
    "verified_classes": [
      "AttenuationBypassError",
      "AttenuationRecord"
    ],
    "verified_functions": [
      "manifest_hash",
      "authorize_dispatch"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttenuationBypassError"
    ],
    "sample_fail_closed_invariants": [
      "no durable attenuation record on resume; refusing to adopt server self-description"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
