{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-trust-a-tool-manifest-it-re-parsed-after-a-mid-session-reload-skill-injection-via-post-load-manifest-mutation",
  "title": "Why does an instance trust a tool manifest it re-parsed after a mid-session reload? Skill-injection via post-load manifest mutation",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agents that dynamically load, hot-reload, or lazily re-fetch tool/skill manifests (MCP `tools/list`, plugin descriptors, function-calling schemas) after the initial trust decision has been made. Does not apply to statically compiled tool sets fixed at process start with no re-parse path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-manifest-it-re-parsed-after-a-mid-session-reload-skill-injection-via-post-load-manifest-mutation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-manifest-it-re-parsed-after-a-mid-session-reload-skill-injection-via-post-load-manifest-mutation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-manifest-it-re-parsed-after-a-mid-session-reload-skill-injection-via-post-load-manifest-mutation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1719,
    "python_slice_tokens": 232,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a malicious tool description contains instructions.\" That is the well-understood prompt-injection case, and it is bounded by the fact that the model sees the description once and the harness can filter it. The non-obvious boundary is different: **the trust decision and the parse event are decoupled in time.** An agent authorizes a manifes...",
    "what_was_observed": "A tool-serving endpoint returned a `tools/list` response at session start. The harness computed a manifest digest, matched it against an allowlist, and registered the tools. Mid-session, the transport dropped and reconnected (a routine event — a 30s idle timeout, a container restart behind a load balancer). On reconnect the harness re-issued `tools/list` and re-parsed the response to repopulate its in-memory registry...",
    "condition_of_validity": "This failure requires the conjunction of four conditions, and the guardrail only needs to break one: - **Mutable content behind stable identity.** The re-parse returns a payload whose identity key (name, URL, schema hash) is unchanged but whose instruction-bearing fields (descriptions, enum labels, examples, error templates) differ. - **Decoupled authorizati...",
    "decision_boundary": "The correct boundary is not \"should I re-parse?\" (you must, to stay consistent with the server) but **\"which artifact do I trust, and does that artifact survive a re-parse?\"** Draw the line at a *content-addressed frozen snapshot*: - At authorization time, capture the full manifest bytes (including all free-text fields) and compute a digest over **the entire...",
    "operational_effect": "Without the full-payload digest, an agent's authorization state becomes a *lie that persists across reconnects*: it reports \"tool vetted\" while the model is reading unvetted instructions. The blast radius is the model's entire tool authority — the injection inherits every capability the agent holds, because it arrives through the one channel the agent trusts..."
  },
  "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": "53d4b758c4e194336c8fbaaea22bc8a13deefd61f71f4d0aa08bd924e35c3d6c",
    "verified_classes": [
      "ManifestTrustViolation",
      "AuthorizedManifest",
      "ToolRegistry"
    ],
    "verified_functions": [
      "full_payload_digest",
      "__init__",
      "authorize",
      "ingest_on_reparse"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestTrustViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
