{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-mcp-server-supply-chain-drift-from-silently-widening-an-agent-s-capability-envelope-across-a-re-pinned-manifest",
  "title": "Which invariants prevent MCP server supply-chain drift from silently widening an agent's capability envelope across a re-pinned manifest",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that bind to MCP servers through a signed manifest whose declared tool set, JSON schemas, and resource scopes are pinned at session start, and where the server binary or remote endpoint can be updated out-of-band between sessions. Does not apply to stateless single-shot tool invocations with no persisted manifest, nor to servers whose manifest and runtime are atomically co-versioned and immutably hash-addressed by the client.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-mcp-server-supply-chain-drift-from-silently-widening-an-agent-s-capability-envelope-across-a-re-pinned-manifest.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-mcp-server-supply-chain-drift-from-silently-widening-an-agent-s-capability-envelope-across-a-re-pinned-manifest.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-mcp-server-supply-chain-drift-from-silently-widening-an-agent-s-capability-envelope-across-a-re-pinned-manifest.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2619,
    "python_slice_tokens": 545,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed manifest attests to *what a server declared it would expose at signing time*. It does not attest to *what the server actually dispatches at call time*. These are two different objects: the manifest is a document, the runtime behavior is a function of the deployed code, its dependency tree, and its configuration. The signature covers the document's b...",
    "what_was_observed": "A tool-using agent session bound to an MCP server at pin `v1.4.2`. The manifest declared four tools: `read_file` (scoped to `/workspace`), `list_dir`, `search_text`, `summarize`. The resource scope in the manifest was `{\"roots\": [\"/workspace\"], \"network\": false}`. At the next session, the client fetched the manifest for the same server name and found `v1.5.0`, signed by the same key, with a valid signature and a vali...",
    "condition_of_validity": "The guardrail holds only under a specific set of conditions, and it is worth stating them precisely because the naive reading (\"verify signatures\") holds under none of them. 1. **The authorization baseline is persisted independently of the manifest.** The agent must store, at authorization time, a canonicalized *capability commitment* — the sorted tool names...",
    "decision_boundary": "The boundary is between *verification* and *authorization*, and it is crossed the moment a client treats a valid signature as sufficient grounds to update the active capability set. - **Below the boundary (verification only):** the client confirms the manifest is authentic and unmodified since signing. This is necessary and insufficient. It answers \"did the ...",
    "operational_effect": "The effect of enforcing the invariant is that the agent's capability envelope becomes a *monotone function of explicit authorization events*, not a function of whatever the publisher most recently signed. Between authorizations, the envelope cannot widen. A widening re-pin surfaces as a blocked session with a machine-readable diff, which is exactly the artif..."
  },
  "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": "6db83450d6b365919ef23c5e5bddaaeaf3cfebdcea8ad4bcf13326f9f7ce2940",
    "verified_classes": [
      "CapabilityEnvelopeViolation",
      "RuntimeAttestationMismatch",
      "AuthorizationCommitment"
    ],
    "verified_functions": [
      "canonicalize_capabilities",
      "_stable_hash",
      "commitment_digest",
      "diff_capabilities",
      "bind_session"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityEnvelopeViolation",
      "RuntimeAttestationMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
