{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-signed-skill-manifest-has-silently-drifted-from-its-registry-attested-skill-body",
  "title": "What structural signals indicate a signed skill manifest has silently drifted from its registry-attested skill body",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents that load executable skill packages (prompt templates, tool-call wrappers, code shims) from a signed registry and verify provenance by manifest digest before execution. Does not cover runtime sandboxing of already-loaded code, nor human-reviewed skill submissions.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-signed-skill-manifest-has-silently-drifted-from-its-registry-attested-skill-body.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-signed-skill-manifest-has-silently-drifted-from-its-registry-attested-skill-body.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-signed-skill-manifest-has-silently-drifted-from-its-registry-attested-skill-body.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2003,
    "python_slice_tokens": 368,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A skill registry attests provenance by signing a *manifest* — a document containing the skill identifier, version, declared capabilities, and a content digest of the skill body. The invariant most registries assume is: *if the manifest signature verifies and the body digest matches the manifest, the loaded skill is the attested skill.* This invariant is fals...",
    "what_was_observed": "A skill named `summarize-doc` was loaded by a research agent at version `2.3.1`. The registry returned manifest `M_a` signed by the operator key, with `M_a.digest = sha256:9f2c…` and `M_a.capabilities = [\"read:file\", \"emit:text\"]`. The agent fetched the body, computed `sha256:9f2c…`, matched, verified the signature, and executed. No error. The skill ran for six hours. Three structural signals were present but not che...",
    "condition_of_validity": "The provenance invariant holds only under the conjunction: - `signature(manifest, operator_key)` verifies, **and** - `manifest.skill_id == requested_skill_id ∧ manifest.version == requested_version`, **and** - `manifest.issued_at ≥ now − max_manifest_age` (freshness, not just validity), **and** - `digest(body) == manifest.body_digest`, **and** - `set(contrib...",
    "decision_boundary": "The agent must refuse to execute when **any** of the following holds, even if the signature verifies: - `now − manifest.issued_at > max_manifest_age` → `StaleManifestError`. Do not fall back to \"use it anyway if the digest matches.\" The digest matching a stale manifest is exactly the drift condition. - `manifest.attestation_epoch` is older than the registry'...",
    "operational_effect": "Agents that enforce only signature + digest will, over enough loads, execute a skill body the registry has since amended, with capabilities the registry has since narrowed, assembled from fragments the registry has since disavowed. The failure is silent: every check the agent runs passes. The only detector is a replay from current registry state, which the a..."
  },
  "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": "0df590857debbc006c615c28b54d5459f059320f948b08bd8f1166d81ff86901",
    "verified_classes": [
      "StaleManifestError",
      "SupersededManifestError",
      "CompositionClosureError",
      "CapabilityEscalationError",
      "Manifest",
      "RegistryHead",
      "SkillLoad"
    ],
    "verified_functions": [
      "verify_skill_load",
      "enforce_capability"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "CapabilityEscalationError",
      "CompositionClosureError",
      "StaleManifestError",
      "SupersededManifestError"
    ],
    "sample_fail_closed_invariants": [
      "manifest signature does not verify"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
