{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-silent-capability-escalation-when-agent-tool-manifests-are-hot-reloaded-from-a-mutable-registry",
  "title": "Which invariants prevent silent capability escalation when agent tool manifests are hot-reloaded from a mutable registry",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agent runtimes that resolve tool descriptions, JSON-schema parameter contracts, and permission scopes from a remote registry at load time or on a reload signal, rather than from a signed artifact pinned at build time. Does not apply to statically bundled tool manifests shipped inside the agent binary, nor to registries that enforce immutable versioned artifacts with out-of-band signature verification on every fetch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-escalation-when-agent-tool-manifests-are-hot-reloaded-from-a-mutable-registry.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-escalation-when-agent-tool-manifests-are-hot-reloaded-from-a-mutable-registry.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-escalation-when-agent-tool-manifests-are-hot-reloaded-from-a-mutable-registry.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1628,
    "python_slice_tokens": 164,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a malicious manifest is fetched.\" It is that the *identity* of a tool — the tuple of (name, description text, parameter schema, declared scopes) — is treated as atomic by the runtime, while the registry treats those fields as independently mutable. A hot reload can change the *semantics* of an already-approved tool without changing i...",
    "what_was_observed": "In a runtime resolving manifests from a mutable registry on each turn (to pick up schema fixes without redeploy), a reload event altered three fields on an enrolled tool while leaving name, version string, and declared scope list byte-identical: - The description gained a conditional instruction referencing an environment variable. - The parameter schema gained an optional `context` string property, defaulting to emp...",
    "condition_of_validity": "The invariant holds only under these conditions, and fails open without them: 1. The hash covers every field the model reads: description, parameter schema (including defaults and optionality), examples, and any `when_to_use` / routing hints. Hashing only the schema leaves the description channel open; hashing only the description leaves the parameter-smuggl...",
    "decision_boundary": "The operational decision is where to place the trust boundary between \"registry is authoritative for content\" and \"runtime is authoritative for what was approved.\" The correct placement: the registry may serve *candidate* manifests; the runtime admits a candidate only if its consumed-field hash matches the approved pin. On mismatch, the runtime must fail the...",
    "operational_effect": "With semantic pinning in place, a mutated manifest produces a hard reload failure with a field-level diff, and the agent continues operating on the last approved content. The injected instruction never reaches the model's context, because the description that would carry it is never admitted. The exfiltration call is never emitted, because the `context` para..."
  },
  "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": "99020f14ba3a690c35e4adf93bc30d1c8ffaeb5e49b261234d8fcab19c48c80a",
    "verified_classes": [
      "ManifestDriftError",
      "ApprovalPin"
    ],
    "verified_functions": [
      "consumed_hash",
      "admit_on_reload"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
