{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-provenance-attestation-drift-when-a-skill-s-prompt-template-is-silently-re-signed-across-a-manifest-boundary",
  "title": "What structural signals indicate provenance-attestation drift when a skill's prompt template is silently re-signed across a manifest boundary",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent runtimes that load versioned *skills* (prompt template + tool manifest + declared capability set) through a signed SBOM/provenance envelope, where the runtime verifies the envelope at load time and caches the resolved skill in an execution slot. Does not cover dynamic tool discovery at runtime (MCP `tools/list` drift), nor model-weight provenance — only the static artifact chain: prompt bytes, tool manifest JSON, and the attestation that binds them.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-attestation-drift-when-a-skill-s-prompt-template-is-silently-re-signed-across-a-manifest-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-attestation-drift-when-a-skill-s-prompt-template-is-silently-re-signed-across-a-manifest-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-attestation-drift-when-a-skill-s-prompt-template-is-silently-re-signed-across-a-manifest-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2146,
    "python_slice_tokens": 419,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an agent runtime can verify about a skill, and conflating them is the root of the failure: 1. **Envelope integrity** — the attestation signature is valid and covers a manifest digest that matches the artifact bytes on disk *right now*. 2. **Provenance continuity** — the *identity* of the skill (its declared capabil...",
    "what_was_observed": "A skill `summarize-and-escalate` was pinned at `1.4.2`. Its manifest declared two capabilities: `read:thread` and `emit:notification`. The prompt template instructed the model to summarize a thread and, when severity exceeded a threshold, emit a notification. A routine dependency bump in the build pipeline regenerated the prompt template with a new few-shot block. The build system, treating \"same name + same semver +...",
    "condition_of_validity": "The invariant that must hold for provenance continuity is: > For any skill identity `(name, semver)`, there exists exactly one `subject.digest`, and the execution slot's capability fingerprint is derived from *that* digest's manifest, not from the cache key. This invariant is valid only under three preconditions, and the failure above is exactly what happens...",
    "decision_boundary": "The decision boundary is not \"is the signature valid\" — that is a precondition, not a decision. The boundary is: - **Admit** when `subject.digest` matches the artifact, the slot cache key equals `subject.digest`, and the extracted prompt tool-reference set is a subset of the manifest capability set. - **Invalidate slot and re-resolve** when `subject.digest` ...",
    "operational_effect": "When this boundary is enforced, three effects follow: - **Warm-cache hit rate drops** on any re-signed artifact, because the cache key is now the attestation digest. This is the correct trade: a warm slot bound to the wrong attestation is worse than a cold start. - **Build pipelines that re-sign without bumping semver fail loudly at registry admission**, mov..."
  },
  "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": "4f380c4a76d185363717de91bcbd0c2143f133c8955d392a69803e0f68bb30b8",
    "verified_classes": [
      "ProvenanceContinuityError",
      "Attestation",
      "ExecutionSlot"
    ],
    "verified_functions": [
      "_extract_prompt_tool_refs",
      "admit_skill"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ProvenanceContinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
