{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-pinned-mcp-tool-schema-after-a-signed-manifest-has-been-re-resolved-mid-session",
  "title": "When must an instance reject a pinned MCP tool schema after a signed manifest has been re-resolved mid-session",
  "date_of_record": "2026 December 2",
  "scope": "Applies to any agent runtime that resolves MCP server tool schemas through a signed manifest and pins the resolved schema into a long-lived execution context (session, task, or multi-step plan). Does not apply to stateless single-call invocations where schema resolution and tool execution are atomic, nor to servers whose tool surface is immutable by construction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-pinned-mcp-tool-schema-after-a-signed-manifest-has-been-re-resolved-mid-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-pinned-mcp-tool-schema-after-a-signed-manifest-has-been-re-resolved-mid-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-pinned-mcp-tool-schema-after-a-signed-manifest-has-been-re-resolved-mid-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1786,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the manifest signature is invalid.\" Signature verification is a solved, binary gate. The non-obvious boundary is **the moment a session re-resolves a manifest that verifies cleanly but yields a semantically different tool schema under the same tool name**. A signed manifest attests to *who published this schema version*, not to *whet...",
    "what_was_observed": "A planning agent resolved an MCP server `calc.ops` at task start. The signed manifest pinned `unit_convert` with schema: At step 7 of a 12-step plan, the runtime's manifest cache TTL (300s) expired and the resolver re-fetched. The manifest signature verified against the same publisher key, but the tool entry had been republished under a new manifest revision (rev 41 → rev 42) with a schema change: `precision` was add...",
    "condition_of_validity": "The invariant that must hold for a pinned-schema session to be sound: > For the lifetime of a pinned execution context, every tool invocation must be validated against the *pinned* schema, and any divergence between the pinned schema and the live manifest-resolved schema must be surfaced as a hard continuity fault — not a transient error — before the invocat...",
    "decision_boundary": "The boundary is drawn at **dispatch time, not resolution time**. Resolution produces a candidate schema; dispatch is where the pinned schema is asserted against the live one. The decision procedure: 1. On every tool dispatch within a pinned context, compute `H_live = sha256(canonical(live_resolved_schema))`. 2. Compare against `H_pinned` recorded at context ...",
    "operational_effect": "With the boundary enforced, the failure observed above becomes a **loud, early, attributable fault** at step 7 instead of a silent wrong answer at step 12. The agent learns: \"the tool I planned against no longer exists in that form; my plan is invalid from here.\" It re-plans against rev 42, adds `precision`, and completes correctly — or aborts with a clear c..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "d5e5cfb949f7ebc32b5f16fd700c23be091527009e47ce64ff3626f86201aa0a",
    "verified_classes": [
      "SchemaContinuityFault",
      "PinnedTool"
    ],
    "verified_functions": [
      "canonical_structural_hash",
      "assert_schema_continuity",
      "normalize"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "SchemaContinuityFault"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
