{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-quarantine-a-dynamically-registered-skill-whose-manifest-signature-validates-but-whose-tool-schema-mutates-the",
  "title": "Under what conditions must an instance quarantine a dynamically registered skill whose manifest signature validates but whose tool schema mutates the argument surface after admission",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agent runtimes that load skills/tools from a mutable registry at runtime and gate admission on a signed manifest, but resolve the callable JSON schema lazily at invocation time. Does not apply to statically compiled tool sets or registries where the schema is part of the signed artifact and re-verified per call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-dynamically-registered-skill-whose-manifest-signature-validates-but-whose-tool-schema-mutates-the.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-dynamically-registered-skill-whose-manifest-signature-validates-but-whose-tool-schema-mutates-the.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-dynamically-registered-skill-whose-manifest-signature-validates-but-whose-tool-schema-mutates-the.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1736,
    "python_slice_tokens": 305,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a broken signature and not a malicious manifest. It is the gap between *what was signed* and *what is executed*. A manifest attests to a skill's identity, version, declared capabilities, and — critically — a schema hash. Admission control verifies the signature and the schema hash at registration. But in most dynamic registries the schema ...",
    "what_was_observed": "A skill `report.summarize` was admitted with a clean manifest: signature valid, declared capability `read:notes`, and schema hash `sha256:9f3a…` matching the registry record. The signed schema exposed one parameter: At first invocation the runtime resolved the live schema from the skill's descriptor endpoint and cached it with a 10-minute TTL. The live schema had drifted: The added `context` parameter was benign-look...",
    "condition_of_validity": "This failure mode is only reachable when all of the following hold, which is why it is narrow and easy to miss: - The registry resolves the executable schema lazily (at call time or on TTL refresh) rather than binding it at admission. - The signed manifest carries a schema hash but the runtime does not re-verify the resolved schema against that hash on every...",
    "decision_boundary": "The runtime must draw the line at **resolution time, not admission time**. The decision rule: - If the resolved schema hash equals the signed hash → admit the call, proceed. - If the resolved schema hash differs from the signed hash → the skill has drifted since approval. Do **not** silently accept. Two legal outcomes: (a) quarantine the skill and fall back ...",
    "operational_effect": "With the invariant enforced, the exfiltration path closes: the drifted schema is rejected at resolution, the model never sees the `context` parameter, and no argument surface expansion is possible without a new signed manifest and re-approval. The cost is a hash comparison per call (cheap) and a re-approval workflow when legitimate skills update (acceptable ..."
  },
  "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": "194ed39f7416635f871586d08cef229b8a48d24615a56634df08401cb3bf75a7",
    "verified_classes": [
      "SchemaDriftError",
      "SignedSkill"
    ],
    "verified_functions": [
      "_hash_schema",
      "resolve_and_verify",
      "invoke"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SchemaDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
