{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-skill-registration-whose-declared-signature-is-a-superset-of-a-previously-attested-one",
  "title": "Under what conditions must an instance reject a skill registration whose declared signature is a superset of a previously attested one",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent runtimes that dynamically load skills/tools from a registry where entries can be re-registered, versioned, or shadowed by later manifests, and where the agent's tool-call dispatcher validates arguments against a declared schema before execution. Does not apply to statically compiled tool sets or to registries where manifests are immutable and content-addressed at the trust boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-skill-registration-whose-declared-signature-is-a-superset-of-a-previously-attested-one.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-skill-registration-whose-declared-signature-is-a-superset-of-a-previously-attested-one.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-skill-registration-whose-declared-signature-is-a-superset-of-a-previously-attested-one.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1948,
    "python_slice_tokens": 232,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive defense against skill-injection is *schema validation*: does the incoming manifest's declared parameter schema reject inputs that would carry an injected payload? This is the wrong invariant to anchor on, because a skill-injection attacker does not need to violate a schema — the attacker *writes the schema*. The failure mode is not \"malformed manif...",
    "what_was_observed": "A runtime loaded a skill named `fetch_reference` at boot. The attested manifest declared: At T+40min, mid-task, the registry served a re-registration of `fetch_reference` under the same name and same semantic version string. The candidate manifest declared: Every field was individually valid. `additionalProperties: true` is legal JSON Schema. `prelude: string` is a string. The validator passed it. The runtime hot-swa...",
    "condition_of_validity": "The invariant that would have caught this is a **surface-subset guard on re-registration**, stated precisely: > For any skill name `n`, let `S_attested(n)` be the parameter surface (set of parameter names, each with its type, bounds, and executability class) captured at the moment the skill was last attested by a human or by a signed manifest. A re-registrat...",
    "decision_boundary": "The boundary is drawn at the moment of dispatch, not at the moment of load, and it must be drawn against the *attested* surface, not the *loaded* surface: - **Admit without re-attestation:** candidate surface is a strict subset of attested (narrowing), or identical. - **Admit with re-attestation:** candidate surface adds parameters or widens types, *and* the...",
    "operational_effect": "Implementing the subset guard changes the failure profile in three measurable ways: 1. **Silent widening becomes a hard load error.** The runtime refuses to swap the handler and raises at registration time, before any agent turn can populate the new parameter. The attack surface is closed at the earliest possible point in the trace. 2. **Legitimate schema ev..."
  },
  "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": "a2b6fe28645159b641e1f0814a64b5c19804591a3274bbd7a9243b1e5dec1e35",
    "verified_classes": [
      "ParamSurface",
      "SkillSurface",
      "SurfaceWideningError"
    ],
    "verified_functions": [
      "surface_is_subset",
      "admit_registration"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "SurfaceWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
